html {
    scroll-behavior: smooth;
}

:root {
    --bg-navy: #0a1a26;
    --accent-orange: #e4572e;
    --vintage-cream: #f5e6c8;
    --glass-bg: rgba(10, 26, 38, 0.7);
    --border-color: rgba(245, 230, 200, 0.15);
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-navy);
    background-image: url('assets/fundal.jpg');
    /* Paths preserved as requested */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--vintage-cream);
    overflow-x: hidden;
}

/* Subtle grain texture to mimic vintage paper */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/stardust.png');
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* NAVBAR */
.navbar {
    width: 90%;
    position: fixed;
    top: 20px;
    left: 5%;
    background: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    border-radius: 100px;
    z-index: 1000;
    transition: border-radius 0.4s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100px;
    padding: 0 20px;
}

.logo {
    width: 180px;
    height: 70px;
    background-image: url('assets/logo-generat-nobg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 12px rgba(228, 87, 46, 0.4));
}

.nav-links a {
    color: var(--vintage-cream);
    text-decoration: none;
    margin-right: 40px;
    font-size: 15px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.3s;
}

.nav-links a:hover {
    color: var(--accent-orange);
}

/* HERO SECTION */
.hero {
    padding-top: 150px;
    padding-bottom: 40px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 6px 15px;
    background: var(--accent-orange);
    color: white;
    font-size: 11px;
    font-weight: 800;
    border-radius: 5px;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.text-header {
    font-family: 'Tinos', serif;
    font-size: clamp(40px, 8vw, 75px);
    margin: 0;
    line-height: 1;
    color: var(--vintage-cream);
}

.subtext-header {
    font-family: 'Tinos', serif;
    font-size: 32px;
    color: var(--accent-orange);
    margin: 10px 0 25px 0;
}

.descriere-mica {
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    opacity: 0.9;
}

/* --- UPDATED GOGU STYLES --- */
/* Update your existing .gogu class to include these */
.gogu {
    width: 100%;
    height: 450px;
    background-image: url("assets/rowo_racheta.png");
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: drop-shadow(0 0 20px rgba(228, 87, 46, 0.3));

    /* STICKY MOVEMENT: Uses the variable from JS */
    /* This ensures it stays visible and moves as you scroll */
    transform: translateY(var(--up, 0px));

    transition: transform 0.1s ease-out;
    position: relative;

    /* Adjusted mask so the bottom flames can actually be seen */
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 15%);
    mask-image: linear-gradient(to top, transparent 0%, black 15%);
}

/* SHAKING EFFECT */
/* We add the animation to the transform while keeping the --up variable */
.gogu.launching {
    animation: shakeRocket 0.1s infinite;
}

@keyframes shakeRocket {
    0% {
        transform: translateY(var(--up, 0px)) translateX(0);
    }

    25% {
        transform: translateY(var(--up, 0px)) translateX(-1.5px);
    }

    75% {
        transform: translateY(var(--up, 0px)) translateX(1.5px);
    }

    100% {
        transform: translateY(var(--up, 0px)) translateX(0);
    }
}

/* FLAME EFFECT (Border Transparency Oscillation) */
.gogu::after {
    content: "";
    position: absolute;
    bottom: 20px;
    /* Position at rocket base */
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 0px;
    opacity: 0;

    /* Using bottom border as requested */
    border-bottom: 0px solid rgba(228, 87, 46, 0.8);
    filter: blur(10px);
    transition: all 0.2s ease;
}

.gogu.launching::after {
    opacity: 1;
    height: 40px;
    border-bottom: 40px solid rgba(228, 87, 46, 0.9);
    animation: flameOscillation 0.1s infinite alternate;
}

@keyframes flameOscillation {
    from {
        border-bottom-color: rgba(228, 87, 46, 0.9);
        /* Solid Orange */
        border-bottom-width: 30px;
    }

    to {
        border-bottom-color: rgba(255, 165, 0, 0.3);
        /* Transparent Yellow/Orange */
        border-bottom-width: 50px;
        /* Flame stretches */
    }
}

/* 
.gogu video {
    width: 100%;
    height: 550px;
    display: block;
    filter: drop-shadow(0 0 20px rgba(228, 87, 46, 0.3));
    -webkit-mask-image: linear-gradient(to top, transparent 0%, black 25%);
    mask-image: linear-gradient(to top, transparent 0%, black 25%);
} */

@keyframes seduceracheta {}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-info-boxes {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.hero-box {
    background: rgba(245, 230, 200, 0.05);
    border: 1px solid var(--border-color);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-box strong {
    color: var(--accent-orange);
    font-size: 12px;
}

.hero-box p {
    margin: 0;
    font-size: 14px;
}

/* GENERIC BOXES */
.section-box {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 30px;
    margin-bottom: 40px;
    transition: 0.4s ease;
}

.section-box:hover {
    border-color: rgba(228, 87, 46, 0.4);
    transform: translateY(-5px);
}

.section-title {
    font-family: 'Tinos', serif;
    font-size: 38px;
    color: var(--accent-orange);
    margin-bottom: 30px;
    text-transform: uppercase;
}

/* ABOUT SECTION SPECIAL LAYOUT */
/* ============================================================
   ABOUT SECTION & GOGU (LAIKA) INTEGRATION
   ============================================================ */

/* 1. Modificăm regula generală pentru a permite elemente absolute */
.section-box {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    padding: 50px;
    border-radius: 30px;
    margin-bottom: 20px;
    transition: 0.4s ease;
    position: relative;
    /* ADAUGAT: Permite elementelor din interior (Gogu) să se ancoreze aici */
    overflow: visible;
}

/* 2. Layout-ul specific pentru About (Flexbox) */
.about-layout {
    display: flex;
    gap: 50px;
    margin-top: 80px;
    /* Spațiu extra sus pentru a face loc capului lui Gogu */
}

/* 3. Stilul pentru Gogu (Laika) care pândește */
.laika-ascunsa {
    position: absolute;
    top: -193px;
    /* mai sus, pentru că imaginea e mai înaltă */
    right: 120px;
    /* mai aproape de margine */

    width: 220px;
    /* ajustează după cum vrei */
    height: 260px;
    /* IMPORTANT: mai înalt */

    background-image: url('assets/gogu_ascunsa.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;

    z-index: 5;
    /* IMPORTANT: peste container, nu sub */
    pointer-events: none;

    animation: floatGogu 3s ease-in-out infinite;
}




.laika-ascunsa-stanga {
    position: absolute;
    top: 50px;
    /* mai sus, pentru că imaginea e mai înaltă */
    left: -133px;
    /* mai aproape de margine */

    width: 220px;
    /* ajustează după cum vrei */
    height: 260px;
    /* IMPORTANT: mai înalt */

    background-image: url('assets/gogu_ascunsa_stanga.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;

    z-index: 5;
    /* IMPORTANT: peste container, nu sub */
    pointer-events: none;

    animation: floatGogu 3s ease-in-out infinite;
}


/* 4. Elementele de text și titlu */
.vertical-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 50px;
    font-weight: 800;
    margin: 0;
    margin-top: 40px;
    color: rgba(245, 230, 200, 0.1);
}

.highlight-text {
    font-family: 'Tinos', serif;
    font-size: 28px;
    font-style: italic;
    color: var(--accent-orange);
    margin-bottom: 20px;
}

.capsule-link {
    display: inline-block;
    padding: 10px 25px;
    background: rgba(228, 87, 46, 0.1);
    border-left: 5px solid var(--accent-orange);
    border-radius: 0 50px 50px 0;
    margin-top: 20px;
    font-weight: 600;
}

/* 5. Adaptabilitate pentru Mobil */
@media (max-width: 850px) {
    .about-layout {
        flex-direction: column;
        margin-top: 70px;
        gap: 30px;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: rotate(0);
        font-size: 40px;
        text-align: center;
    }

    .laika-ascunsa {
        right: 30%;
        transform: translateX(50%);
        /* Move to the right */
        width: 200px;
        top: -198px;
    }

    .laika-ascunsa-stanga {
        display: none;
    }
}

/* CARDS & GRIDS */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

@media (max-width: 978px) {

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .grid-3 {
        grid-template-columns: repeat(1, 1fr);
    }



}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.training-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.training-card h3 {
    color: var(--accent-orange);
    margin-top: 0;
}

/* BUTTONS */
.btn {
    background: var(--accent-orange);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
    margin-top: 20px;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(228, 87, 46, 0.3);
}

.login-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    background: transparent;
    border: 1px solid var(--vintage-cream);
    color: var(--vintage-cream);
    padding: 8px 15px 8px 15px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: rgba(228, 87, 46, 0.8);
    border-color: rgba(228, 87, 46, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(228, 87, 46, 0.4);
    transform: scale(1.05);
    color: white;
}

/* RESPONSIVE */
@media (max-width: 850px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-info-boxes {
        justify-content: center;
    }

    .about-layout {
        flex-direction: column;
    }

    .vertical-title {
        writing-mode: horizontal-tb;
        transform: rotate(0);
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ... Keep existing CSS from previous version ... */

/* TRAINING ITEM STYLING */
.training-list {
    margin: 30px 0;
}

.training-item {
    display: flex;
    gap: 20px;
    margin-bottom: 35px;
    align-items: flex-start;
}

.step-num {
    font-family: 'Tinos', serif;
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-orange);
    opacity: 0.5;
    line-height: 1;
}

.step-info h4 {
    margin: 0 0 5px 0;
    color: var(--vintage-cream);
    font-size: 18px;
}

.step-info p {
    margin: 0;
    font-size: 14px;
    opacity: 0.8;
}

/* FOOTER STYLING (DROWO STYLE) */
.main-footer {
    position: relative;
    background: rgba(5, 12, 18, 0.95);
    border-top: 1px solid var(--border-color);
    padding: 80px 0 30px 0;
    margin-top: 50px;
}

.laika-ascunsa-footer {
    position: absolute;
    top: -190px;
    right: 120px;
    width: 220px;
    height: 260px;
    background-image: url('assets/gogu_ascunsa.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom center;
    z-index: 5;
    pointer-events: none;
    animation: floatGogu 3s ease-in-out infinite;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-col h4 {
    color: var(--accent-orange);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: var(--vintage-cream);
    text-decoration: none;
    opacity: 0.7;
    transition: 0.3s;
}

.footer-col a:hover {
    opacity: 1;
    color: var(--accent-orange);
}

.footer-logo {
    width: 180px;
    height: 60px;
    background-image: url('assets/logo-generat-nobg.png');
    background-size: contain;
    background-repeat: no-repeat;
    margin-bottom: 20px;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icons span {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.social-icons span:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    font-size: 12px;
    opacity: 0.5;
}

/* UTILS */
.placeholder-list {
    list-style: none;
    padding: 0;
}

.placeholder-list li {
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
    font-family: monospace;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.sponsor-card {
    padding: 10px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.5s;
}

.sponsor-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 87, 46, 0.4);
    background-color: rgba(228, 87, 46, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(228, 87, 46, 0.4);
    transition: all 0.3s ease;
}

.logo-placeholder {
    height: 90px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    opacity: 0.6;
    border: 1px dashed var(--border-color);
}

@media (max-width: 850px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .laika-ascunsa-footer {
        right: 30%;
        transform: translateX(50%);
        width: 200px;
        top: -198px;
    }

    .footer-logo {
        margin: 0 auto 20px auto;
    }

    .social-icons {
        justify-content: center;
    }
}

.trainer-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: 0.3s;
}

.trainer-card:hover {
    transform: translateY(-5px);
    border-color: rgba(228, 87, 46, 0.4);
}

.trainer-img {
    width: 100%;
    height: 260px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    margin-bottom: 15px;
    background-image: url('assets/trainer-placeholder.png');
    /* optional */
    background-size: cover;
    background-position: center;
}

.trainer-card h4 {
    margin: 10px 0 5px 0;
    color: var(--accent-orange);
}

.trainer-card p {
    font-size: 14px;
    opacity: 0.8;
}



.trainer-tabs {
    display: flex;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin: 20px 0 30px 0;
}

.tab-btn {
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid var(--border-color);
    background: transparent;
    color: var(--vintage-cream);
    cursor: pointer;
    transition: 0.3s;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    text-transform: uppercase;
}

.tab-btn:hover {
    border-color: var(--accent-orange);
    color: var(--accent-orange);
}

.tab-btn.active {
    background: var(--accent-orange);
    color: white;
    border-color: var(--accent-orange);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}




/* Stil pentru grupul FAQ */
.faq-container {
    margin-bottom: 15px;
}

/* Stil pentru butonul întrebare (bazat pe tab-urile tale) */
.faq-trigger {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    /* Puțin mai mult padding decât la tab-uri */
}

.faq-trigger strong {
    font-family: 'Montserrat', sans-serif;
    text-transform: capitalize;
    font-weight: 600;
}

.faq-body p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
}

/* Răspunsul - ascuns implicit */
.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 25px;
    opacity: 0;
}

/* Când întrebarea e activă (clasa adăugată de JS) */
.faq-container.open .faq-body {
    max-height: 200px;
    /* Sau cât e nevoie pentru text */
    padding: 15px 25px;
    opacity: 1;
}

.faq-container.open .faq-trigger {
    background: var(--accent-orange);
    color: white;
}

.gogupelogo {
    position: absolute;
    /* Ajustează aceste valori până când Gogu stă exact unde vrei */
    top: -30px;
    /* Îl ridică puțin deasupra logo-ului */
    left: 20px;
    /* Îl mută mai la dreapta față de marginea logo-ului */

    width: 120px;
    height: 70px;
    background-image: url('assets/gogu_culcat_bg.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;

    z-index: 10;
    /* Să fie deasupra logo-ului */
    pointer-events: none;
    /* Să nu blocheze click-ul pe logo */

    /* Opțional: O mică animație de respirație */
    animation: breathingGogu 3s ease-in-out infinite;
}

@keyframes breathingGogu {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--vintage-cream);
    transition: transform 0.3s ease;
}

@media (max-width: 850px) {

    .nav-container {
        height: auto;
        min-height: 80px;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        z-index: 1100;
    }

    .navbar.active {
        border-radius: 30px;
    }

    .nav-links {
        position: static;
        width: 100%;
        background: transparent;
        border-top: none;

        display: flex;
        flex-direction: column;
        align-items: center;

        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }

    .nav-links a {
        margin: 15px 0;
        font-size: 16px;
    }

    .nav-links .login-btn {
        margin: 15px 0 25px 0;
    }

    .nav-links.active {
        max-height: 400px;
    }
}

/* --- NEW STYLES FOR PERSON CARDS --- */
.person-card {
    display: flex;
    flex-direction: row;
    background: rgba(25, 26, 31, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
}

.person-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.4);
}

.person-photo {
    width: 120px;
    min-height: 120px;
    background-size: cover;
    background-position: center;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.person-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.person-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #fff;
}

.person-function {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin: 0 0 10px 0;
}

.person-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.person-actions .btn {
    padding: 6px 12px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.person-actions .insta-btn {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
    border: none;
}

.person-actions .insta-btn:hover {
    opacity: 0.9;
}

.person-actions .info-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.person-actions .info-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- NEW STYLES FOR MODALS --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: rgba(25, 26, 31, 0.95);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 15px;
    padding: 30px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: modalPop 0.3s ease-out forwards;
}

@keyframes modalPop {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    color: var(--text-gray);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--accent-orange);
}

.modal-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto 15px auto;
    border: 3px solid var(--accent-orange);
}

.modal-name {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: #fff;
}

.modal-function {
    font-size: 1rem;
    color: var(--accent-orange);
    margin: 0 0 15px 0;
}

.modal-desc {
    font-size: 0.95rem;
    color: var(--text-gray);
    line-height: 1.5;
    margin: 0;
}

/* --- NEW SPLIT CARD STYLES --- */
.split-card {
    display: flex;
    flex-direction: row;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease;
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: inherit;
    min-height: 120px;
}

.split-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.4);
}

