/* style.css */
/* =========================================
   IMPORTS & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&display=swap');
/* Mona Sans Import */
@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:ital,wght@0,200..900;1,200..900&family=Roboto:ital,wdth@0,89.2;1,89.2&display=swap');
/* Poppins for Engagements */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');

:root {
    --color-primary: #D32F2F; /* Premium Red */
    --color-primary-dark: #b71c1c;
    --color-black: #050505;
    --color-dark-grey: #121212;
    --color-grey: #666666;
    --color-light-grey: #f4f4f4;
    --color-white: #ffffff;
    
    /* Strict Font Enforcement */
    --font-main: 'Manrope', sans-serif;
    --font-hero: 'Mona Sans', sans-serif;
    --font-accent: 'Poppins', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1.5rem;
    --spacing-md: 3rem;
    --spacing-lg: 6rem;
    --spacing-xl: 12rem;

    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================================
   RESET & GLOBAL STYLES
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--color-dark-grey);
    background-color: var(--color-white);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================
   TYPOGRAPHY
   ========================================= */
h1, h2, h3, h4, h5 {
    font-family: var(--font-main);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-black);
    text-transform: None;
    letter-spacing: -0.02em;
}

h1 { 
    font-family: var(--font-hero);
    font-size: clamp(3rem, 5.5vw, 5rem); 
    font-weight: 700;
    text-transform: none;
}
h2 { font-size: clamp(2.5rem, 5vw, 4rem); }
h3 { font-size: 1.75rem; letter-spacing: -0.01em; }
h4 { font-size: 1.25rem; font-weight: 700; letter-spacing: 0.05em; }

p {
    font-family: var(--font-main);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--color-grey);
    font-weight: 400;
    line-height: 1.8;
}

.lead {
    font-size: 1.35rem;
    font-weight: 300;
    color: var(--color-dark-grey);
    max-width: 900px;
}

.text-gradient {
    background: linear-gradient(90deg, #ffffff 0%, var(--color-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.text-white { color: var(--color-white) !important; }
.text-red { color: var(--color-primary) !important; }

/* =========================================
   UI ELEMENTS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 3.5rem;
    border-radius: 0;
    font-weight: 700;
    font-size: 1rem;
    text-transform: none; 
    cursor: pointer;
    border: 1px solid transparent;
    transition: var(--transition);
    gap: 1rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.btn-outline-white {
    background-color: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.btn-outline-white:hover {
    background-color: var(--color-white);
    color: var(--color-black);
}

.btn-white {
    background-color: var(--color-white);
    color: var(--color-black);
    font-weight: 800;
}

.btn-white:hover {
    background-color: #f0f0f0;
}

/* =========================================
   HEADER & NAVIGATION
   ========================================= */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    background: transparent;
    transition: var(--transition);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background-color: var(--color-black);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-main);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
    letter-spacing: 0.5px;
    z-index: 1002;
    text-transform: uppercase;
}

.logo span {
    color: var(--color-primary);
    font-size: 2rem;
    line-height: 0;
    margin-left: 2px;
}

.desktop-nav {
    display: none;
}

@media (min-width: 900px) {
    .desktop-nav {
        display: flex;
        align-items: center;
        gap: 3rem;
    }
    .desktop-nav a {
        color: var(--color-white);
        font-weight: 600;
        font-size: 0.9rem;
        text-transform: uppercase;
    }
    .desktop-nav a:hover, .desktop-nav a.active {
        color: var(--color-primary);
    }
    .hamburger { display: none !important; }
}

/* MOBILE NAV */
.hamburger {
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-white);
    transition: var(--transition);
}

