/* ========================================
   DESIGN TOKENS — WHITE / LIGHT THEME
   ======================================== */
:root {
    /* Colors — Pure White / Premium theme */
    --bg-primary: #ffffff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #fafaf9;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --bg-accent: #00e5ff;

    --text-primary: #0a0a0a;
    --text-secondary: #555555;
    --text-tertiary: #999999;
    --text-accent: #00e5ff;
    --text-white: #ffffff;

    --border-color: #e0e0dc;
    --border-light: #d0d0cc;

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-serif: 'Playfair Display', 'Georgia', serif;

    /* Spacing */
    --container-max: 1320px;
    --container-padding: 24px;
    --section-padding: 120px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
}

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: initial;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    height: auto;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input,
textarea {
    font-family: inherit;
    outline: none;
}

::selection {
    background: var(--bg-accent);
    color: var(--text-white);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* ========================================
   NAVIGATION — Left / Center Logo / Right
   ======================================== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    transition: all var(--transition-medium);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
    position: relative;
    padding: 4px 0;
    letter-spacing: 0.01em;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--text-primary);
    transition: width var(--transition-medium);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 32px;
    /* Small, neat logo for navbar */
    width: auto;
    object-fit: contain;
    display: block;
}

.footer-logo-img {
    height: 48px;
    /* Slightly larger for footer */
    width: auto;
    object-fit: contain;
    display: block;
    margin-bottom: 24px;
    opacity: 0.9;
}

.nav-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 24px;
}

.nav-contact-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 28px;
    background: var(--bg-accent);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.nav-contact-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1),
        height 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.nav-contact-btn:hover::before {
    width: 300px;
    height: 300px;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    color: var(--text-white);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 5px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-5px);
}

/* Mobile Menu Overlay */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245, 245, 240, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-primary);
}

.mobile-link.contact-link {
    margin-top: 16px;
    padding: 14px 40px;
    background: var(--bg-accent);
    color: var(--text-primary);
    border-radius: 8px;
    font-family: var(--font-sans);
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: inline-block;
}

.mobile-link.contact-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--text-primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1),
        height 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.mobile-link.contact-link:hover::before {
    width: 400px;
    height: 400px;
}

.mobile-link.contact-link:hover {
    color: var(--text-white);
}

/* ========================================
   HERO SECTION — Halftone Text + 3D Model
   ======================================== */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    /* Prevent clipping of the sinking 3D model */
    background: var(--bg-primary);
    z-index: 10;
    /* Keep hero on top for its children */
}

.hero-inner {
    position: relative;
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Halftone Dotted Text — matching TD Moro */
.hero-text-wrapper {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 100%;
}

/* Faint background dot grid */
.hero-dots-bg {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(0, 0, 0, 0.12) 1px, transparent 1px);
    background-size: 5px 5px;
    pointer-events: none;
    z-index: 0;
}

/* Hero title with dots clipped to text */
.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(3.5rem, 9vw, 8.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.hero-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-line:nth-child(2) {
    animation-delay: 0.15s;
}

.hero-line:nth-child(3) {
    animation-delay: 0.3s;
}

/* Each word — halftone dot pattern */
.hero-word {
    display: inline-block;
    color: transparent;
    background-image: radial-gradient(circle, #2a2a2a 1.2px, transparent 1.2px);
    background-size: 5px 5px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    cursor: default;
    transition: -webkit-text-fill-color 0.4s ease,
        transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.4s ease;
    padding: 0 0.05em;
}

/* Pop-out on hover — word becomes solid */
.hero-word:hover {
    -webkit-text-fill-color: #1a1a1a;
    transform: scale(1.05);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.08));
}

