/* Dronacharya 2026 Styles - Version 4.2 - Updated Modals */
    :root {
        /* Core colours */
        --primary: #b32121;
        --primary-dark: #630000;
        --accent: #fcbf49;
        --bg: #fafafa;
        --bg-alt: #ffffff;
        --text-main: #222222;
        --text-muted: #666666;
        --header-space: 104px;
        --radius: 0.6rem;
        --shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
        --transition: 0.3s ease;
    }

    * {
        box-sizing: border-box;
    }

    /* Prevent accidental horizontal scrolling from positioned elements */
    html {
        overflow-x: hidden;
    }

    body {
        margin: 0;
        padding-top: var(--header-space);
        font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
        color: var(--text-main);
        background: var(--bg);
        overflow-x: hidden;
    }

    a {
        color: inherit;
        text-decoration: none;
    }

    h1,
    h2,
    h3,
    h4 {
        margin: 0;
        font-weight: 600;
    }

    header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        box-shadow: 0 1px 6px rgba(0, 0, 0, 0.04);
    }

    .nav {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        padding: 12px 16px;
        gap: clamp(1rem, 2vw, 2.5rem);
    }

    .hamburger {
        display: none;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
        color: var(--primary);
        padding: 5px;
    }

    .logo {
        font-family: "Montserrat", system-ui, sans-serif;
        font-weight: 700;
        font-size: 1.2rem;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        display: flex;
        align-items: center;
        gap: 2px;
    }

    .logo img {
        display: block;
    }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 0.6rem;
        margin-left: auto;
        flex-shrink: 0;
    }

    .logo-black {
        color: #000000;
    }

    .logo-red {
        color: var(--primary);
    }

    body.dark-mode .logo-black {
        color: #f5f5f5;
    }

    body.dark-mode .logo-red {
        color: #ff6b5b;
    }

    .nav ul {
        list-style: none;
        display: flex;
        gap: 1rem;
        margin: 0;
        padding: 0;
    }

    .nav ul li {
        cursor: pointer;
        font-size: 0.9rem;
        position: relative;
        padding-bottom: 6px;
        display: inline-block;
    }

    /* Underline that grows from center: use a pseudo-element */
    .nav ul li::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 2px;
        background: var(--primary);
        transform: scaleX(0);
        transform-origin: center;
        transition: transform 260ms cubic-bezier(0.2, 0.9, 0.2, 1);
        border-radius: 2px;
        pointer-events: none;
        opacity: 0.95;
    }

    .nav ul li:hover::after,
    .nav ul li:focus::after,
    .nav ul li.active::after {
        transform: scaleX(1);
    }

    /* Nav mentor form */
    .nav-mentor-form {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-left: auto;
    }

    .nav-mentor-form input {
        padding: 8px 10px;
        border-radius: 999px;
        border: 1px solid rgba(0, 0, 0, 0.18);
        font-size: 0.85rem;
        min-width: 140px;
    }

    .nav-mentor-form button {
        padding: 6px 16px;
        border-radius: 8px;
        border: none;
        font-weight: 600;
        font-size: 0.7rem;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
        white-space: nowrap;
    }

    .nav-mentor-form button:hover {
        box-shadow: 0 12px 28px rgba(179, 33, 33, 0.3);
        transform: translateY(-2px);
    }

    .nav-cta-btn {
        padding: 8px 14px;
        border-radius: 5px;
        border: none;
        font-weight: 600;
        font-size: 0.95rem;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        cursor: pointer;
        transition: var(--transition);
        box-shadow: 0 8px 20px rgba(179, 33, 33, 0.12);
        white-space: nowrap;
    }

    .nav-cta-btn:hover {
        box-shadow: 0 14px 32px rgba(179, 33, 33, 0.22);
        transform: translateY(-2px);
    }

    /* Language Toggle Button */
    .language-toggle {
        padding: 8px 12px;
        border-radius: 5px;
        border: 2px solid var(--primary);
        font-weight: 600;
        font-size: 0.85rem;
        background: transparent;
        color: var(--primary);
        cursor: pointer;
        transition: var(--transition);
        display: inline-block;
        text-align: center;
        min-width: 45px;
    }

    .language-toggle:hover {
        background: var(--primary);
        color: #fff;
        transform: scale(1.05);
    }

    body.dark-mode .language-toggle {
        border-color: #3498db;
        color: #3498db;
    }

    body.dark-mode .language-toggle:hover {
        background: #3498db;
        color: #fff;
    }

    .theme-toggle-btn {
        background: none;
        border: none;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        padding: 0;
        color: var(--text-main);
        transition: var(--transition);
        border-radius: 50%;
    }

    .theme-toggle-btn svg {
        width: 20px;
        height: 20px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .theme-toggle-btn .icon-sun {
        opacity: 0;
        transform: rotate(-90deg);
        position: absolute;
    }

    .theme-toggle-btn.dark-active .icon-moon {
        opacity: 0;
        transform: rotate(90deg);
    }

    .theme-toggle-btn.dark-active .icon-sun {
        opacity: 1;
        transform: rotate(0deg);
    }

    .theme-toggle-btn:hover {
        background: rgba(0, 0, 0, 0.05);
    }

    body.dark-mode .theme-toggle-btn:hover {
        background: rgba(255, 255, 255, 0.1);
    }

    /* Pulsating animation for floater buttons */
    @keyframes pulse {
        0%, 100% {
            box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 6px 20px rgba(52, 152, 219, 0.6);
            transform: scale(1.05);
        }
    }

    @keyframes pulse-whatsapp {
        0%, 100% {
            box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 10px 28px rgba(37, 211, 102, 0.5);
            transform: scale(1.05);
        }
    }

    @keyframes pulse-call {
        0%, 100% {
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
            transform: scale(1.05);
        }
    }

    @keyframes pulse-back-to-top {
        0%, 100% {
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            transform: scale(1);
        }
        50% {
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
            transform: scale(1.05);
        }
    }

    /* Floating Theme Toggle Button */
    .theme-toggle-btn-floating {
        position: fixed;
        bottom: 186px;
        left: 20px;
        width: 56px;
        height: 56px;
        background: linear-gradient(135deg, #3498db, #2980b9);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(52, 152, 219, 0.4);
        z-index: 999;
        transition: all 0.3s ease;
        animation: pulse 2s ease-in-out infinite;
    }

    .theme-toggle-btn-floating svg {
        width: 28px;
        height: 28px;
        transition: opacity 0.3s ease, transform 0.3s ease;
    }

    .theme-toggle-btn-floating .icon-moon {
        opacity: 1;
        transform: rotate(0deg);
    }

    .theme-toggle-btn-floating .icon-sun {
        opacity: 0;
        transform: rotate(-90deg);
        position: absolute;
    }

    .theme-toggle-btn-floating.dark-active {
        background: linear-gradient(135deg, #f39c12, #e67e22);
    }

    .theme-toggle-btn-floating.dark-active .icon-moon {
        opacity: 0;
        transform: rotate(90deg);
    }

    .theme-toggle-btn-floating.dark-active .icon-sun {
        opacity: 1;
        transform: rotate(0deg);
    }

    .theme-toggle-btn-floating:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(52, 152, 219, 0.5);
    }

    .theme-toggle-btn-floating.dark-active:hover {
        box-shadow: 0 6px 16px rgba(243, 156, 18, 0.5);
    }

    @media (max-width: 768px) {
        .theme-toggle-btn-floating {
            width: 48px;
            height: 48px;
            bottom: 216px;
            right: 15px;
        }

        .theme-toggle-btn-floating svg {
            width: 24px;
            height: 24px;
        }
    }

    .language-switch {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        display: flex;
        justify-content: flex-end;
        padding: 8px 16px;
        z-index: 1999;
    }

    .language-switch a {
        color: white;
        font-weight: 600;
        font-size: 0.9rem;
        text-decoration: none;
        padding: 4px 8px;
        border-radius: 6px;
        transition: var(--transition);
        
        background: linear-gradient(var(--primary), var(--primary-dark));
    }

    .language-switch a:hover {
        background: var(--primary);
        color: #fff;
    }

    /* Hero */
    .hero {
        display: grid;
        max-width: 1200px;
        margin: 0 auto;
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        padding: 4rem 1rem 5rem;
        gap: 2rem;
        align-items: center;
        position: relative;
        text-align: center;
    }

    /* .hero::before {
      content: "";
      position: absolute;
      top: -100px;
      right: -200px;
      width: 500px;
      height: 500px;
      background: radial-gradient(circle, rgba(252, 191, 73, 0.4), transparent 70%);
      animation: pulse 6s infinite;
      z-index: -1;
    } */

    @keyframes pulse {
        0% {
            transform: scale(0.9);
        }

        50% {
            transform: scale(1);
        }

        100% {
            transform: scale(0.9);
        }
    }

    .hero-content h1 {
        font-size: 2.4rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }

    .hero-content h1 span {
        background: linear-gradient(90deg, var(--primary), #00b0e5);
        background-clip: text;
        -webkit-background-clip: text;
        color: transparent;
    }

    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 520px;
        margin: 0 auto 1.5rem;
    }

    .hero-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1rem;
        justify-content: center;
    }

    .btn-main {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        color: #fff;
        padding: 12px 22px;
        border: none;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .btn-main:hover {
        box-shadow: 0 14px 32px rgba(179, 33, 33, 0.28);
        transform: translateY(-2px);
    }

    .btn-outline {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        color: #fff;
        padding: 12px 22px;
        border: none;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .btn-outline:hover {
        background: var(--primary-dark);
        color: #fff;
        box-shadow: 0 14px 32px rgba(179, 33, 33, 0.28);
        transform: translateY(-2px);
    }

    .hero-image {
        text-align: center;
        position: relative;
    }

    .hero-image img {
        width: 90%;
        max-width: 420px;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }


    .feature-icon{
        width: 52px;
        height: 52px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        color: var(--primary);
        font-size: 1.2rem;
        margin-bottom: 0.6rem;
    }
    /* Sections */
    section {
        padding: 2rem 1rem;
        max-width: 1200px;
        margin: 0 auto;
        transition: all 0.4s cubic-bezier(0.4, 0.0, 0.2, 1);
        border-radius: 8px;
    }

    section:hover {
        transform: translateY(-4px);
        background: rgba(112, 128, 144, 0.08);
    }

    body.dark-mode section:hover {
        background: rgba(70, 78, 84, 0.3);
    }

    .section-header {
        text-align: center;
    }

    .section-header .tag {
        font-size: 0.85rem;
        color: var(--primary-dark);
        letter-spacing: 0.1em;
        text-transform: uppercase;
        margin-bottom: 0.3rem;
        position: relative;
        display: inline-block;
        padding: 0 1rem;
        z-index: 1;
    }

    /* Faded horizontal lines on both sides of the small 'tag' label */
    .section-header .tag::before,
    .section-header .tag::after {
        content: "";
        position: absolute;
        top: 50%;
        width: 250px;
        height: 2px;
        transform: translateY(-50%);
        pointer-events: none;
    }

    .section-header .tag::before {
        right: 100%;
        margin-right: 12px;
        background: linear-gradient(to left, rgb(116, 0, 0), transparent);
    }

    .section-header .tag::after {
        left: 100%;
        margin-left: 12px;
        background: linear-gradient(to right, rgb(124, 0, 0), transparent);
    }

    @media (max-width: 480px) {

        .section-header .tag::before,
        .section-header .tag::after {
            width: 90px;
            margin-left: 8px;
            margin-right: 8px;
        }
    }

    .section-header h2 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .section-header p {
        font-size: 1rem;
        color: var(--text-muted);
        max-width: 720px;
        margin: 0 auto;
    }

    /* Who list: left aligned */
    #who .who-list {
        display: flex;
        justify-content: flex-start;
    }

    #who .who-list ul {
        max-width: 760px;
        margin: 0.5rem 0 0 0;
        padding-left: 1.25rem;
        list-style: disc;
        text-align: left;
    }

    #who .who-list ul li {
        display: list-item;
        text-align: left;
        margin: 0.35rem 0;
        font-size: 1rem;
        color: var(--text-main);
    }

    #who .who-list ul::marker {
        color: var(--primary);
        font-weight: 700;
    }

    @media (max-width: 520px) {
        #who .who-list ul {
            padding-left: 1rem;
        }
    }

    /* About section */
    .about {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
        align-items: center;
        text-align: center;
    }

    .about-image {
        position: relative;
    }

    .about-image::after {
        content: "";
        position: absolute;
        top: -20px;
        right: -20px;
        width: 100px;
        height: 100px;
        background: radial-gradient(circle, rgba(252, 191, 73, 0.4), transparent 70%);
        border-radius: 50%;
        z-index: -1;
        animation: pulse 5s infinite;
    }

    .about-image img {
        width: 100%;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .about-text {
        font-size: 1rem;
        text-align: left;
        line-height: 1.6;
        color: var(--text-muted);
        max-width: 600px;
        margin: 0 auto;
    }

    .about-text strong {
        color: var(--primary);
    }

    /* Pain points */
    .pain-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.6rem;
    }

    .pain-card {
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.4rem 1.2rem;
        box-shadow: var(--shadow);
        transform: translateY(10px);
        opacity: 0;
        animation: fadeUp 0.6s forwards;
        transition: transform var(--transition), box-shadow var(--transition);
        text-align: center;
    }

    .pain-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
    }

    .pain-card:nth-child(odd) {
        animation-delay: 0.2s;
    }

    .pain-card:nth-child(even) {
        animation-delay: 0.4s;
    }

    .pain-card h3 {
        margin-bottom: 0.5rem;
        color: var(--primary-dark);
    }

    .pain-card p {
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    @keyframes fadeUp {
        0% {
            opacity: 0;
            transform: translateY(12px);
        }

        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Feature cards section */
    .features-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.6rem;
    }

    .feature-card {
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.6rem 1.4rem 1.8rem;
        box-shadow: var(--shadow);
        position: relative;
        transition: transform var(--transition), box-shadow var(--transition);
        text-align: center;
    }

    .feature-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
    }

    .feature-card .icon {
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: var(--primary);
        margin: 0 auto 1rem;
    }

    .feature-card h3 {
        margin-bottom: 0.5rem;
    }

    .feature-card p {
        color: var(--text-muted);
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    .feature-card button {
        background: var(--primary);
        color: #fff;
        border: none;
        padding: 8px 16px;
        border-radius: 999px;
        font-size: 0.85rem;
        cursor: pointer;
        transition: var(--transition);
    }

    .feature-card button:hover {
        background: var(--primary-dark);
    }

    /* 'How' section: responsive flow grid */
    .flow-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
        justify-content: center;
        margin-top: 1rem;
        width: 100%;
    }

    .flow-grid .card {
        max-width: 320px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 1.4rem;
        border-radius: 12px;
        background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
        box-shadow: 0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(179, 33, 33, 0.06);
        border: 1.5px solid rgba(179, 33, 33, 0.12);
        transition: all 0.3s ease;
    }

    .flow-grid .card:hover {
        transform: translateY(-3px);
        box-shadow: 0 8px 24px rgba(0,0,0,0.12), 0 4px 8px rgba(179, 33, 33, 0.1);
        border-color: rgba(179, 33, 33, 0.2);
    }

    .flow-grid .card .card-heading {
        color: #c41e1e;
        margin: 0 0 0.6rem;
        font-weight: 700;
        font-size: 1.1rem;
        text-shadow: 0 1px 2px rgba(196, 30, 30, 0.1);
    }

    .flow-grid .card .card-text {
        color: #2a2a2a;
        margin: 0;
        line-height: 1.5;
        font-size: 0.95rem;
        font-weight: 500;
    }

    @media (max-width: 640px) {
        .flow-grid { grid-template-columns: 1fr; gap: 1rem; }
        .flow-grid .card { padding: 1rem 0.9rem; max-width: none; text-align: center; }
        .flow-grid .card .card-heading { font-size: 1rem; margin-bottom: 0.5rem; text-align: center; }
        .flow-grid .card .card-text { font-size: 0.9rem; text-align: center; line-height: 1.45; }
    }

    /* Modern Futuristic Batch Cards */
    .batch-grid-container {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1.25rem;
        max-width: 680px;
        margin: 0 auto;
        padding: 1.25rem 1rem;
    }

    .batch-card {
        background: linear-gradient(135deg, #fff8f6 0%, #ffffff 50%, #f8fcff 100%);
        border: 1.5px solid rgba(179, 33, 33, 0.12);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 3px 16px rgba(179, 33, 33, 0.08), 
                    0 1px 4px rgba(0, 123, 255, 0.04),
                    inset 0 1px 0 rgba(255, 255, 255, 0.8);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        position: relative;
    }

    .batch-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 3px;
        background: linear-gradient(90deg, #ff6b5b 0%, #ffd700 50%, #ff6b5b 100%);
        background-size: 200% 100%;
        opacity: 0;
        transition: opacity 0.3s ease;
        animation: shimmer 3s linear infinite;
    }

    @keyframes shimmer {
        0% { background-position: -200% 0; }
        100% { background-position: 200% 0; }
    }

    .batch-card:hover {
        transform: translateY(-3px) scale(1.01);
        box-shadow: 0 8px 28px rgba(179, 33, 33, 0.15), 
                    0 4px 12px rgba(255, 215, 0, 0.12),
                    inset 0 1px 0 rgba(255, 255, 255, 1);
        border-color: rgba(179, 33, 33, 0.2);
    }

    .batch-card:hover::before {
        opacity: 1;
    }

    .batch-card-header {
        background: linear-gradient(135deg, 
                    rgba(255, 107, 91, 0.08) 0%, 
                    rgba(255, 215, 0, 0.04) 50%,
                    rgba(179, 33, 33, 0.06) 100%);
        padding: 0.75rem 0.875rem;
        border-bottom: 1.5px solid rgba(179, 33, 33, 0.1);
        text-align: center;
        position: relative;
    }

    .batch-card-header::after {
        content: '';
        position: absolute;
        bottom: -1.5px;
        left: 50%;
        transform: translateX(-50%);
        width: 40%;
        height: 1.5px;
        background: linear-gradient(90deg, transparent, #ffd700, transparent);
    }

    .batch-badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.35rem;
        background: linear-gradient(135deg, #d32f2f 0%, #ff6b5b 50%, #ff8a65 100%);
        color: #ffffff;
        padding: 0.35rem 0.875rem;
        border-radius: 50px;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.3px;
        box-shadow: 0 3px 8px rgba(179, 33, 33, 0.3),
                    0 1px 3px rgba(255, 215, 0, 0.2),
                    inset 0 1px 0 rgba(255, 255, 255, 0.2);
        position: relative;
        overflow: hidden;
    }

    .batch-badge::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transform: rotate(45deg);
        animation: badgeShine 3s ease-in-out infinite;
    }

    @keyframes badgeShine {
        0%, 100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
        50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    }

    .batch-card-body {
        padding: 1rem 0.875rem 0.875rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }

    .batch-info-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.25rem;
        padding: 0.4rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        transition: all 0.2s ease;
    }

    .batch-info-item:last-child {
        border-bottom: none;
    }

    .batch-info-item.highlight {
        background: linear-gradient(135deg, 
                    rgba(255, 215, 0, 0.12) 0%, 
                    rgba(255, 235, 59, 0.08) 50%,
                    rgba(255, 193, 7, 0.1) 100%);
        padding: 0.55rem 0.75rem;
        margin: 0.15rem 0;
        border-radius: 6px;
        border-bottom: none;
        border: 1px solid rgba(255, 193, 7, 0.2);
        box-shadow: 0 2px 6px rgba(255, 215, 0, 0.15),
                    inset 0 1px 0 rgba(255, 255, 255, 0.6);
        position: relative;
    }

    .batch-info-item.highlight::before {
        content: '✦';
        position: absolute;
        left: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 193, 7, 0.4);
        font-size: 0.7rem;
    }

    .batch-info-item.highlight::after {
        content: '✦';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        color: rgba(255, 193, 7, 0.4);
        font-size: 0.7rem;
    }

    .batch-info-item.price {
        gap: 0.5rem;
        padding-top: 0.55rem;
        margin-top: 0.25rem;
        border-top: 1.5px solid rgba(179, 33, 33, 0.08);
        border-bottom: none;
    }

    .batch-label {
        font-size: 0.65rem;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: #7b7b7b;
        text-shadow: 0 1px 1px rgba(255, 255, 255, 0.8);
    }

    .batch-value {
        font-size: 0.8rem;
        font-weight: 500;
        color: #2c2c2c;
        line-height: 1.3;
    }

    .batch-info-item.highlight .batch-label {
        color: #d68000;
        font-weight: 700;
        font-size: 0.68rem;
        text-shadow: 0 1px 2px rgba(255, 215, 0, 0.3);
    }

    .batch-info-item.highlight .batch-value {
        color: #c27803;
        font-weight: 600;
        font-size: 0.82rem;
        text-shadow: 0 1px 1px rgba(255, 215, 0, 0.2);
    }

    .batch-price-group {
        display: flex;
        flex-direction: column;
        gap: 0.35rem;
        width: 100%;
    }

    .price-tag {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 0.4rem;
        background: linear-gradient(135deg, 
                    rgba(211, 47, 47, 0.08) 0%, 
                    rgba(255, 107, 91, 0.05) 50%,
                    rgba(244, 67, 54, 0.06) 100%);
        padding: 0.5rem 0.75rem;
        border-radius: 6px;
        border: 1.5px solid rgba(211, 47, 47, 0.15);
        font-size: 0.95rem;
        font-weight: 700;
        color: #d32f2f;
        transition: all 0.2s ease;
        box-shadow: 0 2px 6px rgba(211, 47, 47, 0.12),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
        position: relative;
        overflow: hidden;
    }

    .price-tag::before {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), transparent);
        opacity: 0;
        transition: opacity 0.2s ease;
    }

    .price-tag:hover {
        background: linear-gradient(135deg, 
                    rgba(211, 47, 47, 0.12) 0%, 
                    rgba(255, 107, 91, 0.08) 50%,
                    rgba(244, 67, 54, 0.1) 100%);
        transform: scale(1.03);
        border-color: rgba(211, 47, 47, 0.25);
        box-shadow: 0 4px 10px rgba(211, 47, 47, 0.2),
                    0 2px 4px rgba(255, 215, 0, 0.1),
                    inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }

    .price-tag:hover::before {
        opacity: 1;
    }

    .price-tag small {
        font-size: 0.65rem;
        font-weight: 600;
        color: #757575;
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    @media (max-width: 768px) {
        .batch-grid-container {
            grid-template-columns: 1fr;
            gap: 1rem;
            padding: 1rem 0.75rem;
            max-width: 340px;
        }

        .batch-card-header {
            padding: 0.65rem 0.75rem;
        }

        .batch-badge {
            font-size: 0.75rem;
            padding: 0.3rem 0.75rem;
        }

        .batch-card-body {
            padding: 0.875rem 0.75rem 0.75rem;
            gap: 0.4rem;
        }

        .batch-info-item {
            padding: 0.35rem 0;
            gap: 0.2rem;
        }

        .batch-info-item.highlight {
            padding: 0.45rem 0.65rem;
        }

        .batch-label {
            font-size: 0.62rem;
        }

        .batch-value {
            font-size: 0.75rem;
        }

        .batch-info-item.highlight .batch-label {
            font-size: 0.65rem;
        }

        .batch-info-item.highlight .batch-value {
            font-size: 0.78rem;
        }

        .price-tag {
            font-size: 0.875rem;
            padding: 0.45rem 0.65rem;
        }

        .price-tag small {
            font-size: 0.62rem;
        }
    }

    /* Timeline */
    .timeline {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
    }

    .timeline::before {
        content: "";
        position: absolute;
        left: 28px;
        top: 0;
        bottom: 0;
        width: 2px;
        background: rgba(0, 0, 0, 0.1);
    }

    .timeline-item {
        padding-left: 60px;
        position: relative;
    }

    .timeline-item::before {
        content: "";
        position: absolute;
        left: 22px;
        top: 5px;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: var(--primary);
    }

    .timeline-item h3 {
        margin-bottom: 0.3rem;
        color: var(--primary-dark);
    }

    .timeline-item p {
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    /* Testimonial section */
    .testimonials {
        background: #fff8f1;
        border-radius: var(--radius);
        padding: 3rem 2rem;
        box-shadow: var(--shadow);
        overflow: hidden;
        position: relative;
        text-align: center;
    }

    .testimonial-slider {
        display: flex;
        overflow-x: scroll;
        scroll-snap-type: x mandatory;
        gap: 5rem;
        padding-bottom: 1rem;
        justify-content: center;
    }

    .testimonial-card {
        flex: 0 0 300px;
        scroll-snap-align: center;
        background: var(--bg-alt);
        border-radius: var(--radius);
        padding: 1.4rem;
        box-shadow: var(--shadow);
        position: relative;
        text-align: left;
    }

    .testimonial-card::after {
        content: "\201C";
        position: absolute;
        top: -10px;
        left: 4px;
        font-size: 4rem;
        color: rgba(179, 33, 33, 0.15);
    }

    .testimonial-card p {
        font-size: 0.9rem;
        color: var(--text-muted);
        margin-bottom: 0.8rem;
    }

    .testimonial-card strong {
        display: block;
        font-size: 0.85rem;
        color: var(--primary-dark);
    }

    /* Carousel arrows (desktop) */
    .carousel-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background: var(--primary);
        color: #fff;
        border: none;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 10;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: var(--transition);
    }

    .carousel-btn:hover {
        background: var(--primary-dark);
    }

    .carousel-btn.prev {
        left: 12px;
    }

    .carousel-btn.next {
        right: 12px;
    }

    /* Hide arrows on small screens; mobile will use touch/swipe */
    @media (max-width: 480px) {
        .carousel-btn {
            display: none;
        }
    }

    /* Floating action buttons (WhatsApp left, Call right) */
    .fab {
        position: fixed;
        bottom: 18px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #fff;
        cursor: pointer;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
        z-index: 1300;
        transition: transform var(--transition), box-shadow var(--transition);
        text-decoration: none;
    }

    .fab:hover {
        transform: translateY(-4px);
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.18);
    }

    .fab.whatsapp {
        left: 16px;
        background: #94ffbb;
    }

    .fab.call {
        right: 16px;
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    }

    .fab svg {
        width: 22px;
        height: 22px;
        display: block;
    }

    /* Language toggle button (fixed below header on the right) */
    .lang-toggle-wrapper {
        position: fixed;
        top: calc(var(--header-space) + 8px);
        /* sits just below the fixed header */
        right: 16px;
        z-index: 2200;
        /* above header so button remains clickable on desktop */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lang-toggle {
        --lang-translate: -52px;
        /* default visual offset (keeps previous positioning) */
        background: #fff;
        color: var(--text-main);
        border: 1px solid rgba(0, 0, 0, 0.212);
        padding: 8px 12px;
        border-radius: 4px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.055);
        cursor: pointer;
        margin-top: 0;
        transform: translateY(var(--lang-translate));
        font-weight: 700;
        letter-spacing: 0.04em;
        transition: transform 180ms cubic-bezier(.2, .9, .2, 1), box-shadow 180ms ease, background-color 180ms ease;
        will-change: transform;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        z-index: 2201;
        /* ensure button itself sits above header overlay */
    }

    /* subtle hover that composes with the visual offset (uses CSS variable) */
    .lang-toggle:hover {
        transform: translateY(calc(var(--lang-translate) - 4px));
        box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
        background-color: rgba(0, 0, 0, 0.02);
    }

    /* active / pressed state (also useful for touch when toggled) */
    .lang-toggle:active,
    .lang-toggle.is-active {
        transform: translateY(calc(var(--lang-translate) - 2px)) scale(0.998);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
    }

    @media (max-width: 480px) {
        .lang-toggle-wrapper {
            top: calc(var(--header-space) - 8px);
            right: 12px;
        }

        .lang-toggle {
            --lang-translate: 0;
            /* remove visual offset on small screens but keep transforms composable */
            padding: 6px 10px;
            font-size: 0.85rem;
            transform: translateY(var(--lang-translate));
            margin-top: 10px;
        }
    }

    /* Reduce size on very small screens */
    @media (max-width: 360px) {
        .fab {
            width: 48px;
            height: 48px;
        }

        .fab svg {
            width: 20px;
            height: 20px;
        }
    }

    /* Error notification */
    .error-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: var(--radius);
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        z-index: 3000;
        text-align: center;
        max-width: 400px;
        width: 90%;
        animation: slideUp 0.5s ease;
        border-left: 4px solid #e74c3c;
    }

    .error-notification h2 {
        color: #e74c3c;
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
    }

    .error-notification p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .error-notification .error-icon {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(231, 76, 60, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 2rem;
        color: #e74c3c;
    }

    /* FAQ section */
    .faq {
        max-width: 800px;
        margin: 0 auto;
    }

    .faq-item {
        background: var(--bg-alt);
        margin-bottom: 1rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    .faq-item summary {
        padding: 1rem 1.2rem;
        cursor: pointer;
        font-weight: 600;
        color: var(--primary-dark);
        list-style: none;
    }

    .faq-item summary::marker,
    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item p {
        padding: 0 1.2rem 1rem;
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    /* CTA final with animated gradient */
    .cta {
        background: linear-gradient(135deg, var(--primary), var(--primary-dark));
        background-size: 200% 200%;
        color: #fff;
        padding: 3rem 2rem;
        text-align: center;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        animation: ctaGlow 10s ease-in-out infinite;
        position: relative;
        overflow: hidden;
        z-index: 1;
    }

    /* Alumni / Achievers section */
    .alumni {
        padding: 0.5rem 1rem;
        max-width: 1200px;
        margin: 0 auto 1.5rem;
    }

    .alumni-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 1.2rem;
        align-items: start;
        justify-items: center;
    }

    .alumni-card {
        text-align: center;
        transition: transform 220ms var(--transition), box-shadow 220ms var(--transition);
        will-change: transform;
    }

    .alumni-card img {
        width: 150px;
        height: 150px;
        object-fit: cover;
        border-radius: 50%;
        border: 6px solid #fff;
        box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
        transition: transform 220ms var(--transition), box-shadow 220ms var(--transition);
        display: block;
    }

    .alumni-card:hover img {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.16);
    }

    .alumni-name {
        margin-top: 0.5rem;
        font-weight: 600;
        font-size: 0.85rem;
    }

    /* Highlighted name style (as requested) */
    .highlight {
        display: inline-block;
        padding: 4px 10px;
        border-radius: 10px;
        background: linear-gradient(90deg, var(--primary), var(--primary-dark));
        color: white;
        box-shadow: 0 6px 18px rgba(179, 33, 33, 0.06);
    }


    .cta::before {
        content: "";
        position: absolute;
        width: 200%;
        height: 200%;
        top: -50%;
        left: -50%;
        background: radial-gradient(circle, #c2524e 0%, rgba(255, 255, 255, 0.1) 60%, transparent 100%);
        animation: spin 20s linear infinite;
        z-index: -1;
    }

    @keyframes spin {
        from {
            transform: rotate(0deg);
        }

        to {
            transform: rotate(360deg);
        }
    }

    .cta h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .cta p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
        color: #ffd8c8;
    }

    .cta .cta-buttons {
        display: flex;
        gap: 1.2rem;
        justify-content: center;
        flex-wrap: wrap;
    }

    .cta .cta-buttons button {
        padding: 14px 28px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: 8px;
        border: none;
        cursor: pointer;
        transition: all 0.3s ease;
        width: fit-content;
    }

    .cta .cta-buttons .btn-main {
        background: linear-gradient(135deg, #b32121, #630000);
        color: #fff;
    }

    .cta .cta-buttons .btn-main:hover {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(255, 107, 91, 0.3);
    }

    .cta .cta-buttons .btn-outline {
        background: #ffffff;
        color: #b32121;
        border: 2px solid #b32121;
    }

    .cta .cta-buttons .btn-outline:hover {
        background: #b32121;
        color: #fff;
        transform: translateY(-3px);
        box-shadow: 0 12px 28px rgba(179, 33, 33, 0.3);
    }

    .footer {
        text-align: center;
        padding: 2rem 1rem;
        font-size: 0.8rem;
        color: var(--text-muted);
    }

    /* Modal styles (unchanged, kept for future use if needed) */
    .modal {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.72);
        backdrop-filter: blur(8px);
        display: none;
        align-items: center;
        justify-content: center;
        z-index: 2000;
    }

    .modal.active {
        display: flex;
    }

    .modal-content {
        background: linear-gradient(180deg, #1b2230 0%, #171e2a 100%);
        border-radius: 22px;
        max-width: 560px;
        width: min(92%, 560px);
        padding: 2.2rem 2.2rem 1.8rem;
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45);
        position: relative;
        max-height: 90vh;
        overflow-y: auto;
        border: 1px solid rgba(255, 255, 255, 0.06);
    }

    .modal-content h3 {
        margin-top: 0;
        margin-bottom: 0.6rem;
        font-size: 1.35rem;
        color: #e43b34;
        font-weight: 700;
        letter-spacing: 0.2px;
        text-align: center;
    }

    .modal-content p {
        font-size: 0.95rem;
        color: #c7cbd6;
        margin-bottom: 1.4rem;
        line-height: 1.55;
        text-align: center;
    }

    .close-modal {
        position: absolute;
        top: 12px;
        right: 14px;
        font-size: 1.3rem;
        color: #c7cbd6;
        cursor: pointer;
        width: 32px;
        height: 32px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        transition: background 0.2s ease, color 0.2s ease;
    }

    .close-modal:hover {
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
    }

    .modal form input,
    .modal form select,
    .modal form textarea {
        width: 100%;
        margin-bottom: 0;
        padding: 12px 16px;
        border-radius: 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        font-size: 0.95rem;
        background: #1a2230;
        color: #e8e8e8;
        transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .modal form {
        display: grid;
        gap: 12px;
    }

    .modal .radio-inline {
        background: #1a2230;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 14px;
        padding: 12px 14px;
        color: #e8e8e8;
    }

    .modal #fee-display {
        background: #1f2736;
        border: 1px dashed rgba(228, 59, 52, 0.4);
        border-radius: 12px;
        padding: 10px 12px;
        color: #e8e8e8;
    }

    .modal #fee-value {
        color: #ff6b5b;
        font-weight: 700;
    }

    .modal form input::placeholder,
    .modal form textarea::placeholder {
        color: #8f96a6;
    }

    .modal form input:focus,
    .modal form select:focus,
    .modal form textarea:focus {
        outline: none;
        border-color: rgba(228, 59, 52, 0.6);
        box-shadow: 0 0 0 3px rgba(228, 59, 52, 0.18);
        background: #1d2635;
    }

    .modal form select {
        appearance: none;
        background-image: linear-gradient(45deg, transparent 50%, #8f96a6 50%),
            linear-gradient(135deg, #8f96a6 50%, transparent 50%);
        background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 12px) calc(1em + 2px);
        background-size: 6px 6px, 6px 6px;
        background-repeat: no-repeat;
        padding-right: 38px;
    }

    .modal form button {
        width: 100%;
        background: linear-gradient(135deg, #b32121, #630000);
        color: #fff;
        padding: 12px 14px;
        border-radius: 16px;
        border: none;
        font-weight: 700;
        font-size: 1rem;
        cursor: pointer;
        transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    }

    .modal form button:hover {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        box-shadow: 0 14px 30px rgba(255, 107, 91, 0.3);
        transform: translateY(-2px);
    }

    .modal form button:active {
        transform: translateY(0);
        box-shadow: 0 8px 18px rgba(255, 107, 91, 0.2);
    }

    .thank-you-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #fff;
        border-radius: var(--radius);
        padding: 2.5rem 2rem;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
        z-index: 3000;
        text-align: center;
        max-width: 400px;
        width: 90%;
        animation: slideUp 0.5s ease;
    }

    /* WhatsApp floating button */
    .whatsapp-btn {
        position: fixed;
        left: 20px;
        bottom: 116px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: #25D366;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
        z-index: 4000;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        animation: pulse-whatsapp 2s ease-in-out infinite;
    }

    .whatsapp-btn svg {
        width: 28px;
        height: 28px;
        display: block;
    }

    .whatsapp-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    /* Call floating button */
    .call-btn {
        position: fixed;
        right: 20px;
        bottom: 116px;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--primary);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
        z-index: 4000;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
        animation: pulse-call 2s ease-in-out infinite;
    }

    .call-btn svg {
        width: 28px;
        height: 28px;
        display: block;
        fill: #fff;
    }

    .call-btn:hover {
        transform: translateY(-3px);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
    }

    @media (max-width: 480px) {
        .whatsapp-btn {
            left: 12px;
            bottom: 96px;
            width: 48px;
            height: 48px;
        }

        .whatsapp-btn svg {
            width: 24px;
            height: 24px;
        }

        .call-btn {
            right: 12px;
            bottom: 96px;
            width: 48px;
            height: 48px;
        }

        .call-btn svg {
            width: 24px;
            height: 24px;
        }
    }


    /* ---------------------------------
   Responsive helper rules (mobile)
   --------------------------------- */

    @media (max-width: 900px) {

        /* Header: show hamburger and collapse nav */
        .hamburger {
            display: block;
        }

        .nav ul {
            display: none;
            flex-direction: column;
            gap: 0;
            background: rgba(255, 255, 255, 0.98);
            position: absolute;
            top: var(--header-space);
            left: 0;
            right: 0;
            padding: 0.75rem 1rem;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
        }

        .nav ul.active {
            display: flex;
        }

        .nav ul li {
            display: block;
            padding: 10px 6px;
            border-bottom: 1px solid rgba(0, 0, 0, 0.04);
        }

        .nav-right {
            display: flex;
            gap: 0.5rem;
            position: absolute;
            top: 8px;
            right: 60px;
            z-index: 1900;
        }

        .nav-right .language-toggle {
            padding: 6px 10px;
            font-size: 0.75rem;
            min-width: auto;
        }

        .nav-right .nav-cta-btn {
            padding: 6px 12px;
            font-size: 0.75rem;
            white-space: nowrap;
        }

        .logo img {
            display: none;
        }

        /* Reduce hero paddings and scale headings */
        .hero {
            padding: 2.5rem 0 3rem;
        }

        .hero-content h1 {
            font-size: 1.6rem;
        }

        .hero-content p {
            font-size: 0.95rem;
            max-width: 420px;
        }

        .hero-image img {
            max-width: 320px;
            width: 100%;
        }

        /* Card spacing */
        .pain-grid,
        .features-grid {
            gap: 1rem;
        }

        /* Videos full width */
        .video-grid {
            gap: 1rem;
        }

        .video-card iframe {
            width: 100%;
            height: auto;
            aspect-ratio: 16/9;
        }
    }

    @media (max-width: 640px) {
        :root {
            --header-space: 64px;
        }

        section {
            padding: 1.2rem .75rem;
        }

        .section-header h2 {
            font-size: 1.4rem;
        }

        .hero-content h1 {
            font-size: 1.3rem;
        }

        .hero-content p {
            font-size: 0.95rem;
            margin-bottom: 1rem;
        }

        .btn-main,
        .btn-outline {
            padding: 10px 14px;
            font-size: 0.95rem;
        }

        /* Make modal full-width with comfortable padding */
        .modal-content {
            width: calc(100% - 2rem);
            max-width: 520px;
            margin: 0 1rem;
            padding: 1.25rem;
            border-radius: 12px;
        }

        /* Keep table format on small screens (mobile-first). Avoid overflow and ensure proper wrapping */
        .table-wrap {
            padding: 0.5rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrap table {
            width: 100%;
            border: none;
            box-shadow: 0 8px 20px rgba(0,0,0,0.04);
            table-layout: fixed;
            min-width: 0;
        }

        .table-wrap thead {
            display: table-header-group;
        }

        .table-wrap tbody tr {
            display: table-row;
            background: transparent;
            box-shadow: none;
            padding: 0;
            margin-bottom: 0;
        }

        .table-wrap thead th,
        .table-wrap tbody td {
            padding: 14px 18px;
            font-size: 0.8rem;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }

        /* Prefer readable column widths on small screens (adjust as needed) */
        .table-wrap th:nth-child(1){ width: 30%; }
        .table-wrap th:nth-child(2){ width: 23%; }
        .table-wrap th:nth-child(3){ width: 23%; }
        .table-wrap th:nth-child(4){ width: 24%; }

        .table-wrap td .pill { display: inline-block; }

        /* Stack hero layout vertically */
        .hero {
            grid-template-columns: 1fr;
            text-align: left;
        }

        .hero-content {
            order: 2;
            padding: 24px;
            display: flex;
            flex-direction: column;
        }

        .hero-image {
            order: 0;
            text-align: center;
        }

        /* Make join/mentor buttons stack */
        .hero-buttons {
            order: 1;
            justify-content: flex-start;
            flex-direction: column;
            align-items: stretch;
            margin-bottom: 10px;
        }

        .hero-highlight {
            order: 2;
        }

        .hero-content h1 {
            order: 3;
        }

        .hero-content p {
            order: 4;
        }

        .hero-buttons .btn-main,
        .hero-buttons a.btn-main {
            width: 100%;
            text-align: center;
        }

        /* Floating buttons adjustments to avoid overlapping important UI */
        .whatsapp-btn {
            left: 10px;
            bottom: 10px;
        }

        .call-btn {
            right: 10px;
            bottom: 10px;
        }
    }

    @media (max-width:420px) {
        .hero-content h1 {
            font-size: 1.15rem;
        }

        .section-header h2 {
            font-size: 1.2rem;
        }

        .nav ul li {
            font-size: 0.95rem;
        }

        .logo {
            font-size: 1rem;
        }
    }

    /* Utility: avoid very long text in small screens */
    @media (max-width: 520px) {

        .section-header p,
        .about-text,
        .hero-content p {
            font-size: 0.95rem;
        }
        
        .about-text {
            text-align: center;
        }
    }

    /* Keep table layout even on very narrow screens; ensure wrapping and avoid overflow */
    @media (max-width: 360px) {
        .table-wrap {
            padding: 0.4rem;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
        }

        .table-wrap table {
            width: 100%;
            border: none;
            box-shadow: 0 6px 16px rgba(0,0,0,0.04);
            table-layout: fixed;
            min-width: 0;
        }

        .table-wrap thead {
            display: table-header-group;
        }

        .table-wrap thead th,
        .table-wrap tbody td {
            padding: 14px 18px;
            font-size: 0.95rem;
            white-space: normal;
            word-break: break-word;
            overflow-wrap: anywhere;
        }
    }


    .thank-you-notification h2 {
        color: var(--primary);
        margin-bottom: 0.5rem;
        font-size: 1.6rem;
    }

    .thank-you-notification p {
        color: var(--text-muted);
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .thank-you-notification .checkmark {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background: rgba(179, 33, 33, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 1rem;
        font-size: 2rem;
        color: var(--primary);
    }

    /* Demo Lecture: responsive embedded videos (play inline, no redirect) */
    .demo-lecture .demo-video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 1rem 1.25rem;
    }

    .demo-lecture .video-wrapper {
        position: relative;
        width: 100%;
        padding-top: 56.25%; /* 16:9 aspect ratio */
        background: #000;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    }

    .demo-lecture .video-wrapper iframe {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

    @media (max-width: 640px) {
        .demo-lecture .demo-video-grid { gap: 0.75rem; }
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translate(-50%, -40%);
        }

        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    .notification-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.4);
        z-index: 2999;
        display: none;
    }

    .notification-overlay.active {
        display: block;
    }

    /* Responsive tweaks */
    @media (max-width: 768px) {
        .nav {
            flex-direction: row;
            align-items: center;
            justify-content: space-between;
            padding: 8px 12px;
            gap: 0.65rem;
        }

        .logo {
            font-size: 1rem;
            order: 1;
            justify-items: center;
        }

        .logo img {
            display: none;
        }

        .nav-right {
            order: 2;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            margin-left: auto;
        }

        .hamburger {
            display: block;
            order: 3;
        }

        .nav ul {
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            width: 100%;
            flex-direction: column;
            background: rgba(255, 255, 255, 0.95);
            border-radius: var(--radius);
            box-shadow: var(--shadow);
            margin-top: 0.5rem;
            padding: 1rem 0;
            z-index: 1000;
        }

        .nav ul.active {
            display: flex;
            z-index: 1201;
        }

        .nav ul li {
            width: 100%;
            text-align: center;
            padding: 0.5rem 0;
            border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        }

        .nav ul li:last-child {
            border-bottom: none;
        }

        .nav-mentor-form {
            order: 3;
            margin-left: auto;
        }

        .nav-mentor-form input {
            display: none;
        }

        .nav-mentor-form button {
            font-size: 0.85rem;
            padding: 6px 12px;
        }

        .hero {
            padding-top: 2rem;
            padding-bottom: 3rem;
            grid-template-columns: 1fr;
            text-align: center;
            gap: 1rem;
        }

        .hero-content h1 {
            font-size: 1.8rem;
        }

        .hero-content p {
            font-size: 0.9rem;
        }

        .hero-buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
        }

        .btn-main,
        .btn-outline {
            width: 100%;
            max-width: 250px;
            font-size: 0.9rem;
            padding: 10px 18px;
        }

        .hero-image img {
            width: 100%;
            max-width: 280px;
        }

        section {
            padding: 2rem 1rem;
        }

        .section-header {
            margin-bottom: 2rem;
        }

        .section-header h2 {
            font-size: 1.6rem;
        }

        .section-header p {
            font-size: 0.9rem;
        }

        .about {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .pain-grid,
        .features-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }

        .pain-card,
        .feature-card {
            padding: 1rem;
        }

        .timeline::before {
            left: 18px;
        }

        .timeline-item {
            padding-left: 48px;
        }

        .timeline-item h3 {
            font-size: 1rem;
        }

        .timeline-item p {
            font-size: 0.85rem;
        }

        .testimonials {
            padding: 2rem 1rem;
        }

        /* Keep testimonials as a horizontal carousel on mobile with snap + touch scrolling */
        .testimonial-slider {
            flex-direction: row;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            scroll-snap-type: x mandatory;
            gap: 1rem;
            padding-bottom: 0;
            justify-content: flex-start;
        }

        .testimonial-card {
            flex: 0 0 85%;
            max-width: 85%;
            scroll-snap-align: center;
            margin: 0;
        }

        .faq-item summary {
            font-size: 0.9rem;
            padding: 0.8rem 1rem;
        }

        .faq-item p {
            font-size: 0.85rem;
            padding: 0 1rem 0.8rem;
        }

        .cta {
            padding: 2rem 1rem;
        }

        .cta h2 {
            font-size: 1.5rem;
        }

        .cta p {
            font-size: 0.9rem;
        }

        .cta .cta-buttons {
            flex-direction: row;
            align-items: center;
            gap: 0.8rem;
            flex-wrap: nowrap;
        }

        .cta .cta-buttons button {
            width: fit-content;
        }

        .footer {
            padding: 1.5rem 1rem;
            font-size: 0.75rem;
        }

        .modal-content {
            width: 95%;
            padding: 1.5rem;
        }
    }

    /* Demo lecture / video grid */
    .demo-lecture .video-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 1rem;
        align-items: start;
        margin-top: 1rem;
    }

    .demo-lecture .video-card {
        background: #fff;
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    }

    .demo-lecture .video-card iframe {
        width: 100%;
        height: 100%;
        aspect-ratio: 16 / 9;
        display: block;
        border: 0;
    }

    @media (max-width: 480px) {
        .demo-lecture .video-grid {
            gap: 0.6rem;
        }
    }

    /* Extra small screens */
    @media (max-width: 480px) {


        .hamburger {
            font-size: 1.3rem;
        }

        .logo {
            font-size: 0.9rem;
        }

        .nav-mentor-form button {
            font-size: 0.8rem;
            padding: 5px 10px;
        }

        .hero {
            padding-top: 1.5rem;
            padding-bottom: 2rem;
            gap: 0.8rem;
            margin-top: 15px;
        }

        .hero-content h1 {
            font-size: 1.6rem;
        }

        .hero-content p {
            font-size: 0.85rem;
        }

        .hero-image img {
            max-width: 250px;
        }

        section {
            padding: 1.5rem 0.8rem;
        }

        .section-header h2 {
            font-size: 1.4rem;
        }

        .section-header p {
            font-size: 0.85rem;
        }

        .pain-card,
        .feature-card {
            padding: 0.8rem;
            text-align: center;
        }

        .pain-card h3,
        .pain-card p,
        .feature-card h3,
        .feature-card p {
            text-align: center;
        }

        .timeline-item {
            padding-left: 40px;
        }

        .timeline::before {
            left: 15px;
        }

        .timeline-item::before {
            left: 9px;
        }

        .testimonials {
            padding: 1.5rem 0.8rem;
        }

        .testimonial-card {
            padding: 1rem;
        }

        .faq-item summary {
            padding: 0.7rem 0.8rem;
            font-size: 0.85rem;
        }

        .faq-item p {
            padding: 0 0.8rem 0.7rem;
            font-size: 0.8rem;
        }

        .cta {
            padding: 1.5rem 0.8rem;
        }

        .cta h2 {
            font-size: 1.3rem;
        }

        .cta p {
            font-size: 0.85rem;
        }

        .cta .cta-buttons {
            flex-direction: column;
            align-items: center;
            gap: 0.75rem;
        }

        .cta .cta-buttons button {
            width: fit-content;
            font-size: 0.9rem;
            padding: 12px 20px;
        }

        .footer {
            padding: 1rem 0.8rem;
            font-size: 0.7rem;
        }

        .modal-content {
            width: 98%;
            padding: 1rem;
        }

        .modal-content h3 {
            font-size: 1.1rem;
        }

        .modal-content p {
            font-size: 0.85rem;
        }
    }

    /* Back to Top Button */
    .back-to-top {
        position: fixed;
        bottom: 186px;
        right: 20px;
        width: 56px;
        height: 56px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        opacity: 0;
        visibility: hidden;
        transform: translateY(20px);
        transition: all 0.3s ease;
        z-index: 999;
        animation: pulse-back-to-top 2s ease-in-out infinite;
    }

    .back-to-top.is-visible {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .back-to-top:hover {
        background: var(--primary-dark);
        transform: translateY(-3px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
    }

    .back-to-top svg {
        width: 28px;
        height: 28px;
    }

    @media (max-width: 768px) {
        .back-to-top {
            width: 48px;
            height: 48px;
            bottom: 176px;
            right: 15px;
        }

        .back-to-top svg {
            width: 24px;
            height: 24px;
        }
    }

    @media (max-width: 480px) {
        .theme-toggle-btn-floating {
            left: 12px;
            right: auto;
            bottom: 160px;
            width: 48px;
            height: 48px;
        }

        .back-to-top {
            right: 12px;
            bottom: 160px;
            width: 48px;
            height: 48px;
        }
    }

    /* Notification styles */
    .notification-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        display: none;
        z-index: 10000;
    }

    .notification-overlay.active {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Two-button container */
    .twobtn {
        display: flex;
        justify-content: center;
        gap: 0.75rem;
        align-items: center;
        margin: 1.25rem 0;
        flex-wrap: wrap;
    }

    @media (max-width: 480px) {
        .twobtn {
            flex-direction: column;
            gap: 0.5rem;
            width: 100%;
            padding: 0 1rem;
        }

        .twobtn .btn-main,
        .twobtn a.btn-main {
            width: fit-content;
            max-width: none;
            text-align: center;
        }
    }

    .thank-you-notification,
    .error-notification {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: white;
        padding: 2rem;
        border-radius: var(--radius);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        text-align: center;
        max-width: 90%;
        width: 400px;
        z-index: 10001;
        animation: slideIn 0.3s ease;
    }

    @keyframes slideIn {
        from {
            opacity: 0;
            transform: translate(-50%, -60%);
        }
        to {
            opacity: 1;
            transform: translate(-50%, -50%);
        }
    }

    .checkmark {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        background: #4caf50;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        font-weight: bold;
    }

    .error-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
        background: #f44336;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 2rem;
        font-weight: bold;
    }

    .thank-you-notification h2,
    .error-notification h2 {
        margin: 0 0 0.5rem;
        font-size: 1.5rem;
        color: var(--text-main);
    }

    .thank-you-notification p,
    .error-notification p {
        margin: 0;
        color: var(--text-muted);
        line-height: 1.6;
    }

    /* Testimonial slider styles */
    .testimonial-slider {
        display: flex;
        gap: 1rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 1rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
        background: var(--bg-alt);
        padding: 1.5rem;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
    }

    /* Demo video grid styles */
    .demo-video-grid {
        display: flex;
        gap: 1.5rem;
        overflow-x: auto;
        scroll-behavior: smooth;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }

    .demo-video-grid .video-wrapper {
        flex: 0 0 100%;
        max-width: 560px;
        scroll-snap-align: start;
    }

    .demo-video-container {
        position: relative;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 3rem;
    }

    .scroll-btn {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 48px;
        height: 48px;
        background: var(--primary);
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 2rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 10;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .scroll-btn:hover {
        background: var(--primary-dark);
        transform: translateY(-50%) scale(1.1);
    }

    .scroll-btn-left {
        left: 0;
    }

    .scroll-btn-right {
        right: 0;
    }

    @media (max-width: 768px) {
        .demo-video-container {
            padding: 0 2rem;
        }

        .scroll-btn {
            width: 40px;
            height: 40px;
            font-size: 1.5rem;
        }
    }

    @media (max-width: 480px) {
        .demo-video-container {
            padding: 0 1rem;
        }

        .scroll-btn {
            width: 36px;
            height: 36px;
            font-size: 1.2rem;
        }
    }

    @media (min-width: 768px) {
        .demo-video-grid .video-wrapper {
            flex: 0 0 calc(50% - 0.75rem);
        }
    }

    @media (min-width: 1024px) {
        .demo-video-grid .video-wrapper {
            flex: 0 0 calc(33.333% - 1rem);
        }
    }

    /* Dark Mode Styles */
    body.dark-mode {
        --bg: #0f0f0f;
        --bg-alt: #1a1a1a;
        --text-main: #e8e8e8;
        --text-muted: #a0a0a0;
    }

    body.dark-mode header {
        background: #1a1a1a;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .nav ul {
        background: rgba(26, 26, 26, 0.98);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .nav ul li {
        color: #e8e8e8;
    }

    body.dark-mode .language-switch a {
        background: linear-gradient(135deg, #e74c3c, #c0392b);
        color: white;
    }

    body.dark-mode .modal {
        background: rgba(0, 0, 0, 0.85);
    }

    body.dark-mode .modal-content {
        background: #141922;
        color: #e8e8e8;
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    }

    body.dark-mode .modal-content h3 {
        color: #ff6b5b;
    }

    body.dark-mode .modal-content p {
        color: #c7cbd6;
    }

    body.dark-mode .close-modal {
        color: #c7cbd6;
    }

    body.dark-mode .modal form input,
    body.dark-mode .modal form select,
    body.dark-mode .modal form textarea {
        background: #1c2230;
        color: #e8e8e8;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .modal .radio-inline {
        background: #1a2230;
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
    }

    body.dark-mode .modal #fee-display {
        background: #1f2736;
        border: 1px dashed rgba(228, 59, 52, 0.45);
        color: #e8e8e8;
    }

    body.dark-mode .modal form input::placeholder,
    body.dark-mode .modal form textarea::placeholder {
        color: #8f96a6;
    }

    body.dark-mode .modal form input:focus,
    body.dark-mode .modal form select:focus,
    body.dark-mode .modal form textarea:focus {
        border-color: rgba(255, 107, 91, 0.5);
        box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.18);
        background: #1f2736;
    }

    body.dark-mode .modal form button {
        background: linear-gradient(135deg, #b32121, #630000);
        color: #fff;
    }

    body.dark-mode .modal form button:hover {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        box-shadow: 0 14px 30px rgba(255, 107, 91, 0.35);
    }

    /* Dark mode overrides for specific modals */
    body.dark-mode #mentorModal form button[type="submit"],
    body.dark-mode #joinModal form button[type="submit"] {
        background: #b32121 !important;
    }

    body.dark-mode #mentorModal form button[type="submit"]:hover,
    body.dark-mode #joinModal form button[type="submit"]:hover {
        background: #d12f2f !important;
    }

    /* Dark Mode - Mentor Modal Overrides */
    body.dark-mode #mentorModal .modal-content {
        background: #1b2230 !important;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    }

    body.dark-mode #mentorModal .modal-content h3 {
        color: #ff6b5b !important;
    }

    body.dark-mode #mentorModal .modal-content p {
        color: #c7cbd6 !important;
    }

    body.dark-mode #mentorModal .close-modal {
        color: #c7cbd6 !important;
    }

    body.dark-mode #mentorModal .close-modal:hover {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    body.dark-mode #mentorModal form input,
    body.dark-mode #mentorModal form select {
        background: #1a2230 !important;
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        color: #e8e8e8 !important;
    }

    body.dark-mode #mentorModal form input::placeholder {
        color: #8f96a6 !important;
    }

    body.dark-mode #mentorModal form input:focus,
    body.dark-mode #mentorModal form select:focus {
        border-color: rgba(255, 107, 91, 0.5) !important;
        box-shadow: 0 0 0 3px rgba(255, 107, 91, 0.15) !important;
        background: #1f2736 !important;
    }

    body.dark-mode #mentorModal form select {
        background-color: #1a2230 !important;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23c7cbd6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
        background-repeat: no-repeat !important;
        background-position: right 16px center !important;
    }

    /* Mentor modal specific styling - Light Theme v5 */
    #mentorModal .modal-content {
        background: #ffffff !important;
        border-radius: 16px;
        border: none;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
        padding: 2.5rem 2.5rem 2rem;
        max-width: 600px !important;
    }

    #mentorModal .modal-content h3 {
        color: #b32121 !important;
        font-size: 1.5rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.75rem;
        line-height: 1.3;
    }

    #mentorModal .modal-content p {
        color: #555555 !important;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 2rem;
        font-size: 0.95rem;
    }

    #mentorModal .close-modal {
        color: #999999 !important;
    }

    #mentorModal .close-modal:hover {
        color: #333333 !important;
        background: rgba(0, 0, 0, 0.05) !important;
    }

    #mentorModal form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    #mentorModal form > input[type="text"],
    #mentorModal form > input[type="tel"],
    #mentorModal form > input[type="email"],
    #mentorModal form > button {
        grid-column: span 2;
    }

    #mentorModal form input,
    #mentorModal form select {
        background: #ffffff !important;
        border: 1px solid #d0d0d0 !important;
        color: #333333 !important;
        border-radius: 8px;
        padding: 12px 16px;
        font-size: 0.95rem;
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

    #mentorModal form input::placeholder {
        color: #999999 !important;
    }

    #mentorModal form input:focus,
    #mentorModal form select:focus {
        outline: none;
        border-color: #b32121 !important;
        box-shadow: 0 0 0 3px rgba(179, 33, 33, 0.1) !important;
    }

    #mentorModal form select {
        cursor: pointer;
        appearance: none;
        background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 16px center;
        padding-right: 40px;
    }

    /* Mentor Modal Button - Full Width Red */
    #mentorModal #infoForm button[type="submit"] {
        grid-column: span 2 !important;
        background: #b32121 !important;
        color: #fff !important;
        border-radius: 8px !important;
        padding: 14px 20px !important;
        font-weight: 600 !important;
        font-size: 1rem !important;
        box-shadow: 0 2px 8px rgba(179, 33, 33, 0.3) !important;
        border: none !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    #mentorModal #infoForm button[type="submit"]:hover {
        background: #9a1c1c !important;
        box-shadow: 0 4px 12px rgba(179, 33, 33, 0.4) !important;
        transform: translateY(-1px) !important;
    }

    /* Join modal specific styling to match reference */
    #joinModal .modal-content {
        background: #1b2230;
        border-radius: 22px;
        border: 1px solid rgba(255, 255, 255, 0.06);
        box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
        padding: 2rem 2rem 1.5rem;
        max-width: 480px !important;
    }

    #joinModal .modal-content h3 {
        color: #e43b34;
        font-size: 1.25rem;
        font-weight: 700;
        text-align: center;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    #joinModal .modal-content p {
        color: #c7cbd6;
        text-align: center;
        line-height: 1.5;
        margin-bottom: 1.25rem;
        font-size: 0.9rem;
    }

    #joinModal form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    #joinModal form > * {
        grid-column: span 2;
    }

    #joinModal form input,
    #joinModal form select {
        background: #1a2230;
        border: 1px solid rgba(255, 255, 255, 0.08);
        color: #e8e8e8;
        border-radius: 12px;
        padding: 11px 14px;
        font-size: 0.9rem;
    }

    #joinModal #join-name,
    #joinModal #join-number {
        grid-column: span 1;
    }

    #joinModal #join-email {
        grid-column: span 2;
    }

    #joinModal .radio-inline,
    #mentorModal .radio-inline {
        grid-column: span 2;
        display: flex;
        flex-direction: column;
        gap: 8px;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
    }

    #mentorModal .radio-inline:last-of-type {
        grid-column: span 1 !important;
    }

    #joinModal .radio-inline h3,
    #mentorModal .radio-inline h3 {
        color: #c7cbd6;
        font-size: 0.88rem;
        font-weight: 600;
        margin: 0 0 4px 0;
        text-align: left;
    }

    #joinModal .radio-inline .mode-strip,
    #mentorModal .radio-inline .mode-strip {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        background: #f3f3f3;
        border-radius: 11px;
        padding: 3px;
        border: 1px solid rgba(0, 0, 0, 0.1);
        overflow: hidden;
    }

    #mentorModal .radio-inline .stage-strip {
        grid-template-columns: repeat(4, 1fr);
    }

    #joinModal .radio-inline label,
    #mentorModal .radio-inline label {
        background: transparent;
        border: none;
        border-radius: 8px;
        padding: 9px 10px;
        margin: 0;
        text-align: center;
        color: #3f4657;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        cursor: pointer;
        transition: all 0.2s ease;
        font-weight: 500;
        font-size: 0.88rem;
    }

    #joinModal .radio-inline label:first-of-type,
    #mentorModal .radio-inline label:first-of-type {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    #mentorModal .stage-strip label:not(:last-of-type) {
        border-right: 1px solid rgba(0, 0, 0, 0.08);
    }

    #joinModal .radio-inline input[type="radio"],
    #mentorModal .radio-inline input[type="radio"] {
        appearance: none;
        margin: 0;
        display: none;
    }

    #joinModal .radio-inline input[type="radio"]:checked + span,
    #mentorModal .radio-inline input[type="radio"]:checked + span {
        color: #ffffff;
        font-weight: 600;
    }

    #joinModal .radio-inline label:has(input[type="radio"]:checked),
    #mentorModal .radio-inline label:has(input[type="radio"]:checked) {
        background: #b32121;
        color: #ffffff;
    }

    #joinModal #fee-display {
        background: rgba(228, 59, 52, 0.08);
        border: 1px solid rgba(228, 59, 52, 0.2);
        border-radius: 10px;
        padding: 10px 12px;
        color: #c7cbd6;
        display: flex;
        align-items: center;
        justify-content: space-between;
        font-weight: 600;
        font-size: 0.9rem;
        margin-top: 8px;
    }

    #joinModal #fee-value {
        color: #e43b34;
        font-weight: 700;
    }

    /* Join Modal Button - Updated v2.1 */
    #joinModal form button[type="submit"] {
        grid-column: span 2 !important;
        background: #b32121 !important;
        color: #fff !important;
        border-radius: 10px !important;
        padding: 9px 20px !important;
        font-weight: 600 !important;
        font-size: 0.88rem !important;
        box-shadow: 0 2px 8px rgba(179, 33, 33, 0.25) !important;
        margin-top: 8px !important;
        transition: all 0.2s ease !important;
        width: auto !important;
        min-width: 140px !important;
        max-width: 180px !important;
        justify-self: center !important;
        border: none !important;
        cursor: pointer !important;
    }

    #joinModal form button[type="submit"]:hover {
        background: #d12f2f !important;
        box-shadow: 0 3px 10px rgba(179, 33, 33, 0.3) !important;
        transform: translateY(-1px) !important;
    }

    @media (max-width: 560px) {
        #joinModal .modal-content,
        #mentorModal .modal-content {
            padding: 1.5rem 1.25rem;
            max-width: 90vw !important;
            width: 90vw;
        }

        #joinModal .modal-content h3,
        #mentorModal .modal-content h3 {
            font-size: 1.05rem;
            margin-bottom: 0.4rem;
        }

        #joinModal .modal-content p,
        #mentorModal .modal-content p {
            font-size: 0.85rem;
            margin-bottom: 1rem;
            line-height: 1.45;
        }

        #joinModal form,
        #mentorModal form {
            grid-template-columns: 1fr;
            gap: 8px;
        }

        #joinModal #join-name,
        #joinModal #join-number,
        #joinModal #join-email,
        #joinModal .radio-inline,
        #joinModal #fee-display,
        #joinModal form button,
        #mentorModal #mentor-name,
        #mentorModal #mentor-number,
        #mentorModal #mentor-email,
        #mentorModal .radio-inline,
        #mentorModal .radio-inline:last-of-type,
        #mentorModal #mentor-stage,
        #mentorModal form button {
            grid-column: span 1;
        }

        #joinModal .radio-inline .mode-strip,
        #mentorModal .radio-inline .mode-strip {
            grid-template-columns: 1fr 1fr;
            gap: 4px;
            padding: 3px;
        }

        #mentorModal .radio-inline .stage-strip {
            grid-template-columns: 1fr 1fr;
        }

        #joinModal .radio-inline label,
        #mentorModal .radio-inline label {
            width: 100%;
            padding: 8px 6px;
            font-size: 0.85rem;
        }

        #joinModal .radio-inline h3,
        #mentorModal .radio-inline h3 {
            font-size: 0.85rem;
            margin-bottom: 4px;
        }

        #joinModal form input,
        #joinModal form select,
        #mentorModal form input,
        #mentorModal form select {
            padding: 10px 12px;
            font-size: 0.9rem;
        }

        #joinModal #joinForm button[type="submit"],
        #mentorModal #infoForm button[type="submit"] {
            padding: 12px 16px !important;
            font-size: 0.95rem !important;
            margin-top: 6px !important;
        }

        #mentorModal .modal-content {
            padding: 1.5rem 1.25rem !important;
            max-width: 92vw !important;
            border-radius: 12px;
        }

        #mentorModal .modal-content h3 {
            font-size: 1.05rem !important;
            margin-bottom: 0.5rem !important;
            line-height: 1.25 !important;
        }

        #mentorModal .modal-content p {
            font-size: 0.8rem !important;
            margin-bottom: 1.25rem !important;
            line-height: 1.4 !important;
        }

        #mentorModal form {
            grid-template-columns: repeat(2, 1fr) !important;
            gap: 10px !important;
        }

        #mentorModal form > input {
            grid-column: span 2 !important;
        }

        #mentorModal form > select {
            grid-column: span 1 !important;
        }

        #mentorModal form > button {
            grid-column: span 2 !important;
        }

        #mentorModal form input,
        #mentorModal form select {
            padding: 10px 12px !important;
            font-size: 0.85rem !important;
            border-radius: 6px !important;
        }

        #mentorModal #infoForm button[type="submit"] {
            padding: 11px 16px !important;
            font-size: 0.9rem !important;
            margin-top: 4px !important;
            border-radius: 6px !important;
        }
    }

    body.dark-mode .pain-card {
        background: #1a1a1a;
        color: #ffffff;
        border: 1px solid rgba(255, 107, 91, 0.2);
    }

    body.dark-mode .pain-card h3 {
        color: #ff6b5b;
        font-weight: 700;
    }

    body.dark-mode .pain-card p {
        color: #e8e8e8;
    }

    body.dark-mode .feature-card,
    body.dark-mode .card {
        background: linear-gradient(135deg, #1f1f1f 0%, #171717 100%);
        color: #ffffff;
        border: 1.5px solid rgba(255, 107, 91, 0.25);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4), 0 2px 4px rgba(255, 107, 91, 0.1);
    }

    body.dark-mode .feature-card:hover,
    body.dark-mode .card:hover {
        border-color: rgba(255, 107, 91, 0.35);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 4px 8px rgba(255, 107, 91, 0.15);
    }

    body.dark-mode .feature-card h3,
    body.dark-mode .card h3,
    body.dark-mode .card .card-heading {
        color: #ff6b5b;
        text-shadow: 0 2px 4px rgba(255, 107, 91, 0.3), 0 0 8px rgba(255, 107, 91, 0.15);
    }

    body.dark-mode .card p,
    body.dark-mode .card .card-text {
        color: #e0e0e0;
        font-weight: 400;
    }

    body.dark-mode .flow-grid .card .card-heading {
        color: #ff6b5b;
        text-shadow: 0 2px 4px rgba(255, 107, 91, 0.3), 0 0 8px rgba(255, 107, 91, 0.15);
    }

    body.dark-mode .flow-grid .card .card-text {
        color: #e0e0e0;
        font-weight: 400;
    }

    body.dark-mode .demo-lecture .video-wrapper {
        background: #0f0f0f;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .faq-item {
        background: #1a1a1a;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .faq-item summary {
        color: #e8e8e8;
    }

    body.dark-mode .faq-item p {
        color: #a0a0a0;
    }

    body.dark-mode .faq-item[open] {
        background: rgba(255, 255, 255, 0.02);
    }

    /* Dark Mode - Modern Batch Cards */
    body.dark-mode .batch-card {
        background: linear-gradient(135deg, #1a1a1a 0%, #141414 100%);
        border: 1px solid rgba(255, 107, 91, 0.12);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 91, 0.08);
    }

    body.dark-mode .batch-card:hover {
        box-shadow: 0 12px 40px rgba(255, 107, 91, 0.25), 0 0 0 1px rgba(255, 107, 91, 0.15);
    }

    body.dark-mode .batch-card-header {
        background: linear-gradient(135deg, rgba(255, 107, 91, 0.08) 0%, rgba(255, 107, 91, 0.03) 100%);
        border-bottom: 1px solid rgba(255, 107, 91, 0.12);
    }

    body.dark-mode .batch-badge {
        background: linear-gradient(135deg, #ff6b5b, #e43b34);
        box-shadow: 0 2px 8px rgba(255, 107, 91, 0.35);
    }

    body.dark-mode .batch-info-item {
        border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    }

    body.dark-mode .batch-info-item.highlight {
        background: linear-gradient(90deg, rgba(255, 215, 0, 0.12) 0%, transparent 100%);
    }

    body.dark-mode .batch-info-item.price {
        border-top: 2px solid rgba(255, 107, 91, 0.12);
    }

    body.dark-mode .batch-label {
        color: #a0a0a0;
    }

    body.dark-mode .batch-value {
        color: #e8e8e8;
    }

    body.dark-mode .batch-info-item.highlight .batch-label {
        color: #ffd700;
    }

    body.dark-mode .batch-info-item.highlight .batch-value {
        color: #ffd700;
    }

    body.dark-mode .price-tag {
        background: linear-gradient(135deg, rgba(255, 107, 91, 0.08), rgba(255, 107, 91, 0.04));
        border: 1px solid rgba(255, 107, 91, 0.15);
        color: #ff6b5b;
    }

    body.dark-mode .price-tag:hover {
        background: linear-gradient(135deg, rgba(255, 107, 91, 0.12), rgba(255, 107, 91, 0.06));
    }

    body.dark-mode .price-tag small {
        color: #a0a0a0;
    }

    body.dark-mode .table-wrap table {
        background: #1a1a1a;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
    }

    body.dark-mode .table-wrap thead th {
        background: rgba(255, 107, 91, 0.15);
        color: #ff6b5b;
        border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    }

    body.dark-mode .table-wrap tbody tr:nth-child(even) {
        background: rgba(255, 255, 255, 0.02);
    }

    body.dark-mode .table-wrap tbody td {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        color: #e8e8e8;
    }

    body.dark-mode .cta {
        background: #141414;
        border: 1px solid #2b2b2b;
        box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
    }

    body.dark-mode .cta h2 {
        color: #f5f5f5;
    }

    body.dark-mode .cta p {
        color: #cfcfcf;
    }

    body.dark-mode .cta .cta-buttons .btn-main {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        color: #111111;
    }

    body.dark-mode .cta .cta-buttons .btn-main:hover {
        background: linear-gradient(135deg, #ffd700, #ffa500);
        color: #111111;
        box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
    }

    body.dark-mode .cta .cta-buttons .btn-outline {
        background: transparent;
        color: #ffd700;
        border: 2px solid #ffd700;
    }

    body.dark-mode .cta .cta-buttons .btn-outline:hover {
        background: #ffd700;
        color: #111111;
        box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
    }

    body.dark-mode .hero-highlight {
        color: #ffd699 !important;
    }

    body.dark-mode .hero-content h1 span {
        background: linear-gradient(90deg, #9b111e 0%, #ffd700 100%);
        -webkit-background-clip: text;
        background-clip: text;
        color: transparent;
    }

    body.dark-mode .thank-you-notification,
    body.dark-mode .error-notification {
        background: #1a1a1a;
        color: #e8e8e8;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .checkmark {
        background: #4caf50;
    }

    body.dark-mode .error-icon {
        background: #f44336;
    }

    body.dark-mode .testimonial-card {
        background: #1a1a1a;
        color: #e8e8e8;
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .section-header h2 {
        color: #f5f5f5;
        background: linear-gradient(90deg, #ff6b5b 0%, #ffd700 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    body.dark-mode .section-header p {
        color: #d0d0d0;
    }

    body.dark-mode .section-header .tag {
        color: #ffd700;
    }

    body.dark-mode h1 {
        background: linear-gradient(90deg, #ff6b5b 0%, #ffd700 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    body.dark-mode h2, body.dark-mode h3 {
        color: #f5f5f5;
    }

    body.dark-mode p {
        color: #a0a0a0;
    }

    body.dark-mode a {
        color: #ff6b5b;
    }

    body.dark-mode a:hover {
        color: #ffd700;
        text-decoration: underline;
    }

    body.dark-mode .btn-main {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        color: #111111;
        box-shadow: 0 12px 28px rgba(255, 107, 91, 0.3);
    }

    body.dark-mode .btn-main:hover {
        background: linear-gradient(135deg, #ffd700, #ffa500);
        color: #111111;
        box-shadow: 0 14px 32px rgba(255, 215, 0, 0.35);
    }

    body.dark-mode .btn-outline {
        background: transparent;
        color: #ffd700;
        border: 2px solid #ffd700;
        box-shadow: 0 4px 12px rgba(255, 215, 0, 0.15);
    }

    body.dark-mode .btn-outline:hover {
        background: #ffd700;
        color: #111111;
        box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
    }

    body.dark-mode .hamburger {
        color: #e74c3c;
    }

    body.dark-mode .nav-cta-btn {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
        color: #111111;
        box-shadow: 0 10px 22px rgba(255, 107, 91, 0.25);
    }

    body.dark-mode .nav-cta-btn:hover {
        background: linear-gradient(135deg, #ffd700, #ffa500);
        color: #111111;
        box-shadow: 0 12px 28px rgba(255, 215, 0, 0.3);
    }

    body.dark-mode .footer {
        background: #0f0f0f;
        color: #a0a0a0;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    body.dark-mode .back-to-top {
        background: linear-gradient(135deg, #ff6b5b, #ff3b2e);
    }

    body.dark-mode .back-to-top:hover {
        background: linear-gradient(135deg, #ffd700, #ffa500);
    }

    body.dark-mode .whatsapp-btn {
        background: #25d366;
    }

    body.dark-mode .whatsapp-btn:hover {
        background: #20ba5a;
    }

    body.dark-mode .call-btn {
        background: #e74c3c;
    }

    body.dark-mode .call-btn:hover {
        background: #ff6b5b;
    }

    @media (max-width: 768px) {
        .whatsapp-btn {
            left: 12px !important;
            bottom: 96px !important;
        }

        .call-btn {
            right: 12px !important;
            bottom: 96px !important;
        }

        .theme-toggle-btn-floating {
            left: 12px !important;
            right: auto !important;
            bottom: 160px !important;
        }

        .back-to-top {
            right: 12px !important;
            bottom: 160px !important;
        }
    }