:root {
    --primary-red: #e63946;
    --primary-red-hover: #c92a37;
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --text-white: #ffffff;
    --text-gray: #b0b0b0;
    --font-main: 'Inter', sans-serif;
    --font-brand: 'Cute Font', cursive;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-red {
    color: var(--primary-red);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-red);
    color: var(--text-white);
}

.btn-primary:hover {
    background-color: var(--primary-red-hover);
    transform: translateY(-2px);
}

.btn-outline {
    border-color: var(--text-white);
    background: transparent;
    color: var(--text-white);
}

.btn-outline:hover {
    background-color: var(--text-white);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(18, 18, 18, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center tagline under brand */
    justify-content: center;
}

.logo-brand {
    font-family: var(--font-brand);
    font-size: 4rem;
    /* Significantly increased for Cute Font */
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 0.8;
    /* Tighter line height for larger text */
    color: var(--text-white);
}

.logo-tagline {
    font-family: var(--font-main);
    /* Reverted to Inter/Main font */
    font-size: 0.9rem;
    /* Reset base size */
    font-weight: 600;
    letter-spacing: 3px;
    /* Stretched tracking */
    color: var(--text-gray);
    margin-top: 2px;
    line-height: 1.2;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
}

.logo img {
    height: 80px;
    width: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-red);
    transition: var(--transition);
}

.cart-btn {
    display: flex;
    align-items: center;
}

.cart-btn::after {
    display: none !important;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 30px;
    height: 3px;
    background-color: var(--text-white);
    transition: var(--transition);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-white);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
    opacity: 0.8;
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Hero Section */
.hero {
    min-height: 100vh;
    /* Changed from height: 100vh */
    height: auto;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.7)),
        url('../images/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 5% 5rem;
    /* Added bottom padding for content safety */
    position: relative;
    /* For scroll indicator positioning */
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1s ease-out;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    opacity: 0.9;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-gray);
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

/* Features */
.features {
    padding: 5rem 5%;
    background-color: var(--bg-dark);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    /* Added for equal height */
    flex-direction: column;
    /* Added for equal height */
    height: 100%;
    /* Added for equal height */
    justify-content: flex-start;
    /* Align content to top */
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-red);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

/* Programs Preview */
.programs-preview {
    padding: 5rem 5%;
    background-color: #1a1a1a;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-gray);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.program-card {
    background: var(--bg-dark);
    border-radius: 15px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    /* Added */
    flex-direction: column;
    /* Added */
    height: 100%;
    /* Added */
}

.program-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
}