.hero-italic {
    font-style: italic;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 3D Model (model-viewer) */
.hero-3d-model {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 5;
    /* Lower than stats section (15) */
    width: 45%;
    height: 80%;
    max-width: 550px;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.hero-3d-model model-viewer {
    --poster-color: transparent;
}

.hero-3d-model model-viewer::part(default-progress-bar) {
    display: none;
}

/* Floating service tags — premium glassmorphism */
.floating-tags {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    pointer-events: none;
}

.floating-tag {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.75) 0%,
            rgba(255, 255, 255, 0.45) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #1a1a1a;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    pointer-events: auto;
    animation: floatTag 5s ease-in-out infinite;
    white-space: nowrap;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-tag:hover {
    transform: translateY(-4px) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        0 2px 6px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    font-size: 0;
    flex-shrink: 0;
}

/* Each tag gets a unique gradient accent dot */
.tag-1 .tag-dot {
    background: linear-gradient(135deg, #00d2ff, #3a7bd5);
    box-shadow: 0 0 8px rgba(0, 210, 255, 0.4);
}

.tag-2 .tag-dot {
    background: linear-gradient(135deg, #a855f7, #6366f1);
    box-shadow: 0 0 8px rgba(168, 85, 247, 0.4);
}

.tag-3 .tag-dot {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    box-shadow: 0 0 8px rgba(245, 158, 11, 0.4);
}

.tag-4 .tag-dot {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.floating-tag.tag-1 {
    top: 45%;
    left: 12%;
    animation-delay: 0s;
}

.floating-tag.tag-2 {
    bottom: 25%;
    left: 18%;
    animation-delay: 1.2s;
}

.floating-tag.tag-3 {
    top: 38%;
    right: 10%;
    animation-delay: 0.6s;
}

.floating-tag.tag-4 {
    bottom: 18%;
    right: 18%;
    animation-delay: 1.8s;
}

@keyframes floatTag {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-8px);
    }
}

/* ========================================
   MARQUEE / TICKER
   ======================================== */
.marquee {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    align-items: center;
    gap: 40px;
    animation: marquee-scroll 30s linear infinite;
    flex-shrink: 0;
    padding-right: 40px;
}

.marquee-content span {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 500;
    white-space: nowrap;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.marquee-dot {
    font-size: 0.5rem !important;
    color: var(--bg-accent) !important;
}

.marquee-slow .marquee-content {
    animation-duration: 40s;
}

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

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

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

/* ========================================
   STATS SECTION
   ======================================== */
.stats-section {
    padding: 120px 0 120px;
    background: transparent;
    position: relative;
    z-index: 15;
    margin-top: -80px;
    /* Pull it up a little bit to close the gap */
    pointer-events: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    padding: 0 40px;
    pointer-events: auto;
    /* Re-enable for the cards */
}

.stat-card {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.05);
    /* Ultra transparent */
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
    text-align: left;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.02);
}

.stat-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.stat-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   TRUSTED SECTION — Two column layout
   ======================================== */
.trusted-section {
    padding: var(--section-padding) 0;
    border-top: 1px solid var(--border-color);
}

.trusted-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.trusted-left {
    text-align: left;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin: 0 0 24px;
    color: var(--text-primary);
}

.trusted-title {
    max-width: 700px;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 0 40px;
    line-height: 1.7;
}

/* Tools & Platforms Grid */
.trusted-right {
    padding-top: 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.tool-badge {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 36px 24px;
    background: #f5f5f3;
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.tool-badge:hover {
    background: #1a1a1a;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
}

.tool-badge:hover .tool-name {
    color: #ffffff;
}

.tool-badge:hover .tool-icon svg {
    stroke: #ffffff;
}

/* Tooltip */
.tool-badge::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    background: #1a1a1a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 400;
    line-height: 1.5;
    padding: 14px 18px;
    border-radius: 12px;
    width: 260px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 100;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.tool-badge:hover::after {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.tool-icon {
    display: flex;
    align-items: center;
    line-height: 1;
}

.tool-icon svg {
    stroke: #1a1a1a;
    transition: stroke 0.3s ease;
}

.tool-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--text-primary);
    color: var(--text-white);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--bg-accent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 1.2s cubic-bezier(0.25, 0.8, 0.25, 1),
        height 1.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.3);
    color: var(--text-primary);
}

.cta-button svg {
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), stroke 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cta-button:hover svg {
    transform: translateX(4px);
    stroke: var(--text-primary);
}

.cta-button-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1.5px solid var(--border-color);
}

.cta-button-outline:hover {
    background: var(--text-primary);
    color: var(--text-white);
    border-color: var(--text-primary);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

/* ========================================
   LOGO SCROLL SECTION
   ======================================== */
.logo-scroll-section {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    overflow: hidden;
}

.client-logo-text {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-tertiary);
    white-space: nowrap;
    padding: 0 40px;
    transition: color var(--transition-fast);
}

.client-logo-text:hover {
    color: var(--text-primary);
}

/* ========================================
   PROJECTS SECTION
   ======================================== */
.projects-section {
    padding: var(--section-padding) 0;
}

.section-header {
    display: flex;
    flex-direction: row;
    /* Side by side */
    align-items: center;
    gap: 24px;
    margin-bottom: 80px;
}

.section-header.header-right {
    flex-direction: row;
    /* Match row layout */
}

.section-header.header-right .section-tag-new {
    text-align: right;
    text-transform: none;
    /* Switch to natural case as per image */
}

.header-line {
    flex: 1;
    /* Stretch to fill available space side-by-side */
    height: 1px;
    background: #333;
    /* Darker line for dark sections */
}

.section-tag-new {
    font-size: 0.85rem;
    font-weight: 700;
    color: #111;
    /* Dark for white background sections */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    flex-shrink: 0;
}

.process-section .section-tag-new {
    color: #fff;
    /* Exception for dark process section */
}


/* Subtitle colors for light sections */
.testimonials-section .section-subtitle,
.about-section .about-desc,
.contact-section .contact-desc {
    color: #666;
    max-width: 600px;
}

/* Subtitle colors for dark sections */
.process-section .section-subtitle {
    color: #bbb;
    max-width: 600px;
}


/* Line colors */
.testimonials-section .header-line {
    background: #e5e5e5;
}

.process-section .header-line {
    background: #222;
}


/* Featured Project New Layout Redefined */
.featured-project-new {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    margin-bottom: 120px;
    align-items: flex-end;
    /* All bottom aligned */
}

.project-content-left {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.project-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.project-meta-area {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 500px;
}

.project-brief {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-secondary);
}

.button-container {
    display: flex;
}

/* Side-by-Side Cards */
.project-details-row {
    display: flex;
    gap: 24px;
    align-items: flex-end;
    /* Align to bottom for staircase effect */
}

.minimal-card {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.results-box {
    flex: 1;
    min-height: 180px;
}

.approach-box {
    flex: 2;
    min-height: 340px;
    padding: 40px 32px;
}

.minimal-card:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.2) 100%);
}

