/* 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: 90%; max-width: 1280px; margin: 0 auto; }
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%;
    padding: 16px 0;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

/* This makes it transparent and blurred when active */
.navbar.scrolled {
    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);
    padding: 10px 0; /* Shrinks the white space slightly when scrolling */
}

.nav-container { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 90%; 
    max-width: 1280px; 
    margin: 0 auto; 
}

.logo {
    display: flex;
    align-items: center;
}

.brand-logo { 
    height: 75px; /* Your updated 75px height */
    width: auto; 
}

/* Keeps the menu links perfectly aligned with the larger logo */
.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 */
@media (max-width: 1024px) {
    .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid-4 { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
}
/* Responsive Grid */
@media (max-width: 1024px) {
    .featured-work-grid { grid-template-columns: 1fr; }
    .about-grid { grid-template-columns: 1fr; }
    .agency-stats { grid-template-columns: 1fr 1fr; }
    .nav-links { display: none; }
    .footer-grid-4 { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
    .footer-grid-4 { grid-template-columns: 1fr; }
    .footer-bottom-bar { flex-direction: column; gap: 16px; text-align: center; }
}

/* 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); }