:root {
    --primary-color: #0A2342;
    --secondary-color: #2CA58D;
    --accent-color: #007bff; 
    --text-dark: rgb(0, 0, 0);
    --text-light: #000000;
    --bg-light: #ffffff;
    --white: #ffffff;
    --border-color: #000000;
    --risk-high: #f0ad4e;
    --risk-very-high: #d9534f;
    --positive-return: #28a745;
}

*, *::before, *::after { box-sizing: border-box; }

body {
    font-family: 'Manrope', sans-serif;
    margin: 0;
    padding-bottom: 71px;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-weight: 700; color: #003580; margin-top: 0px; }
h1 { font-size: 3.0rem; line-height: 1.2; }
h2 { font-size: 2.5rem; text-align: center; }
p { color: #000; line-height: 1.7; }

.cta-button {
    background-color:  #003580;
    color: var(--white); 
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    font-family: 'Manrope', sans-serif;
}
.cta-button-center{
    margin-top: -14px;
    background-color:  #003580;
    color: var(--white); 
    padding: 14px 32px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    align-items: center;
    text-shadow: #000000 rgba(0, 0, 0, 0.4);
    
}
.cta-button:hover {
    background-color: #0056b3; 
    transform: translateY(-3px);
    box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
section.visible { opacity: 1; transform: translateY(0);margin-bottom: 0px; }

.hero {
    position: relative;
    color: var(--white);
    text-align: center;
    min-height: 70vh;              /* controls overall hero height */
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    overflow: hidden;              /* ensures image doesn't spill out */
    padding: 0;                    /* remove artificial spacing */
}

/* Hero background image */
.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;                  /* fill the hero completely */
    object-fit: cover;
    object-position: center top;   /* adjust focal point if head is cropped */
    z-index: 0;
    pointer-events: auto;          /* allow clicks if needed */
    cursor: pointer;
    top:30px
}

.hero > * {
    position: relative;
    z-index: 1;
}

/* Hero Header */
.hero-header { 
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    padding: 20px 0; 
    z-index: 10; 
}
.header-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.logo { 
    font-size: 1.8rem; 
    font-weight: 800; 
    color: var(--white); 
    text-shadow: 1px 1px 5px rgba(0,0,0,0.2); 
}
.hero-header .cta-button { 
    border: 2px solid; 
    background-color: #003580; 
    color: white;
    margin-right: -205px; 
}
.hero-header .cta-button:hover { 
    background-color: var(--accent-color); 
    color: var(--white); 
}

/* Hero Text */
.hero h1 { 
    color: #003580; 
    margin: 0 auto;                /* centered instead of using negative margin */
}
.hero p { 
    color: #003580; 
    opacity: 0.9; 
    font-size: 1.2rem; 
    max-width: 650px; 
    margin: 10px auto 0 auto;      /* centered properly */
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.download-button {
    background-color: #003580;
    color: #ffffff;
    border: 2px solid;
    padding: 14px 30px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;   /* 🔥 centers text horizontally */
    text-decoration: none;
    white-space: nowrap;
    gap: 0; /* reset extra spacing */
}


.download-button:hover {
    background-color: var(--secondary-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(44, 165, 141, 0.3);
}

.download-button i {
    font-size: 0.8rem;
}

@media (max-width: 992px) {
    .header-buttons {
        gap: 10px;
    }
    
    .hero-header .cta-button,
    .download-button {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .header-buttons {
        gap: 8px;
    }
    
    .hero-header .cta-button,
    .download-button {
        padding: 10px 16px;
        font-size: 0.75rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
  /* ===== HEADER ROW ===== */
  .header-container {
    display: flex;
    flex-direction: row;            /* logo + button side-by-side */
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;              /* prevent wrapping */
    gap: 8px;
    padding: 8px 12px 4px;          /* compact, but breathable */
  }

  .header-container > * { min-width: 0; } /* avoids overflow surprises */

  .logo img {
    height: 28px;   /* smaller logo */
    width: auto;    /* keep aspect ratio */
    display: block;
  }

  .header-buttons {
    display: flex;
    align-items: center;
    flex-shrink: 0;                 /* keep button visible */
  }

  .header-buttons .cta-button,
  .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 3px;             /* bigger hit area */
    font-size: 0.9rem;
    line-height: 1;
    border-radius: 9999px;          /* pill */
    min-height: 44px;               /* thumb-friendly */
    white-space: nowrap;            /* don’t break label */
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    box-shadow: 0 2px 10px rgba(0,53,128,0.18);
  }

  .header-buttons .cta-button:focus-visible,
  .download-button:focus-visible {
    outline: 3px solid rgba(0,53,128,0.5);
    outline-offset: 2px;            /* accessible + classy */
  }

  .header-buttons .cta-button:active,
  .download-button:active {
    transform: translateY(1px);
  }

  /* ===== HERO TWEAKS ===== */
  section.hero {
    margin-top: 6px;                /* breathing room under header */
    padding: 24px 12px 20px !important;
    min-height: auto !important;
    text-align: center;
  }

  .hero h1 {
    font-size: 1.4rem;
    margin: 8px 0 6px;
    line-height: 1.3;
  }

  .hero p {
    font-size: 0.85rem;
    margin: 0 0 12px;
    padding: 0 8px;
  }

  .hero img {
    max-width: 100%;
    height: auto;
    margin: 10px auto 0;
    display: block;
  }

  #heroImage {
        width: 100% !important; /* or any width you want like 300px, 80%, etc. */
        height: auto !important; /* maintains aspect ratio */
    }
}





.compounding-graph {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 384px;
    padding: 60px 24px 50px 24px; /* Increased top padding for values */
    position: relative;
    background: linear-gradient(180deg, #f8f9fc 0%, #eaf3fa 100%);
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(0, 123, 255, 0.08);
    overflow: visible; /* Changed from auto to visible */
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
    min-width: 80px;
}

/* Properly scaled bar heights to fit container */
.bar-5 { height: 50px; }   /* ₹8.2L */
.bar-10 { height: 100px; }  /* ₹23L */  
.bar-20 { height: 100px; } /* ₹1.1Cr */
.bar-30 { height: 220px; } /* ₹3.5Cr - maximum height within container */

.bar-value {
    font-weight: 700;
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #2CA58D 0%, #007bff 100%);
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(44, 165, 141, 0.2);
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    position: relative;
    white-space: nowrap;
}

.bar {
    width: 54px;
    background: linear-gradient(135deg, #2CA58D 0%, #007bff 70%, #4facfe 100%);
    border-radius: 12px 12px 0 0;
    margin-bottom: 15px;
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 1.2s cubic-bezier(.68,-0.55,.27,1.55);
    box-shadow: 0 6px 18px rgba(44, 165, 141, 0.18);
    position: relative;
    border: 2px solid #fff;
    overflow: hidden;
}

/* Breathing light effect */
.bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: breathe 3s ease-in-out infinite;
}

.bar::after {
    content: '';
    display: block;
    width: 100%;
    height: 6px;
    background: rgba(44, 165, 141, 0.15);
    border-radius: 0 0 12px 12px;
    position: absolute;
    bottom: -6px;
    left: 0;
    z-index: 1;
}

.bar-label {
    font-weight: 700;
    color: #2d3748;
    font-size: 1rem;
    background: #fff;
    padding: 6px 14px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,123,255,0.1);
    white-space: nowrap;
    margin-bottom: 10px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

.invested-amount {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.8s ease 0.5s;
    text-align: center;
    white-space: nowrap;
}

/* Special styling for 30-year bar */
.bar-wrapper:nth-child(4) .bar {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 70%, #ff9ff3 100%);
}

.bar-wrapper:nth-child(4) .bar-value {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    font-size: 1.2rem;
    font-weight: 800;
}

/* Missing values for other bars */
.bar-wrapper:nth-child(3) .bar-value {
    font-size: 1.15rem;
}

/* Animation keyframes */
@keyframes breathe {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

@keyframes barPulse {
    0%, 100% { 
        transform: scaleY(1) scaleX(1);
        filter: brightness(1);
    }
    50% { 
        transform: scaleY(1.02) scaleX(1.03);
        filter: brightness(1.05);
    }
}

/* Animation states */
.compounding-graph.animate .bar-value {
    opacity: 1;
    transform: translateY(0);
}

.compounding-graph.animate .bar-label {
    opacity: 1;
    transform: translateY(0);
}

.compounding-graph.animate .invested-amount {
    opacity: 1;
    transform: translateY(0);
}

.compounding-graph.animate .bar {
    transform: scaleY(1);
    animation: barPulse 4s ease-in-out infinite 2s;
}

/* Hover effects */
.bar-wrapper:hover .bar {
    transform: scaleY(1.05) scaleX(1.1);
    box-shadow: 0 8px 24px rgba(44, 165, 141, 0.3);
    filter: brightness(1.1);
}

.bar-wrapper:hover .bar-value {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 4px 16px rgba(44, 165, 141, 0.25);
}

.bar-wrapper:nth-child(4):hover .bar {
    box-shadow: 0 10px 28px rgba(255, 107, 107, 0.4);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .compounding-graph {
        height: 320px;
        padding: 50px 16px 40px 16px;
    }
    
    .bar-5 { height: 40px; }
    .bar-10 { height: 80px; }
    .bar-20 { height: 130px; }
    .bar-30 { height: 180px; }
    
    .bar {
        width: 45px;
    }
    
    .bar-value {
        font-size: 1rem;
        padding: 4px 10px;
    }
    
    .bar-wrapper:nth-child(4) .bar-value {
        font-size: 1.1rem;
    }
}

@media (max-width: 600px) {
    .compounding-graph {
        height: 280px;
        padding: 40px 12px 35px 12px;
    }
    
    .bar-5 { height: 35px; }
    .bar-10 { height: 70px; }
    .bar-20 { height: 110px; }
    .bar-30 { height: 150px; }
    
    .bar {
        width: 40px;
    }
    
    .bar-wrapper {
        min-width: 65px;
    }
    
    .bar-value {
        font-size: 0.9rem;
        padding: 3px 8px;
    }
    
    .bar-label {
        font-size: 0.9rem;
        padding: 4px 10px;
    }
    
    .invested-amount {
        font-size: 0.75rem;
    }
}

.compounding-cta {
    text-align: center;
    margin-top: 40px;
}

.bar-5 { height: 40px; }
.bar-10 { height: 110px; }
.bar-15 { height: 180px; }
.bar-20 { height: 220px; }

.compounding-graph.animate .bar {
    transform: scaleY(1);
}

.compounding-graph.animate .bar-5 {
    transition-delay: 0.2s;
}
.compounding-graph.animate .bar-10 {
    transition-delay: 0.4s;
}
.compounding-graph.animate .bar-15 {
    transition-delay: 0.6s;
}
.compounding-graph.animate .bar-20 {
    transition-delay: 0.8s;
}

/* Add subtle grid lines for reference */
.compounding-graph::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: 32px;
    height: calc(100% - 72px);
    background: repeating-linear-gradient(
        to top,
        transparent 0px,
        transparent 59px,
        #e0e7ef 59px,
        #e0e7ef 61px
    );
    z-index: 0;
    pointer-events: none;
    border-radius: 12px;
}

/* Responsive improvements */
@media (max-width: 768px) {
    .compounding-graph {
        height: 250px; /* Increased for mobile as well */
        padding: 18px 8px 28px 8px;
    }
    .bar {
        width: 32px;
    }
    .bar-5 { height: 40px; }
    .bar-10 { height: 80px; }
    .bar-15 { height: 120px; }
    .bar-20 { height: 160px; }
    .bar-label {
        font-size: 0.85rem;
        bottom: -24px;
        padding: 2px 7px;
    }
    .bar-value {
        font-size: 1rem;
        padding: 2px 7px;
    }
}

@media (max-width: 768px) {
    .compounding-graph {
        height: 280px;
        padding-bottom: 40px;
    }
    
    .bar {
        width: 40px;
    }
    
    .bar-value {
        font-size: 1rem;
    }
    
    .bar-5 { height: 40px; }
    .bar-10 { height: 90px; }
    .bar-15 { height: 140px; }
    .bar-20 { height: 170px; }
    
    .bar-label {
        bottom: -30px;
        font-size: 0.8rem;
    }
}

.section-title { margin-bottom: 20px; }
.section-subtitle { max-width: 600px; margin: 0 auto 60px auto; text-align: center; font-size: 1.1rem; }
.two-column-layout { display: flex; align-items: center; gap: 60px; }
.two-column-layout .column-text { flex: 1.2; }
.two-column-layout .column-image { flex: 1; }
.column-image img { width: 150%; height: auto; border-radius: 16px; }
.why-us-list { list-style: none; padding: 0; margin-top: 40px; }
.why-us-list li { display: flex; align-items: flex-start; margin-bottom: 25px; font-size: 1.1rem; }
.why-us-list i { color: var(--secondary-color); font-size: 1.5rem; margin-right: 15px; margin-top: 3px; }
.logo img{height: 50px;width:auto;margin-left: -205px;}

.fund-explorer-section {
    background-color: #003580;
    color: var(--white);
    border-radius: 20px;
    margin: 0 20px;
    box-shadow: 0 15px 40px rgba(10, 35, 66, 0.2);
}
.fund-explorer-section h2, 
.fund-explorer-section p { color: var(--white); }
.tabs-nav { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap;}
.tab-button {
    padding: 12px 25px;
    border: 1px solid rgba(255,255,255,0.3);
    background-color: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    color: var(--white);
    transition: all 0.3s ease;
}
.tab-button:hover { background-color: rgba(255,255,255,0.1); }
.tab-button.active { background-color: var(--accent-color); color: var(--white); border-color: var(--accent-color); }
.tab-content { display: none; }
.tab-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.table-container { overflow-x: auto; }
.funds-table { width: 100%; border-collapse: collapse; margin-top: 30px; }
.funds-table th, .funds-table td { padding: 20px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.1); white-space: nowrap; }
.funds-table thead { background-color: rgba(255,255,255,0.05); }
.funds-table .positive {     font-size: 1.5rem;
    font-weight: 800;
    color: #33ff99;}
.funds-table .highlight { font-size: 1.5rem; font-weight: 800; color: #33ff99; }
.funds-table .highlight .fa-star { font-size: 0.8rem; margin-left: 2px; }
.disclaimer { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 20px; text-align: center; }
.fund-cta-outro { text-align: center; margin-top: 50px; padding: 30px; background: rgba(0,0,0,0.2); border-radius: 12px; }
.fund-cta-outro h3 { color: var(--white); font-size: 1.5rem;}
.fund-cta-outro h3 strong { color: var(--accent-color); font-size: 2.2rem; }
.parallel-videos-container { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; }
.video-placeholder-small { flex: 1; border-radius: 12px; overflow: hidden; }
.video-placeholder-small video { width: 100%; height: 100%; object-fit: cover; }

.fund-explorer-container { background-color: var(--bg-light); }
.explorer-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 28px;
    align-items: flex-start;
}
.graph-container {
    background-color: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color);
}
.simulator-container {
    background-color: var(--white);
    padding: 25px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
    border: 1px solid var(--border-color);
    position: relative; 
    z-index: 5; 
}
.simulator-title { font-size: 1.5rem; margin-bottom: 10px; }
.simulator-container p { margin-top: 0; margin-bottom: 25px; }
.category-selector { display: flex; background-color: var(--bg-light); border-radius: 8px; padding: 5px; margin-bottom: 25px; }
.category-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background-color: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-light);
}
.category-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.2);
}
.simulator-inputs { display: flex; gap: 15px; margin-bottom: 25px; }
.input-group { flex: 1; display: flex; flex-direction: column; }
.input-group label { font-size: 0.85rem; font-weight: 600; color: var(--text-light); margin-bottom: 8px; }
.input-group input, .input-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-family: 'Manrope', sans-serif;
}
.input-group input:focus, .input-group select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.15);
}
.result-box { background-color: var(--bg-light); border-radius: 12px; padding: 20px; text-align: center; animation: fadeInResult 0.5s ease; }
@keyframes fadeInResult { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.result-label { font-weight: 600; color: var(--text-light); margin-top: 0; margin-bottom: 10px; }
.result-amount { font-size: 2.2rem; font-weight: 800; color: var(--positive-return); margin: 0; }
.result-details { display: flex; justify-content: space-around; margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--border-color); }
.detail-item { display: flex; flex-direction: column; }
.detail-item span { font-size: 0.8rem; color: var(--text-light); }
.detail-item strong { font-size: 1rem; font-weight: 700; color: var(--text-dark); }