.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--color-black);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.nav-links-mobile {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.nav-links-mobile a {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    margin: 1.5rem 0;
}

/* =========================================
   LAYOUT UTILS
   ========================================= */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.section {
    padding: var(--spacing-lg) 0;
    position: relative;
}

.bg-dark { background-color: var(--color-black); color: var(--color-white); }
.bg-light { background-color: var(--color-light-grey); }

.divider {
    width: 60px;
    height: 4px;
    background-color: var(--color-primary);
    margin: 2rem 0;
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    width: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    text-align: left;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: 60px;
}

.hero-subtitle {
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    max-width: 600px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .hero-ctas {
        flex-direction: column;
    }
    .hero-ctas .btn {
        width: 100%;
        padding: 1.25rem 2rem;
        font-size: 0.9rem;
    }
}

/* =========================================
   OUR CLIENTS SECTION (REFINED)
   ========================================= */
.clients-parallax-wrapper {
    position: relative;
    background-color: var(--color-light-grey); /* Light Mode */
    overflow: hidden;
    padding: var(--spacing-lg) 0;
}

/* Custom Parallax Background for this section only */
.clients-parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%; /* Taller for movement */
    background: radial-gradient(circle at 10% 20%, rgba(211, 47, 47, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(211, 47, 47, 0.03) 0%, transparent 40%);
    z-index: 0;
    pointer-events: none;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; /* Spacing between grid boxes */
    position: relative; z-index: 1;
}

@media (min-width: 1024px) {
    .types-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.type-card {
    position: relative;
    height: 350px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    /* White Outline Grid Box Styling */
    border: 1px solid var(--color-white);
    background: var(--color-white);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.type-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
    z-index: 0;
    opacity: 0.9;
}

.type-card:hover img {
    transform: scale(1.05);
    opacity: 1;
}

.type-card .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    z-index: 1;
}

.type-card h3 {
    position: relative;
    z-index: 2;
    color: var(--color-white);
    font-size: 1.25rem;
    margin-bottom: 0;
    font-weight: 700;
}

.text-section {
    padding-bottom: 4rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.text-section h2 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
    color: var(--color-black);
}

/* =========================================
   WHY DOMINATE (RESTORED PARALLAX)
   ========================================= */
.why-dominate-parallax {
    position: relative;
    height: 100vh;
    min-height: 800px;
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3Dhttps://images.unsplash.com/photo-1486406146926-c627a92ad1ab?q=80&w=1170&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-dominate-parallax .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.framed-container {
    position: relative;
    z-index: 2;
    border: 1px solid var(--color-white);
    padding: 4rem;
    max-width: 800px;
    width: 90%;
    background: transparent;
    text-align: center;
}

.framed-container h2, 
.framed-container p, 
.framed-container span {
    color: var(--color-white);
}

.framed-container .divider {
    margin: 2rem auto;
}

/* Ensure mobile compatibility for fixed background */
@media (max-width: 1024px) {
    .why-dominate-parallax {
        background-attachment: scroll;
        height: auto;
        padding: var(--spacing-lg) 0;
    }
}

/* =========================================
   SELECTED ENGAGEMENTS (UPDATED BEHAVIOR)
   ========================================= */
.engagements-section {
    background-color: var(--color-black);
    padding: var(--spacing-lg) 0 0 0;
    overflow: hidden;
}

.scroll-container {
    width: 100%;
    overflow: hidden;
    padding-bottom: 4rem;
}

.scroll-track {
    display: flex;
    animation: infiniteScroll 25s linear infinite; /* Desktop Speed */
    width: max-content;
}

/* No Pause on Hover */
.scroll-track:hover {
    animation-play-state: running;
}

.engagement-card {
    width: 100vw;
    height: 600px;
    position: relative;
    flex-shrink: 0;
    border-right: 1px solid rgba(255,255,255,0.05);
    overflow: hidden;
}

@media (min-width: 900px) {
    .engagement-card {
        width: 50vw;
    }
}

/* Mobile Clean Slides: Snap behavior + Auto-scroll support */
@media (max-width: 899px) {
    .scroll-container {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
    
    .scroll-track {
        /* Animation enabled via JS for mobile loop */
    }
    
    .engagement-card {
        scroll-snap-align: start;
        scroll-snap-stop: always;
    }
}

.engagement-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6); /* Slightly darker for better text contrast */
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.engagement-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    z-index: 1;
}

.engagement-card:hover img {
    transform: scale(1.05);
}

.engagement-info {
    position: absolute;
    bottom: 4rem;
    left: 4rem;
    right: 4rem;
    z-index: 2;
    color: var(--color-white) !important;
}

.engagement-info h3 {
    font-family: var(--font-accent); /* Poppins */
    color: var(--color-white) !important;
    font-weight: 800;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: none;
    letter-spacing: -0.03em;
}

.engagement-info p {
    font-family: var(--font-accent); /* Poppins */
    color: var(--color-white) !important;
    font-weight: 400;
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes infiniteScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}

/* =========================================
   ABOUT PAGE - PROCESS CARDS
   ========================================= */
.process-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 4rem;
}

@media (min-width: 768px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1200px) {
    .process-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-card {
    background: var(--color-white);
    padding: 3rem;
    border: 1px solid #eee;
    transition: var(--transition);
}

.process-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    border-color: transparent;
    transform: translateY(-5px);
}

.process-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-light-grey);
    margin-bottom: 1rem;
    line-height: 1;
}

.process-card h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* =========================================
   ABOUT PAGE - LEADERSHIP
   ========================================= */
.leadership-wrapper {
    background-color: var(--color-light-grey);
    padding: 6rem 0;
}

.leadership-box {
    background-color: var(--color-white);
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
}

@media (min-width: 900px) {
    .leadership-box {
        flex-direction: row;
        min-height: 500px;
    }
}

.leader {
    flex: 1;
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vertical-divider {
    width: 100%;
    height: 1px;
    background-color: #eee;
}

@media (min-width: 900px) {
    .vertical-divider {
        width: 1px;
        height: auto;
    }
}

.leader h3 { font-size: 2.5rem; margin-bottom: 0.5rem; }
.leader h4 { color: var(--color-primary); font-size: 1rem; letter-spacing: 2px; margin-bottom: 2rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer-cta-wrapper {
    background-color: var(--color-black);
    position: relative;
    padding-top: 5rem;
}

.footer-cta {
    background-color: #D32F2F;
    border-radius: 0;
    padding: 4rem 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    top: -4rem;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.footer-cta h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.footer-cta p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.main-footer {
    background-color: var(--color-black);
    color: white;
    padding-bottom: 3rem;
    margin-top: -2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 2fr;
    gap: 3rem;
    margin-top: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 4rem;
}

@media (max-width: 900px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-cta { flex-direction: column; text-align: center; gap: 2rem; margin: 0 1rem; top: -3rem; }
}

.footer-col h5 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.footer-col ul li { margin-bottom: 1rem; }
.footer-col ul li a { color: #999; font-size: 0.95rem; }
.footer-col ul li a:hover { color: white; }

.footer-big-text {
    font-size: 3rem;
    line-height: 1;
    font-weight: 300;
    text-align: right;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 2rem;
    font-size: 0.85rem;
    color: #666;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
}

/* =========================================
   FAQ
   ========================================= */
.accordion { margin-top: 3rem; }
.accordion-item { border-bottom: 1px solid #eee; }
.accordion-header {
    width: 100%;
    padding: 1.5rem 0;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-black);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-main);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}
.accordion-content p {
    padding-bottom: 1.5rem;
    font-size: 1rem;
    color: var(--color-grey);
}