.program-image {
    height: 250px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .program-image img {
    transform: scale(1.1);
}

.program-content {
    padding: 2rem;
}

.program-tag {
    background: rgba(230, 57, 70, 0.1);
    color: var(--primary-red);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
}

.program-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
footer {
    background-color: #000;
    padding: 4rem 5% 1rem;
    color: var(--text-gray);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo h3 {
    color: var(--text-white);
    font-family: var(--font-brand);
    font-weight: 400;
    letter-spacing: 0.08em;
    font-size: 3.5rem;
    /* Increased size for matching impact */
    margin-bottom: 0.5rem;
    line-height: 0.8;
    text-transform: uppercase;
}

.footer-logo a:hover {
    color: var(--primary-red);
}

.footer-links h4 {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    font-size: 0.9rem;
    opacity: 0.85;
    margin-top: 2rem;
}

.footer-tagline {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        top: 15px;
        height: 70px;
        padding: 0 5%;
    }

    /* Mobile CRO: Better Text Readability */
    p {
        line-height: 1.7;
    }

    /* Mobile CRO: Thumb-friendly buttons */
    .btn {
        padding: 1rem 2rem;
        /* Larger tap area */
        min-height: 54px;
        /* Minimum tap height */
        width: 100%;
        /* Full width on mobile often better */
        margin-bottom: 0.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        /* Stack buttons on mobile */
        gap: 1rem;
    }

    /* Mobile CRO: Optimized Spacing */
    .features,
    .programs-preview,
    .footer,
    section {
        padding: 3rem 5% !important;
        /* Tighter mobile rhythm */
    }

    .hero {
        min-height: 100svh;
        /* Use SVH for better mobile support */
        padding-top: 120px;
        /* Clear navbar */
        padding-bottom: 4rem;
        /* Space for scroll indicator */
        background-attachment: scroll;
        /* Fix for some mobile browsers parallax issues */
    }

    .logo img {
        height: 50px;
        width: 50px;
    }

    .logo-brand {
        font-size: 3rem;
        /* Adjusted for Cute Font mobile legibility */
    }

    .logo-tagline {
        font-size: 0.7rem;
        /* Smaller for mobile to fit width */
        letter-spacing: 2px;
        /* Slightly less tracking on mobile */
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background-color: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: var(--transition);
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .hero-title {
        font-size: 2.5rem;
    }


    /* FAQ Accordion */
    .faq-answer {
        display: none;
        /* HIDE answers by default */
        margin-top: 12px;
        color: #ccc;
        line-height: 1.6;
    }

    .faq-item {
        margin-bottom: 32px;
        /* SPACE between FAQs */
    }

    .faq-question {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
    }

    .faq-toggle {
        font-size: 22px;
        font-weight: bold;
    }


    /* Blog Section */
    .blog-card {
        background-color: var(--bg-card);
        border-radius: 15px;
        overflow: hidden;
        transition: var(--transition);
        display: flex;
        flex-direction: column;
        height: 100%;
        /* Ensure equal height */
    }

    .blog-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

    .blog-image {
        height: 200px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: rgba(255, 255, 255, 0.1);
        font-size: 3rem;
    }

    .blog-content {
        padding: 1.5rem;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .blog-category {
        font-size: 0.8rem;
        text-transform: uppercase;
        color: var(--primary-red);
        font-weight: 700;
        letter-spacing: 1px;
        margin-bottom: 0.5rem;
    }

    .blog-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .blog-content p {
        color: #b0b0b0;
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        flex-grow: 1;
    }

    .read-more {
        color: var(--text-white);
        font-weight: 600;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .read-more:hover {
        color: var(--primary-red);
        gap: 0.75rem;
    }
}

/* Single Blog Post */
.blog-post-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 5%;
    background-color: var(--bg-dark);
    min-height: 50vh;
}

.blog-post-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e0e0e0;
}

.blog-post-content h2 {
    color: var(--text-white);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.blog-post-content p {
    margin-bottom: 1.5rem;
}

.blog-post-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style: disc;
    color: #e0e0e0;
}


/* --- Cart & Checkout Pages --- */
.page-header {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/hero_bg.png') no-repeat center center/cover;
    padding: 120px 0 60px;
    text-align: center;
    border-bottom: 2px solid var(--primary-red);
}

.page-header h1 {
    font-size: 3rem;
    text-transform: uppercase;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.cart-section,
.checkout-section {
    padding: 4rem 0;
    min-height: 60vh;
}

/* Cart Container */
.cart-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.cart-items {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
}

.cart-header-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.cart-item-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr;
    align-items: center;
}

.item-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.item-duration,
.item-price {
    font-size: 1.1rem;
    font-weight: 500;
}

.cart-summary,
.checkout-summary {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 2rem;
    height: fit-content;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-summary h3,
.checkout-summary h3 {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: var(--text-gray);
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-white);
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 2rem;
}

/* Checkout Page */
.checkout-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}

/* Funnel Layout */
.funnel-hero {
    min-height: 100vh;
    background: url('../images/hero_bg.png') no-repeat center center/cover;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 5% 50px;
    /* Top padding for navbar */
}

.funnel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Slight black overlay */
    z-index: 1;
}

.funnel-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 600px;
}

.funnel-card {
    background: rgba(30, 30, 30, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
}

.card-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.card-header p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.program-summary-minimal {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.program-info {
    display: flex;
    flex-direction: column;
}

.p-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-white);
}

.p-duration {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-top: 2px;
}

.program-price {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--primary-red);
}

.registration-form-container {
    /* Resetting previous margin since it's now inside the card */
    margin: 0;
    padding: 0;
    border: none;
}

.registration-form h3 {
    margin-bottom: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: var(--text-white);
    font-family: var(--font-main);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
}

/* Dark Mode Select Dropdown */
select {
    background-color: #111;
    color: #eee;
    border: 1px solid #444;
    padding: 10px;
    border-radius: 6px;
    width: 100%;
    font-size: 15px;
    appearance: none;
    /* remove default arrow to style if needed, but keeping simple for now */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23eee%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 0.65em auto;
}

