/* =========================================================
   DIGITAL BANAANA – Global Stylesheet
   Load order: style.css → media.css
   ========================================================= */

/* ---- Londrina Solid ---- */
@font-face {
    font-family: 'Londrina Solid';
    src: url('../fonts/LondrinaSolid-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Londrina Solid';
    src: url('../fonts/LondrinaSolid-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Londrina Solid';
    src: url('../fonts/LondrinaSolid-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Londrina Solid';
    src: url('../fonts/LondrinaSolid-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* =========================================================
   LOCAL FONTS – @font-face
   Clash Grotesk & JetBrains Mono served from /assets/fonts/
   (No CDN dependency – works offline & on live server)
   ========================================================= */

/* ---- Clash Grotesk ---- */
@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/6617861973dadb03cdad2e2d_ClashGrotesk-Extralight.otf') format('opentype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/6617861986d2d5cc0a667c67_ClashGrotesk-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/66178619143cf9172a9fa28b_ClashGrotesk-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/661786192530444ebb5a3e0b_ClashGrotesk-Medium.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/66178619a66b299c83b3f689_ClashGrotesk-Semibold.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Clash Grotesk';
    src: url('../fonts/6617861a6a47b820262befb3_ClashGrotesk-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ---- JetBrains Mono (Regular / Proportional) ---- */
@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862a9b86098f848c7ff8_JetBrainsMono-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862973dadb03cdad3937_JetBrainsMono-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862949897bfcd115e5a2_JetBrainsMono-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862a2ecd499a5f2047f8_JetBrainsMono-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862a90d842324bdddc85_JetBrainsMono-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862aed8a60c1c1b4741c_JetBrainsMono-SemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/6617862a78966805862ca148_JetBrainsMono-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'JetBrains Mono';
    src: url('../fonts/661786293c7b78ebbf511c14_JetBrainsMono-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #fdbf14;
    --hover-color: #f53c21;
    --black: #000000;
    --dark-bg: #111111;
    --dark-card: #1a1a1a;
    --white: #ffffff;
    --grey-text: #555555;
    --light-grey: #f4f4f4;
    /* Clash Grotesk: all body text, headings, paragraphs, info */
    --font-main: 'Clash Grotesk', sans-serif;
    --font-heading: 'Clash Grotesk', sans-serif;
    /* JetBrains Mono: all buttons & redirect/nav links */
    --font-mono: 'JetBrains Mono', monospace;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--white);
    color: var(--black);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* =========================================================
   HERO HEADER
   ========================================================= */
.hero-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 28px 0 28px;
    background: transparent;
    pointer-events: none;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, padding 0.4s ease;
}

.hero-header.nav-hidden {
    transform: translateY(-100%);
}

.hero-header.nav-scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 5px 28px 5px 28px;
    pointer-events: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.hero-header .logo {
    pointer-events: auto;
    display: flex;
    align-items: flex-start;
}

.hero-header .logo img {
    height: 125px;
    width: auto;
    display: block;
    margin-top: -35px;
    transition: height 0.4s ease, margin 0.4s ease;
}

.hero-header.nav-scrolled .logo img {
    height: 80px;
    margin-top: -10px;
}

.hero-header .menu-toggle,
.hero-header .hamburger {
    pointer-events: auto;
    transition: height 0.4s ease, width 0.4s ease, margin 0.4s ease;
}

.hero-header.nav-scrolled .menu-toggle {
    height: 60px;
    width: 60px;
    margin-top: 0px;
}

/* Toggle Menu Icons */
.menu-toggle.open .icon-menu-open {
    display: none !important;
}

.menu-toggle.open .icon-menu-close {
    display: block !important;
    animation: rotateIn 0.3s ease-out;
}

@keyframes rotateIn {
    from {
        transform: rotate(-90deg) scale(0.5);
        opacity: 0;
    }

    to {
        transform: rotate(0) scale(1);
        opacity: 1;
    }
}

/* =========================================================
   LOGO
   FIX: Removed duplicate per-context overrides (.cta-right .cta-logo,
   .footer-logo) for .logo-digital / .logo-banana — those specificity
   overrides are now kept only in the CTA and Footer sections below.
   ========================================================= */
.logo,
.cta-logo,
.footer-logo {
    display: inline-flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-heading);
}

.logo-digital {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--white);
    letter-spacing: -0.02em;
}

.logo-banana {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* =========================================================
   MENU TOGGLE
   ========================================================= */
.menu-toggle {
    position: relative;
    width: 64px;
    height: 64px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    color: #ffffff;
    transition: color 0.3s ease;
    z-index: 100;
}

.menu-toggle svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
    transform: scale(1.6);
}

.menu-toggle.open {
    color: var(--yellow);
    background: transparent;
}

/* =========================================================
   FULL SCREEN MENU OVERLAY
   ========================================================= */
.menu-overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: auto;
    width: 50%;
    height: 100vh;
    background: #000000;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.menu-overlay-content {
    text-align: left;
    width: 100%;
    padding-left: 20%;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.2s;
}

.menu-overlay.active .menu-overlay-content {
    transform: translateY(0);
    opacity: 1;
}

.menu-nav {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: flex-start;
}

.menu-item {
    font-family: var(--font-heading);
    font-size: 64px;
    font-weight: 700;
    -webkit-text-stroke: 2px var(--yellow);
    color: var(--yellow);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    display: inline-block;
}

.menu-item::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--hover-color);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.menu-item:hover,
.menu-item:active {
    font-size: 64px;
    color: var(--hover-color);
    -webkit-text-stroke: 2px var(--hover-color);
    transform: translateX(20px);
}

.menu-item:hover::after {
    width: 100%;
}

.menu-footer {
    margin-top: 60px;
}

.menu-footer p {
    font-family: var(--font-main);
    font-size: 18px;
    color: #fff;
    margin-bottom: 12px;
}

.menu-email {
    font-family: var(--font-mono);
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-bottom: 2px solid #fff;
    padding-bottom: 4px;
}

/* =========================================================
   HERO SECTION
   ========================================================= */
.hero-section {
    position: relative;
    background: #000 url('../images/DB HOME HERO v2.jpg.jpeg') no-repeat center center / cover;
    min-height: 100vh;
    padding: 0;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
    max-width: 100vw;
    padding: 0 0 0 5vw;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 8vw, 7.5rem);
    font-weight: 900;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -0.04em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    max-width: 900px;
    margin-top: 18vh;
    margin-bottom: 0;
}