.card-left {
    flex: 0 0 50%;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-left img {
    max-width: 100%;
    max-height: 100px;
    object-fit: contain;
    border-radius: 5px;
}

.card-left[style] {
    /* For trainers/orga that use background-image */
    background-size: cover;
    background-position: center;
    background-clip: content-box;
}

.card-right {
    flex: 0 0 50%;
    padding: 5px 15px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-name,
.sponsor-name {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 5px 0;
    color: white;
}

.person-function {
    font-size: 0.9rem;
    color: white;
    margin: 0 0 10px 0;
    opacity: 0.9;
}

.person-actions {
    display: flex;
    gap: 5px;
    margin-top: auto;
    flex-wrap: wrap;
}

.trainer-btn {
    padding: 5px 10px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    text-decoration: none;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 15px;
    font-size: 14px;
    margin-top: 5px;
    align-self: flex-start;
}

/* Ensure grid-2 works */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
}

/* --- REFINEMENT STYLES OVERRIDES --- */
.sponsor-name {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    color: var(--vintage-cream) !important;
    font-size: 1.2rem;
    margin: 0;
}

.faq-body {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.4s ease-out, padding 0.4s ease-out !important;
    padding: 0 25px !important;
    max-height: none !important;
}

.faq-body p {
    overflow: hidden !important;
    margin: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease-out !important;
}

.faq-container.open .faq-body {
    grid-template-rows: 1fr !important;
    padding: 15px 25px !important;
    max-height: none !important;
}

.faq-container.open .faq-body p {
    opacity: 1 !important;
}

.icon-btn {
    padding: 8px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.icon-btn span {
    display: flex;
    align-items: center;
}

.social-icons a {
    text-decoration: none;
    color: inherit;
}

.social-icons a:hover span {
    background: var(--vintage-cream) !important;
    color: #050c12 !important;
    /* dark-bg approx */
    border-color: var(--vintage-cream) !important;
    transform: scale(1.05);
}

/* --- FILE: styles.css --- */

/* ... (Keep previous root and base styles) ... */

/* UPDATED NAVBAR BUTTON HOVER EFFECT */
.login-btn {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    font-weight: 300;
    background: transparent;
    border: 1px solid var(--vintage-cream);
    color: var(--vintage-cream);
    padding: 8px 20px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Smooth pop effect */
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* Added the glow and scale effect requested from the old icon style */
.login-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: 0 0 20px rgba(228, 87, 46, 0.6);
    transform: scale(1.1) translateY(-2px);
}

.person-card.split-card {
    display: flex;
    flex-direction: row;
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: visible;
    /* Allows the hover shadow and text to breathe */
    transition: all 0.4s ease;
    min-height: 220px;
    /* Taller cards */
    align-items: stretch;
    margin-bottom: 10px;
}

.person-card.split-card:hover {
    border-color: var(--accent-orange);
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.card-left {
    flex: 0 0 150px;
    /* Fixed width for photo container */
    display: flex;
    border-radius: 35px
}

/* Photo with rounded edges */
/* Update this specific block in your styles.css */
.card-left[style] {
    background-size: cover;
    background-position: center;

    /* 1. Add the Border */
    /* You can change 1px to 2px for a thicker line */

    /* 2. Add the Border Radius */
    border-radius: 15px !important;

    /* Ensure the image stays inside the border */
    width: 100%;
    height: auto;
    box-sizing: border-box;
}

.card-right {
    flex: 1;
    /* Takes up all remaining space */
    padding: 25px 20px 25px 25px;
    /* Added room for wrapping */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.person-name {
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 300 !important;
    /* Thinner weight as requested */
    color: var(--vintage-cream) !important;
    /* Vanilla cream color */
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: normal !important;
    /* FORCES TEXT TO NEXT ROW */
    overflow-wrap: break-word;
}

.person-function {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--vintage-cream);
    opacity: 0.6;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    white-space: normal !important;
    /* ALLOWS WRAPPING */
}

/* --- BUTTONS: MATCHING NAVBAR HOVER EFFECT --- */
.person-actions {
    display: flex;
    gap: 12px;
    margin-top: auto;
}

.person-actions .icon-btn {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--vintage-cream);
    color: var(--vintage-cream);
    cursor: pointer;
    /* Using the exact cubic-bezier from your login-btn */
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.person-actions .icon-btn:hover {
    background: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    box-shadow: 0 0 20px rgba(228, 87, 46, 0.6);
}

.person-actions .icon-btn svg {
    width: 20px;
    height: 20px;
}

/* Ensure icons inside spans are centered */
.person-actions .icon-btn span {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- FAQ WRAPPER FIX --- */
.faq-body {
    display: grid !important;
    grid-template-rows: 0fr !important;
    transition: grid-template-rows 0.4s ease-out, padding 0.4s ease-out !important;
    padding: 0 25px !important;
    max-height: none !important;
}

.faq-container.open .faq-body {
    grid-template-rows: 1fr !important;
    padding: 15px 25px !important;
}

.faq-body p {
    overflow: hidden !important;
    margin: 0 !important;
    opacity: 0 !important;
    transition: opacity 0.3s !important;
}

.faq-container.open .faq-body p {
    opacity: 1 !important;
}

/* Responsive fix for mobile */
@media (max-width: 480px) {
    .person-card.split-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .card-left {
        flex: 0 0 150px;
        width: 150px;
        min-height: 200px;
    }

    .card-right {
        padding: 10px 20px 20px 20px;
    }

    .person-actions {
        justify-content: center;
    }
}

/* Sponsor card: stack logo above name on small screens */
@media (max-width: 480px) {
    .sponsor-card.split-card {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        min-height: unset;
        padding: 15px 10px;
    }

    .sponsor-card.split-card .card-left {
        flex: unset;
        width: 100%;
        max-width: 140px;
        min-height: 80px;
        padding: 5px;
        justify-content: center;
    }

    .sponsor-card.split-card .card-left img {
        max-height: 80px;
        max-width: 120px;
    }

    .sponsor-card.split-card .card-right {
        flex: unset;
        width: 100%;
        padding: 8px 10px 5px 10px;
        align-items: center;
        text-align: center;
    }

    .sponsor-card.split-card .sponsor-name {
        text-align: center;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 768px) {
    .section-title {
        text-align: center;
        font-size: 37px;
    }
}