select option {
    background-color: #111;
    color: #fff;
}

select:focus {
    border-color: #E53744;
}

/* Order Info Summary Card */
.order-summary-card {
    background: var(--bg-card);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    border-left: 4px solid var(--primary-red);
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.order-summary-row:last-child {
    margin-bottom: 0;
}

.order-label {
    font-weight: 600;
    color: var(--text-gray);
}

.order-value {
    color: var(--text-white);
    font-weight: 400;
    text-align: right;
}

/* Form Layout 50/50 */
.form-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .form-grid-2-col {
        grid-template-columns: 1fr;
        gap: 0;
        /* gap handled by margin-bottom in form-group */
    }
}

.error-message {
    color: var(--primary-red);
    font-size: 0.85rem;
    margin-top: 0.35rem;
    display: none;
    position: absolute;
    bottom: -1.2rem;
    left: 0;
}

.form-group.error input,
.form-group.error textarea {
    border-color: var(--primary-red);
}

.form-group.error .error-message {
    display: block;
}

.confirmation-message {
    text-align: center;
    padding: 2rem;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid #2ecc71;
    border-radius: 10px;
    color: #2ecc71;
    animation: fadeIn 0.5s ease;
}

.confirmation-message i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.confirmation-message p {
    font-size: 1.1rem;
    color: var(--text-white);
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.summary-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

.secure-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-gray);
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {

    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }

    .cart-header-row {
        display: none;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        text-align: center;
    }

    .item-info {
        flex-direction: column;
    }
}

/* Onboarding Hero */
.onboarding-hero {
    position: relative;
    min-height: 380px;
    /* Increased height */
    background: url('../images/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    /* Vertical center */
    justify-content: center;
    text-align: center;
    /* To push text simpler lower, we can use padding-top disproportionately or margin on content */
    padding-top: 80px;
    padding-bottom: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

.hero-content-centered {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 1rem;
    padding-bottom: 28px;
    /* Spacing below subtitle before next section */
}

.onboarding-hero h1 {
    color: var(--text-white);
    font-size: 46px;
    /* Updated per previous req that was missed/overwritten */
    font-weight: 900;
    letter-spacing: 1px;
    line-height: 1.2;
    text-shadow: 0px 4px 16px rgba(0, 0, 0, 0.85);
    margin-bottom: 18px;
    /* 18px spacing between heading and subtitle */
}

.hero-subtitle {
    color: var(--text-white);
    font-size: 20px;
    font-weight: 300;
    max-width: 780px;
    line-height: 1.4;
    margin-top: 0;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.7);
}

@media (max-width: 768px) {
    .onboarding-hero {
        min-height: auto;
        height: auto;
        padding-top: 150px;
        padding-bottom: 4rem;
        /* Push down on mobile */
        align-items: flex-start;
        /* Better for variable height text */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .onboarding-hero h1 {
        font-size: 34px;
        margin-top: 0;
    }

    .hero-subtitle {
        font-size: 16px;
        padding: 0 1rem;
        /* Ensure adequate side padding */
    }
}

/* Programs Page Specific Overrides */
.section-header .hero-subtitle {
    display: block;
    /* Ensure it's a block for margin auto to work */
    margin: 8px auto 32px;
    max-width: 780px;
    font-weight: 300;
    color: var(--text-white);
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 768px) {
    .section-header .hero-subtitle {
        font-size: 16px;
    }
}

/* Success Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: rgba(30, 30, 30, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 2.5rem;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-icon {
    font-size: 3.5rem;
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-size: 1.8rem;
    color: var(--text-white);
    margin-bottom: 1rem;
}

.modal-text {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.btn-whatsapp {
    background-color: #25D366;
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    color: white;
}

/* Program Card Enhancements */
.program-features-list {
    list-style: none;
    margin: 1.5rem 0;
    padding: 0;
    text-align: left;
}

.program-features-list li {
    margin-bottom: 0.8rem;
    color: #e0e0e0;
    font-size: 0.95rem;
    display: flex;
    align-items: flex-start;
}

.program-features-list li i {
    color: var(--primary-red);
    margin-right: 10px;
    margin-top: 4px;
}

.pricing-block {
    margin-top: auto;
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-text {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0.2rem;
}

.pricing-subtext {
    display: block;
    font-size: 0.9rem;
    color: #b0b0b0;
}

.program-card {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.program-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.program-footer {
    margin-top: auto;
}

/* Training Levels Section */
.levels-section {
    padding: 5rem 5%;
    background-color: var(--bg-dark);
}

.levels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.level-card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.level-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
}

.level-icon {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.level-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-white);
}

.level-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.level-card .btn {
    align-self: center;
    margin-top: auto;
    width: 100%;
    padding: 0.8rem 1.5rem;
}

/* Responsive adjustments for Levels Grid */
@media (max-width: 1023px) {
    .levels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .levels-grid {
        grid-template-columns: 1fr;
    }

    .level-icon {
        font-size: 2rem;
    }
}

/* Core Programs Grid Layout (Side-by-Side) */
.programs-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
    /* Consistent with section padding */
}

.program-row {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border-radius: 15px;
    /* Match level-card radius */
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    height: 100%;
}

.program-row:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(230, 57, 70, 0.1);
    /* Match level-card shadow */
    border-color: var(--primary-red);
}