.hero-mascot {
    position: absolute;
    right: 8vw;
    top: 18vh;
    width: 270px;
    z-index: 3;
    pointer-events: none;
}

.mascot-img,
.mascot-video {
    width: 100%;
    object-fit: contain;
}

.hero-wave {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    z-index: 1;
}

.hero-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* =========================================================
   ABOUT SECTION
   ========================================================= */
.about-section {
    background: var(--black);
    height: 300vh;
    position: relative;
}

.about-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1vw;
}

.about-hero-text {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.7vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.mobile-space {
    display: none;
}

.text-yellow {
    color: var(--yellow);
}

.text-white {
    color: var(--white);
}

/* =========================================================
   WORK SECTION (Horizontal Overlapping)
   ========================================================= */
.work-section {
    position: relative;
    height: 400vh;
    /* Control scroll duration (100vh per project) */
    background: #000;
}

.work-stack-wrapper {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    padding: 80px 5vw 40px 5vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

.work-stack-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 40px;
    /* covers the bottom padding area */
    background: #000;
    /* matches section background */
    z-index: 10;
    /* covers waiting cards */
}

.work-stack-container {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: calc(100vh - 120px);
    margin: 0 auto;
}

.dzinr-panel.stack-card {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: transform;
    transition: none;
    border-radius: 16px;
    overflow: hidden;
}

.dzinr-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}



.dzinr-img-wrap {
    width: 100%;
    height: 100%;
    overflow: hidden;
    flex: 1;
}

.dzinr-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.dzinr-bottom {
    width: 100%;
    padding: 15px 20px;
}

.dzinr-meta-row {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    text-transform: uppercase;
    font-family: var(--font-mono);
    font-size: 14px;
    margin-bottom: 20px;
}

.dzinr-year {
    border: 1px solid currentColor;
    padding: 2px 16px;
    border-radius: 4px;
}

.dzinr-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
}

.dzinr-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4.5vw, 4.5rem);
    font-weight: 500;
    letter-spacing: -0.02em;
    margin: 0;
    line-height: 1;
}

.dzinr-hover-wrap {
    position: relative;
    display: inline-flex;
    height: fit-content;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 4px;
    text-transform: uppercase;
}

.dzinr-top-text,
.dzinr-center-text,
.dzinr-bottom-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: pre;
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.dzinr-top-text {
    transform: translateY(-100%);
}

.dzinr-center-text {
    transform: translateY(0);
}

.dzinr-bottom-text {
    transform: translateY(100%);
}

.dzinr-hover-wrap:hover .dzinr-top-text {
    transform: translateY(0);
}

.dzinr-hover-wrap:hover .dzinr-center-text {
    transform: translateY(100%);
}

.dzinr-placeholder {
    opacity: 0;
    white-space: pre;
}

.dzinr-arrow-btn {
    border: 1px solid currentColor;
    border-radius: 50%;
    padding: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.dzinr-arrow-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dzinr-arrow-icon svg {
    width: 18px;
    height: 18px;
    transform: rotate(-45deg);
    transition: transform 0.3s ease;
}

.dzinr-card:hover .dzinr-arrow-icon svg {
    transform: rotate(0deg);
}

/* =========================================================
   SERVICES SECTION
   FIX: Removed explicit min-height: 190px from base — it caused a
   regression at the MD breakpoint (which set 130px, lower than base).
   min-height is now set only in the responsive breakpoints.
   FIX: Removed margin-left/right: 30px from base — it was not
   overridden in XS, making mobile cards too narrow. Horizontal
   spacing is now handled by the parent .services-section padding.
   ========================================================= */
/* =========================================================
   SERVICES SECTION (Refined Interaction)
   ========================================================= */
.services-section {
    background: #000;
    padding: 100px 5vw;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.services-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 8.5rem);
    font-weight: 900;
    color: #333333;
    margin-top: 25px;
    margin-bottom: 5px;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.svc-card {
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    display: flex;
    align-items: stretch;
    min-height: 160px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: #000;
}

.svc-card:hover,
.svc-card.mouse-active {
    background: var(--yellow) !important;
    border-color: #000;
}

.svc-abbr-wrap {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #000000;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    transition: background 0.4s ease;
    overflow: hidden;
}

.svc-card:hover .svc-abbr-wrap,
.svc-card.mouse-active .svc-abbr-wrap {
    background: var(--yellow) !important;
    border-right-color: #000;
}

.svc-abbr-outline,
.ms-text {
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 800;
    color: #000;
    letter-spacing: -0.26em;
    line-height: 0.8;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.svc-abbr-outline-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(100%) contrast(1.5) brightness(0.9);
}

/* MS Text specific overrides if needed */
.ms-text {
    font-size: 16.8rem;
    font-weight: 800;
    letter-spacing: -0.25em;
    margin-left: -68px;
    margin-top: -32px;
    margin-bottom: -42px;
}

.svc-card:hover .svc-abbr-outline,
.svc-card:hover .ms-text,
.svc-card:hover .svc-abbr-outline-img {
    opacity: 0;
    transform: scale(0.8);
    visibility: hidden;
}

.svc-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.1);
    transition: all 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
}