.card-title-small {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--text-primary);
}

.card-section {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-subtitle {
    font-size: 0.85rem;
    color: #666e80;
}

.card-value-bold {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Stat Dots */
.stat-dots {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #eef0f4;
}

.dot.filled {
    background: #1a1a1a;
}

/* Card User Area */
.card-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.avatar-small {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
}

.user-meta {
    display: flex;
    flex-direction: column;
}

.u-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.u-title {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.card-quote-text {
    font-size: 1.1rem;
    line-height: 1.5;
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: -0.01em;
}

/* Image styling */
.project-image-right {
    height: 700px;
    /* Tallest step */
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

@media (max-width: 768px) {

    /* Adjust breakpoint as needed for mobile */
    .project-image-right {
        height: 220px;
        /* Much smaller than desktop (700px) */
        width: 100%;
        border-radius: 16px;
        /* Tighter radius for mobile */
        margin-top: 24px;
        order: 3;
        /* Ensure it stays at bottom if using flex */
    }
}

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

.featured-project-new:hover .project-image-right img {
    transform: scale(1.08);
}

/* Projects Grid */
.projects-label {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.project-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.project-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.project-card-image {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-tertiary);
    margin-bottom: 16px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.project-card:hover .project-card-image img {
    transform: scale(1.05);
}

.project-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.6));
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    opacity: 0;
    transform: translateY(10px);
    transition: all var(--transition-medium);
}

.project-card:hover .project-card-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-card-title {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.project-card:hover .project-card-title {
    color: var(--text-accent);
}

/* Grid CTA */
.grid-cta {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 60px;
    text-align: center;
    margin-bottom: 40px;
}

.grid-cta h3 {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.grid-cta p {
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* ========================================
   UNDER THE HOOD SECTION
   ======================================== */
.under-hood-section {
    background: #0d0d0d;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    margin: 80px 20px;
    /* Centered card style */
    border-radius: 80px;
    /* Fully rounded card */
}

.stone-gap {
    height: 40px;
    background: #fff;
    position: relative;
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
}

.stone {
    width: 28px;
    height: 18px;
    background: #333;
    clip-path: polygon(15% 0%, 85% 5%, 100% 45%, 80% 95%, 20% 100%, 0% 55%);
    position: absolute;
    left: -50px;
    /* Start off-screen */
    transition: transform 0.1s linear;
}

.hood-content {
    z-index: 2;
}

.hood-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(3rem, 15vw, 12rem);
    line-height: 0.82;
    text-align: center;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: -0.05em;
    color: #fff;

    /* Premium Dotted Effect */
    background: radial-gradient(circle, #fff 1.2px, transparent 1.2px);
    background-size: 5px 5px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hood-footer-icon {
    position: absolute;
    bottom: 40px;
    right: 40px;
    width: 44px;
    height: 44px;
    background: #1a1a1a;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.hood-footer-icon:hover {
    transform: scale(1.1) rotate(5deg);
    background: #252525;
}

/* ========================================
   SERVICES MARQUEE
   ======================================== */
.services-marquee {
    padding: 32px 0;
    background: var(--text-primary);
    overflow: hidden;
}

.services-marquee .marquee-content span {
    color: var(--text-white);
    font-weight: 700;
    font-size: 1.3rem;
}

.services-marquee .marquee-dot {
    color: var(--bg-accent) !important;
}

/* ========================================
   NEXT STEPS FLOWCHART
   ======================================== */
.next-steps-section {
    padding: var(--section-padding) 0;
    background: #0d0d0d;
    position: relative;
    border-bottom: 1px solid #1a1a1a;
}

.next-steps-section .section-title {
    margin-bottom: 80px;
    text-align: center;
}

.flow-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

/* Connecting line - More of a light beam */
.flow-line {
    position: absolute;
    top: 40px;
    left: 90px;
    /* Start at center of first 180px node */
    right: 90px;
    /* End at center of last 180px node */
    height: 2px;
    background: linear-gradient(90deg,
            #4eeaff 0%,
            rgba(78, 234, 255, 0.4) 30%,
            rgba(78, 234, 255, 0.1) 100%);
    box-shadow: 0 0 15px rgba(78, 234, 255, 0.3);
    z-index: 1;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 180px;
    position: relative;
    z-index: 2;
}

.node-point {
    width: 20px;
    height: 20px;
    background: #0d0d0d;
    border: 2px solid #4eeaff;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(78, 234, 255, 0.4);
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Current Stage Indicator & Light Pulse */
.node-current .node-point {
    background: #4eeaff;
    box-shadow: 0 0 25px #4eeaff;
}

.pulse-ring {
    position: absolute;
    width: 30px;
    height: 30px;
    border: 2px solid #4eeaff;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.6);
        opacity: 1;
    }

    100% {
        transform: scale(1.8);
        opacity: 0;
    }
}

.you-are-here {
    position: absolute;
    bottom: calc(100% + 40px);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 10;
}

.you-are-here span {
    background: #4eeaff;
    color: #000;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 30px;
    white-space: nowrap;
    text-transform: uppercase;
    box-shadow: 0 10px 20px rgba(78, 234, 255, 0.4);
}

.you-are-here svg {
    margin-top: 5px;
    transform: rotate(90deg) scaleX(-1);
    /* Point down to the dot */
}


.flow-node:hover .node-point {
    background: #4eeaff;
    transform: scale(1.3);
    box-shadow: 0 0 25px rgba(78, 234, 255, 0.8);
}

.node-content {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    backdrop-filter: blur(10px);
    width: 100%;
    min-height: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.flow-node:hover .node-content {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(78, 234, 255, 0.3);
    transform: translateY(-5px);
}

.node-step {
    font-size: 0.75rem;
    color: #4eeaff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    font-weight: 700;
}

.node-text {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
    line-height: 1.3;
}

.flow-arrow {
    position: absolute;
    top: 32px;
    right: -25px;
    color: rgba(78, 234, 255, 0.4);
}

/* ========================================
   PROCESS SECTION (GANTT TIMELINE)
   ======================================== */
.process-section {
    padding: 120px 0;
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
    border-radius: 80px;
    /* Fully rounded card */
    margin: 80px 20px;
    /* Centered card style */
}

/* Background grid effect */
.process-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.process-top-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.process-checklist {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-top: 10px;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #888;
}

.check-item svg {
    color: #4eeaff;
    flex-shrink: 0;
}

.process-intro-text .section-title {
    margin-top: 0;
    margin-bottom: 24px;
    text-align: left;
    max-width: 800px;
}

.process-intro-text .section-subtitle {
    font-size: 1.15rem;
    color: #777;
    line-height: 1.6;
    max-width: 650px !important;
}

.process-intro-text .highlight-text {
    color: #fff;
    font-weight: 700;
}

/* Timeline/Gantt Chart */
.process-timeline {
    position: relative;
    margin-top: 60px;
    z-index: 2;
}

.timeline-vertical-line {
    position: absolute;
    left: 90px;
    top: -20px;
    bottom: -20px;
    width: 1px;
    background: rgba(78, 234, 255, 0.15);
}

.timeline-dot {
    position: absolute;
    left: 90px;
    top: -20px;
    width: 10px;
    height: 10px;
    background: #4eeaff;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 15px rgba(78, 234, 255, 0.6);
}

.project-title-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.project-main-title {
    margin-bottom: 0 !important;
}

.latest-project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid rgba(46, 204, 113, 0.2);
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #2ecc71;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pulse-dot-green {
    width: 8px;
    height: 8px;
    background-color: #2ecc71;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(46, 204, 113, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

.timeline-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px 0;
    min-height: 100px;
}

.timeline-row:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stage-label {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    padding-top: 8px;
}

.task-bars {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.task-bar {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 0.85rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.task-bar:hover {
    background: rgba(78, 234, 255, 0.1);
    border-color: #4eeaff;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ========================================
   PROJECT DETAIL PAGE
   ======================================== */
.project-page {
    background-color: #fff;
    color: #111;
}

.project-page .navbar {
    background: transparent;
    border-bottom: none;
    backdrop-filter: none;
}

.project-page .nav-link,
.project-page .nav-logo {
    color: #111;
    /* Dark nav on light page */
}

.project-page .nav-contact-btn {
    border-color: #111;
    color: #111;
}

.project-page .nav-contact-btn:hover {
    background: #111;
    color: #fff;
}

.project-header {
    padding: 180px 0 80px;
    text-align: center;
}

.project-h1-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-family: var(--font-header);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: #111;
}

.project-subtitle-text {
    font-size: 1.25rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

/* Make image wrapper narrower than full container */
.project-hero-image-wrapper {
    width: 100%;
    margin-bottom: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.project-hero-img {
    width: 100%;
    height: auto;
    display: block;
}

.project-about-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 80px 0 120px;
}

.divider-line {
    width: 1px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #ddd, #ddd);
    margin-bottom: 24px;
}

.divider-label {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    color: #999;
}

/* Alternating Row Layout for 6 images */
.project-gallery-grid {
    display: flex;
    flex-direction: column;
    gap: 100px;
    margin-bottom: 120px;
}

.gallery-item {
    display: flex;
    align-items: center;
    gap: 80px;
}

.gallery-item:nth-child(even) {
    flex-direction: row-reverse;
}

.gallery-img-box,
.gallery-desc {
    flex: 1;
}

.gallery-desc h4 {
    font-size: 2rem;
    /* Larger font for alternating layout */
    font-weight: 800;
    margin-bottom: 16px;
    color: #111;
    letter-spacing: -0.02em;
}

.gallery-desc p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.6;
}

.gallery-img-box {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: 8px;
    overflow: hidden;
    background: #f5f5f5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-img-box img {
    transform: scale(1.05);
}

.gallery-desc h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: #111;
}



.project-bottom-nav {
    padding-bottom: 80px;
    text-align: left;
}

.back-link {
    display: inline-flex;
    align-items: center;
    font-weight: 600;
    color: #111;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: #666;
}

@media (max-width: 992px) {
    .project-gallery-grid {
        gap: 60px;
    }

    .gallery-item {
        gap: 40px;
    }

    .gallery-desc h4 {
        font-size: 1.5rem;
    }
}

@media (max-width: 600px) {
    .project-gallery-grid {
        gap: 40px;
    }

    .gallery-item {
        flex-direction: column !important;
        /* Stack vertically on mobile */
        gap: 20px;
        text-align: left;
    }

    .gallery-img-box {
        width: 100%;
        order: 1;
        /* Image always on top in mobile */
    }

    .gallery-desc {
        order: 2;
        /* Description below image in mobile */
    }

    .gallery-desc h4 {
        font-size: 1.25rem;
        margin-bottom: 8px;
    }

    .project-header {
        padding: 140px 0 60px;
    }
}

/* ========================================
   TESTIMONIALS SECTION
   ======================================== */
.testimonials-section {
    padding: var(--section-padding) 0;
    background: #fff;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 60px;
}

.testimonial-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card:hover {
    border-color: #444;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.testimonial-text {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-style: italic;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #111;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
}

.author-role {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ========================================
   ABOUT HERO (BIG TITLE)
   ======================================== */
.about-hero-section {
    padding: 120px 0 60px;
    background: #fff;
    text-align: center;
    overflow: hidden;
}

.about-hero-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(3rem, 15vw, 10rem);
    line-height: 0.85;
    text-transform: lowercase;
    margin: 0;
    letter-spacing: -0.05em;

    /* Premium Dotted Effect for Light Theme */
    background: radial-gradient(circle, #000 1.2px, transparent 1.2px);
    background-size: 5px 5px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about-section {
    padding: var(--section-padding) 0;
    background: #fff;
    color: #111;
    border-top: 1px solid #eee;
}



.about-main-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    color: #111;
}

.about-main-subtitle {
    font-size: 1.25rem;
    color: #666;
    max-width: 800px;
    line-height: 1.6;
    margin-bottom: 80px;
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    padding: 60px 0;
    border-top: 1px solid #eee;
}

.service-item:nth-child(even) .service-content {
    margin-left: auto;
    text-align: right;
}

.service-content {
    max-width: 600px;
}

.service-num {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: #999;
    margin-bottom: 16px;
    letter-spacing: 0.1em;
}

.service-content h3 {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: #111;
}

.service-content p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.7;
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
    padding: var(--section-padding) 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.video-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.video-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.video-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #f0f0f0;
    cursor: pointer;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-medium);
    pointer-events: none;
}

.video-wrapper:hover .video-play-btn {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.2);
}

.video-wrapper.playing .video-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
}

.video-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    margin-top: 16px;
    color: #111;
}

/* ========================================
   INSIGHTS / BLOG SECTION
   ======================================== */
.insights-section {
    padding: var(--section-padding) 0;
    background: #fff;
    border-top: 1px solid #eee;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.insight-card {
    background: #fcfcfc;
    border: 1px solid #eee;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-medium);
    opacity: 0;
    transform: translateY(30px);
}

.insight-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.insight-card:hover {
    border-color: #444;
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.insight-image {
    aspect-ratio: 16/10;
    overflow: hidden;
}

.insight-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.insight-card:hover .insight-image img {
    transform: scale(1.05);
}

.insight-content {
    padding: 28px 24px;
}

.insight-content h3 {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 12px;
    transition: color var(--transition-fast);
    color: #111;
}

.insight-card:hover .insight-content h3 {
    color: var(--text-accent);
}

.insight-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.insight-author {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 500;
}

/* ========================================
   CONTACT SECTION (NEW CTA STYLE)
   ======================================== */
.contact-section-new {
    padding: 160px 0;
    background: #0d0d0d;
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    border-radius: 80px;
    /* Fully rounded modern card style */
    margin: 80px 20px;
    /* Added side margins and bottom margin for visibility */
}

.contact-cta-inner {
    position: relative;
    z-index: 2;
}

.contact-cta-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 5;
}

.contact-cta-title {
    font-family: var(--font-sans);
    font-weight: 800;
    font-size: clamp(3rem, 10vw, 8rem);
    line-height: 0.9;
    letter-spacing: -0.04em;
    margin-bottom: 40px;
    text-transform: lowercase;

    /* Premium Halftone Effect */
    background: radial-gradient(circle, #fff 1.5px, transparent 1.5px);
    background-size: 6px 6px;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-cta-desc {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #888;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 1.5;
    font-weight: 500;
}

.contact-cta-desc strong {
    color: #fff;
}

.contact-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    color: #000;
    padding: 16px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
}

.contact-pill-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.2);
}

.contact-pill-btn svg {
    transition: transform 0.3s ease;
}

.contact-pill-btn:hover svg {
    transform: translateX(5px);
}

/* Decorative 3D-ish Elements */
.cta-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.15;
    filter: blur(1px);
}

.cta-torus {
    left: -5%;
    bottom: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid #fff;
    mask-image: radial-gradient(transparent 50%, black 51%);
    transform: rotate(-15deg);
    display: none;
    /* Hide if no assets, or use background image */
}

/* Using simple shapes to hint at the ones in the image */
.contact-section-new::before {
    content: '';
    position: absolute;
    left: 40px;
    bottom: 20px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle at center, transparent 40%, #1a1a1a 100%);
    border: 2px solid #222;
    border-radius: 50%;
    z-index: 1;
}

.contact-section-new::after {
    content: '';
    position: absolute;
    right: 60px;
    bottom: 40px;
    width: 220px;
    height: 240px;
    background: #111;
    clip-path: path('M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z');
    opacity: 0.1;
    z-index: 1;
}

/* ========================================
   CONTACT SECTION (OLD STYLES - REMOVED OR KEPT FOR FALLBACK)
   ======================================== */


/* ========================================
   FOOTER (EDITORIAL REDESIGN)
   ======================================== */
/* ========================================
   FOOTER (EDITORIAL REDESIGN)
   ======================================== */
.footer {
    padding: 120px 0 60px;
    background: #fdfdfd;
    position: relative;
    overflow: hidden;
    color: #111;
    border-top: 1px solid #eee;
}

#footerDots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 5;
}

