/* --- Elite Premium Variables & Reset --- */
:root {
    --primary-color: #0B132B; 
    --primary-light: #1C2541;
    --accent-color: #FF5A00; 
    --accent-hover: #E04D00;
    --text-main: #1E293B; 
    --text-light: #64748B; 
    --bg-main: #FAFAFC;
    --white: #FFFFFF;
    --border-soft: rgba(11, 19, 43, 0.05);
    --shadow-soft: 0 20px 40px -10px rgba(11, 19, 43, 0.05);
    --shadow-hover: 0 30px 60px -15px rgba(11, 19, 43, 0.12);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Poppins', sans-serif; -webkit-font-smoothing: antialiased; }
body { color: var(--text-main); line-height: 1.7; background-color: var(--bg-main); overflow-x: hidden; }
a { text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { color: var(--primary-color); letter-spacing: -0.02em; }

/* --- Refined Buttons --- */
.btn { padding: 14px 28px; border-radius: 50px; font-weight: 600; font-size: 0.95rem; cursor: pointer; transition: var(--transition); display: inline-block; white-space: nowrap; }
.btn-primary { background: var(--accent-color); color: var(--white); border: 1px solid var(--accent-color); box-shadow: 0 8px 20px rgba(255, 90, 0, 0.25); }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-3px); box-shadow: 0 12px 25px rgba(255, 90, 0, 0.35); }
.btn-secondary { background: var(--white); color: var(--primary-color); border: 1px solid var(--border-soft); box-shadow: var(--shadow-soft); }
.btn-secondary:hover { border-color: var(--primary-color); transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.btn-outline { background: transparent; color: var(--primary-color); border: 1px solid transparent; }
.btn-outline:hover { color: var(--accent-color); }
.btn-large { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { width: 100%; margin-top: 10px; padding: 16px; font-size: 1.05rem; }

/* Keep Mobile Buttons Hidden on Desktop */
.mobile-only-btns { display: none; }

/* --- Navigation --- */
nav { width: 100%; position: fixed; top: 0; z-index: 1000; padding: 20px 5%; transition: var(--transition); background: transparent; }
.nav-container { display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto; background: rgba(255, 255, 255, 0.85); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid rgba(255, 255, 255, 0.4); box-shadow: 0 10px 30px rgba(0,0,0,0.04); border-radius: 50px; padding: 10px 20px 10px 30px; }
.logo { font-size: 1.3rem; font-weight: 700; color: var(--primary-color); display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.logo i { color: var(--accent-color); font-size: 1.5rem; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links > li > a { color: var(--text-main); font-weight: 500; font-size: 0.95rem; transition: var(--transition); display: flex; align-items: center; padding: 10px 0; position: relative; }
.nav-links > li > a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0%; height: 2px; background: var(--accent-color); transition: var(--transition); }
.nav-links > li > a:hover::after, .nav-links > li > a.active::after { width: 100%; }
.nav-links > li > a:hover { color: var(--primary-color); }
.drop-icon { font-size: 0.65em; margin-left: 8px; transition: transform 0.4s ease; }
.dropdown { position: relative; }
.dropdown-menu { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(20px) scale(0.95); background-color: rgba(255, 255, 255, 0.98); backdrop-filter: blur(20px); min-width: 260px; border: 1px solid rgba(255, 255, 255, 0.8); box-shadow: 0 30px 60px -10px rgba(11, 19, 43, 0.1); border-radius: 16px; padding: 16px; opacity: 0; visibility: hidden; transition: all 0.4s ease; z-index: 1001; }
.dropdown::after { content: ''; position: absolute; top: 100%; left: -20px; width: calc(100% + 40px); height: 40px; }
.dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(10px) scale(1); }
.dropdown:hover .drop-icon { transform: rotate(180deg); }
.dropdown-menu li { margin-bottom: 4px; width: 100%; }
.dropdown-menu li a { display: block; padding: 12px 16px; color: var(--text-light); font-size: 0.95rem; font-weight: 500; border-radius: 10px; transition: var(--transition); position: relative; overflow: hidden; }
.dropdown-menu li a:hover { background-color: var(--bg-main); color: var(--primary-color); padding-left: 24px; }
.dropdown-menu li a:hover::before { content: ''; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--accent-color); }
.nav-buttons { display: flex; gap: 10px; align-items: center; }
.mobile-menu-icon { display: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; }

/* --- Sections & Layout --- */
.hero { margin-top: 0; padding: 180px 5% 100px 5%; background: radial-gradient(circle at 80% -20%, #FFE9DE 0%, transparent 40%), radial-gradient(circle at 0% 100%, #E8F0FF 0%, transparent 40%), var(--bg-main); display: flex; align-items: center; justify-content: space-between; min-height: 100vh; }
.hero-content { flex: 1; max-width: 680px; position: relative; z-index: 2; }
.badge { display: inline-block; padding: 8px 18px; background: var(--white); color: var(--accent-color); font-weight: 600; font-size: 0.85rem; border-radius: 50px; margin-bottom: 30px; box-shadow: 0 4px 15px rgba(0,0,0,0.03); border: 1px solid var(--border-soft); }
.hero h1 { font-size: 4.2rem; line-height: 1.1; margin-bottom: 24px; font-weight: 700; }
.hero p { font-size: 1.25rem; color: var(--text-light); margin-bottom: 40px; max-width: 90%; }
.hero-cta { display: flex; gap: 20px; margin-bottom: 50px; }
.trust-badges { display: flex; gap: 30px; font-size: 0.95rem; color: var(--text-light); font-weight: 500; }
.trust-badges i { color: #F5B041; margin-right: 6px; }
.hero-image { flex: 1; display: flex; justify-content: flex-end; position: relative; }
.hero-image::before { content: ''; position: absolute; width: 100%; height: 100%; background: var(--accent-color); border-radius: 30px; top: 20px; right: -20px; z-index: 0; opacity: 0.1; }
.hero-image img { max-width: 90%; border-radius: 30px; box-shadow: var(--shadow-hover); position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 80px; }
.section-header h2 { font-size: 3rem; margin-bottom: 16px; font-weight: 700; }
.section-header p { color: var(--text-light); font-size: 1.2rem; max-width: 600px; margin: 0 auto; }

.programs, .features, .process, .testimonials { padding: 120px 5%; }
.programs, .testimonials { background: var(--white); }
.grid-container, .features-grid, .testimonial-grid { display: grid; gap: 40px; max-width: 1400px; margin: 0 auto; }
.grid-container { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card { background: var(--white); padding: 50px 40px; border-radius: 24px; border: 1px solid var(--border-soft); transition: var(--transition); box-shadow: var(--shadow-soft); position: relative; overflow: hidden; }
.card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--border-soft); transition: var(--transition); }
.card:hover::before { background: var(--accent-color); }
.card:hover { transform: translateY(-15px); box-shadow: var(--shadow-hover); }
.card-icon { height: 70px; width: 70px; background: var(--bg-main); color: var(--primary-color); border-radius: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.8rem; margin-bottom: 30px; transition: var(--transition); }
.card:hover .card-icon { background: rgba(255, 90, 0, 0.1); color: var(--accent-color); transform: scale(1.1) rotate(-5deg); }
.card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.card p { color: var(--text-light); margin-bottom: 30px; font-size: 1rem; }
.learn-more { color: var(--primary-color); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; font-size: 1rem; }
.card:hover .learn-more { color: var(--accent-color); }

.features { background: var(--bg-main); padding: 100px 5%; }
.features-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); max-width: 1200px; text-align: center; }
.feature-item i { font-size: 3rem; color: var(--accent-color); margin-bottom: 25px; background: rgba(255, 90, 0, 0.1); padding: 20px; border-radius: 50%; }

.process { background: var(--primary-color); color: var(--white); }
.process .section-header h2, .process .section-header p { color: var(--white); }
.process-timeline { display: flex; justify-content: space-between; max-width: 1200px; margin: 0 auto; gap: 60px; }
.step { flex: 1; text-align: center; padding: 40px; background: rgba(255,255,255,0.03); border-radius: 24px; border: 1px solid rgba(255,255,255,0.05); backdrop-filter: blur(10px); transition: var(--transition); }
.step-number { width: 80px; height: 80px; background: var(--accent-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; font-weight: 700; margin: 0 auto 30px auto; }
.step h3 { margin-bottom: 20px; font-size: 1.4rem; color: var(--white); }
.step p { color: rgba(255,255,255,0.7); line-height: 1.8; }

.testimonial-grid { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.testimonial-card { background: var(--bg-main); padding: 50px 40px; border-radius: 24px; border: 1px solid var(--border-soft); position: relative; box-shadow: var(--shadow-soft); transition: var(--transition); }
.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.quote-icon { font-size: 2.5rem; color: rgba(255, 90, 0, 0.15); margin-bottom: 20px; display: block; }
.feedback { font-size: 1.1rem; color: var(--text-main); font-style: italic; margin-bottom: 30px; line-height: 1.8; }
.client-info { display: flex; align-items: center; gap: 15px; }
.client-avatar { width: 50px; height: 50px; background: var(--primary-color); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }

.cta-banner { margin: 0 5% 80px 5%; padding: 80px 40px; border-radius: 30px; background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%); text-align: center; color: var(--white); position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(11, 19, 43, 0.2); }
.cta-banner h2 { color: var(--white); font-size: 3rem; margin-bottom: 20px; position: relative; z-index: 2;}
.cta-banner p { font-size: 1.2rem; opacity: 0.9; margin-bottom: 40px; position: relative; z-index: 2;}
.cta-buttons { display: flex; justify-content: center; gap: 20px; position: relative; z-index: 2;}

/* --- Footer --- */
footer { background: #050B18; color: var(--white); padding: 100px 5% 0 5%; }
.footer-container { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; max-width: 1400px; margin: 0 auto; padding-bottom: 60px; }
.footer-col h3 { font-size: 1.8rem; color: var(--white); margin-bottom: 20px; }
.footer-col h3 i { color: var(--accent-color); margin-right: 10px; }
.footer-col p, .footer-col ul li a, .footer-col.contact-col ul li { color: #8F9BA8; }
.footer-col h4 { font-size: 1.2rem; margin-bottom: 25px; color: var(--white); }
.social-links { display: flex; gap: 16px; margin-top: 20px; }
.social-links a { width: 42px; height: 42px; display: flex; align-items: center; justify-content: center; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 50%; color: var(--white); transition: var(--transition); }
.social-links a:hover { background: var(--accent-color); border-color: var(--accent-color); transform: translateY(-4px); }
.footer-col ul li { margin-bottom: 16px; }
.footer-col ul li a:hover { color: var(--accent-color); padding-left: 6px; }
.footer-bottom { max-width: 1400px; margin: 0 auto; padding: 30px 0; border-top: 1px solid rgba(255, 255, 255, 0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; }
.legal-links { display: flex; gap: 15px; }
.legal-links a { color: #8F9BA8; font-size: 0.9rem; transition: var(--transition); }
.legal-links a:hover { color: var(--white); }

/* --- Modals & Popup Form Styling --- */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 19, 43, 0.7); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 9999; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; pointer-events: none; transition: all 0.4s ease; }
.modal-overlay.active { opacity: 1; visibility: visible; pointer-events: auto; }
.modal-container { background: var(--white); width: 90%; max-width: 480px; border-radius: 24px; padding: 40px; position: relative; box-shadow: 0 40px 80px rgba(0,0,0,0.3); transform: translateY(40px) scale(0.95); transition: all 0.4s ease; }
.modal-overlay.active .modal-container { transform: translateY(0) scale(1); }
.close-modal { position: absolute; top: 20px; right: 20px; background: var(--bg-main); border: 1px solid var(--border-soft); width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; color: var(--text-light); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--transition); }
.close-modal:hover { background: var(--accent-color); color: var(--white); transform: rotate(90deg); }
.modal-header { text-align: center; margin-bottom: 30px; }
.modal-header h3 { font-size: 2rem; margin-bottom: 8px; }
.modal-header p { color: var(--text-light); font-size: 0.95rem; }

/* Modal Form Fields */
.booking-form .form-group { margin-bottom: 20px; text-align: left; }
.booking-form label { display: block; font-size: 0.9rem; font-weight: 600; color: var(--primary-color); margin-bottom: 8px; }
.booking-form input, .booking-form select { width: 100%; padding: 14px 18px; border: 1px solid var(--border-soft); background: var(--bg-main); border-radius: 12px; font-size: 0.95rem; color: var(--text-main); outline: none; transition: var(--transition); }
.booking-form input:focus, .booking-form select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 4px rgba(255, 90, 0, 0.1); background: var(--white); }

/* Login Modal Specific Styles */
.login-container { max-width: 420px; }
.form-options { display: flex; justify-content: space-between; align-items: center; margin-bottom: 25px; font-size: 0.9rem; }
.remember-me { display: flex; align-items: center; gap: 8px; color: var(--text-light); font-weight: 400; cursor: pointer; text-transform: none; }
.forgot-password { color: var(--accent-color); font-weight: 500; transition: var(--transition); }
.forgot-password:hover { color: var(--primary-color); }
.modal-footer-text { text-align: center; margin-top: 25px; font-size: 0.95rem; color: var(--text-light); }
.modal-footer-text a { color: var(--primary-color); font-weight: 600; transition: var(--transition); }
.modal-footer-text a:hover { color: var(--accent-color); text-decoration: underline; }

/* --- High-End Responsive Adjustments & Mobile Drawer --- */
@media (max-width: 1024px) {
    /* Hide the desktop header buttons */
    .desktop-only-btns { display: none !important; } 
    
    /* Format the mobile buttons inside the drawer */
    .mobile-only-btns {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 15px;
        margin-top: 10px;
        padding-top: 20px;
        border-top: 1px solid var(--border-soft);
    }
    
    .mobile-only-btns .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
        display: flex;
    }

    .mobile-menu-icon { 
        display: block; 
        position: relative;
        z-index: 1002; 
    }

    .nav-links { 
        position: fixed;
        top: 0;
        right: -100%; 
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: flex-start;
        padding: 90px 30px 40px 30px;
        box-shadow: -10px 0 40px rgba(0,0,0,0.1);
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1001;
        display: flex;
        overflow-y: auto;
        margin: 0;
    }
    
    .nav-links.active { right: 0; }
    .nav-links > li { width: 100%; }
    .nav-links > li > a { font-size: 1.1rem; padding: 15px 0; border-bottom: 1px solid var(--border-soft); width: 100%; display: flex; justify-content: space-between; }
    .nav-links > li > a::after { display: none; }

    .dropdown-menu {
        position: static; transform: none !important; box-shadow: none; border: none; padding: 0; background: transparent;
        max-height: 0; overflow: hidden; opacity: 1; visibility: visible; margin-top: 0; min-width: 100%; transition: max-height 0.4s ease;
    }
    
    .dropdown:hover .dropdown-menu { max-height: 0; transform: none; }
    .dropdown.mobile-active .dropdown-menu { max-height: 400px; padding: 10px 0 10px 15px; }
    .dropdown.mobile-active .drop-icon { transform: rotate(180deg); }

    .nav-container { border-radius: 20px; padding: 15px 25px; }
    .hero { flex-direction: column; text-align: center; padding-top: 150px; }
    .hero-content { margin-bottom: 60px; }
    .hero-cta, .trust-badges { justify-content: center; }
    .hero h1 { font-size: 3.5rem; }
    .process-timeline { flex-direction: column; gap: 30px; }
    .footer-container { grid-template-columns: 1fr 1fr; }
    .footer-col.brand-col { grid-column: span 2; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: 2.6rem; }
    .hero-cta { flex-direction: column; width: 100%; }
    .btn-large { width: 100%; text-align: center; }
    .trust-badges { flex-direction: column; gap: 15px; }
    .section-header h2 { font-size: 2.2rem; }
    .features-grid, .testimonial-grid { grid-template-columns: 1fr; }
    .cta-banner { margin: 0 5% 50px 5%; padding: 50px 20px; }
    .cta-banner h2 { font-size: 2.2rem; }
    .cta-buttons { flex-direction: column; }
    .footer-container { grid-template-columns: 1fr; gap: 40px; }
    .footer-col.brand-col { grid-column: span 1; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .legal-links { justify-content: center; flex-wrap: wrap; }
    .modal-container { padding: 30px 20px; }
}