.program-row-image {
    width: 100%;
    height: 200px;
    /* Shorter image */
    position: relative;
    flex-shrink: 0;
}

.program-row-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.program-row-content {
    padding: 1.5rem;
    /* Reduced padding */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.program-row-content h3 {
    font-size: 1.35rem;
    /* Compact title */
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.program-description {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.program-features-list {
    margin-bottom: 1rem;
    list-style: none;
    font-size: 0.9rem;
}

.program-features-list li {
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ddd;
}

.program-features-list li i {
    color: var(--primary-red);
}

/* Responsive adjustments */
@media (max-width: 1023px) {
    .programs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-list {
        grid-template-columns: 1fr;
    }

    .program-row-image {
        height: 250px;
    }
}

/* --- About Page Styles --- */

/* About Hero */
.about-hero {
    min-height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)), url('../images/hero_bg.png') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 150px 5% 10rem;
}

.about-hero-content {
    max-width: 900px;
}

/* Brand Story */
.brand-story-section {
    padding: 5rem 5%;
    background-color: var(--bg-dark);
}

.brand-story-container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left;
}

.brand-text {
    font-size: 1.1rem;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 2rem;
    max-width: 900px;
}

.mission-block {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary-red);
    padding: 2rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-top: 3rem;
    border-radius: 0 10px 10px 0;
}