.footer-big-text {
    position: absolute;
    bottom: -80px;
    left: 20px;
    font-family: var(--font-sans);
    font-weight: 900;
    font-size: clamp(10rem, 30vw, 24rem);
    color: #fff;
    line-height: 0.8;
    letter-spacing: -0.05em;
    pointer-events: none;
    opacity: 0.8;
    z-index: 1;
    opacity: 0.8;
    /* Subtle against white bg */
    white-space: nowrap;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

/* Updates Column */
.project-card-desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 8px;
    line-height: 1.5;
}

.footer-col-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.footer-col-subtitle {
    font-size: 0.95rem;
    color: #666;
    margin-bottom: 32px;
}

.footer-newsletter-new label {
    display: block;
    font-size: 0.8rem;
    color: #999;
    margin-bottom: 8px;
}

.newsletter-input-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsletter-input-group input {
    width: 240px;
    padding: 12px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: #111;
    transition: border-color 0.3s ease;
}

.newsletter-input-group input:focus {
    outline: none;
    border-color: #000;
}

.newsletter-submit-btn {
    width: 36px;
    height: 36px;
    background: #111;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.newsletter-submit-btn:hover {
    transform: scale(1.1);
}

/* Links Columns (Site Map & Social) */
.footer-links-label {
    font-size: 0.85rem;
    color: #bbb;
    margin-bottom: 24px;
    font-weight: 500;
}

