/* Global Variables */
:root {
    --primary-color: #D4AF37;
    /* Metallic Gold */
    --secondary-color: #1a1a1a;
    /* Dark Grey */
    --bg-color: #0f0f0f;
    /* Almost Black */
    --text-color: #f0f0f0;
    /* Off-white */
    --accent-red: #c0392b;
    /* Subtle Red for urgency/accents */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.3s ease;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Offset for sticky header */
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 80px 0;
}

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

.text-gold {
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

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

.btn-primary:hover {
    background-color: #e5bd45;
    transform: translateY(-2px);
}

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

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

/* Header */
header {
    background: rgba(15, 15, 15, 0.95);
    padding: 20px 0;
    position: sticky;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

header.active-menu {
    z-index: 1003;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1003;
    position: relative;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
    transform-origin: center;
    display: block;
    position: absolute;
    left: 0;
}

.mobile-menu-toggle span:nth-child(1) {
    top: 4px;
}

.mobile-menu-toggle span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.mobile-menu-toggle span:nth-child(3) {
    bottom: 4px;
}

.mobile-menu-toggle.active span {
    background: var(--primary-color);
}

.mobile-menu-toggle.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scale(0);
    width: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    bottom: auto;
    top: 50%;
    transform: translateY(-50%) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    width: 100%;
    padding: 20px;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    padding: 10px 0;
    position: relative;
}

.mobile-menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.mobile-menu-link:hover {
    color: var(--primary-color);
}

.mobile-menu-link:hover::after {
    width: 100%;
}

.mobile-menu-cta {
    background: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 40px;
    border-radius: 5px;
    margin-top: 20px;
}

.mobile-menu-cta::after {
    display: none;
}

.mobile-menu-cta:hover {
    background: #e5bd45;
    color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    /* padding-top removed for sticky header */
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #ddd;
}

.trust-icons {
    display: flex;
    gap: 20px;
    margin-top: 30px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.trust-item i {
    color: var(--primary-color);
}

/* Lead Form */
.lead-form-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.lead-form h3 {
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 15px;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: #fff;
    border-radius: 5px;
    font-family: var(--font-body);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Why Choose Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: var(--secondary-color);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--glass-border);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.service-card {
    background: var(--bg-color);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.service-img {
    height: 200px;
    background-color: #333;
    /* Placeholder */
    background-size: cover;
    background-position: center;
}

.service-content {
    padding: 20px;
}

.service-list {
    margin-top: 15px;
    list-style: none;
    /* Explicitly reset again */
}

.service-list li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: #ccc;
}

.service-list li::before {
    content: '✓';
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Before & After */
.ba-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.ba-item {
    position: relative;
    height: 250px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ba-text {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.7);
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
}

/* Process */
.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    text-align: center;
}

.process-step {
    flex: 1;
    min-width: 150px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    margin: 0 auto 15px;
    font-size: 1.2rem;
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.review-card {
    background: var(--glass-bg);
    padding: 30px;
    border-radius: 10px;
    border: 1px solid var(--glass-border);
}

.stars {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* Packages */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.price-card {
    background: var(--secondary-color);
    padding: 40px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.price-card:hover {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.price-card h3 {
    color: var(--primary-color);
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 20px 0;
}

/* Education */
.education-section {
    background: var(--secondary-color);
}

.edu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ccc;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #666;
    font-size: 0.9rem;
}

/* Map */
.map-container {
    width: 100%;
    height: 300px;
    background: #222;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .trust-icons {
        justify-content: center;
    }

    .process-steps {
        flex-direction: column;
        align-items: center;
    }

    .process-step {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.2rem;
    }

    header {
        padding: 15px 0;
    }

    nav {
        position: relative;
    }

    .mobile-menu-toggle.active {
        background: rgba(212, 175, 55, 0.1);
        border-radius: 5px;
        padding: 5px;
    }
}

/* ============================
   LEAD OPTIMIZATION STYLES 
   ============================ */

/* Top Banner */
.top-banner {
    background: var(--accent-red);
    color: white;
    padding: 10px 0;
    text-align: center;
    position: relative;
    font-size: 0.9rem;
    z-index: 1001;
    /* Above header */
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

#closeBanner {
    background: none;
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    position: absolute;
    right: 20px;
}

/* Floating WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 90px;
    /* Above sticky footer on mobile */
    right: 20px;
    background: #25D366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    transition: var(--transition);
}

.floating-whatsapp:hover {
    transform: scale(1.1);
}

/* Sticky Mobile Footer */
.sticky-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    display: none;
    /* Hidden on Desktop */
    z-index: 1000;
}

.sf-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 600;
    font-size: 1.1rem;
    gap: 10px;
    text-transform: uppercase;
}

.sf-call {
    background: var(--primary-color);
    color: #000;
}

.sf-wa {
    background: #25D366;
}

/* Responsive Styles for Lead Gen */
@media (max-width: 768px) {
    .sticky-footer {
        display: flex;
    }

    /* Adjust Floating WhatsApp to not overlap with sticky footer */
    .floating-whatsapp {
        bottom: 80px;
    }

    footer {
        padding-bottom: 80px;
        /* Make space for sticky footer */
    }

    /* Form Mobile Tweak */
    .lead-form-container {
        padding: 20px;
        margin-top: 20px;
    }

    /* Hero Text Mobile Tweak */
    .hero {
        /* padding-top: 120px; Removed as header is sticky */
        height: auto;
        /* Allow auto height on mobile if content overflows */
        min-height: 100vh;
        padding-bottom: 50px;
    }
}

/* ============================
   SCROLL ANIMATIONS 
   ============================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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