/* Values Grid */
.values-section {
    padding: 5rem 5%;
    background-color: var(--bg-card);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.value-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.value-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

/* Team Section */
.team-section {
    padding: 5rem 2%;
    /* Reduced side padding for wider look */
    background-color: var(--bg-dark);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    /* Slightly reduced gap */
    max-width: 95%;
    /* Significantly wider */
    margin: 0 auto;
}

.coach-card {
    background: var(--bg-card);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.coach-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.coach-img-placeholder {
    width: 100%;
    height: 300px;
    background-color: #2a2a2a;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-gray);
    position: relative;
    overflow: hidden;
}

.coach-img-placeholder::after {
    content: 'Photo';
    opacity: 0.3;
    font-size: 1.5rem;
    font-weight: 600;
}

.coach-info {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.coach-name {
    font-size: 1.25rem;
    color: var(--text-white);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
}

.coach-role {
    color: var(--primary-red);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.coach-bio {
    font-size: 0.9rem;
    color: #aaa;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.coach-focus-list {
    margin-top: auto;
    list-style: disk;
    padding-left: 1.2rem;
    color: #ccc;
    font-size: 0.85rem;
}

.coach-focus-list li {
    margin-bottom: 0.3rem;
}

/* Promise Section */
.promise-section {
    padding: 5rem 5%;
    background-color: var(--bg-card);
    text-align: center;
}

.promise-content {
    max-width: 800px;
    margin: 0 auto;
}

.promise-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
    text-align: left;
}

.promise-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
    color: #ddd;
    background: rgba(255, 255, 255, 0.02);
    padding: 1rem;
    border-radius: 8px;
}

.promise-item i {
    color: var(--primary-red);
}

.promise-closing {
    font-size: 1.25rem;
    color: var(--text-white);
    font-style: italic;
    margin-top: 2rem;
    display: block;
}

/* Responsive Styles for About Page */
@media (max-width: 1100px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
    }

    .promise-grid {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }

    .about-hero {
        padding-top: 120px;
    }
}

/* Premium Success Card Styles */
#success-state {
    display: none;
    max-width: 720px;
    margin: 2rem auto;
    padding: 3rem;
    border-radius: 24px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
    text-align: center;
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.success-icon-wrapper {
    margin-bottom: 24px;
    position: relative;
    display: inline-block;
}

.success-icon-circle {
    width: 80px;
    height: 80px;
    background: rgba(37, 211, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(37, 211, 102, 0.2);
}

.premium-title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.premium-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 32px;
    line-height: 1.6;
}

/* Timeline Styles */
.timeline-container {
    text-align: left;
    max-width: 480px;
    margin: 0 auto 40px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(229, 57, 53, 0.2);
    color: #E53935;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    margin-right: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

.timeline-icon.check {
    background: rgba(37, 211, 102, 0.2);
    color: #25D366;
}

.timeline-content h4 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
    font-weight: 600;
}

.timeline-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Buttons */
.cta-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.btn-premium {
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-premium:hover {
    transform: translateY(-3px);
}

.btn-whatsapp-premium {
    background: #25D366;
    color: #000;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-premium:hover {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

.btn-secondary-premium {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary-premium:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.trust-footer {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

@media (max-width: 768px) {
    #success-state {
        padding: 2rem 1.5rem;
        margin: 1rem;
        border-radius: 20px;
    }

    .cta-row {
        flex-direction: column;
    }

    .btn-premium {
        width: 100%;
    }
}

/* Enquiry Page Split Layout */
.enquiry-split-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.enquiry-left-col {
    animation: fadeIn 0.5s ease-out;
}

.enquiry-right-col {
    background-color: var(--bg-card);
    padding: 2.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    animation: fadeIn 0.8s ease-out;
}

@media (max-width: 900px) {
    .enquiry-split-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Fix Mobile Navbar Overlap */
@media (max-width: 768px) {
    .navbar {
        position: relative !important;
        z-index: 999;
        padding-top: 1rem;
        padding-bottom: 1rem;
        height: auto;
    }
}


/* FIX MOBILE HERO & NAVBAR - FORCE OVERLAY */
@media (max-width: 768px) {

    /* 1. Navbar: Fixed, transparent, compact */
    .navbar {
        position: fixed !important;
        top: 0;
        width: 100%;
        height: 70px;
        background-color: rgba(18, 18, 18, 0.6) !important;
        backdrop-filter: blur(5px);
        padding: 0 5% !important;
        z-index: 9999;
        display: flex;
        align-items: center;
    }

    /* 2. Hero: Full Screen Background behind navbar */
    .hero {
        min-height: 85vh !important;
        height: auto !important;
        /* Natural height */
        background-attachment: scroll;
        /* Better for mobile smooth scroll */
        background-position: 25% center;
        /* Shift left to show logo */
        background-size: cover;
        /* Ensure full coverage */
        padding-top: 120px !important;
        /* Push text down */
        margin-top: 0 !important;
        display: flex;
        align-items: center;
        /* Center content vertically if space permits */
        background-repeat: no-repeat;
    }

    /* 3. Hero Content Adjustment */
    .hero-content {
        padding-top: 20px;
        margin-top: 0;
        /* Reset double margins */
        width: 100%;
    }
}


@media (max-width: 768px) {
    /* ... existing content ... */



    /* Existing overrides */
    .hero {
        height: auto !important;
        min-height: auto !important;
        padding: 160px 1rem 4rem;
        background-color: #000;
        /* Fallback */
    }

    /* ... rest of existing css ... */
}

/* --- Testimonial Q&A Dropdowns --- */
.qa-dropdown {
    margin-bottom: 0.8rem;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.qa-dropdown summary {
    padding: 0.8rem 1rem;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-white);
    list-style: none;
    /* Hide default arrow */
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qa-dropdown summary::-webkit-details-marker {
    display: none;
    /* Hide default arrow in WebKit */
}

.qa-dropdown summary::after {
    content: '\f107';
    /* FontAwesome Angle Down */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    transition: transform 0.3s ease;
}

.qa-dropdown[open] summary::after {
    transform: rotate(180deg);
}

.qa-dropdown[open] {
    background-color: rgba(255, 255, 255, 0.08);
}

.qa-answer {
    padding: 0 1rem 1rem 1rem;
    color: #d0d0d0;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: -0.2rem;
}