.footer-links-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links-list a {
    font-size: 1.4rem;
    font-weight: 800;
    color: #111;
    text-decoration: none;
    transition: opacity 0.3s ease;
    letter-spacing: -0.02em;
}

.footer-links-list a:hover {
    opacity: 0.6;
}

/* Info Column */
.footer-col-info {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.85rem;
    color: #888;
}

.info-legal a {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.info-legal a:hover {
    color: #000;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 48px;
    }

    .footer-col-info {
        grid-column: span 2;
        flex-direction: row;
        justify-content: space-between;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-col-info {
        grid-column: span 1;
        flex-direction: column;
    }

    .footer-big-text {
        font-size: 6rem;
        bottom: -20px;
    }
}

/* ========================================
   NEW CONTACT PAGE STYLES
   ======================================== */
.contact-page {
    background-color: #fdfdfd;
}

.contact-main {
    padding: 180px 0 100px;
}

.contact-page-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 40px;
    /* Reduced gap to bring model closer to form */
    align-items: center;
}

.contact-model-side {
    position: relative;
    height: 700px;
    display: flex;
    justify-content: flex-end;
    /* Push model towards the center/form */
    align-items: center;
    padding-right: 40px;
    /* Spacing from the gap */
}

/* 3D Model specifically for contact page */
.contact-model-container {
    position: absolute;
    /* Changed to absolute to work with global mouse-follow translate(-50%, -50%) logic */
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    max-width: 600px;
    max-height: 700px;
    z-index: 10;
}