.svc-card:hover .svc-card-img {
    opacity: 1;
    transform: scale(1);
}

.svc-content {
    flex: 1;
    padding: 25px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.svc-card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 3.2rem;
    letter-spacing: 0;
    line-height: 1.2;
    margin: 0;
    color: #fff;
    transition: font-size 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.38s ease;
}

.svc-card:hover .svc-card-title,
.svc-card.mouse-active .svc-card-title {
    font-size: 5.8rem;
    color: #000;
}

.svc-list {
    list-style: disc;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0;
    opacity: 0;
    visibility: hidden;
    max-height: 0;
    overflow: hidden;
    transition:
        opacity 0.8s ease 0.1s,
        visibility 0.8s ease 0.1s,
        max-height 0.8s ease,
        margin-top 0.8s ease;
}

.svc-card:hover .svc-list,
.svc-card.mouse-active .svc-list {
    opacity: 1;
    visibility: visible;
    max-height: 220px;
    margin-top: 12px;
}

.svc-list li {
    font-family: var(--font-main);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
    transition: color 0.8s ease;
}

.svc-card:hover .svc-list li,
.svc-card.mouse-active .svc-list li {
    color: rgba(0, 0, 0, 0.7);
}

.svc-list li::marker {
    color: #fdbf14;
    transition: color 0.8s ease;
}

.svc-card:hover .svc-list li::marker,
.svc-card.mouse-active .svc-list li::marker {
    color: rgba(0, 0, 0, 0.5);
}

/* =========================================================
   CLIENTS / PARTNERS SECTION
   ========================================================= */
.clients-section {
    background: #000;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.clients-track-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
}

.clients-track-wrapper::before,
.clients-track-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    width: 550px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.clients-track-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #000, transparent);
}

.clients-track-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #000, transparent);
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 0;
    padding-right: 0;
    width: max-content;
    animation: scroll-clients 200s linear infinite;
}

.marquee-content.reverse {
    animation-direction: reverse;
}

.client-box {
    width: 320px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 4px solid #000;
    border-bottom: 4px solid #000;
    background: #090909;
    transition: background 0.3s ease;
}

/* Remove bottom line for the second row */
.marquee-row:last-child .client-box {
    border-bottom: none;
}

.client-box:hover {
    background: #333333;
}

.client-logo {
    height: 90px;
    max-width: 85%;
    object-fit: contain;
    filter: brightness(0) invert(1);
    opacity: 1;
    transition: all 0.4s ease;
    cursor: pointer;
}

