/* Core Variables & Reset */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f4f3ef;
    --text-main: #0a0a0a;
    --text-muted: #666666;
    --border-color: #e5e3dc;
    --font-stack: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    --radius-lg: 16px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container { 
    width: 100%; 
    max-width: 1280px; 
    margin: 0 auto; 
    padding: 0 20px; 
    box-sizing: border-box; 
}
a { text-decoration: none; color: inherit; }

/* Typography */
h2 { font-size: clamp(2.5rem, 4vw, 3.5rem); letter-spacing: -0.03em; line-height: 1.1; font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; letter-spacing: -0.01em; }
p { font-size: 1.125rem; color: var(--text-muted); font-weight: 400; }

/* Standard Buttons (Navbar) */
/* Styling for the Growing Button with Circular Arrow Icon */
.btn-growing {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 8px 28px 8px 8px; /* Compact padding with extra space on the left for the circle */
    background: linear-gradient(90deg, #4f46e5, #ec4899, #f97316); /* Your gradient color */
    color: #ffffff;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-stack);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-growing:hover {
    transform: scale(1.03);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}

.btn-growing-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background-color: #ffffff; /* White circle background */
    color: #0a0a0a;            /* Dark arrow */
    border-radius: 50%;
    font-size: 1.2rem;
    transition: transform 0.2s ease;
}
.btn-primary, .btn-growing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(90deg, #4f46e5, #ec4899, #f97316) !important;
    color: #ffffff !important;
    border-radius: 100px !important; /* Makes it a pill shape with curved edges */
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.btn-primary:hover, .btn-growing:hover {
    opacity: 0.9;
    transform: scale(1.02);
}
/* Navbar Styling & Scroll Transparency */
/* ============================================== */
/* GLOBAL NAVBAR STYLES (APPLIES TO ALL PAGES)    */
/* ============================================== */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    height: 90px;
    padding: 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    height: 68px;
    background-color: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1280px;
    height: 100%;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 100px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-links a {
    color: var(--text-main);
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #8B5CF6;
}

.nav-links a.active-link {
    color: #8B5CF6;
    font-weight: 700;
}
/* --- HERO SECTION --- */
.hero { 
    padding: 120px 0 100px 0; 
    overflow: hidden; 
    position: relative; 
    background-color: var(--bg-secondary); 
}
.hero-center-layout { 
    display: flex; flex-direction: column; align-items: center; text-align: center; margin: 0 auto; width: 100%;
}
.hero-pill-badge { 
    display: inline-block; padding: 8px 24px; background: transparent; color: #111; 
    border: 1px solid #d1d1d1; border-radius: 100px; font-size: 0.9rem; font-weight: 500; margin-bottom: 40px; 
}
.massive-headline { 
    font-size: clamp(3.5rem, 9vw, 7.5rem); letter-spacing: -0.04em; line-height: 1.05; margin-bottom: 2rem; font-weight: 800; color: #111; text-transform: uppercase;
}
.highlight-pill { 
    display: inline-block; background-color: #8B5CF6; color: #ffffff; padding: 0 40px; border-radius: 200px; font-weight: 800; line-height: 1.1; margin-top: 10px;
}
.hero-description { font-size: 1.25rem; color: #444; max-width: 650px; margin: 0 auto; line-height: 1.6; }
.hero-actions { display: flex; margin: 40px auto; justify-content: center; }

.btn-action {
    display: inline-flex; align-items: center; background-color: #111111; color: #ffffff; padding: 8px 32px 8px 8px; border-radius: 100px; font-size: 1.125rem; font-weight: 600; transition: transform 0.2s ease;
}
.btn-action:hover { transform: scale(1.03); background-color: #000000; color: #ffffff; }
.btn-icon {
    display: flex; align-items: center; justify-content: center; background: #ffffff; color: #111111; width: 40px; height: 40px; border-radius: 50%; margin-right: 16px; font-weight: bold; font-size: 1.2rem;
}

/* ============================================== */
/* "WE ARE INFLUZIA" FEATURED WORK VIDEO SECTION  */
/* ============================================== */
.featured-work-section {
    padding: 120px 0;
    background-color:rgb(255, 255, 255);
    border-top: 1px solid var(--border-color);
}

.featured-work-grid {
    display: grid;
    grid-template-columns: 1fr 1.6fr;
    gap: 60px;
    align-items: center;
}

.section-title {
    font-size: clamp(3rem, 5vw, 4.5rem);
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: #000000;
}

.video-container-box {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, #3b2c8a 0%, #7c2d9e 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.featured-eyebrow {
    position: absolute;
    top: 24px;
    left: 24px;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    font-weight: 600;
    z-index: 3;
}

.agency-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-upload-overlay {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 4;
}

.upload-btn-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.2s ease;
}

.upload-btn-pill:hover {
    background: rgba(0, 0, 0, 0.8);
}

.video-sound-btn {
    position: absolute;
    bottom: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: background 0.2s ease;
}

.video-sound-btn:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* About Section */
.about-section { padding: 120px 0; border-top: 1px solid var(--border-color); background-color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; margin-bottom: 80px; }
.about-copy p { margin-bottom: 24px; font-size: 1.125rem; }
.agency-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-box { background: var(--bg-secondary); padding: 40px 24px; border-radius: var(--radius-lg); }
.stat-box h4 { font-size: 3rem; margin-bottom: 8px; letter-spacing: -0.03em; font-weight: 500; color: var(--text-main); }
.stat-box p { font-size: 0.875rem; text-transform: uppercase; font-weight: 600; color: var(--text-muted); letter-spacing: 0.05em;}

/* ============================================== */
/* 1. CTA SECTION (BLACK BACKGROUND)              */
/* ============================================== */
.dark-footer-wrapper {
    background-color: transparent;
    font-family: var(--font-stack);
    position: relative;
    overflow: hidden;
}

.cta-section {
    position: relative; 
    text-align: center; 
    padding: 130px 20px 150px; 
    background-color: #080911; /* Black background for CTA */
    color: #ffffff;            /* White text */
    z-index: 1;
}

.cta-background-wave {
    position: absolute; bottom: -5px; left: 50%; transform: translateX(-50%); width: 100%; min-width: 1440px; height: 300px; z-index: -1;
}
.cta-background-wave svg { width: 100%; height: 100%; display: block; }

.cta-container { position: relative; z-index: 2; }
.cta-eyebrow {
    font-size: 0.7rem; letter-spacing: 0.2em; color: #8892b0; margin-bottom: 24px; display: flex; justify-content: center; align-items: center; text-transform: uppercase; font-weight: 600;
}
.gradient-dash { width: 14px; height: 2px; background: linear-gradient(90deg, #3b82f6, #ec4899); margin-right: 10px; }
.cta-headline {
    font-size: clamp(2.5rem, 6.5vw, 6rem); font-weight: 800; line-height: 1.1; margin-bottom: 35px; color: #f8f9fa; text-transform: uppercase; letter-spacing: -0.02em;
}
.gradient-text {
    background: linear-gradient(90deg, #3b82f6, #d946ef, #f97316); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.cta-button-wrapper { margin-top: 10px; }

.btn-gradient-cta {
    background: linear-gradient(90deg, #4f46e5, #ec4899, #f97316); color: #ffffff; padding: 16px 38px; border-radius: 50px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; display: inline-block; transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.btn-gradient-cta:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3); color: #ffffff; }


/* ============================================== */
/* 2. FOOTER SECTION (WHITE BACKGROUND)           */
/* ============================================== */
.site-footer { 
    background-color: #ffffff; /* White background for footer */
    color: #0a0a0a;            /* Dark text */
    padding: 60px 0 0 0; 
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.footer-grid-4 { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 60px; }
.footer-logo { 
    height: 80px; 
    width: auto;  
    margin-bottom: 3px; /* Reduced from 20px to bring the text closer to the logo */
}
.footer-col p, .footer-col a { 
    color: #666666; /* Muted dark gray text */
    font-size: 0.9rem; 
    line-height: 1.6; 
    margin-bottom: 12px; 
    text-decoration: none; 
    display: block; 
    transition: color 0.2s ease; 
}

.footer-col a:hover { color: #8B5CF6; }
.brand-col p { max-width: 300px; }

.footer-col h4 { 
    color: #0a0a0a; /* Dark headings */
    font-size: 0.75rem; 
    letter-spacing: 0.1em; 
    margin-bottom: 24px; 
    text-transform: uppercase; 
    font-weight: 700; 
}

/* --- FOOTER BOTTOM BAR --- */
.footer-bottom-bar {
    border-top: 1px solid rgba(0, 0, 0, 0.05); 
    padding: 24px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.footer-bottom-bar p, .footer-links, .footer-links a {
    color: #666666; 
    font-family: 'Courier New', Courier, monospace; 
    font-size: 0.75rem; 
    text-decoration: none; 
    margin: 0; 
    letter-spacing: 0.05em;
}

.footer-links a:hover { color: #8B5CF6; }

/* Responsive Overrides */
/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .wwa-grid { grid-template-columns: 1fr; gap: 40px; }
    .wwa-decorative-col { display: none; }
    .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* 1. Reduce Massive Paddings */
    .about-hero {
        padding: 80px 20px 60px 20px; /* Added 20px side padding so text doesn't touch the edge */
    }
    .what-we-are-section {
        padding: 60px 20px;
    }
    .pillars-section {
        padding: 60px 20px 80px 20px;
    }

    /* 2. Scale Down Typography & Adjust Pills */
    .about-hero .massive-headline, 
    .wwa-headline {
        font-size: clamp(2.2rem, 8vw, 3rem); /* Smaller minimum size for mobile */
        line-height: 1.2;
    }
    
    .highlight-pill {
        padding: 0 20px; /* Reduce horizontal padding */
        font-size: clamp(1.8rem, 6vw, 2.5rem); 
        display: inline-block;
        margin-top: 15px;
        border-radius: 100px;
    }

    /* 3. Stack the Pillars Grid */
    .pillars-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    
    .pillar-card {
        padding: 30px 24px; /* Slightly tighter padding for mobile cards */
    }

    /* 4. Fix Footer and Closing Spacing */
    .wwa-closing {
        margin-top: 40px; 
        padding-top: 30px; 
    }
}

/* Premium Scroll Animations */
.fade-up-element {
    opacity: 0; transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-up-element.is-visible { opacity: 1; transform: translateY(0); }

/* ============================================== */
/* MOBILE NAVIGATION (HAMBURGER MENU)             */
/* ============================================== */

/* Base setup for the new elements */
.mobile-menu-btn {
    display: none; /* Hidden on laptops */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 100; /* Keeps it above the dropdown */
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-main, #0a0a0a);
    margin: 5px 0;
    border-radius: 3px;
    transition: 0.3s ease;
}

.mobile-only-btn {
    display: none !important;
}

/* --- MOBILE TRIGGER --- */
@media (max-width: 900px) {
    /* 1. Show the hamburger menu icon */
    .mobile-menu-btn {
        display: block;
    }

    /* 2. Hide the desktop button */
    .desktop-only-btn {
        display: none !important;
    }
    
    /* 3. Show the button inside the mobile menu */
    .mobile-only-btn {
        display: inline-block !important;
    }

    /* 4. Style the dropdown container */
    .navbar {
        position: relative; /* Ensures dropdown anchors correctly */
    }
    
    .nav-links {
        position: absolute;
        top: 100%; 
        left: 0;
        width: 100%;
        background-color: var(--bg-primary, #ffffff);
        flex-direction: column;
        align-items: center;
        padding: 30px 0;
        box-shadow: 0 15px 30px rgba(0,0,0,0.1);
        
        /* Hide it by default on mobile */
        display: none; 
    }

    /* 5. The class we will trigger with JavaScript to show the menu */
    .nav-links.show-menu {
        display: flex;
    }

    /* Spacing out the links so they are easy to tap */
    .nav-links a {
        margin: 15px 0;
        font-size: 1.1rem;
        font-weight: 600;
    }
}

/* ============================================== */
/* ABOUT SECTION ("Influence isn't...") FIX       */
/* ============================================== */

.about-section {
    padding: 120px 0;
    background-color: var(--bg-primary, #ffffff);
}

/* LAPTOP VIEW: Two equal columns */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two side-by-side columns */
    gap: 80px; /* Wide gap between heading and text */
    align-items: start;
}

.about-headline h2 {
    font-size: clamp(2.5rem, 5vw, 4rem); /* Scales beautifully */
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0a0a0a;
    margin: 0;
}

.about-copy p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #666666;
    margin-bottom: 24px;
}

/* --- MOBILE VIEW: Stack into one column --- */
@media (max-width: 900px) {
    .about-section {
        padding: 80px 0; /* Slightly less padding on mobile */
    }
    
    .about-grid {
        grid-template-columns: 1fr; /* Stacks text under the heading! */
        gap: 30px; /* Tighter gap between stacked items */
    }
    
    .about-headline h2 {
        font-size: clamp(2.2rem, 8vw, 3rem); /* Slightly smaller heading for mobile */
    }
}

/* ============================================== */
/* AGENCY STATS RESPONSIVE GRID FIX               */
/* ============================================== */

/* LAPTOP VIEW: 4 columns across */
.agency-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px;
    width: 100%;
}

/* TABLET VIEW: 2x2 Grid */
@media (max-width: 900px) {
    .agency-stats {
        grid-template-columns: repeat(2, 1fr); 
        gap: 24px;
    }
}

/* MOBILE VIEW: Stacked 1 column */
@media (max-width: 600px) {
    .agency-stats {
        grid-template-columns: 1fr; 
        gap: 20px;
    }
}

/* ============================================== */
/* FOOTER RESPONSIVE GRID FIX                     */
/* ============================================== */

/* LAPTOP VIEW: 4 columns across */
.footer-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

/* TABLET VIEW: 2 columns */
@media (max-width: 900px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* MOBILE VIEW: 2 columns side-by-side */
@media (max-width: 600px) {
    .footer-grid-4 {
        grid-template-columns: repeat(2, 1fr); /* This puts them side-by-side! */
        gap: 30px; 
    }
    
    /* Let the logo and description take the full top row so it isn't squeezed */
    .brand-col {
        grid-column: span 2;
        margin-bottom: 10px;
    }

    /* Fix the bottom copyright bar so it doesn't overlap */
    .footer-bottom-bar {
        display: flex;
        flex-direction: column; 
        align-items: center; 
        text-align: center;
        gap: 15px; 
        padding-top: 20px;
    }
}