.contact-card-side {
    display: flex;
    justify-content: flex-start;
}

.contact-elevated-card {
    background: #fff;
    border-radius: 40px;
    padding: 60px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.03),
        0 40px 80px rgba(0, 0, 0, 0.05);
    max-width: 650px;
    width: 100%;
}

.contact-profile-header {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 40px;
}

.contact-avatar {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
}

.contact-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-profile-info h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #111;
}

.contact-profile-info p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

.contact-profile-info p strong {
    color: #000;
}

.contact-card-divider {
    border: none;
    border-top: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.contact-form-header {
    margin-bottom: 40px;
}

.contact-form-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.contact-form-header p {
    color: #999;
}

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

.form-group-item {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-group-item label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #888;
}

.form-group-item input,
.form-group-item textarea {
    background: #f4f5f9;
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 18px 24px;
    font-size: 1.1rem;
    color: #111;
    transition: all 0.3s ease;
}

.form-group-item input:focus,
.form-group-item textarea:focus {
    outline: none;
    background: #fff;
    border-color: #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group-item input::placeholder,
.form-group-item textarea::placeholder {
    color: #bbb;
}

.submit-pill-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #111;
    color: #fff;
    padding: 18px 40px;
    border-radius: 100px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    margin-top: 20px;
}

.submit-pill-btn:hover {
    transform: translateY(-5px);
    background: #000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.form-success-msg {
    margin-top: 20px;
    padding: 15px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    display: none;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.form-success-msg.show {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    #file-label {
        font-size: 0.95rem !important;
        /* Larger text for mobile */
        padding: 12px 0;
        /* Larger touch target */
        display: block;
        width: 100%;
        text-align: right;
    }
}

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

@media (max-width: 1200px) {
    .contact-page-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-model-side {
        height: 400px;
    }

    .contact-model-container {
        width: 100%;
        height: 400px;
    }
}

@media (max-width: 600px) {
    .contact-elevated-card {
        padding: 30px;
    }

    .contact-profile-header {
        flex-direction: column;
        gap: 16px;
    }
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }

    .hero-title {
        font-size: clamp(3rem, 8vw, 6rem);
    }

    /* Featured Project Cards (Results & Founder) */
    .minimal-card {
        width: 100%;
        background: #ffffff;
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 32px;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
        margin-bottom: 24px;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    /* Results Card Specifics */
    .results-box .card-value-bold {
        font-size: 2rem;
        font-weight: 700;
        color: #000;
        margin-top: 4px;
        margin-bottom: 2px;
    }

    .results-box .card-subtitle {
        font-size: 0.85rem;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #666;
        margin-bottom: 0px;
    }

    .results-box .card-section {
        margin-bottom: 32px;
        border-bottom: 1px solid #eee;
        padding-bottom: 16px;
    }

    .results-box .card-section:last-child {
        margin-bottom: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    /* Founder/Testimonial Card Specifics */
    .approach-box .card-user {
        margin-bottom: 24px;
        display: flex;
        flex-direction: column;
        /* Stack Avatar & Name for the "Image" look */
        align-items: flex-start;
        gap: 16px;
    }

    .approach-box .avatar-small {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .approach-box .user-meta {
        display: flex;
        flex-direction: column;
    }

    .approach-box .u-name {
        font-size: 1.1rem;
        font-weight: 700;
        color: #000;
    }

    .approach-box .u-title {
        font-size: 0.9rem;
        color: #666;
    }

    .approach-box .card-quote-text {
        font-size: 1.25rem;
        line-height: 1.5;
        color: #111;
        font-weight: 500;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stat-card:nth-child(2) {
        border-right: none;
    }

    .stat-card:nth-child(3),
    .stat-card:nth-child(4) {
        border-top: 1px solid var(--border-color);
    }

    .stat-card:nth-child(4) {
        border-right: none;
    }

    .featured-project {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-step:nth-child(2) {
        border-right: none;
    }

    .process-step:nth-child(4) {
        border-right: none;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .insights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
        --container-padding: 20px;
    }

    .nav-left,
    .nav-right {
        display: none;
    }

    .nav-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 20px;
    }

    .nav-toggle {
        display: flex;
    }

    .mobile-menu {
        padding-top: 80px;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        line-height: 1.1;
    }

    .hero-text-wrapper {
        padding: 0 10px;
    }

    .hero-3d-model {
        width: 80%;
        opacity: 0.3;
        /* Fade out slightly on mobile to let text pop */
    }

    .floating-tag {
        font-size: 0.7rem;
        padding: 6px 12px;
        transform: scale(0.9);
    }

    /* Force single column layouts */
    /* ========================================
       MOBILE ROBUSTNESS FIX (375px - 768px)
       ======================================== */

    html,
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    /* Force EVERYTHING into a single stack for safety */
    .container {
        padding: 0 20px;
        width: 100%;
        overflow: hidden;
        /* Catch-all for inner overflows */
    }

    /* Hero Fixes */
    .hero-title {
        font-size: clamp(2.5rem, 10vw, 3.5rem);
        word-wrap: break-word;
        /* Prevent long text overflow */
    }

    /* FIX: Hide background grid on mobile to reduce noise */
    .hero-dots-bg {
        display: none !important;
    }

    /* FIX: Tighter, denser dots for Hero Text */
    .hero-word {
        background-image: radial-gradient(circle, #000 1px, transparent 1.1px) !important;
        background-size: 2.5px 2.5px !important;
        /* Very tight spacing */
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;
        opacity: 1 !important;
        font-weight: 900 !important;
        /* Maximum bold */
    }

    /* Same fix for "Under the Hood" title (White dots) */
    .hood-title {
        background-image: radial-gradient(circle, #fff 1.2px, transparent 1.3px) !important;
        background-size: 4px 4px !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
    }

    /* FIX: Increase general contrast */
    p,
    .project-card-desc,
    .stat-label,
    .section-subtitle {
        color: #222222 !important;
        /* Darker grey for better visibility */
    }

    .hero-3d-model {
        position: absolute;
        width: 90%;
        height: 60vh;
        opacity: 1;
        /* Full visibility like desktop */
        z-index: 20;
        /* ABOVE text (text wrapper is z-index: 1) */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* Center both axes */
        pointer-events: none;
    }

    /* Push text BEHIND the model */
    .hero-text-wrapper {
        z-index: 0 !important;
    }

    .floating-tag {
        display: none;
        /* Hide floating tags on mobile to cleaner layout & overflow prevention */
    }

    /* Strict Single Column Grids - DEFAULT */
    .process-grid,
    .testimonials-grid,
    .insights-grid,
    /* FIX: Reorder Featured Project elements completely on mobile */
    .featured-project-new {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }

    /* Unwrap the intermediate containers so grandchildren become flex items */
    .project-content-left,
    .project-details-row {
        display: contents !important;
    }

    /* Define the order */
    .project-title-wrapper {
        order: 1;
        margin-bottom: 24px;
    }

    .project-meta-area {
        order: 2;
        margin-bottom: 32px;
    }

    .results-box {
        order: 3;
        margin-bottom: 24px;
    }

    .approach-box {
        order: 4;
        margin-bottom: 24px;
    }

    /* Image last and small */
    .project-image-right {
        order: 5;
        height: 220px !important;
        width: 100%;
        border-radius: 16px;
        margin-top: 0 !important;
    }

    .trusted-layout,
    .grid-cta,
    .process-top-layout {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        width: 100% !important;
    }

    /* FRAMER STYLE: 2x2 Stats Grid */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0 !important;
        padding: 0 10px;
    }

    .stat-card {
        padding: 24px 10px;
        border-right: 1px solid var(--border-color) !important;
        border-bottom: 1px solid var(--border-color) !important;
        text-align: center;
    }

    .stat-card:nth-child(2n) {
        border-right: none !important;
        /* Remove right border for even items */
    }

    .stat-card:nth-last-child(-n+2) {
        border-bottom: none !important;
        /* Remove bottom border for last row */
    }

    .stat-number {
        font-size: 2.5rem;
        /* Balanced size */
    }

    /* FRAMER STYLE: 1 Column Projects (Full Width Impact) */
    .projects-grid {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }

    .project-card-title {
        font-size: 1.4rem;
        margin-top: 12px;
    }

    .project-card-desc {
        font-size: 1rem;
        color: #555 !important;
    }

    /* FRAMER STYLE: 3 Column Logos (Density) */
    .tools-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 12px !important;
    }

    /* FIX: Under The Hood - Full Width & No Symbol */
    .under-hood-section,
    .process-section,
    .contact-section-new {
        margin: 60px 0 !important;
        /* Keep vertical spacing, Kill horizontal gap */
        border-radius: 0 !important;
        /* Square edges */
        width: 100% !important;
        padding: 80px 20px !important;
        /* Adjust padding for mobile */
    }

    /* FIX: Contact Title Dots on Mobile */
    .contact-cta-title {
        background-image: radial-gradient(circle, #fff 1.2px, transparent 1.3px) !important;
        background-size: 4px 4px !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        font-size: 3.5rem !important;
        /* Readable size */
    }

    /* FIX: Contact Description Visibility */
    .contact-cta-desc {
        color: #ddd !important;
        font-size: 1.1rem !important;
        max-width: 100% !important;
        padding: 0 10px;
        line-height: 1.6;
    }

    .process-intro-text .section-subtitle {
        color: #ddd !important;
        /* Much brighter grey for readability on black */
        font-weight: 400;
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .hood-footer-icon {
        display: none !important;
        /* Remove symbol */
    }

    .tool-badge {
        flex-direction: column;
        text-align: center;
        padding: 16px 8px;
        gap: 8px;
    }

    .tool-name {
        font-size: 0.75rem;
        display: none;
        /* Hide text on mobile 3-col if logos are main focus, or keep small */
    }

    .tool-icon svg {
        width: 28px;
        height: 28px;
    }

    /* Generic Section Title Fix */
    .section-title {
        font-size: 2rem;
        line-height: 1.2;
    }

    /* Timeline & Process */
    .flow-container {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    .flow-line {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        bottom: 0;
        right: auto;
    }

    .flow-arrow {
        display: none;
        /* Hide complex absolute arrow on mobile */
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

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

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        aspect-ratio: 16/9;
    }

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

    .grid-cta {
        padding: 40px 24px;
    }

    .featured-results {
        flex-direction: column;
        gap: 20px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* Mobile overrides for new contact section */
    .contact-cta-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
        margin-bottom: 24px;
    }

    .contact-section-new::before,
    .contact-section-new::after {
        display: none;
        /* Hide big decorative shapes on mobile to keep focus on text */
    }

    .contact-section-new {
        padding: 80px 0;
        border-radius: 40px 40px 0 0;
    }

    /* Contact Page Mobile Polish */
    .contact-main {
        padding: 120px 0 60px;
    }

    .contact-model-side {
        height: 350px;
        order: -1;
        /* Keep model above form on mobile */
        padding-right: 0;
    }

    .contact-elevated-card {
        padding: 40px 24px;
        border-radius: 32px;
    }

    .contact-form-new {
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Expertise / Services Mobile */
    .service-item {
        padding: 40px 0;
    }

    .service-item:nth-child(even) .service-content {
        margin-left: 0;
        text-align: left;
    }

    .service-content h3 {
        font-size: 1.8rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .legal-content {
        padding: 120px 0 60px;
    }

    .legal-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
    }

    .stat-number {
        font-size: 3rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .contact-title {
        font-size: 2rem;
    }

    .floating-tag {
        display: none;
    }
}

/* ========================================
   LOADING ANIMATION
   ======================================== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-text {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}