:root {
    --bg: #050505;
    --text: #ffffff;
    --text-muted: #9ca3af;
    --accent: #4f46e5;
    --accent-glow: #6366f1;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --header-h: 90px;
    --bezier: cubic-bezier(0.25, 1, 0.5, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
}

/* --- BACKGROUND --- */
.ambient-bg {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    z-index: -1; pointer-events: none;
}
.grain-overlay {
    position: absolute; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.3;
}
.blob {
    position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.4;
    animation: floatBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}
.blob-1 { top: -10%; left: -10%; width: 50vw; height: 50vw; background: radial-gradient(circle, var(--accent), transparent); }
.blob-2 { bottom: -10%; right: -10%; width: 40vw; height: 40vw; background: radial-gradient(circle, #8b5cf6, transparent); animation-delay: -5s; }
@keyframes floatBlob { 0% { transform: translate(0, 0) scale(1); } 100% { transform: translate(50px, 30px) scale(1.1); } }

/* --- HEADER --- */
.glass-header {
    position: fixed; top: 0; width: 100%; height: var(--header-h);
    z-index: 100; transition: transform 0.4s var(--bezier), background 0.4s ease;
}
.glass-header.scrolled {
    background: rgba(5, 5, 5, 0.8); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
}
/* Improved Hiding Logic */
.glass-header.hidden { transform: translateY(-100%); }

.header-container {
    max-width: 1400px; height: 100%; margin: 0 auto; padding: 0 2rem;
    display: flex; justify-content: space-between; align-items: center;
}
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--text); font-weight: 700; font-size: 1.25rem; }
.logo-box {
    width: 40px; height: 40px; background: linear-gradient(135deg, var(--accent), #a855f7);
    display: grid; place-items: center; border-radius: 12px;
}
.desktop-nav .nav-links { display: flex; gap: 3rem; list-style: none; }
.nav-link { color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.3s; }
.nav-link:hover { color: #fff; }
.nav-btn {
    display: inline-block; /* <--- ADD THIS LINE TO FIX THE CUTTING */
    position: relative;
    padding: 10px 24px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.9rem;
    font-weight: 600;
    overflow: hidden;
    transition: transform 0.3s var(--bezier);
}

.nav-btn:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.3);
}

/* Mobile Menu */
.hamburger { display: none; background: none; border: none; cursor: pointer; }
.hamburger svg { stroke: white; stroke-width: 6; }
.mobile-drawer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
    background: rgba(0,0,0,0.95); backdrop-filter: blur(30px);
    z-index: 200; display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none; transition: 0.5s;
}
.mobile-drawer.open { opacity: 1; pointer-events: all; }
.drawer-close {
    position: absolute; top: 30px; right: 30px; width: 50px; height: 50px;
    background: rgba(255,255,255,0.1); border-radius: 50%; border: none;
    color: white; cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: 0.3s;
}
.drawer-close:hover { background: var(--accent); transform: rotate(90deg); }
.mobile-links { list-style: none; text-align: center; }
.mobile-links a { display: block; font-size: 2.5rem; color: white; margin: 1rem 0; text-decoration: none; font-weight: 700; }

@media (max-width: 900px) {
    .desktop-nav { display: none; }
    .hamburger { display: block; }
}

/* --- HERO & SECTIONS --- */
.section-padding { padding: 6rem 2rem; position: relative; }
.bg-darker { background: rgba(255, 255, 255, 0.02); }
.container { max-width: 1200px; margin: 0 auto; }
.hero { min-height: 100vh; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding-top: 100px; }
.hero-title { font-size: clamp(3rem, 8vw, 5.5rem); line-height: 1.1; margin-bottom: 1.5rem; background: linear-gradient(to right, #fff, #999); -webkit-background-clip: text; color: transparent; }
.hero-sub { color: var(--text-muted); max-width: 600px; font-size: 1.1rem; }
.highlight { color: var(--accent-glow); }

.split-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.glass-card { background: var(--glass); border: 1px solid var(--glass-border); border-radius: 24px; padding: 2.5rem; backdrop-filter: blur(20px); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card { background: var(--glass); padding: 2rem; border-radius: 16px; border: 1px solid var(--glass-border); }
.icon-box { font-size: 2rem; margin-bottom: 1rem; }

/* --- TIMELINE FIX --- */
.timeline { position: relative; max-width: 800px; margin: 0 auto; padding: 2rem 0; }
.timeline-line {
    position: absolute; left: 50%; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-glow), transparent);
    transform: translateX(-50%) scaleY(0); 
    transform-origin: top; /* Key fix: Grows from top down */
    transition: transform 1.5s ease-out;
}
/* When active, the line grows */
.timeline.active .timeline-line { transform: translateX(-50%) scaleY(1); }

.timeline-item { width: 50%; padding: 2rem; position: relative; }
.timeline-item.left { left: 0; text-align: right; border-right: 2px solid transparent; }
.timeline-item.right { left: 50%; text-align: left; }
.timeline-dot {
    position: absolute; top: 2.5rem; width: 14px; height: 14px; background: var(--accent);
    border-radius: 50%; box-shadow: 0 0 10px var(--accent); z-index: 2;
    transform: scale(0); transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.timeline-item.left .timeline-dot { right: -8px; }
.timeline-item.right .timeline-dot { left: -8px; }
.slide-in-left.active .timeline-dot, .slide-in-right.active .timeline-dot { transform: scale(1); transition-delay: 0.5s; }

@media (max-width: 768px) {
    .split-layout { grid-template-columns: 1fr; }
    .timeline-line { left: 20px; }
    .timeline-item { width: 100%; left: 0; padding-left: 50px; text-align: left; }
    .timeline-item.left .timeline-dot, .timeline-item.right .timeline-dot { left: 13px; right: auto; }
}
/* --- PREMIUM FOOTER STYLES --- */
.premium-footer {
    position: relative;
    margin-top: 8rem;
    background: #000;
    border-top: 1px solid var(--glass-border);
    overflow: hidden;
    padding-bottom: 2rem;
}

/* Background Glow */
.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.2), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem 1rem;
    position: relative;
    z-index: 2;
}