.client-box:hover .client-logo {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scroll-clients {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* =========================================================
   TAGLINE SECTION
   ========================================================= */
.tagline {
    background: #000;
    padding: 100px 5vw;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tagline-container {
    max-width: 1400px;
    width: 100%;
    display: flex;
    justify-content: flex-start;
}

.tagline-content {
    position: relative;
    display: inline-block;
}

.tagline-text {
    font-family: 'Londrina Solid', var(--font-heading);
    color: #fff;
    margin-left: 96px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
    line-height: 0.85;
    text-align: left;
}

.tagline-text span {
    display: block;
    white-space: nowrap;
    opacity: 0;
    transform: scale(0.8) translateY(40px);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tagline-content.pop-visible .tagline-text span {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.tagline-content.pop-visible .line-1 {
    transition-delay: 0.1s;
}

.tagline-content.pop-visible .line-2 {
    transition-delay: 0.3s;
}

.tagline-content.pop-visible .line-3 {
    transition-delay: 0.5s;
}

.line-1 {
    font-size: 160px;
    font-weight: 900;
}

.line-2 {
    font-size: 150px;
    font-weight: 800;
}

.line-3 {
    font-size: 123px;
    font-weight: 700;
}

.tagline-icon-link {
    position: absolute;
    right: 3vw;
    bottom: -5vh;
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tagline-content.pop-visible .tagline-icon-link {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.7s;
}

.tagline-banana-icon {
    width: clamp(100px, 10vw, 200px);
    height: auto;
    transform: rotate(-15deg);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 15px rgba(245, 216, 0, 0.3));
}

.tagline-icon-link:hover .tagline-banana-icon {
    transform: rotate(0deg) scale(1.15);
}

/* =========================================================
   CTA SECTION
   ========================================================= */
.cta-section {
    background: var(--dark-bg);
    padding: 28px 20px;
}

.cta-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cta-left {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-question {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--white);
}

.btn-cta {
    display: inline-block;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 10px 26px;
    border-radius: 2px;
    letter-spacing: 0.02em;
    transition: background 0.2s, color 0.2s;
}

.btn-cta:hover {
    background: var(--hover-color);
    color: var(--black);
}

/* CTA logo overrides — larger than the default .logo-digital/.logo-banana */
.cta-right .cta-logo .logo-digital {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
}

.cta-right .cta-logo .logo-banana {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--yellow);
    letter-spacing: 0.1em;
}

/* =========================================================
   FOOTER  — Digital Banaana style (matches reference image)
   ========================================================= */
.site-footer {
    background: #000000;
    color: #ffffff;
    padding: 0;
    border-top: 1px solid #333;
}

/* ---- TOP: CTA left + Giant logo right ---- */
.footer-main {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    padding: 44px 48px 36px;
    gap: 20px;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 18px;
}

.footer-cta-question {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-left: 90px;
}

.footer-chat-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    color: var(--black);
    font-family: var(--font-heading);
    font-size: clamp(1.4rem, 3.5vw, 2.8rem);
    font-weight: 800;
    padding: 12px 36px;
    border-radius: 12px;
    letter-spacing: -0.01em;
    width: fit-content;
    transition: background 0.22s, color 0.22s, transform 0.22s;
    margin-left: 90px;
}

.footer-chat-btn::after {
    content: "";
    position: absolute;
    right: -16px;
    bottom: 20%;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 18px solid var(--white);
    transition: border-left-color 0.22s;
}

.footer-chat-btn:hover {
    background: var(--hover-color);
    color: var(--black);
    transform: translateX(4px);
}

.footer-chat-btn:hover::after {
    border-left-color: var(--hover-color);
}

/* Giant logo on the right */
.footer-logo-big {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.footer-logo-link {
    text-decoration: none;
    display: block;
}

.footer-logo-img {
    width: clamp(280px, 40vw, 550px);
    height: auto;
    display: block;
    object-fit: contain;
    margin-right: 90px;
}

/* ---- MIDDLE STRIP: Nav links ---- */
.footer-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 16px 48px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav a {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 14px;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--hover-color);
}

/* ---- BOTTOM BAR: Socials left | Copyright right ---- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 14px 48px 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-copy-container {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.footer-socials {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: 90px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    color: rgba(255, 255, 255, 0.55);
    transition: background 0.2s, color 0.2s;
}

.social-icon:hover {
    background: var(--hover-color);
    color: var(--black);
}

.footer-copy {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.01em;
    margin: 0;
}

/* =========================================================
   SCROLL ANIMATIONS
   FIX: Changed incorrect .service-card to .svc-card so
   transition-delay rules actually fire on the correct elements.
   ========================================================= */
.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.svc-card:nth-child(1) {
    transition-delay: 0s;
}

.svc-card:nth-child(2) {
    transition-delay: 0.08s;
}

.svc-card:nth-child(3) {
    transition-delay: 0.16s;
}

.svc-card:nth-child(4) {
    transition-delay: 0.24s;
}

.svc-card:nth-child(5) {
    transition-delay: 0.32s;
}

/* =========================================================
   CONTACT PAGE
   ========================================================= */
/* =========================================================
   CONTACT PAGE (Redesign)
   ========================================================= */
.contact-page-wrapper {
    background: var(--black);
    color: var(--white);
    padding-top: 100px;
}

/* Pop Up Animation */
@keyframes popUpText {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-page-wrapper .contact-left,
.contact-page-wrapper .contact-form,
.contact-page-wrapper .worried-title,
.contact-page-wrapper .worried-subtitle,
.contact-page-wrapper .worried-text,
.contact-page-wrapper .info-grid {
    opacity: 0;
}

.contact-page-wrapper .pop-in-view {
    animation: popUpText 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.contact-page-wrapper .contact-left.pop-in-view {
    animation-delay: 0.1s;
}

.contact-page-wrapper .contact-form.pop-in-view {
    animation-delay: 0.3s;
}

.contact-page-wrapper .worried-title.pop-in-view {
    animation-delay: 0.1s;
}

.contact-page-wrapper .worried-subtitle.pop-in-view {
    animation-delay: 0.2s;
}

.contact-page-wrapper .worried-text.pop-in-view {
    animation-delay: 0.3s;
}

.contact-page-wrapper .info-grid.pop-in-view {
    animation-delay: 0.2s;
}


/* Contact Header Overrides */
.contact-page-wrapper~.hero-header,
.hero-header-contact {
    /* If we add a class */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    padding: 30px 5vw;
}

/* Removed globally overriding logo size */

.contact-menu-toggle {
    border: none;
    width: auto;
    height: auto;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.contact-menu-toggle .menu-lines {
    gap: 8px;
    display: flex;
    flex-direction: column;
}

.contact-menu-toggle .menu-line {
    width: 40px;
    height: 4px;
    background: #fff;
    display: block;
}

.contact-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    min-height: 100vh;
}

.contact-form-section {
    background: var(--black);
    padding: 20px 0 60px;
}

.contact-flex {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: flex-start;
}

.contact-left {
    flex: 0 0 45%;
}

.contact-right {
    flex: 1;
    max-width: 500px;
}

.contact-label {
    font-family: var(--font-main);
    font-size: 1.8rem;
    font-weight: 400;
    color: var(--white);
    margin-bottom: 10px;
    display: block;
}

.contact-heading {
    font-family: var(--font-heading);
    line-height: 1.1;
    margin: 0;
}

.contact-heading .text-yellow,
.contact-heading .text-white {
    font-size: 5rem;
    font-weight: 900;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.cf-field {
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.3);
    padding: 5px 0;
    transition: border-color 0.3s ease;
}

.cf-field:focus-within {
    border-color: var(--white);
}

.cf-field input,
.cf-field select {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: var(--font-main);
    font-size: 1.1rem;
    font-weight: 700;
    padding: 10px 0;
    appearance: none;
    cursor: pointer;
}

.cf-field select {
    padding-right: 30px;
    font-size: 1rem;
    /* Visually match the input placeholder size */
}

.cf-field select:invalid {
    font-weight: 200;
    opacity: 0.9;
}

/* Override browser autofill background */
.cf-field input:-webkit-autofill,
.cf-field input:-webkit-autofill:hover,
.cf-field input:-webkit-autofill:focus,
.cf-field input:-webkit-autofill:active {
    transition: background-color 5000s ease-in-out 0s;
    -webkit-text-fill-color: var(--white) !important;
}

.cf-select-wrapper {
    position: relative;
}

.cf-select-wrapper::after {
    content: '';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 8px;
    height: 8px;
    border-right: 2px solid white;
    border-bottom: 2px solid white;
    pointer-events: none;
}

.cf-field input::placeholder {
    color: var(--white);
    font-weight: 200;
    opacity: 0.9;
}

.cf-field select option {
    background: #111;
    color: #fff;
    font-family: var(--font-main);
    padding: 10px;
}

.social-input-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.add-social-btn,
.remove-social-btn {
    background: transparent;
    border: none;
    outline: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0 10px;
}

.add-social-btn {
    color: var(--white);
}

.remove-social-btn {
    color: #ff4444;
}

.cf-submit-row {
    margin-top: 30px;
}

.cf-submit-btn {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: var(--white);
    padding: 8px 24px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.cf-submit-btn:hover {
    background: var(--white);
    color: var(--black);
}

/* Worried Section */
.worried-section {
    padding: 90px 0 0 0;
    text-align: center;
}

.worried-title {
    font-family: var(--font-heading);
    margin-bottom: 10px;
    font-size: 5rem;
    font-weight: 800;
}

.worried-subtitle {
    font-family: var(--font-heading);
    color: var(--yellow);
    margin-bottom: 30px;
    font-size: 3.5rem;
    font-weight: 700;
}

.worried-text {
    font-family: var(--font-main);
    margin-bottom: 0;
    font-size: 1.5rem;
    opacity: 0.9;
}

.email-highlight {
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.email-highlight:hover {
    color: var(--hover-color);
}

.section-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    width: 100%;
    margin: -150px 0;
}

/* Info Section */
.info-section {
    padding-bottom: 80px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 40px;
    align-items: flex-end;
}

.info-item.info-city {
    text-align: left;
}

.info-item.info-city h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
}

.info-item.info-address {
    text-align: center;
}

.info-item.info-address p {
    font-family: var(--font-main);
    font-size: 1.2rem;
    line-height: 1.4;
    opacity: 0.8;
    margin: 0;
}

.info-item.info-contact {
    text-align: right;
}

.info-item.info-contact p {
    font-family: var(--font-main);
    font-size: 1.2rem;
    opacity: 0.8;
    margin: 0;
}


/* --- Responsive Services --- */
@media (max-width: 768px) {
    .services-heading {
        font-size: 2.2rem;
        margin-bottom: 35px;
    }

    .svc-card {
        flex-direction: column;
    }

    .svc-abbr-wrap {
        flex: 0 0 120px;
        border-right: none;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .svc-abbr-outline {
        font-size: 5rem;
    }
}

/* =========================================================
   ABOUT PAGE (Redesign)
   ========================================================= */
.about-page-wrapper {
    background: var(--black);
    color: var(--white);
    padding-top: 150px;
}

.about-hero {
    padding-bottom: 80px;
}

.about-title {
    font-family: var(--font-heading);
    font-size: 6rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.2);
    margin-bottom: 40px;
}

.about-hero-box {
    width: 100%;
    aspect-ratio: 16/9;
    background: #fff;
    border-radius: 4px;
    margin-bottom: -100px;
    overflow: hidden;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Story Section */
.story-section {
    padding: 80px 0;
    margin-bottom: -600px;
}

.story-flex {
    display: flex;
    justify-content: space-between;
    gap: 100px;
}

.story-left {
    flex: 0 0 40%;
}

.story-right {
    flex: 1;
}

.story-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.story-text p {
    font-family: var(--font-main);
    font-size: 1.2rem;
    line-height: 1.4;
    margin-bottom: 25px;
    opacity: 0.8;
}

/* Highlight Bar */
.highlight-bar {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin: 40px 0;
}

.highlight-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 900;
    text-align: center;
    margin: 0;
    letter-spacing: -0.02em;
}

/* Ingredients (Team) Section - Precise Grid Parity */
.ingredients-section {
    background: #000;
    padding: 80px 0;
}

.ingredients-label {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: #444;
    /* Muted gray like the image */
    margin-bottom: 50px;
    letter-spacing: -0.02em;
}

.team-grid-precise {
    display: flex;
    gap: 20px;
    align-items: stretch;
    max-width: 950px;
    margin: 0 auto;
    height: 600px;
}

.team-card {
    position: relative;
    text-align: left;
    flex: 1;
    transition: flex 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    flex: 4;
}

.team-photo-wrap {
    width: 100%;
    flex: 1;
    background: #111;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.team-photo {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    filter: grayscale(100%);
    transition: filter 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card:hover .team-photo {
    filter: grayscale(0%);
}

.team-info {
    position: relative;
    margin-top: 15px;
    z-index: 10;
}

.team-name {
    font-family: var(--font-heading);
    color: var(--yellow);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 0 8px 0;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.team-role {
    font-family: var(--font-main);
    color: #fff;
    font-weight: 500;
    margin: 0;
    font-size: 0.85rem;
    opacity: 0.8;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Mobile Polish */
@media (max-width: 992px) {
    .team-grid-precise {
        flex-wrap: wrap;
        height: auto;
    }

    .team-card {
        flex: 1 1 calc(50% - 10px);
        min-height: 400px;
    }

    .team-card:hover {
        flex: 1 1 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .team-grid-precise {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .team-card {
        flex: none;
        height: 350px;
    }

    .team-card:hover {
        flex: none;
    }
}


/* Responsive About */
@media (max-width: 768px) {
    .about-title {
        font-size: 4rem;
    }

    .story-flex {
        flex-direction: column;
        gap: 40px;
    }

    .highlight-text {
        font-size: 2.5rem;
    }

    .about-cta-text {
        font-size: 2.5rem;
    }

    .about-cta-icon img {
        width: 100px;
    }
}

.svc-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    width: 100%;
}

/* =========================================================
   SERVICE PAGES (Tech Solutions, etc.)
   ========================================================= */
.tech-solutions-page,
.brand-solutions-page,
.media-solutions-page,
.visual-solutions-page,
.ads-solutions-page {
    background: #000;
    color: #fff;
    padding-top: 100px;
}

.service-hero {
    padding: 20px 0 20px 0;
}

#dynamic-content-container .service-hero {
    padding-top: 0;
}

.service-hero-flex {
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.service-hero-left {
    flex: 0 0 45%;
}

.service-hero-right {
    flex: 1;
}

.service-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 800;
    color: #333;
    margin-bottom: 40px;
    letter-spacing: -0.04em;
    line-height: 1;
}

.service-desc p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.8;
}

.service-placeholder-box {
    width: 100%;
    aspect-ratio: 17/9;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    margin-top: 40px;
}

/* Accordion */
.accordion {
    display: flex;
    flex-direction: column;
}

.accordion-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.accordion-header {
    padding: 28px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--hover-color);
}

.accordion-item.active .accordion-header {
    color: var(--yellow);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-item.active .accordion-content {
    max-height: 1000px;
}

.accordion-content p {
    padding-bottom: 32px;
    font-size: 1.05rem;
    line-height: 1.7;
    opacity: 0.75;
}

.chevron-icon {
    width: 24px;
    height: 24px;
    position: relative;
    transition: transform 0.4s ease;
    display: inline-block;
}

.chevron-icon::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 10px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -60%) rotate(45deg);
}

.accordion-item.active .chevron-icon {
    transform: rotate(180deg);
}

/* Work Grid */
.service-work-section {
    padding: 40px 0 0 0;
    background: #000;
}

.service-work-section .contact-container,
.service-hero .contact-container {
    min-height: auto;
}

.work-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 60px 40px;
}

.work-card {
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.work-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    border-radius: 16px;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.work-card:hover .work-img {
    transform: scale(1.08);
}

.work-info {
    padding: 24px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work-name {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #fff;
}

.work-cat {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.work-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    color: #fff;
}

.work-card:hover .work-arrow {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* Footer CTA */
.footer-cta-section {
    padding: 120px 0 60px;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-cta-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer-cta-left {
    flex: 1;
}

.footer-cta-title {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 40px;
    letter-spacing: -0.02em;
}

.chat-bubble-btn {
    display: inline-flex;
    background: #fff;
    color: #000;
    padding: 20px 60px;
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    text-decoration: none;
    position: relative;
    margin-bottom: 80px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.chat-bubble-btn:hover {
    transform: scale(1.05);
    background: var(--hover-color);
}

.bubble-tail {
    position: absolute;
    bottom: -15px;
    right: 40px;
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 25px solid #fff;
    transition: border-top-color 0.3s ease;
}

.chat-bubble-btn:hover .bubble-tail {
    border-top-color: var(--hover-color);
}

.footer-socials-row {
    display: flex;
    gap: 40px;
}

.social-link {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.4);
    transition: color 0.3s;
}

.social-link:hover {
    color: var(--hover-color);
}

.footer-cta-right {
    text-align: right;
}

.giant-logo {
    display: flex;
    flex-direction: column;
    line-height: 0.8;
    margin-bottom: 60px;
}

.logo-main {
    font-family: var(--font-heading);
    font-size: 8rem;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.logo-sub {
    font-family: var(--font-heading);
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--yellow);
    background: #000;
    padding: 8px 24px;
    width: fit-content;
    margin-left: auto;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-nav-row {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
}

.footer-nav-row a {
    font-family: var(--font-mono);
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.3);
    transition: color 0.3s;
}

.footer-nav-row a:hover,
.footer-nav-row a.active {
    color: var(--hover-color);
}

@media (max-width: 992px) {

    .service-hero-flex,
    .footer-cta-flex {
        flex-direction: column;
        gap: 60px;
    }

    .service-hero-left,
    .footer-cta-right {
        text-align: left;
    }

    .giant-logo {
        text-align: left;
    }

    .logo-sub {
        margin-left: 0;
    }

    .footer-nav-row {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .work-grid {
        grid-template-columns: 1fr;
    }

    .service-title {
        font-size: 4rem;
    }

    .footer-cta-title {
        font-size: 3.5rem;
    }

    .chat-bubble-btn {
        font-size: 2.2rem;
        padding: 15px 40px;
    }

    .logo-main {
        font-size: 5rem;
    }
}

/* =========================================================
   WORK PAGE (New Premium Work Grid and Filter System)
   ========================================================= */
.work-page-wrapper {
    background: #000000;
    color: #ffffff;
    padding-top: 160px;
    /* Clear space for absolute header */
    padding-bottom: 120px;
    font-family: var(--font-main);
}

.work-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
}

/* Category Filter Bar */
.work-filters-wrapper {
    margin-bottom: 40px;
    position: relative;
}

.work-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
}

.work-filter-btn {
    background: transparent;
    border: none;
    outline: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--font-main);
    font-size: 1.25rem;
    font-weight: 500;
    cursor: pointer;
    padding: 6px 0;
    position: relative;
    transition: color 0.3s ease;
}

.work-filter-btn:hover {
    color: var(--hover-color);
}

.work-filter-btn.active {
    color: var(--yellow);
    font-weight: 600;
}

/* Grid Layout */
.work-grid-premium {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 70px 48px;
}

.work-item-card {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    opacity: 0;
    will-change: opacity, transform;
}

.work-item-card.pop-in-view {
    animation: popUpText 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Stagger for grid items so they don't pop at the exact same time */
.work-item-card:nth-child(even).pop-in-view {
    animation-delay: 0.15s;
}

/* Card Image Wrapper */
.work-card-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    background: #111111;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.work-card-img-wrap::before {
    content: 'Project Preview';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.15);
    z-index: 1;
}

.work-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.work-card-img-wrap img.loaded {
    opacity: 1;
}

.work-item-card:hover .work-card-img-wrap img {
    transform: scale(1.04);
}

/* Card Info / Text styling */
.work-card-details {
    padding: 20px 4px 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.work-card-title {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
    transition: color 0.3s ease;
    letter-spacing: -0.01em;
}

.work-card-subtitle {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
    letter-spacing: 0.02em;
}

.work-item-card:hover .work-card-title {
    color: var(--hover-color);
}

/* Decorative dot under the filters section on the left */
.work-dot-indicator {
    width: 6px;
    height: 6px;
    background-color: var(--white);
    border-radius: 50%;
    margin: 25px 0 45px 0;
    opacity: 0.85;
}

/* =========================================================
   CASE STUDY PAGE (RAJSHRI & OTHERS)
   ========================================================= */
.case-study-page {
    background-color: #000000;
    color: #ffffff;
    overflow: hidden;
}

/* Override contact-container for case studies to remove 100vh and match header/footer padding */
.case-study-page .contact-container {
    min-height: auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .case-study-page .contact-container {
        padding: 0 32px;
    }
}

@media (min-width: 1024px) {
    .case-study-page .contact-container {
        padding: 0 60px;
    }
}

/* 1. Hero section */
.cs-hero {
    position: relative;
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #111111;
    /* Fallback color */
}

/* Fallback welder texture gradient if hero image is missing */
.cs-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(30, 48, 138, 0.2) 0%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.cs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.85) 100%);
    z-index: 2;
}

.cs-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
    padding: 0 20px;
}

.cs-hero-logo-box {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.cs-hero-logo-large {
    font-family: var(--font-heading);
    font-size: 5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.03em;
    line-height: 1;
}

.cs-hero-logo-sub {
    font-family: var(--font-main);
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    margin: 8px 0 0 0;
    letter-spacing: 0.4em;
    line-height: 1.2;
    text-transform: uppercase;
    padding-left: 0.4em;
    /* offset letter-spacing */
}

/* 2. Details summary section */
.cs-details {
    padding: 100px 0 40px 0;
    background-color: #000000;
}

.cs-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 80px;
}

.cs-details-left {
    display: flex;
    flex-direction: column;
}

.cs-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px 0;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.cs-subtitle-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin: 0 0 35px 0;
}

.cs-summary-text p {
    font-family: var(--font-main);
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 25px 0;
}

.cs-summary-text p:last-child {
    margin-bottom: 0;
}

.cs-details-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding-top: 15px;
}

