:root {
    --primary: #0B1F3A;
    --primary-light: #162E4D;
    --gold: #D4AF37;
    --gold-light: #E5C76B;
    --white: #FFFFFF;
    --light: #F9FBFF;
    --text: #1A1C1E;
    --text-muted: #5F6368;
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --container-width: 1200px;
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.05);
    --shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    --radius: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

html {
    scroll-behavior: smooth;
}

a, a:visited, a:active, a:hover {
    text-decoration: none !important;
    color: inherit !important;
    transition: var(--transition);
}

a {
    display: inline-block;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.7;
    color: var(--text);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 120px 0;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    letter-spacing: 0.3px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(11, 31, 58, 0.25);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light), var(--gold));
    background-size: 200% 100%;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.2);
    position: relative;
    overflow: hidden;
    animation: shimmer 5s infinite linear;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.btn-gold:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.35);
}

.btn-outline {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

/* Navbar */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    padding: 1.8rem 0;
}

nav.scrolled {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    padding: 1.2rem 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary) !important;
    text-decoration: none !important;
    letter-spacing: -0.8px;
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }
}

.logo span {
    color: var(--gold);
    font-weight: 600;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2.8rem;
    align-items: center;
}

.nav-links a, .nav-links a:visited {
    color: var(--primary) !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

.nav-links a:hover {
    color: var(--gold) !important;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
    transition: var(--transition);
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

.nav-links a:not(.btn-join)::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-links a:hover:not(.btn-join)::after {
    width: 100%;
}

.btn-join {
    background: var(--gold) !important;
    color: var(--primary) !important;
    padding: 0.7rem 1.8rem !important;
    border-radius: 8px !important;
    font-size: 0.9rem !important;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(rgba(11, 31, 58, 0.75), rgba(11, 31, 58, 0.75)), url('images/hero.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    color: var(--white);
    padding-top: 80px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.8rem;
    font-weight: 800;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.95;
    max-width: 600px;
}

/* Founder Section */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.founder-img img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.founder-img:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

.stat-item {
    background: var(--light);
    padding: 1.5rem;
    border-radius: var(--radius);
    text-align: center;
    border: 1px solid rgba(0,0,0,0.03);
}

.stat-item h3 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

/* Coaching Cards */
.coaching-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 3rem;
}

.coaching-card {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.04);
}

.coaching-card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow);
    border-color: var(--gold);
}

.coaching-card i {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 2rem;
    display: inline-block;
}

/* Why Us Section */
.feature-item {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    display: flex;
    gap: 1.5rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--primary);
    color: var(--white);
}

.feature-item:hover .feature-icon {
    background: var(--gold);
    color: var(--primary);
}

.feature-icon {
    width: 65px;
    height: 65px;
    background: var(--light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: var(--gold);
    transition: var(--transition);
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 5rem;
    color: var(--light);
    font-family: serif;
    line-height: 1;
}

/* Form Styles */
.form-container {
    padding: 3.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(11, 31, 58, 0.08);
    background: var(--white);
    max-width: 650px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.form-group label {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    margin-left: 4px;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1.1rem 1.4rem;
    border: 2px solid #F0F2F5;
    border-radius: 14px;
    font-size: 0.95rem;
    background: #F8FAFC;
    transition: var(--transition);
    color: var(--text);
    outline: none;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    background: var(--white);
    border-color: var(--gold);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.12);
}

.form-group input::placeholder {
    color: #A0AEC0;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 14px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(11, 31, 58, 0.2);
}

/* Footer */
footer {
    background: #061121;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.whatsapp-float {
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--primary);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* Base Body Update */
body {
    background: linear-gradient(rgba(255,255,255,0.98), rgba(255,255,255,0.98)), url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCI+CjxyZWN0IHdpZHRoPSI0MCIgaGVpZ2h0PSI0MCIgZmlsbD0ibm9uZSIvPgo8Y2lyY2xlIGN4PSIyIiBjeT0iMiIgcj0iMSIgZmlsbD0iI2Q0YWYzNyIIGZpbGwtb3BhY2l0eT0iMC4wNSIvPgo8L3N2Zz4=');
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(to right, var(--gold), var(--gold-light));
    z-index: 2000;
    width: 0%;
    transition: width 0.1s ease;
}

/* Enhanced Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: opacity 1.2s cubic-bezier(0.165, 0.84, 0.44, 1), 
                transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Card Glow & Lift */
.coaching-card, .feature-item, .mv-card {
    transition: var(--transition);
    border: 1px solid rgba(212, 175, 55, 0.05);
}

.coaching-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    border-color: var(--gold);
}

.feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow);
}

/* Navigation Polish */
.nav-links a {
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-join {
    background: var(--gold) !important;
    color: var(--primary) !important;
    padding: 0.8rem 1.5rem !important;
    border-radius: 50px !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-join:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.45);
}

/* Footer Polish */
footer.section, footer {
    background-color: #061121 !important;
}

footer h4 {
    color: #ffffff !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

footer ul, footer .footer-links ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

footer ul li, footer .footer-links ul li {
    margin-bottom: 0.8rem !important;
    list-style-type: none !important;
}

footer a, footer .footer-links a, footer a:visited {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.95rem !important;
    text-decoration: none !important;
}

footer a:hover, footer .footer-links a:hover {
    color: var(--gold) !important;
    padding-left: 8px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

/* PC Specific Optimization */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--white);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.05);
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--gold);
    color: var(--primary);
    transform: translateY(-5px);
}

/* Mobile Specific Polish */
/* Base Mobile-First Styles (Default for all screens, optimized for mobile) */
.section {
    padding: 60px 0; /* Reduced for mobile */
}

.hero {
    height: auto;
    padding: 140px 0 80px;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-btns {
    display: flex;
    flex-direction: column; /* Stacked by default for mobile */
    gap: 1rem;
    width: 100%;
}

.btn {
    width: 100%; /* Full width for mobile touch targets */
    padding: 1.2rem 2rem;
}

.founder-grid, .program-grid, .coaching-grid, .features-grid, .footer-grid {
    display: grid;
    grid-template-columns: 1fr; /* Single column by default */
    gap: 2.5rem;
}

/* Desktop Enhancements (Min-width 992px) */
@media (min-width: 992px) {
    .section {
        padding: 120px 0;
    }

    .hero {
        text-align: left;
        padding: 200px 0 120px;
    }

    .hero h1 {
        font-size: 4.5rem;
    }

    .hero-btns {
        flex-direction: row;
        width: auto;
    }

    .btn {
        width: auto;
    }

    .founder-grid {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 5rem;
    }

    .program-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5rem;
    }

    .coaching-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1), visibility 0.8s;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 3rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -1px;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease forwards;
}

.loader-logo span {
    color: var(--gold);
}

.loader-line {
    width: 0;
    height: 3px;
    background: var(--gold);
    margin: 0 auto;
    border-radius: 2px;
    animation: growLine 1.5s ease-in-out forwards;
}

@keyframes growLine {
    0% { width: 0; }
    100% { width: 100px; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(6, 17, 33, 0.9);
    backdrop-filter: blur(8px);
    transition: opacity 0.3s ease;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    margin: 5% auto;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    width: 90%;
    max-width: 700px;
    border-radius: var(--radius);
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--primary);
    position: absolute;
    top: 20px;
    right: 25px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--gold);
}

.modal-body-content h2 {
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
}

.modal-body-content ul {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.modal-body-content li {
    margin-bottom: 0.8rem;
    color: var(--text-muted);
}

.modal-footer {
    margin-top: 2.5rem;
    display: flex;
    gap: 1rem;
}

/* Hero Polish */
.hero {
    overflow: hidden;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, transparent 70%);
    top: -100px;
    right: -100px;
    z-index: 1;
    border-radius: 50%;
    animation: float 10s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, 40px); }
}

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

/* Course Details Specific Styles */
.detail-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.detail-feature i {
    color: var(--gold);
    font-size: 1.2rem;
}

/* PC Specific Optimization */
@media (min-width: 1200px) {
    .container {
        padding: 0;
    }
}

/* Mobile-Specific Refinements (Max-width 991px) */
@media (max-width: 991px) {
    .hero h1 {
        font-size: 3.2rem;
        margin-top: 2rem;
    }

    h2 {
        font-size: 2.5rem !important;
        line-height: 1.1;
    }

    .nav-links {
        padding-top: 100px;
        align-items: center;
        width: 100%;
    }
    
    .nav-links a {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        margin-bottom: 2.5rem;
        letter-spacing: 2px;
    }

    .btn-join {
        font-size: 1.5rem !important;
        padding: 1.2rem 3rem !important;
    }
}

@media (max-width: 991px) {
    .join-grid {
        grid-template-columns: 1fr !important;
        gap: 3rem !important;
    }

    .contact-info-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    
    .form-container {
        padding: 2.5rem 1.5rem !important;
    }
}

