﻿/* =============================================
   MYBOND HOMEPAGE - CLEANED CSS
   Only styles used in Default_new1.aspx
   ============================================= */

/* ─── CSS VARIABLES ─── */
:root {
    --primary-color: #00A6B5;
    --secondary-color: #0066FF;
    --dark-blue: #1a1d4d;
    --light-bg: #f8f9fa;
    --text-dark: #2c3e50;
}

/* ─── BASE ─── */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}
.section {
    padding: 80px 0;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* ─── ANIMATIONS ─── */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-30px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes expandWidth {
    from { width: 0; }
    to   { width: 100%; }
}

@keyframes shine {
    0%       { left: -100%; }
    50%, 100%{ left: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%      { transform: scale(1.1); }
}

@keyframes gridMove {
    0%   { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

@keyframes slideUp {
    to { opacity: 1; transform: translateY(0); }
}

@keyframes riskFill {
    from { width: 0; }
}

@keyframes barGrow {
    from { transform: scaleY(0); }
    to   { transform: scaleY(1); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-on-scroll {
    opacity: 1;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}


/* ═══════════════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════════════ */
.hero-section {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
    overflow: hidden;
    background: #ffffff;
    padding-bottom: 30px;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(184,149,42,.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(184,149,42,.05) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 100%);
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    color: #5d5d8f;
}

/* SEBI Badge */
.sebi-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #fff5f5 0%, #fef3f8 100%);
    border: 2px solid #b9b9c5;
    padding: 8px 17px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 3px;
    animation: slideDown 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.sebi-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.6), transparent);
    animation: shine 3s infinite;
}

.sebi-badge i {
    font-size: 18px;
    color: #83782f;
    animation: pulse 2s ease-in-out infinite;
}

.sebi-badge span {
    background: linear-gradient(135deg, #7e732b 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Main Title */
.main-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1.15;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    letter-spacing: -0.02em;
}

.main-title .highlight {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #776c24 0%, #9b9045 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title .highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, #776c24 0%, #9b9045 100%);
    border-radius: 2px;
    animation: expandWidth 1s ease-out 1s both;
}

/* Subtitle */
.subtitle {
    font-size: 19px;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 16px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
    font-weight: 400;
}

.hero-content .p2 {
    font-size: 33px;
    line-height: 44px;
    margin-bottom: 15px;
}

/* Feature Cards */
.feature-cards {
    margin: 31px 0 7px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 2px solid transparent;
    padding: 20px;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: auto;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    border-radius: 16px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-item:hover::before { opacity: 1; }

.feature-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(102,126,234,0.2);
    background: white;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.icon-left {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    font-size: 24px;
    flex-shrink: 0;
    position: relative;
    transition: all 0.4s ease;
}

.feature-item:hover .icon-left { transform: rotateY(360deg); }

.c-1 { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; box-shadow: 0 8px 20px rgba(102,126,234,0.3); }
.c-2 { background: linear-gradient(135deg, #7f742c 0%, #ff962a 100%); color: white; box-shadow: 0 8px 20px rgba(240,147,251,0.3); }
.c-3 { background: linear-gradient(135deg, #4facfe 0%, #569b9f 100%); color: white; box-shadow: 0 8px 20px rgba(79,172,254,0.3); }
.c-4 { background: linear-gradient(135deg, #43e97b 0%, #7e917d 100%); color: white; box-shadow: 0 8px 20px rgba(67,233,123,0.3); }

.feature-text h6 {
    color: var(--text-dark);
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 4px 0;
    letter-spacing: -0.01em;
}

.feature-text p {
    color: #94a3b8;
    font-size: 13px;
    margin: 0;
    line-height: 1.5;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 26px 0 28px;
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.btn-custom {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 48px;
    font-size: 22px;
    font-weight: 500;
    border-radius: 14px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: -0.01em;
}

.btn-custom i {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.btn-custom:hover i { transform: translateX(4px); }

.btn-primary-custom {
    background: linear-gradient(135deg, #776c24 0%, #9b9045 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(102,126,234,0.4);
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102,126,234,0.5);
    color: white;
}

.btn-primary-custom:hover::before { left: 100%; }

/* See More Button */
.see-more-btn {
    display: inline-block;
    border-radius: 16px;
    cursor: pointer;
    background: linear-gradient(135deg, #1A2A4C 0%, #1A2A4C 100%);
    border: none;
    padding: 10px 37px;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #ffffff;
    margin-bottom: 12px;
    color: #B8952A;
}

.see-more-btn:hover {
    background-color: #877b2e;
    transform: scale(1.05);
    color: #ffffff;
}

.see-more-btn::after {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    top: 0; left: -100%;
    background: rgba(255,255,255,0.2);
    transform: skewX(-45deg);
    transition: left 0.5s;
}

.see-more-btn:hover::after { left: 200%; }


/* ═══════════════════════════════════════════
   BONDS CATEGORY SECTION (Repeater Cards)
   ═══════════════════════════════════════════ */
.bonds-category-section {
    padding: 14px 0;
    background: #fff9ee;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: -8px;
    color: #4b4b8c;
    position: relative;
    display: inline-block;
    letter-spacing: 2px;
    border: 0px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -21px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: #f39c12;
    border-radius: 2px;
}
.faq::after
{
content:"";
height:0px !important;
}

/* Bond Card (Repeater) */
.bond-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 0px;
    margin-bottom: 10px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.6s forwards;
    margin: 10px;
}

.bond-card:nth-child(1) { animation-delay: 0.1s; }
.bond-card:nth-child(2) { animation-delay: 0.2s; }
.bond-card:nth-child(3) { animation-delay: 0.3s; }

.bond-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.bond-header {
    padding: 1px 0px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #f5f8ff 0%, #fdfbf6 100%);
    border: 1px solid rgba(26, 42, 76, 0.06);
    padding: 10px 9px 11px;
}

.bond-header::before {
    content: '';
    position: absolute;
    top: -50%; right: -20%;
    width: 200px; height: 200px;
    border-radius: 50%;
    transition: all 0.6s ease;
}

.bond-card:hover .bond-header::before { transform: scale(1.5); }

.company-logo {
    width: 70px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.bond-card:hover .company-logo { transform: scale(1.2); }

.company-logo img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    border-radius: 12px;
    padding: 2px;
    background: white;
}

.rating-badge {
    position: fixed;
    top: 10px;
    right: 3px;
    background: #5d5d8f;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 10px;
    box-shadow: 0 4px 12px rgba(255,159,67,0.4);
    z-index: 9999;
}

.company-name {
    color: #454444;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
}

.bond-details {
    padding: 10px 18px 4px;
    text-align: center;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(26, 42, 76, 0.05);
    transition: all 0.3s ease;
}

.detail-row:last-child { border-bottom: none; }

.detail-row:hover {
    background: #f8f9fa;
    padding-left: 12px;
    padding-right: 10px;
    border-radius: 8px;
}

.detail-label {
    color: #888;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    color: #333;
    font-weight: 600;
    font-size: 12.5px;
}

.detail-value.highlight {
    color: #7fa03e;
    font-size: 18px;
}

.info-icon {
    color: #B8952A;
    margin-right: 8px;
    font-size: 13px;
}

.hidden-text { visibility: hidden; }

.blur { filter: blur(4px); }

/* Know More / Invest Buttons */
.knowmorebtn {
    color: #416db1;
    padding: 6px 16px;
    box-shadow: none;
    border: 1px solid #416db1;
}

.knowmorebtn:hover { background: #416db1; color: white; }

.investbtn {
    color: #ffffff;
    background: #9a8c31;
    box-shadow: none;
    padding: 6px 16px;
    border: 1px solid #9b9045;
}

.investbtn:hover { background: #91873d; color: white; }


/* ═══════════════════════════════════════════
   INVESTMENT SECTION (Bond Card1 Grid)
   ═══════════════════════════════════════════ */
.investment-section {
    padding: 28px 0;
    background: #F8F5EF;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-head {
    text-align: center;
}

.section-descm {
    color: #6a7a98;
    font-size: 1rem;
}

.bond-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.bond-card1 {
    background: #fff;
    border-radius: 24px;
    padding: 2.2rem;
    border: 1.5px solid rgba(26,42,76,0.07);
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.bond-card1.in-view {
    opacity: 1;
    transform: translateY(0);
}

.bond-card1:nth-child(1) { transition-delay: 0.1s; }
.bond-card1:nth-child(2) { transition-delay: 0.2s; }
.bond-card1:nth-child(3) { transition-delay: 0.3s; }

.bond-card1:hover {
    border-color: rgba(184,149,42,0.3);
    box-shadow: 0 24px 60px rgba(26,42,76,0.12);
    transform: translateY(-8px);
}

.bond-card1--featured {
    border-color: rgba(46,88,161,0.25);
    box-shadow: 0 12px 40px rgba(46,88,161,0.1);
}

.bond-card1--featured:hover { border-color: #2E58A1; }

.bond-card1-glow {
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.bond-card1-glow--red   { background: radial-gradient(circle, rgba(239,68,68,0.07), transparent 70%); }
.bond-card1-glow--blue  { background: radial-gradient(circle, rgba(46,88,161,0.1), transparent 70%); }
.bond-card1-glow--green { background: radial-gradient(circle, rgba(5,150,105,0.08), transparent 70%); }

.featured-ribbon {
    position: absolute;
    top: 1.2rem; right: -2.5rem;
    background: linear-gradient(135deg, #2E58A1, #1A2A4C);
    color: #B8952A;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.35rem 3rem;
    transform: rotate(45deg);
}

.bond-card1-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, rgba(184,149,42,0.12), rgba(184,149,42,0.2));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #B8952A;
    margin-bottom: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.bond-card1-icon--blue  { background: linear-gradient(135deg, rgba(46,88,161,0.12), rgba(46,88,161,0.2)); color: #2E58A1; }
.bond-card1-icon--green { background: linear-gradient(135deg, rgba(5,150,105,0.1), rgba(5,150,105,0.18)); color: #059669; }

.bond-card1:hover .bond-card1-icon { transform: scale(1.1) rotate(5deg); }

.bond-card1-tag {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #B8952A;
    background: rgba(184,149,42,0.08);
    border: 1px solid rgba(184,149,42,0.2);
    padding: 0.25rem 0.8rem;
    border-radius: 2rem;
    margin-bottom: 0.8rem;
}

.bond-card1-tag--blue  { color: #2E58A1; background: rgba(46,88,161,0.08); border-color: rgba(46,88,161,0.2); }
.bond-card1-tag--green { color: #059669; background: rgba(5,150,105,0.08); border-color: rgba(5,150,105,0.2); }

.bond-card1-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #1A2A4C;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.bond-card1-desc {
    font-size: 0.88rem;
    color: #6a7a98;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.bond-card1-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    background: #F8F5EF;
    border-radius: 14px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    display: none;
}

.metric { text-align: center; }

.metric-val {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1A2A4C;
}

.metric-key {
    display: block;
    font-size: 0.65rem;
    color: #8a9ab8;
    font-weight: 500;
    margin-top: 0.15rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.bond-card1-features {
    list-style: none;
    margin-bottom: 1.8rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.bond-card1-features li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: #4a5a78;
}

.bond-card1-features li i {
    color: #B8952A;
    font-size: 0.75rem;
    flex-shrink: 0;
}

.bond-card1-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #B8952A;
    border: 1.5px solid rgba(184,149,42,0.3);
    padding: 0.65rem 1.4rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
}

.bond-card1-btn:hover {
    background: #B8952A;
    color: #fff;
    border-color: #B8952A;
    transform: translateY(-2px);
}

.bond-card1-btn--blue  { color: #2E58A1; border-color: rgba(46,88,161,0.3); }
.bond-card1-btn--blue:hover  { background: #2E58A1; color: #fff; border-color: #2E58A1; }
.bond-card1-btn--green { color: #059669; border-color: rgba(5,150,105,0.3); }
.bond-card1-btn--green:hover { background: #059669; color: #fff; border-color: #059669; }


/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.how-it-works {
    padding: 2rem 0;
    background: linear-gradient(135deg, #1A2A4C 0%, #2E58A1 100%);
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    /* content: ''; */
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
}

.section-title--light { color: #ffffff; }
.section-desc--light  { color: rgba(248,245,239,0.7); }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    left: calc(16.66% + 1rem);
    right: calc(16.66% + 1rem);
    height: 2px;
    background: linear-gradient(to right, rgba(184,149,42,1), rgba(184,149,42,1), rgba(184,149,42,1));
    z-index: 0;
}

.step-card1 {
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.step-card1.in-view {
    opacity: 1;
    transform: translateY(0);
}

.step-card1:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-8px);
    border-color: rgba(184,149,42,0.3);
}

.step-number1 {
    font-size: 3rem;
    font-weight: 900;
    color: rgba(184,149,42,1);
    line-height: 1;
    margin-bottom: 1rem;
}

.step-icon1 {
    width: 72px; height: 72px;
    background: linear-gradient(135deg, #B8952A, #e8c04a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    margin: 0 auto 1.3rem;
    box-shadow: 0 8px 24px rgba(184,149,42,0.4);
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step-card1:hover .step-icon1 {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(184,149,42,0.5);
}

.step-title1 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #F8F5EF;
    margin-bottom: 0.8rem;
}

.step-desc1 {
    font-size: 0.88rem;
    color: rgba(248,245,239,0.6);
    line-height: 1.65;
}

.steps-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-steps-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: linear-gradient(135deg, #B8952A, #e8c04a);
    color: #1c273f;
    font-size: 0.95rem;
    font-weight: 700;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(184,149,42,0.35);
}

.btn-steps-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(184,149,42,0.45);
    color: #1A2A4C;
}


/* ═══════════════════════════════════════════
   HERO SECTION MODERN (About/RR Financial)
   ═══════════════════════════════════════════ */
.hero-section-modern {
    background: #ffffff;
    padding: 5rem 0 6rem;
    position: relative;
    isolation: isolate;
}

.hero-section-modern::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(139,159,62,0.03) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.container-custom {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

.row-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
    flex-wrap: wrap;
}

.col-content {
    flex: 1.2;
    min-width: 280px;
}

.col-visual {
    flex: 1;
    min-width: 280px;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1e2f4e 0%, #2c3f62 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    margin-bottom: 1.2rem;
}

.accent-line {
    width: 70px;
    height: 4px;
    background: linear-gradient(90deg, #8b9f3e, #bdd45a);
    border-radius: 4px;
    margin: 0.8rem 0 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    line-height: 1.5;
    color: #2c3e50;
    font-weight: 400;
    margin-bottom: 1rem;
}

.highlight-text {
    color: #6d7f2e;
    font-weight: 500;
}

.trust-signal {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1rem;
    align-items: center;
}

.trust-signal span {
    font-size: 0.8rem;
    color: #5f6c80;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.trust-signal i {
    color: #8b9f3e;
    font-size: 0.9rem;
}

.btn-group {
    display: flex;
    gap: 1rem;
 
    flex-wrap: wrap;
}

.btn-primary {
    background: #1e2f4e;
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 48px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.25s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 0 8px 20px rgba(30,47,78,0.12);
}

.btn-primary:hover {
    background: #0f213e;
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(30,47,78,0.18);
    color: white;
}

.btn-outline {
    background: transparent;
    border: 1px solid #cbd5e1;
    padding: 0.9rem 2rem;
    border-radius: 48px;
    font-weight: 600;
    font-size: 1rem;
    color: #1e2f4e;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.btn-outline:hover {
    border-color: #8b9f3e;
    background: #fbfdf7;
    transform: translateY(-2px);
}

.building-illustration {
    position: relative;
    display: inline-block;
    filter: drop-shadow(0 20px 25px -12px rgba(0,0,0,0.1));
}

.building-svg {
    max-width: 100%;
    height: auto;
    transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.building-illustration:hover .building-svg { transform: translateY(-6px); }


/* ═══════════════════════════════════════════
   WHY MYBOND SECTION
   ═══════════════════════════════════════════ */
.why-section {
    padding: 2rem 0;
    background: linear-gradient(160deg, #1A2A4C, #253a6a);
    position: relative;
    overflow: hidden;
}

.why-section::before {
    content: '';
    position: absolute;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(184,149,42,0.06) 0%, transparent 70%);
    bottom: -200px; right: -200px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.why-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(24px);
}

.why-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.why-card:nth-child(1) { transition-delay: 0.05s; }
.why-card:nth-child(2) { transition-delay: 0.1s; }
.why-card:nth-child(3) { transition-delay: 0.15s; }
.why-card:nth-child(4) { transition-delay: 0.2s; }
.why-card:nth-child(5) { transition-delay: 0.25s; }
.why-card:nth-child(6) { transition-delay: 0.3s; }

.why-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(184,149,42,0.25);
    transform: translateY(-6px);
}

.why-icon {
    width: 52px; height: 52px;
    background: rgba(184,149,42,0.15);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: #B8952A;
    margin-bottom: 1.2rem;
    transition: all 0.3s ease;
}

.why-icon--gold   { background: rgba(184,149,42,0.18); color: #e8c04a; }
.why-icon--green  { background: rgba(5,150,105,0.15);  color: #34d399; }
.why-icon--blue   { background: rgba(46,88,161,0.2);   color: #60a5fa; }
.why-icon--purple { background: rgba(139,92,246,0.15); color: #a78bfa; }
.why-icon--rose   { background: rgba(244,63,94,0.1);   color: #fb7185; }

.why-card:hover .why-icon { transform: scale(1.1); }

.why-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #F8F5EF;
    margin-bottom: 0.6rem;
}

.why-desc {
    font-size: 0.85rem;
    color: rgba(248,245,239,0.55);
    line-height: 1.65;
}


/* ═══════════════════════════════════════════
   RISK SECTION
   ═══════════════════════════════════════════ */
.risk-section {
    padding: 6rem 0;
    background: #F8F5EF;
}

.section-desc {
    color: #6a7a98;
    font-size: 1rem;
}

.risk-spectrum {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.risk-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 1.5rem;
    align-items: center;
    background: #fff;
    border-radius: 16px;
    padding: 1.3rem 1.5rem;
    border: 1.5px solid rgba(26,42,76,0.06);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateX(-20px);
}

.risk-item.in-view {
    opacity: 1;
    transform: translateX(0);
}

.risk-item:nth-child(1) { transition-delay: 0.05s; }
.risk-item:nth-child(2) { transition-delay: 0.1s; }
.risk-item:nth-child(3) { transition-delay: 0.15s; }
.risk-item:nth-child(4) { transition-delay: 0.2s; }
.risk-item:nth-child(5) { transition-delay: 0.25s; }

.risk-item:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.07);
    border-color: rgba(184,149,42,0.2);
}

.risk-bar {
    height: 8px;
    background: rgba(26,42,76,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.risk-bar-fill {
    height: 100%;
    border-radius: 4px;
    animation: riskFill 1.2s ease both;
    animation-play-state: paused;
}

.risk-item--1 .risk-bar-fill { background: linear-gradient(to right, #4ade80, #22c55e); }
.risk-item--2 .risk-bar-fill { background: linear-gradient(to right, #60a5fa, #3b82f6); }
.risk-item--3 .risk-bar-fill { background: linear-gradient(to right, #B8952A, #e8c04a); }
.risk-item--4 .risk-bar-fill { background: linear-gradient(to right, #f97316, #fb923c); }
.risk-item--5 .risk-bar-fill { background: linear-gradient(to right, #ef4444, #f87171); }

.risk-content {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.risk-level-tag {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.2rem 0.7rem;
    border-radius: 2rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.risk-tag--lowest  { color: #15803d; background: rgba(74,222,128,0.12); }
.risk-tag--low     { color: #1d4ed8; background: rgba(96,165,250,0.12); }
.risk-tag--medium  { color: #92400e; background: rgba(184,149,42,0.12); }
.risk-tag--high    { color: #9a3412; background: rgba(249,115,22,0.1); }
.risk-tag--highest { color: #991b1b; background: rgba(239,68,68,0.1); }

.risk-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #1A2A4C;
}

.risk-content p {
    font-size: 0.82rem;
    color: #6a7a98;
    line-height: 1.5;
}

.risk-return {
    font-size: 0.75rem;
    font-weight: 700;
    color: #B8952A;
}


/* ═══════════════════════════════════════════
   FAQ SECTION
   ═══════════════════════════════════════════ */
.faq-section {
    padding: 2rem 0;
    background: linear-gradient(160deg, #1A2A4C, #2E3B6A);
}

.faq-tabs {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.faq-tab {
    font-size: 0.82rem;
    font-weight: 600;
    padding: 0.55rem 1.3rem;
    border-radius: 2rem;
    border: 1.5px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.05);
    color: rgba(248,245,239,0.6);
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-tab:hover {
    border-color: rgba(184,149,42,0.4);
    color: #e8c04a;
}

.faq-tab.active {
    background: linear-gradient(135deg, #B8952A, #e8c04a);
    color: #1A2A4C;
    border-color: transparent;
    font-weight: 700;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    max-width: 820px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover { border-color: rgba(184,149,42,0.2); }

.faq-item.open {
    border-color: rgba(184,149,42,0.35);
    background: rgba(255,255,255,0.08);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.1rem 1.3rem;
    background: none;
    border: none;
    font-size: 0.9rem;
    font-weight: 600;
    color: #F8F5EF;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
}

.faq-question:hover { color: #e8c04a; }

.faq-badge {
    font-size: 0.58rem;
    letter-spacing: 0.08em;
    color: #B8952A;
    background: rgba(184,149,42,0.15);
    border: 1px solid rgba(184,149,42,0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 2rem;
    flex-shrink: 0;
    text-transform: uppercase;
}

.faq-badge--blue  { color: #60a5fa; background: rgba(96,165,250,0.12); border-color: rgba(96,165,250,0.2); }
.faq-badge--green { color: #34d399; background: rgba(52,211,153,0.1);  border-color: rgba(52,211,153,0.2); }

.faq-icon {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(248,245,239,0.4);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.faq-item.open .faq-icon { transform: rotate(45deg); color: #B8952A; }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    font-size: 0.87rem;
    color: rgba(248,245,239,0.6);
    line-height: 1.7;
    padding: 0 1.3rem;
}

.faq-item.open .faq-answer {
    max-height: 200px;
    padding: 0 1.3rem 1.2rem;
}

.faq-answer strong {
    color: rgba(248,245,239,0.85);
    font-weight: 600;
}


/* ═══════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════ */
.cta-section {
    padding: 7rem 0;
    background: #F8F5EF;
    position: relative;
    overflow: hidden;
}

.cta-bg-art {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-art-circle {
    position: absolute;
    border-radius: 50%;
}

.cta-art-circle--1 {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(184,149,42,0.08) 0%, transparent 70%);
    top: -150px; right: -100px;
}

.cta-art-circle--2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(46,88,161,0.07) 0%, transparent 70%);
    bottom: -80px; left: -80px;
}

.cta-inner {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    color: #B8952A;
    background: rgba(184,149,42,0.1);
    border: 1px solid rgba(184,149,42,0.25);
    padding: 0.4rem 1.1rem;
    border-radius: 2rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 900;
    color: #4a5f8f;
    margin-bottom: 1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-sub {
    font-size: 1rem;
    color: #6a7a98;
    margin-bottom: 2.5rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.btn-cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #1A2A4C, #2E58A1);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 28px rgba(26,42,76,0.25);
}

.btn-cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 40px rgba(26,42,76,0.35);
    color: #fff;
}

.btn-cta-secondary {
    display: inline-flex;
    align-items: center;
    background: #fff;
    color: #1A2A4C;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 1rem 2.5rem;
    border-radius: 12px;
    border: 1.5px solid rgba(26,42,76,0.15);
    transition: all 0.3s ease;
}

.btn-cta-secondary:hover {
    border-color: #B8952A;
    color: #B8952A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184,149,42,0.15);
}

.cta-note {
    font-size: 0.78rem;
    color: #9aabb8;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.cta-note i { color: #059669; }


/* ═══════════════════════════════════════════
   PORTFOLIO INTELLIGENCE (bb-wrap)
   ═══════════════════════════════════════════ */
.bb-wrap {
    background: #fff;
    padding: 2.5rem 2rem 2rem;
    max-width: 1120px;
    width: 100%;
    margin: 0 auto;
}

.bb-header {
    display: flex;
    align-items: flex-end;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #F0EBE0;
}

.bb-icon-badge {
    width: 52px; height: 52px;
    background: #1A2E3B;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bb-eyebrow {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #C9A03D;
    margin-bottom: 4px;
}

.bb-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: #4a5f8f;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.bb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.bb-card {
    background: #fff;
    border: 1px solid #EDE8DF;
    border-radius: 20px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    position: relative;
    overflow: hidden;
    cursor: default;
}

.bb-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, #F0D060, #D4AF37);
    border-radius: 20px 20px 0 0;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bb-card:hover {
    border-color: #D4AF37;
    box-shadow: 0 12px 32px -8px rgba(180,140,20,0.12);
    transform: translateY(-3px);
}

.bb-card:hover::after { opacity: 1; }

.bb-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bb-card-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: #FAF6EE;
    border: 1px solid #EDE0C4;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bb-card:hover .bb-card-icon {
    background: #FFF3D0;
    border-color: #D4AF37;
}

.bb-card-label {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #B89A2C;
}

.bb-card-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #0F1F2A;
    line-height: 1.2;
    margin-top: 2px;
}

.bb-divider {
    height: 1px;
    background: #F0EBE0;
}

.bb-card-body {
    font-size: 0.975rem;
    line-height: 1.65;
    color: #404c54;
    font-weight: 400;
}

.bb-card-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #8A9BA6;
    font-weight: 500;
}

.bb-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #C9A03D;
    flex-shrink: 0;
}

.bb-footer {
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid #F0EBE0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.bb-footer-text {
    font-size: 0.75rem;
    color: #9AAAB5;
    font-weight: 400;
}

.bb-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #8A6B0A;
    background: #FDF4DC;
    border: 1px solid #E8CC7A;
    border-radius: 999px;
    padding: 4px 10px;
}


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */
@media (max-width: 1024px) {
    .bond-cards-grid { grid-template-columns: 1fr 1fr; }
    .bond-card1:last-child { grid-column: 1 / -1; max-width: 500px; margin: 0 auto; }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
    .row-flex {
        flex-direction: column-reverse;
        text-align: center;
    }
    .btn-group { justify-content: center; }
    .trust-signal { justify-content: center; }
    .hero-title { font-size: 2.8rem; }
    .hero-section-modern { padding: 3rem 0 4rem; }
}

@media (max-width: 768px) {
    .hero-section {
        padding-bottom: 0;
        min-height: auto;
    }

    .main-title { font-size: 40px; }

    .hero-content h1 {
        font-size: 32px;
        text-align: center;
    }

    .hero-content .p2 {
        font-size: 24px;
        line-height: 35px;
        text-align: left;
        padding: 5px;
        border-radius: 9px;
        background: #fbf6f6;
    }

    .hero-content p { text-align: center; margin-bottom: 0; }

    .sebi-badge {
        gap: 6px;
        padding: 4px 7px;
        font-size: 9px;
        margin-top: 2px;
        margin-left: 12px;
        border: none;
        background: none;
    }

    .sebi-badge i { font-size: 16px; }

    .icon-left {
        width: 36px; height: 35px;
        font-size: 12px;
        border-radius: 50%;
    }

    .hero-content .feature-item p { display: none; }

    .btn-custom {
        padding: 16px 28px;
        font-size: 15px;
    }

    .cta-buttons { flex-direction: column; }

    .section-title {
        font-size: 22px;
        padding-bottom: 0;
    }

    .bonds-category-section h2 {
        border-bottom: none;
        padding-bottom: 5px;
        margin-bottom: 33px;
    }

    .bond-cards-grid { grid-template-columns: 1fr; }
    .bond-card1:last-child { grid-column: auto; max-width: none; margin: 0; }

    .steps-grid { grid-template-columns: 1fr; }
    .steps-grid::before { display: none; }

    .why-grid { grid-template-columns: 1fr; }

    .risk-item {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        border: 1px solid #e3dfdf;
        padding: 10px;
        border-radius: 8px;
    }

    .faq-tab {
        padding: 6px 5px;
        border-radius: 12px;
        font-size: 12px;
    }

    .cta-actions { flex-direction: column; align-items: center; }

    .bb-grid { grid-template-columns: 1fr; }
    .bb-title { font-size: 1.5rem; }
    .bb-header { align-items: flex-start; }

    .hero-title { font-size: 2.2rem; }
    .container-custom { padding: 0 1.5rem; }

    .section-container { padding: 0 1.2rem; }
}

@media (max-width: 576px) {
    .main-title { font-size: 34px; }
    .feature-cards .row > * { margin-bottom: 1px; }
}