:root {
    --primary: #0066FF;
    --dark: #0f172a;
    --light: #f8fafc;
    --accent: #38bdf8;
    --overlay: rgba(15, 23, 42, 0.75); /* Darker for better visibility */
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-family: 'Plus Jakarta Sans', sans-serif; }
body { background-color: var(--light); color: var(--dark); overflow-x: hidden; line-height: 1.6; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* Navbar */
.navbar {
    position: fixed; top: 20px; left: 50%; transform: translateX(-50%);
    width: 90%; max-width: 1100px; background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px); display: flex; justify-content: space-between;
    align-items: center; padding: 1rem 2rem; border-radius: 100px; z-index: 1000;
    border: 1px solid rgba(255,255,255,0.3); box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.logo { font-weight: 800; font-size: 1.2rem; letter-spacing: -1px; }
.logo span { color: var(--primary); }
.nav-links { display: flex; list-style: none; }
.nav-links a { text-decoration: none; color: var(--dark); margin: 0 15px; font-weight: 600; font-size: 0.9rem; }
.nav-cta { background: var(--primary); color: white; padding: 0.7rem 1.5rem; border-radius: 50px; text-decoration: none; font-size: 0.8rem; font-weight: 700; }

/* Parallax Sections & Visibility Fixes */
.parallax-section {
    position: relative; height: 100vh; background-attachment: fixed;
    background-position: center; background-repeat: no-repeat; background-size: cover;
    display: flex; align-items: center; overflow: hidden;
}
.overlay { position: absolute; inset: 0; background: var(--overlay); z-index: 1; }
.overlay-gradient { 
    position: absolute; inset: 0; 
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.95) 40%, rgba(15, 23, 42, 0.5) 100%); 
    z-index: 1; 
}
.hero-content, .split-container, .glass-steps { position: relative; z-index: 2; color: white; }

/* Backgrounds */
.hero-bg { background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=2000'); }
.solution-bg { background-image: url('https://images.unsplash.com/photo-1522071820081-009f0129c71c?auto=format&fit=crop&q=80&w=2000'); }
.works-bg { background-image: url('https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&q=80&w=2000'); }

/* Typography */
.hero-content h1 { font-size: 4.5rem; line-height: 1.1; margin-bottom: 1.5rem; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.hero-content h1 span { color: var(--accent); }
.hero-content p { font-size: 1.25rem; max-width: 800px; margin: 0 auto 2.5rem; text-shadow: 0 2px 5px rgba(0,0,0,0.5); }

/* Buttons */
.btn-primary { background: var(--primary); color: white; padding: 1.2rem 2rem; border-radius: 50px; text-decoration: none; font-weight: 700; transition: 0.3s; display: inline-block; }
.btn-secondary { background: rgba(255,255,255,0.1); color: white; border: 1px solid white; padding: 1.2rem 2rem; border-radius: 50px; text-decoration: none; margin-left: 10px; transition: 0.3s; display: inline-block; }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0,102,255,0.3); }

/* Problem & Services */
.section { padding: 120px 0; }
.section-title { text-align: center; font-size: 3rem; margin-bottom: 0.5rem; font-weight: 800; }
.section-title.white { color: white; }
.section-lead { text-align: center; color: var(--primary); font-weight: 600; margin-bottom: 4rem; font-size: 1.2rem; }

.problem-grid, .services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 25px; }
.p-card, .s-card { background: white; padding: 2.5rem; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); transition: 0.3s; border: 1px solid #eee; }
.p-card h3 { font-size: 2.5rem; color: #cbd5e1; margin-bottom: 1rem; }
.s-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.s-card h3 { margin: 1rem 0; font-size: 1.25rem; }

/* Solution text block fix */
.solution-text { max-width: 700px; }
.check-list { list-style: none; margin: 2rem 0; }
.check-list li { font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; color: var(--accent); }
.ph-benefit { background: rgba(255,255,255,0.05); padding: 1.5rem; border-left: 4px solid var(--accent); border-radius: 10px; margin-top: 2rem; }

/* How it Works Glassmorphism */
.glass-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.g-step { background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(15px); padding: 2rem; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); }
.g-step h4 { color: var(--accent); margin-bottom: 10px; font-size: 1.3rem; }

/* Pricing */
.pricing-card { background: var(--dark); color: white; padding: 4rem 2rem; border-radius: 30px; text-align: center; margin-bottom: 4rem; }
.pricing-features { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin: 2rem 0; }
.pricing-features span { background: rgba(255,255,255,0.1); padding: 8px 18px; border-radius: 50px; font-size: 0.9rem; }
.trust-section { text-align: center; }

/* Footer */
.footer { background: #070b14; color: white; padding: 100px 0 40px; text-align: center; }
.footer-btns { margin: 2rem 0; }
.email-text { margin-bottom: 4rem; opacity: 0.8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 40px; }
.footer-sub { opacity: 0.5; font-size: 0.8rem; margin-top: 10px; }

/* Footer & Contact Form Styles */
.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    text-align: left; /* Changes text to left for the split view */
    margin-bottom: 60px;
}

.footer-cta-text h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.form-group {
    margin-bottom: 15px;
}

.contact-form input, 
.contact-form select, 
.contact-form textarea {
    width: 100%;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

.contact-form input:focus, 
.contact-form select:focus, 
.contact-form textarea:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.15);
}

.contact-form select option {
    background: var(--dark);
    color: white;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

/* Update Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 40px;
    text-align: center;
}

/* Responsive Fix for Form */
@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .footer-cta-text h2 {
        font-size: 2.5rem;
    }
    
    .contact-form-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

/* ================= HAMBURGER BUTTON ================= */

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: 
        transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease;
}

/* Animate hamburger → X */
.nav-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ================= MOBILE NAV ================= */

@media (max-width: 955px) {

    .nav-toggle {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%) translateY(-10px) scale(0.96);
        width: 90%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(16px);
        border-radius: 24px;
        flex-direction: column;
        padding: 1.5rem 0;
        margin-top: 15px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);

        /* Animation state */
        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition: 
            opacity 0.35s ease,
            transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateX(-50%) translateY(0) scale(1);
    }

    /* Link entrance animation */
    .nav-links li {
        margin: 10px 0;
        text-align: center;
        opacity: 0;
        transform: translateY(8px);
        transition: all 0.3s ease;
    }

    .nav-links.active li {
        opacity: 1;
        transform: translateY(0);
    }

    /* Staggered animation (premium feel) */
    .nav-links.active li:nth-child(1) { transition-delay: 0.08s; }
    .nav-links.active li:nth-child(2) { transition-delay: 0.12s; }
    .nav-links.active li:nth-child(3) { transition-delay: 0.16s; }
    .nav-links.active li:nth-child(4) { transition-delay: 0.20s; }
    .nav-links.active li:nth-child(5) { transition-delay: 0.24s; }
    .nav-links.active li:nth-child(6) { transition-delay: 0.28s; }

    .nav-links a {
        font-size: 1rem;
        padding: 10px 0;
        display: block;
    }

    .mobile-cta {
        margin-top: 15px;
    }
}

.logo-href {
    text-decoration: none;
    color: #070b14;
}

.blue-btn{
    margin: auto;
    margin-right: 10px;
}

.white-btn{
    margin: auto;
     margin-top: 10px;
}