.cs-meta-item {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cs-meta-label {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.cs-meta-value {
    font-family: var(--font-main);
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
}

/* 3. Double Logo Grid */
.cs-logo-grid {
    padding: 10px 0;
}

.cs-logo-grid-flex {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cs-logo-card {
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cs-logo-card-blue {
    background-color: #1a2a6c;
    /* Rich navy/blue */
}

.cs-logo-card-white {
    background-color: #f5f5f5;
    /* Off-white */
}

.cs-logo-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cs-logo-text {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.cs-logo-card-blue .cs-logo-text {
    color: #ffffff;
}

.cs-logo-card-white .cs-logo-text {
    color: #000000;
}

.cs-logo-sub-text {
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    margin-top: 6px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    padding-left: 0.35em;
}

.cs-logo-card-blue .cs-logo-sub-text {
    color: rgba(255, 255, 255, 0.6);
}

.cs-logo-card-white .cs-logo-sub-text {
    color: rgba(0, 0, 0, 0.6);
}

/* 4. Business Cards Showcase Section */
.cs-full-image-section {
    padding: 10px 0;
}

.cs-full-card-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #000000 0%, #000000 100%);
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.cs-full-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* Fallback card content overlay if image load fails */
.cs-image-fallback-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    background: radial-gradient(circle at center, #000000 0%, #0c0c0c 100%);
    padding: 20px;
    text-align: center;
}

.cs-fallback-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cs-fallback-logo {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cs-fallback-logo.small {
    font-size: 2.2rem;
}

.cs-fallback-logo.yellow {
    color: var(--yellow);
}

.cs-fallback-info {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* 5. Double Mockups Columns */
.cs-two-col-grid-section {
    padding: 30px 0;
}

.cs-two-col-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.cs-col-card {
    border-radius: 8px;
    overflow: hidden;
}

.cs-col-img-wrap {
    width: 100%;
    aspect-ratio: 1/1;
    background: linear-gradient(135deg, #181818 0%, #0d0d0d 100%);
    position: relative;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.cs-col-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 2;
}

/* 6. Laptop Mockup Section */
.cs-laptop-showcase-section {
    padding: 10px 0 60px 0;
}

.cs-laptop-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #000000;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.cs-laptop-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    position: relative;
    z-index: 2;
}

/* Custom simulated web display if screenshot template is missing */
.cs-laptop-fallback {
    z-index: 1;
    background: linear-gradient(135deg, #111111 0%, #050505 100%) !important;
    padding: 4% !important;
    display: block !important;
}

.cs-laptop-screen-content {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    border: 2px solid #2a2a2a;
    background-color: #0d0d0d;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
}

.cs-screen-top-bar {
    height: 28px;
    background-color: #161616;
    display: flex;
    align-items: center;
    padding: 0 12px;
    position: relative;
    border-bottom: 1px solid #222222;
}

.cs-screen-dots {
    display: flex;
    gap: 5px;
}

.cs-screen-dots::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ff5f56;
    display: inline-block;
}

.cs-screen-dots::after {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #ffbd2e;
    display: inline-block;
}

.cs-screen-address {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #0c0c0c;
    padding: 3px 20px;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
}

.cs-screen-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 3% 5%;
    justify-content: space-between;
    background: radial-gradient(circle at top right, rgba(30, 48, 138, 0.15) 0%, transparent 60%);
}

.cs-screen-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cs-screen-logo {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.cs-screen-links {
    display: flex;
    gap: 20px;
}

.cs-screen-links span {
    font-family: var(--font-main);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.cs-screen-hero {
    margin-top: auto;
    margin-bottom: auto;
    text-align: left;
}

.cs-screen-hero h1 {
    font-family: var(--font-heading);
    font-size: 2.6rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin: 0 0 15px 0;
    letter-spacing: -0.02em;
}

.cs-screen-btn {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    color: #ffffff;
    font-family: var(--font-main);
    font-size: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    text-transform: lowercase;
    transition: all 0.3s ease;
}

.cs-screen-btn:hover {
    background-color: #ffffff;
    color: #000000;
}

/* 7. Related Projects Section */
.cs-related-projects-section {
    padding: 85px 0;
    border-top: 1px solid #1a1a1a;
    background-color: #030303;
}

.cs-related-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.cs-related-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0;
    letter-spacing: -0.02em;
}

.cs-carousel-arrows {
    display: flex;
    gap: 15px;
}

.cs-arrow-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #111111;
    border: 1px solid #222222;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cs-arrow-btn:hover {
    background-color: var(--white);
    color: #000000;
    border-color: var(--white);
}

.cs-related-grid {
    display: flex;
    gap: 30px;
    width: max-content;
}

.cs-marquee-wrapper {
    overflow: hidden;
    width: 100%;
}

.cs-marquee-track {
    display: flex;
    gap: 30px;
    width: max-content;
    animation: scroll-related-projects 12s linear infinite;
}

.cs-marquee-track:hover {
    animation-play-state: paused;
}

@keyframes scroll-related-projects {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 15px)); }
}

.cs-marquee-track .work-item-card {
    flex: 0 0 380px;
    margin: 0;
    opacity: 1;
}

.cs-related-grid .work-item-card .work-card-img-wrap {
    aspect-ratio: 16/11;
}

.cs-related-grid .work-item-card .work-card-title {
    font-size: 1.6rem;
}

/* =========================================================
   HIGHLIGHT BAR SCROLL ANIMATION
   ========================================================= */
.highlight-bar-scroll {
    height: 400vh;
    position: relative;
}

.sticky-highlight-bar {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.scroll-contact-container {
    min-height: auto !important;
    /* Overrides default min-height: 100vh */
    width: 100%;
}

.scroll-text-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: clamp(3rem, 5vw, 5rem);
    line-height: 1.1;
}

.scroll-line {
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: scale(0.95);
    transform-origin: center;
    display: inline-block;
    width: 100%;
}

.scroll-line.past {
    opacity: 0.2;
    transform: scale(0.95);
}

.scroll-line.active {
    opacity: 1;
    transform: scale(1.08);
}

/* =========================================================
   POP UP ANIMATION (Intersection Observer)
   ========================================================= */
.pop-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.pop-up.visible {
    opacity: 1;
    transform: scale(1);
}

/* =========================================================
   HOME PAGE RESPONSIVE MEDIA QUERIES
   ========================================================= */
@media (max-width: 1023px) {

    /* Tablet */
    .hero-title {
        font-size: clamp(3rem, 6vw, 5rem);
    }

    .about-hero-text {
        font-size: clamp(1.8rem, 3.5vw, 3rem);
    }

    .line-1 {
        font-size: 100px;
    }

    .line-2 {
        font-size: 90px;
    }

    .line-3 {
        font-size: 75px;
    }

    .tagline-icon-link {
        right: 2vw;
        bottom: -2vh;
    }

    .tagline-banana-icon {
        width: 80px;
    }
}

@media (max-width: 767px) {

    /* Large Phones */
    .hero-title {
        font-size: 3rem;
        margin-top: 12vh;
    }

    .hero-subtitle p {
        font-size: 1.1rem;
    }

    .hero-mascot {
        width: 180px;
        top: 15vh;
        right: 4vw;
        opacity: 0.8;
    }

    .about-hero-text {
        font-size: 1.6rem;
    }

    .work-stack-wrapper {
        padding: 40px 5vw 20px 5vw;
    }

    .dzinr-title {
        font-size: 2.2rem;
    }

    .dzinr-meta-row {
        font-size: 12px;
    }

    .line-1 {
        font-size: 60px;
    }

    .line-2 {
        font-size: 55px;
    }

    .line-3 {
        font-size: 45px;
    }

    .tagline-text {
        margin-left: 20px;
    }

    .tagline-banana-icon {
        width: 60px;
    }

    .tagline-icon-link {
        right: 1vw;
        bottom: 0;
    }

    .tagline-container {
        overflow: hidden;
    }
}

@media (max-width: 599px) {

    /* Small Phones */
    .hero-content {
        padding: 0 5vw;
        text-align: left;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-top: 10vh;
    }

    .hero-subtitle {
        margin-top: 20px !important;
    }

    .hero-subtitle p {
        font-size: 1rem;
    }

    .hero-mascot {
        width: 120px;
        top: auto;
        bottom: 15vh;
        right: 5vw;
        opacity: 0.5;
    }

    .about-hero-text {
        font-size: 1.35rem;
    }

    .work-stack-wrapper {
        padding: 20px 5vw;
    }

    .dzinr-title {
        font-size: 1.6rem;
    }

    .dzinr-meta-row {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .dzinr-bottom {
        padding: 10px 15px;
    }

    .dzinr-arrow-icon {
        width: 24px;
        height: 24px;
    }

    .dzinr-arrow-icon svg {
        width: 14px;
        height: 14px;
    }

    .line-1 {
        font-size: 40px;
    }

    .line-2 {
        font-size: 36px;
    }

    .line-3 {
        font-size: 30px;
    }

    .tagline-text {
        margin-left: 10px;
    }

    .tagline-banana-icon {
        width: 40px;
    }
}