.mythbusters-section {
  background-color: var(--bg-light);
  margin-top: 0;       /* remove external spacing */
  padding-top: 40px;   /* control spacing explicitly */
  padding-bottom: 40px;
  overflow: auto;      /* prevents margin collapse */
}

.mythbusters-section h2,
.mythbusters-section p {
  margin-top: 0;       /* reset headings/paragraphs */
}


.accordion-item { background: var(--white); border-radius: 12px; margin-bottom: 15px; border: 1px solid var(--border-color); overflow: hidden; }
.accordion-header { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.accordion-header strong { font-size: 1.2rem; }
.accordion-header i { transition: transform 0.4s ease; }
.accordion-item.active .accordion-header i { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-out; }
.accordion-content p { padding: 0 25px; margin: 0; border-top: 1px solid var(--border-color); }
.accordion-item.active .accordion-content p { padding: 20px 25px; }

.testimonials-section {
  background-color: var(--white);
  padding-top: 40px;   /* adjust this */
  padding-bottom: 40px;
  margin-top: 0;       /* remove extra space */
}

.testimonials-section h2, 
.testimonials-section p {
  margin-top: 0;       /* prevents big gaps from heading defaults */
}

.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.testimonial-card { background-color: var(--bg-light); border: 1px solid var(--border-color); border-radius: 12px; padding: 30px; }
.testimonial-stars { color: #F4B400; margin-bottom: 15px; font-size: 1.2rem; }
.testimonial-text { font-style: italic; color: var(--text-dark); margin-bottom: 20px; }
.testimonial-author { font-weight: 700; color: var(--primary-color); }
.testimonial-author-title { font-size: 0.9rem; color: var(--text-light); }


.final-cta { text-align: center; background: var(--primary-color); color: var(--white); padding: 80px 0; }
.final-cta h2 { color: var(--white); }
.final-cta p { color: rgba(255,255,255,0.7); }
.lead-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(10, 35, 66, 0.85); display: flex; align-items: center; justify-content: center; z-index: 1001; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.lead-modal.show { opacity: 1; visibility: visible; }
.modal-content { background: var(--white); padding: 40px; border-radius: 16px; text-align: center; position: relative; max-width: 420px; width: 90%; transform: scale(0.95); transition: transform 0.3s ease; }
.lead-modal.show .modal-content { transform: scale(1); }
.modal-content .close-btn { position: absolute; top: 15px; right: 20px; font-size: 2rem; cursor: pointer; color: #aaa; }
.modal-form input { width: 100%; padding: 14px; margin-bottom: 15px; border-radius: 8px; border: 1px solid var(--border-color); }
.confirmation-message { display: none; padding: 20px; }
.confirmation-message i { font-size: 3rem; color: var(--positive-return); margin-bottom: 15px; }
.fixed-bottom-bar {
    position: fixed; bottom: 0; left: 0; width: 100%;
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(100%);
    animation: slideInUp 0.5s ease-out 2.5s forwards;
}
@keyframes slideInUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
.bottom-bar-form { display: flex; justify-content: center; align-items: center; gap: 15px; }
.bottom-bar-form input { padding: 12px; border-radius: 8px; width: 220px; border: 1px solid var(--border-color); }
.bottom-bar-form button { padding: 12px 25px; }
.fixed-video-placeholder {
    position: fixed;
    bottom: 110px;
    right: 20px;
    width: 280px;
    height: 158px;
    background-color: #000;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    z-index: 999;
    overflow: hidden;
    cursor: pointer;
    transform: translateX(120%);
    animation: slideInLeft 0.5s ease-out 3s forwards;
}
@keyframes slideInLeft { from { transform: translateX(120%); } to { transform: translateX(0); } }
.fixed-video-placeholder video { width: 100%; height: 100%; object-fit: cover; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border-width: 0; }

@media (max-width: 992px) {
    .explorer-layout { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    .two-column-layout, .parallel-videos-container { flex-direction: column; }
    .hero-header .cta-button { display: none; }
    .fixed-bottom-bar, .fixed-video-placeholder { display: none; }
}
@media (max-width: 480px) {
    .simulator-inputs { flex-direction: column; }
}


.graph-container {
    height: 625px !important; 
    width: 700px;
}


#marketGrowthChart {
    width: 100% !important;
    height: 100% !important;
}


.simulator-container {
    position: relative;
    z-index: 10 !important; 
    overflow: visible !important;
}


.category-btn {
    cursor: pointer !important;
    user-select: none; 
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.category-btn:hover {
    background-color: rgba(10, 35, 66, 0.1) !important;
    transform: translateY(-1px); 
}

.category-btn.active {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    box-shadow: 0 4px 15px rgba(10, 35, 66, 0.2) !important;
}


.input-group select {
    position: relative;
    z-index: 15 !important; 
    cursor: pointer;
}

.input-group select:focus {
    z-index: 20 !important; 
}


.fund-explorer-container {
    overflow: visible !important;
    position: relative;
    z-index: 1;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


.result-box {
    border: 2px solid var(--positive-return) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.1) !important;
}


@media (max-width: 992px) {
    .graph-container {
        height: 300px !important;
    }
}

@media (max-width: 768px) {
    .category-selector {
        flex-direction: column;
        gap: 5px;
    }
    
    .category-btn {
        padding: 15px !important;
        text-align: center;
    }
}

/* CSS */
.webinar-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #003580;
  color: white;
  padding: 2rem;
  border-radius: 10px;
  flex-wrap: wrap;
  margin: 2rem 20px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.webinar-content {
  flex: 1;
  min-width: 250px;
}

.webinar-content h2 {
  font-size: 2rem;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 0.5rem;
  margin-left: -74px;
}

.webinar-subtitle {
  font-size: 1rem;
  opacity: 0.9;
  margin-left: 330px;
  color: var(--white);
}

.webinar-card {
  background: white;
  color: #003580;
  padding: 1.5rem;
  border-radius: 10px;
  text-align: center;
  min-width: 250px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.webinar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.countdown div {
  text-align: center;
}

.countdown span {
  font-size: 2rem;
  font-weight: bold;
  display: block;
}

.countdown small {
  font-size: 0.8rem;
  color: #666;
}

.register-btn {
  background: #ff5722;
  color: white;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.register-btn:hover {
  background: #e64a19;
  transform: scale(1.05);
}

.webinar-fomo {
  font-size: 0.9rem;
  color: #d32f2f;
  font-weight: bold;
  margin-top: 0.8rem;
}


.missed-opportunity-banner-blue {
    background: linear-gradient(135deg, #004aad, #003580);
    color: #ffffff;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1rem 0 1.5rem 0;
    font-family: inherit;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeInScale 0.6s ease-in-out;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    text-align: center;
}

.missed-opportunity-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.missed-opportunity-title i {
  color: #00e5ff;
  font-size: 1.1rem;
}

.missed-opportunity-banner-blue p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

.highlight-value {
  font-weight: bold;
  color: #00e5ff;
  background: rgba(255, 255, 255, 0.08);
  padding: 0 0.3rem;
  border-radius: 4px;
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.roadmap-section {
  text-align: center;
  padding: 60px 20px;
  background: #f8f9fc;
}

.roadmap-title {
  font-size: 2rem;
  font-weight: 700;
  color: #002b5c;
  margin-bottom: 10px;
}

.roadmap-subtitle {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

.roadmap-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  position: relative;
  max-width: 900px;
  margin: auto;
}

.roadmap-item {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  padding: 20px;
  width: 250px;
  margin: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  position: relative;
}

.roadmap-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.roadmap-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.roadmap-amount {
  font-size: 1.2rem;
  font-weight: 600;
  color: #0056b3;
}

.roadmap-goal {
  font-size: 1rem;
  color: #333;
}



.fomo-card {
    flex: 1 1 250px;
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
    /* cursor: pointer; */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }
  .fomo-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.25);
  }
  .fomo-icon {
    font-size: 3.5rem;
    margin-bottom: 0.5rem;
  }

  .video-placeholder-small {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 0; 
    background-color: #f9f9f9; 
}

.video-placeholder-small video {
    max-width: 100%;
    width: 1020px; 
    height: auto;
    border-radius: 12px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

/* Mobile-specific responsive improvements */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .hero h1 {
        margin-top: -150px;
        font-size: 2.2rem;
    }
    
    .hero p {
        margin-left: 0;
        max-width: 100%;
        font-size: 1rem;
        padding: 0 20px;
    }
    
    .hero-header .cta-button {
        margin-right: 0;
        margin-top: 0;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        margin-left: 0;
        height: 35px;
        margin-top: -13px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 0.9rem;
    }
    
    .cta-button-center {
        margin-top: 0;
        padding: 12px 24px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-subtitle {
        margin-bottom: 40px;
        font-size: 1rem;
    }
    
    .two-column-layout {
        gap: 30px;
    }
    
    .column-image img {
        width: 100%;
    }
    
    .why-us-list li {
        font-size: 1rem;
    }
    
    .fund-explorer-section {
        margin: 0 15px;
        padding: 30px 20px;
    }
    
    .tabs-nav {
        gap: 8px;
        justify-content: center;
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 0.9rem;
    }
    
    .funds-table th,
    .funds-table td {
        padding: 12px 8px;
        font-size: 0.9rem;
    }
    
    .funds-table .highlight {
        font-size: 1.2rem;
    }
    
    .graph-container {
        width: 100% !important;
        height: 400px !important;
        padding: 20px;
    }
    
    .simulator-container {
        margin-top: 20px;
        padding: 20px;
    }
    
    .simulator-title {
        font-size: 1.3rem;
    }
    
    .result-amount {
        font-size: 1.8rem;
    }
    
    .result-details {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-header strong {
        font-size: 1.1rem;
    }
    
    .accordion-content p {
        padding: 15px 20px;
    }
    
    .webinar-section {
        flex-direction: column;
        gap: 20px;
        margin: 1rem 15px;
        padding: 1.5rem;
    }
    
    .webinar-content h2 {
        margin-left: 0;
        font-size: 1.6rem;
        text-align: center;
    }
    
    .webinar-subtitle {
        margin-left: 0;
        text-align: center;
    }
    
    .webinar-card {
        width: 100%;
        padding: 1.2rem;
    }
    
    .countdown {
        gap: 0.5rem;
    }
    
    .countdown span {
        font-size: 1.5rem;
    }
    
    .roadmap-container {
        flex-direction: column;
        align-items: center;
    }
    
    .roadmap-item {
        width: 100%;
        max-width: 300px;
    }
    
    .video-placeholder-small video {
        width: 100%;
    }
    
    .final-cta {
        padding: 50px 0;
    }
    
    .bottom-bar-form {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
    }
    
    .bottom-bar-form input {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .hero {
        padding: 140px 0 40px;
        min-height: 60vh;
    }
    
    .hero h1 {
        margin-top: -56px;
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .hero-header {
        padding: 15px 0;
    }

    
    
    .logo {
        font-size: 1.3rem;
    }
    
    .cta-button {
        padding: 10px 20px;
        font-size: 0.8rem;
        text-align: center;
        display: block !important;
        margin: 0 auto !important;
        text-align: center !important;
        width: fit-content !important;
        float: none !important;
    }
    
    section {
        padding: 40px 0;
    }
    
    .fund-explorer-section {
        margin: 0 10px;
        padding: 20px 15px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 0.8rem;
    }
    
    .funds-table th,
    .funds-table td {
        padding: 8px 5px;
        font-size: 0.8rem;
    }
    
    .graph-container {
        height: 300px !important;
        padding: 15px;
    }
    
    .simulator-container {
        padding: 15px;
    }
    
    .simulator-title {
        font-size: 1.2rem;
    }
    
    .category-btn {
        padding: 12px !important;
        font-size: 0.8rem;
    }
    
    .input-group input,
    .input-group select {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    .result-amount {
        font-size: 1.5rem;
    }
    
    .testimonial-card {
        padding: 20px;
    }
    
    .accordion-header {
        padding: 12px 15px;
    }
    
    .accordion-header strong {
        font-size: 1rem;
    }
    
    .webinar-section {
        margin: 1rem 10px;
        padding: 1rem;
    }
    
    .webinar-content h2 {
        font-size: 1.4rem;
    }
    
    .webinar-card {
        padding: 1rem;
    }
    
    .countdown span {
        font-size: 1.2rem;
    }
    
    .countdown small {
        font-size: 0.7rem;
    }
    
    .register-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .roadmap-item {
        padding: 15px;
        margin: 5px;
    }
    
    .roadmap-icon {
        font-size: 2rem;
    }
    
    .roadmap-amount {
        font-size: 1.1rem;
    }
    
    .roadmap-goal {
        font-size: 0.9rem;
    }
    
    .final-cta {
        padding: 40px 0;
    }
    
    .modal-content {
        padding: 30px 20px;
        max-width: 90%;
    }
    
    .bottom-bar-form input {
        max-width: 250px;
        padding: 10px;
    }
    
    .bottom-bar-form button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .cta-button.hide-mobile {
        display: none !important;
    }

    
}

@media (max-width: 360px) {
    .hero {
        padding: 160px 0 40px;
    }
    
    .hero h1 {
        font-size: 1.6rem;
        margin-top: 0px;
    }
    
    .hero p {
        font-size: 0.85rem;
        margin-top: 25px;
        padding: 0 10px;
    }
    
    .hero-header {
        padding: 10px 0;
    }
    
    .header-container {
        padding: 0 5px;
        gap: 12px;
    }
    
    .header-buttons {
        gap: 8px;
    }
    
    .hero-header .cta-button,
    .download-button {
        padding: 10px 16px;
        font-size: 0.75rem;
        min-width: 120px;
        
    }
    
    .fund-explorer-section {
        margin: 0 5px;
    }
    
    .tab-button {
        padding: 6px 10px;
        font-size: 0.75rem;
    }
    
    .simulator-container {
        padding: 10px;
    }
    
    .category-btn {
        padding: 10px !important;
        font-size: 0.75rem;
    }
    
    .webinar-content h2 {
        font-size: 1.2rem;
    }
    
    .countdown span {
        font-size: 1rem;
    }
}

.hero-container {
    transform-origin: top center;
    transform: scale(1);
    font-size: clamp(14px, 1.2vw, 18px);
}

/* --- media queries go here --- */
@media (max-width: 1200px) {
    .hero-container {
        transform: scale(0.9);
    }
}

@media (max-width: 992px) {
    .hero-container {
        transform: scale(0.8);
    }
}

@media (max-width: 768px) {
    .hero-container {
        transform: scale(0.7);
    }
}

@media (max-width: 576px) {
    .hero-container {
        transform: scale(0.6);
    }
}

/* buttons & inputs */
.hero-container button,
.hero-container input {
    min-height: 40px;
    font-size: clamp(14px, 1.5vw, 16px);
}

/* Enhanced Responsive CSS for Smaller Laptops (768px - 1500px) */

/* Base adjustments for laptop screens */
@media (min-width: 769px) and (max-width: 1500px) {
    .container {
        max-width: 95%;
        padding: 0 30px;
    }
    
    /* Hero section adjustments */
    .hero {
        padding: 120px 0 80px;
        min-height: 90vh;
    }
    
    .hero h1 {
        font-size: clamp(2.2rem, 4vw, 3.0rem);
        margin-top: -200px;
        text-align: center;
        line-height: 1.1;
    }
    
    .hero p {
        font-size: clamp(1rem, 1.8vw, 1.2rem);
        max-width: 80%;
        margin: 0 auto;
        margin-top: 20px;
        text-align: center;
        line-height: 1.6;
    }
    
    /* Header adjustments */
    .logo {
        font-size: clamp(1.4rem, 2.2vw, 1.8rem);
    }
    
    .logo img {
        height: clamp(35px, 5vw, 50px);
        margin-left: 0;
    }
    
    .header-buttons {
        gap: 12px;
    }
    
    .hero-header .cta-button,
    .download-button {
        padding: clamp(10px, 1.5vw, 14px) clamp(20px, 3vw, 32px);
        font-size: clamp(0.8rem, 1.2vw, 1rem);
        margin-right: 0;
    }
    
    /* Section spacing */
    section {
        padding: clamp(50px, 8vw, 80px) 0;
    }
    
    h1 {
        font-size: clamp(2.2rem, 4vw, 3.0rem);
    }
    
    h2 {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }
    
    h3 {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
    
    /* Two column layout adjustments */
    .two-column-layout {
        gap: clamp(30px, 5vw, 60px);
    }
    
    .column-image img {
        width: clamp(120%, 130%, 150%);
    }
    
    /* Fund explorer section */
    .fund-explorer-section {
        margin: 0 clamp(15px, 3vw, 20px);
        padding: clamp(30px, 5vw, 60px) clamp(20px, 4vw, 40px);
    }
    
    .tab-button {
        padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 25px);
        font-size: clamp(0.9rem, 1.2vw, 1rem);
    }
    
    .funds-table th,
    .funds-table td {
        padding: clamp(15px, 2.5vw, 20px);
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }
    
    /* Graph and simulator layout */
    .explorer-layout {
        gap: clamp(20px, 3vw, 28px);
    }
    
    .graph-container {
        width: 100% !important;
        height: clamp(400px, 60vw, 625px) !important;
        padding: clamp(20px, 3vw, 25px);
    }
    
    .simulator-container {
        padding: clamp(20px, 3vw, 25px);
    }
    
    .simulator-title {
        font-size: clamp(1.2rem, 2vw, 1.5rem);
    }
    
    .category-btn {
        padding: clamp(8px, 1.2vw, 10px);
        font-size: clamp(0.8rem, 1.1vw, 0.9rem);
    }
    
    .input-group input,
    .input-group select {
        padding: clamp(10px, 1.5vw, 12px);
        font-size: clamp(0.9rem, 1.1vw, 1rem);
    }
    
    .result-amount {
        font-size: clamp(1.8rem, 3vw, 2.2rem);
    }
    
    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: clamp(20px, 3vw, 30px);
    }
    
    .testimonial-card {
        padding: clamp(20px, 3vw, 30px);
    }
    
    /* Webinar section */
    /* .webinar-section {
        margin: 2rem clamp(15px, 3vw, 20px);
        padding: clamp(1.5rem, 3vw, 2rem);
        flex-direction: row;
    }
    
    .webinar-content h2 {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
        margin-left: clamp(-50px, -8vw, -74px);
    }
    
    .webinar-subtitle {
        margin-left: clamp(200px, 35vw, 330px);
    }
    
    .webinar-card {
        min-width: clamp(220px, 30vw, 250px);
        padding: clamp(1.2rem, 2vw, 1.5rem);
    }
    
    .countdown span {
        font-size: clamp(1.5rem, 2.5vw, 2rem);
    } */
    
    /* Roadmap section */
    /* .roadmap-item {
        width: clamp(200px, 25vw, 250px);
        padding: clamp(15px, 2.5vw, 20px);
    }
    
    .roadmap-icon {
        font-size: clamp(2rem, 3vw, 2.5rem);
    } */
    
    /* CTA buttons */
    .cta-button,
    .cta-button-center {
        padding: clamp(12px, 1.8vw, 14px) clamp(24px, 4vw, 32px);
        font-size: clamp(0.9rem, 1.2vw, 1rem);
    }
    
    /* Accordion */
    .accordion-header {
        padding: clamp(15px, 2.5vw, 20px) clamp(20px, 3.5vw, 25px);
    }
    
    .accordion-header strong {
        font-size: clamp(1.1rem, 1.5vw, 1.2rem);
    }
    
    .accordion-content p {
        padding: clamp(15px, 2.5vw, 20px) clamp(20px, 3.5vw, 25px);
    }
    
    /* Video placeholder */
    .video-placeholder-small video {
        width: clamp(800px, 90vw, 1020px);
    }
    
    /* Final CTA */
    .final-cta {
        padding: clamp(60px, 8vw, 80px) 0;
    }
    
    /* Modal content */
    .modal-content {
        max-width: clamp(350px, 50vw, 420px);
        padding: clamp(30px, 5vw, 40px);
    }
    
    /* Bottom bar */
    .bottom-bar-form input {
        width: clamp(180px, 25vw, 220px);
        padding: clamp(10px, 1.5vw, 12px);
    }
    
    .bottom-bar-form button {
        padding: clamp(10px, 1.5vw, 12px) clamp(20px, 3vw, 25px);
    }
}

/* Specific adjustments for medium laptops (992px - 1200px) */
@media (min-width: 993px) and (max-width: 1200px) {
    .hero h1 {
        margin-top: -180px;
        font-size: 2.6rem;
    }
    
    .hero p {
        font-size: 1.1rem;
        max-width: 75%;
        margin-top: 15px;
    }
    
    .graph-container {
        height: 500px !important;
    }
    
    .webinar-content h2 {
        margin-left: -60px;
    }
    
    .webinar-subtitle {
        margin-left: 250px;
    }
}

/* Specific adjustments for smaller laptops (769px - 992px) */
@media (min-width: 769px) and (max-width: 992px) {
    .hero h1 {
        margin-top: -160px;
        font-size: 2.4rem;
    }
    
    .hero p {
        font-size: 1.05rem;
        max-width: 85%;
        margin-top: 10px;
    }
    
    .explorer-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .graph-container {
        height: 450px !important;
    }
    
    .simulator-container {
        margin-top: 0;
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .webinar-section {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .webinar-content h2 {
        margin-left: 0;
        font-size: 1.8rem;
    }
    
    .webinar-subtitle {
        margin-left: 0;
    }
    
    .webinar-card {
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .roadmap-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .roadmap-item {
        width: 200px;
    }
}

/* Adjustments for very small laptops (769px - 900px) */
@media (min-width: 769px) and (max-width: 900px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        margin-top: -140px;
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
        max-width: 90%;
    }
    
    .fund-explorer-section {
        padding: 40px 25px;
    }
    
    .tabs-nav {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .tab-button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }
    
    .graph-container {
        height: 400px !important;
        padding: 20px;
    }
    
    .simulator-inputs {
        flex-direction: column;
        gap: 15px;
    }
}

/* Ensure smooth transitions between breakpoints */
@media (min-width: 769px) and (max-width: 1500px) {
    * {
        transition: font-size 0.2s ease, padding 0.2s ease, margin 0.2s ease;
    }
    
    /* Prevent horizontal scrolling */
    body {
        overflow-x: hidden;
    }
    
    /* Ensure all images are responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    /* Better button hover effects for laptops */
    .cta-button:hover,
    .download-button:hover,
    .tab-button:hover {
        transform: translateY(-2px);
    }
    
    /* Improve readability */
    p {
        line-height: 1.6;
    }
    
    /* Better spacing for lists */
    .why-us-list li {
        margin-bottom: 20px;
        font-size: clamp(1rem, 1.3vw, 1.1rem);
    }
    
    .why-us-list i {
        font-size: clamp(1.3rem, 2vw, 1.5rem);
    }
}



.scroll-hint {
  display: none;
}
/* Show only on small screens */
@media (max-width: 768px) {
  .scroll-hint {
  display: inline-block;  
  position: absolute;
  right: 12px;
  top: 511px;
  font-size: 18px;             /* bigger */
  font-weight: bold;           /* bold */
  color: #fff;                 /* white text */
  background: rgba(0,0,0,0.6); /* dark circle background */
  border-radius: 50%;
  padding: 6px 10px;           /* space around */
  opacity: 0.9;                /* stronger */
  animation: pulse 1.5s infinite;
  z-index: 2;                  /* keep it above table */
}

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


/* @media (max-width: 768px) {
  .section-title + p {
    text-align: center;
  }
} */





.table-wrapper {
  position: relative; /* anchor for the arrow */
}

.table-wrapper::after {
  content: "➜";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 28px;
  font-weight: bold;
  color: #fff; /* white for dark backgrounds */
  text-shadow: 0 0 6px rgba(0, 242, 254, 0.8); /* glowing effect */
  z-index: 20;
  animation: bounce 1.2s infinite;
  pointer-events: none;
}

@keyframes bounce {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(6px); }
}


/* ========================================
   MOBILE RESPONSIVE TABLE TO CARD LAYOUT
   Add this CSS at the end of your existing CSS file
======================================== */

@media screen and (max-width: 768px) {
  
  /* Hide table headers on mobile */
  .funds-table thead {
    display: none;
  }
  
  /* Transform table structure */
  .funds-table,
  .funds-table tbody,
  .funds-table tr,
  .funds-table td {
    display: block;
  }
  
  /* Card styling for each row */
  .funds-table tr {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    margin-bottom: 16px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  /* Hover effect for cards */
  .funds-table tr:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
  }
  
  /* Individual cell styling */
  .funds-table td {
    border: none;
    padding: 8px 0;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }
  
  /* Remove border from last cell */
  .funds-table td:last-child {
    border-bottom: none;
  }
  
  /* Add labels before each data cell */
  .funds-table td:nth-child(1):before { content: "Fund Name: "; }
  .funds-table td:nth-child(2):before { content: "3Y Return: "; }
  .funds-table td:nth-child(3):before { content: "5Y Return: "; }
  .funds-table td:nth-child(4):before { content: "10Y Return: "; }
  
  /* Style the labels */
  .funds-table td:before {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    min-width: 100px;
    flex-shrink: 0;
  }
  
  /* Fund name styling (first cell) */
  .funds-table td:nth-child(1) {
    font-weight: 700;
    font-size: 1.1rem;
    color: #fff;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    align-items: flex-start;
  }
  
  .funds-table td:nth-child(1):before {
    margin-bottom: 4px;
    font-size: 0.8rem;
    opacity: 0.6;
  }
  
  /* Return values styling */
  .funds-table td.positive {
    font-weight: 600;
    font-size: 1rem;
  }
  
  /* Adjust container padding for mobile */
  .table-container {
    padding: 0 10px;
    overflow: visible;
  }
  
  /* Section title responsive */
  .fund-explorer-section .section-title {
    font-size: 1.8rem;
    line-height: 1.3;
  }
  
  .fund-explorer-section .section-subtitle {
    font-size: 1rem;
    margin-bottom: 30px;
  }
  
  /* Tabs responsive */
  .tabs-nav {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .tab-button {
    font-size: 0.85rem;
    padding: 8px 12px;
    flex: 1 1 auto;
    min-width: 120px;
  }
  
  /* CTA section responsive */
  .fund-cta-outro h3 {
    font-size: 1.4rem;
    line-height: 1.4;
  }
  
  .fund-cta-outro p {
    font-size: 0.95rem;
  }
  
  .cta-button {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
  }
}

/* Extra small devices (phones in portrait) */
@media screen and (max-width: 480px) {
  
  .funds-table tr {
    padding: 16px;
    margin-bottom: 12px;
  }
  
  .funds-table td:before {
    min-width: 90px;
    font-size: 0.85rem;
  }
  
  .funds-table td:nth-child(1) {
    font-size: 0.9rem;
     font-weight: 700; /* or bold */
    color: #ffffff; /* darker color for contrast */
    text-shadow: 0 1px 2px rgba(0,0,0,0.1); /* subtle shadow */
    
  }
  
  .fund-explorer-section .section-title {
    font-size: 1.5rem;
  }
  
  .tab-button {
    font-size: 0.8rem;
    padding: 6px 10px;
    min-width: 100px;
  }
}

/* ========================================
   ALTERNATIVE COMPACT CARD LAYOUT
   Uncomment this section if you prefer a more compact card design
======================================== */

/*
@media screen and (max-width: 768px) {
  
  .funds-table thead { display: none; }
  
  .funds-table, .funds-table tbody, .funds-table tr, .funds-table td {
    display: block;
  }
  
  .funds-table tr {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-left: 4px solid var(--accent-color);
    border-radius: 8px;
    margin-bottom: 12px;
    padding: 16px;
  }
  
  .funds-table td {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 6px 0;
    border: none;
  }
  
  .funds-table td:nth-child(1) {
    grid-column: 1 / -1;
    font-weight: 700;
    color: var(--accent-color);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
    padding-bottom: 8px;
  }
  
  .funds-table td:nth-child(1):before { content: ""; }
  .funds-table td:nth-child(2):before { content: "3Y: "; }
  .funds-table td:nth-child(3):before { content: "5Y: "; }
  .funds-table td:nth-child(4):before { content: "10Y: "; }
  
  .funds-table td:before {
    font-weight: 600;
    opacity: 0.8;
  }
}
*/



/* Mobile-specific styles for compounding section */
@media (max-width: 768px) {
    .compounding-section .two-column-layout {
        display: flex;
        flex-direction: column;
        gap: 10px; /* optional, adds uniform spacing between all children */
    }
    
    /* Make all elements direct children of the flex container */
    .compounding-section .column-text {
        display: contents; /* keeps children as direct children */
    }
    
    /* Order the elements */
    .compounding-section .column-text h2 {
        order: 1;
        margin-bottom: 10px; /* reduced from 15px */
    }
    
    
    
    .compounding-section .compounding-graph {
        order: 2;
        margin: 15px 0; /* reduced from 20px */
    }
    
    

    .compounding-section .column-text p:first-of-type {
        order: 3;
        margin-bottom: 10px; /* reduced from 20px */
    }
    .compounding-section .column-text p:last-of-type {
        order: 4;
        margin-bottom: 10px; /* reduced from 20px */
    }
    
    .compounding-section .column-text .cta-button {
        order: 5;
        margin-top: 0;
        align-self: flex-start;
    }
}