.footer-top-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* Map gets more space */
    gap: 3rem;
    margin-bottom: 4rem;
}

/* --- THE MAP (DARK MODE ANIMATION) --- */
.map-wrapper {
    position: relative;
    width: 100%;
    height: 350px;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.map-wrapper iframe {
    /* This makes the map DARK */
   
    transition: filter 0.5s ease, transform 0.5s ease;
}

.map-wrapper:hover iframe {
    /* Reveals color on hover */
   
    transform: scale(1.05); /* Slight zoom effect */
}

/* Floating Tag */
.map-tag {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: #fff;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    pointer-events: none;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981; /* Green dot */
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: mapPulse 2s infinite;
}

@keyframes mapPulse {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { box-shadow: 0 0 0 10px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

/* --- CONTACT BOX --- */
.contact-box {
    padding: 2.5rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.footer-heading {
    font-size: 2rem;
    margin-bottom: 2rem;
    line-height: 1;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.icon-circle {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.label {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--accent);
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-item a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s;
}

.contact-item a:hover { color: #fff; }

/* Social Buttons */
.social-row {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-btn {
    padding: 8px 20px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.social-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* --- BOTTOM BAR --- */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 2rem;
    font-size: 0.9rem;
    transition: 0.3s;
}

.footer-nav a:hover { color: #fff; }

.top-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: #fff;
    cursor: pointer;
    transition: 0.3s;
}

.top-btn:hover {
    background: #fff;
    color: #000;
}

/* Responsive */
@media (max-width: 900px) {
    .footer-top-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .footer-nav a {
        margin: 0 1rem;
    }
}













/* --- FAQ CONTAINER --- */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* --- FAQ ITEM --- */
.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

/* CHANGED: active -> faq-active */
.faq-item.faq-active {
    border-color: var(--accent);
    background: rgba(79, 70, 229, 0.1);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* --- QUESTION HEADER --- */
.faq-question {
    width: 100%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    transition: color 0.3s;
}

.faq-question:hover h3 {
    color: #fff;
}

/* --- ICON --- */
.faq-icon {
    font-size: 1.5rem;
    color: var(--accent-glow);
    transition: transform 0.3s ease;
    line-height: 1;
    display: block;
    margin-left: 15px;
}

/* CHANGED: active -> faq-active */
.faq-item.faq-active .faq-icon {
    transform: rotate(45deg); 
    color: #fff;
}

/* --- ANSWER BODY --- */
.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.4s ease-out;
    cursor: default;
}

/* CHANGED: active -> faq-active */
.faq-item.faq-active .faq-answer {
    grid-template-rows: 1fr;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.answer-content {
    overflow: hidden;
}

.answer-content p {
    padding: 0 20px 20px 20px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

















/* =============================================
   TIMELINE FIX (Paste at bottom of index.css)
   ============================================= */

@media (max-width: 768px) {
    
    /* 1. FORCE RESET POSITION (Fixes the cutting) */
    /* We use !important to override the desktop 'left: 50%' rule */
    .timeline-item.right,
    .timeline-item.left {
        left: 0 !important;
        width: 100% !important;
        margin-left: 0 !important;
    }

    /* 2. ALIGN DOTS TO THE LEFT */
    /* Moves the dots from the right side to the new left line position */
    .timeline-item.right .timeline-dot,
    .timeline-item.left .timeline-dot {
        left: 8px !important; /* Centers dot on the line */
        right: auto !important;
    }

    /* 3. ADJUST SPACING */
    /* Ensures the card text doesn't overlap the line */
    .timeline-item {
        padding-left: 45px !important; /* Space for the line */
        padding-right: 0 !important;
        text-align: left !important;
    }

    /* 4. POSITION THE LINE */
    .timeline-line {
        left: 15px !important;
    }
}













/* =============================================
   FOOTER & MAP FIX (Paste at bottom of index.css)
   ============================================= */

@media (max-width: 768px) {

    /* 1. Stack them vertically */
    .footer-top-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
    }

    /* 2. Fix the Map Width */
    .map-wrapper {
        width: 100% !important;
        height: 250px !important; /* Reduce height for mobile */
    }

    /* 3. Fix the "Get in Touch" Box */
    .contact-box {
        width: 100% !important;
        padding: 1.5rem !important; /* Reduce padding (was 2.5rem) */
        box-sizing: border-box !important;
    }

    /* 4. Fix the Long Email (The Main Culprit) */
    /* This forces the long email to break into two lines if needed */
    .contact-item a {
        word-break: break-all !important; 
        display: inline-block;
        line-height: 1.4;
    }

    /* 5. Adjust Footer Container Padding */
    .footer-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}