@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Poppins:wght@500;600;700;900&family=Orbitron:wght@400;500;600;700;800;900&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* ========================================
   DESIGN TOKENS - Exact Reference Values
   ======================================== */

:root {
    /* Colors - Extracted from Reference */
    --primary: #FF4A1F;
    /* Brand Color (Backgrounds) */
    --primary-text: #D93611;
    /* Accessible Text Color (4.5:1 on White) */
    --primary-hover: #E63D16;
    --text-dark: #0c0407;
    --text-muted: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-light: #f0fdff;
    --bg-gray: #F8F9FA;
    --border-light: rgba(0, 0, 0, 0.1);
    --border-medium: rgba(0, 0, 0, 0.2);

    /* Project Themes */
    --theme-greenleaf: rgba(37, 99, 235, 0.05);
    --theme-sunrise: rgba(245, 158, 11, 0.05);
    --theme-finflow: rgba(16, 185, 129, 0.05);
    --theme-sweet: rgba(236, 72, 153, 0.05);

    /* Vibrant Palette - Inspired by Pathfinder */
    --vibrant-orange: #FF9F1C;
    --vibrant-green: #2EC4B6;
    --vibrant-blue: #3A86FF;
    --vibrant-purple: #8338EC;
    --vibrant-red: #FF006E;
    --vibrant-cyan: #06D6A0;
    --vibrant-indigo: #4361EE;
    
    --colorful-gradient: linear-gradient(90deg, 
        var(--vibrant-orange), 
        var(--vibrant-red), 
        var(--vibrant-purple), 
        var(--vibrant-blue), 
        var(--vibrant-green)
    );

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-cabin: 'Cabin', sans-serif;
    --font-sora: 'Sora', sans-serif;
    --font-outfit: 'Outfit', sans-serif;

    /* Font Sizes */
    --text-xs: 13px;
    --text-sm: 14px;
    --text-base: 16px;
    --text-lg: 18px;
    --text-xl: 20px;
    --text-2xl: 24px;
    --text-3xl: 28px;
    --text-4xl: 32px;
    --text-5xl: 42px;
    --text-6xl: 48px;
    --text-7xl: 56px;
    --text-8xl: 80px;

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;
    --space-20: 80px;
    --space-24: 96px;
    --space-32: 128px;

    /* Layout */
    --container-width: 1240px;
    --container-padding: 20px;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 20px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-3xl: 40px;
    --radius-full: 100px;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.gradient-text {
    background: var(--colorful-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 {
    font-size: var(--text-8xl);
    letter-spacing: -2px;
}

h2 {
    font-size: var(--text-7xl);
    letter-spacing: -2px;
}

h3 {
    font-size: var(--text-3xl);
    letter-spacing: -1px;
}

p {
    line-height: 1.7;
    margin-bottom: 0.5em;
}

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

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

ul,
ol {
    list-style: none;
}

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

/* ========================================
   UTILITY CLASSES
   ======================================== */

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

.section {
    padding: var(--space-20) 0;
}

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

.center {
    text-align: center;
}

.center-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.center-content>* {
    margin-left: auto;
    margin-right: auto;
}

.flex {
    display: flex;
}

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

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

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

.grid {
    display: grid;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

/* ========================================
   TYPOGRAPHY COMPONENTS
   ======================================== */

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: 6px 12px 6px 6px;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.badge-dot {
    width: 26px;
    height: 26px;
    background-color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-dot::before {
    content: '';
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
}

.section-title {
    font-size: var(--text-7xl);
    line-height: 1.2;
    letter-spacing: -2px;
    margin: var(--space-3) 0 var(--space-5) 0;
}

.section-subtitle {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

@media (max-width: 1024px) {

    .section-header.center,
    .section-header .center,
    .section-header .center-content,
    .testimonials-section .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        margin-bottom: var(--space-10);
    }

    .section-header .section-badge {
        margin-bottom: 8px;
        align-self: center;
    }

    .section-title {
        text-align: center;
    }

    .section-subtitle {
        text-align: center;
    }
}

.section-description {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.7;
}

/* ========================================
   BUTTON COMPONENTS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: 12px 32px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: var(--text-sm);
    text-transform: capitalize;
    cursor: pointer;
    transition: all var(--transition-base);
    border: none;
    white-space: nowrap;
}

.btn-small {
    padding: 8px 20px;
    font-size: var(--text-xs);
    height: auto;
}

.btn-primary {
    background-color: #3A332F;
    /* User Request: Dark Brown */
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(252, 54, 45, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background-color: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
    transform: scale(1.02);
}


.btn-icon {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

.btn-brand {
    background-color: var(--primary);
    color: white;
    border: none;
}

.btn-brand:hover {
    background-color: var(--primary-hover);
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(255, 74, 31, 0.3);
}

/* ========================================
   NAVIGATION
   ======================================== */

/* ========================================
   NAVIGATION - TRENDY FLOATING DESIGN
   ======================================== */

.navbar {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: fit-content;
    min-width: 1050px;
    white-space: nowrap;
    z-index: 1000;
    padding: 16px 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 100px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Scrolled State */
.navbar-scrolled {
    top: 12px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.navbar-scrolled .nav-links a,
.navbar-scrolled .logo {
    color: var(--text-dark);
}

.navbar-scrolled.nav-dark-theme .nav-links a,
.navbar-scrolled.nav-dark-theme .logo {
    color: white;
}

/* Theme Adaptation */
.navbar.nav-dark-theme {
    background: rgba(10, 10, 15, 0.45); /* Refined translucent dark tint */
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px 1px rgba(255, 255, 255, 0.1); /* Subtle top light reflection */
}

.navbar.nav-dark-theme .nav-links a,
.navbar.nav-dark-theme .logo {
    color: #ffffff !important;
    opacity: 1 !important;
}

.navbar-scrolled.nav-dark-theme {
    background: rgba(10, 10, 15, 0.65); /* Slightly darker for readability on scroll */
    border-color: rgba(255, 255, 255, 0.08);
}

.navbar.nav-dark-theme .mobile-menu-btn span {
    background-color: white;
}

/* Dropdown theme adaptation for dark navbar */
.navbar.nav-dark-theme .dropdown-menu {
    background: rgba(15, 15, 20, 0.95);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.navbar.nav-dark-theme .dropdown-category {
    color: rgba(255, 255, 255, 0.4);
}

.navbar.nav-dark-theme .dropdown-menu a {
    color: rgba(255, 255, 255, 0.7) !important;
}

.navbar.nav-dark-theme .dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--primary) !important;
}

.navbar.nav-light-theme {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 0, 0, 0.08);
}

.navbar.nav-light-theme .nav-links a,
.navbar.nav-light-theme .logo {
    color: var(--text-dark);
}

.nav-container {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    transition: none !important;
}

.logo:hover {
    opacity: 1 !important;
}

.logo img {
    height: 32px;
    width: auto;
}

.nav-dark-theme .logo img {
    filter: brightness(0) invert(1);
}

.navbar-scrolled .logo img {
    filter: none;
}

.navbar-scrolled.nav-dark-theme .logo img {
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-pane.main-pane {
    display: flex;
    align-items: center;
    gap: var(--space-8);
}

.nav-pane.sub-pane {
    display: none;
}

.nav-panes-container {
    display: flex;
    align-items: center;
}

.nav-links a {
    font-size: 15px;
    font-weight: 500;
    color: inherit;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a.active::after {
    background: var(--colorful-gradient);
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 260px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-category {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 12px;
    padding-left: 12px;
}

.dropdown-menu a {
    display: block;
    padding: 10px 12px;
    border-radius: 12px;
    color: var(--text-dark) !important;
    transition: all 0.2s ease !important;
}

.dropdown-menu a:hover {
    background: var(--bg-gray);
    padding-left: 18px;
    color: var(--primary) !important;
}

.dropdown-menu a::after {
    display: none;
}

/* Actions */
.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    border-radius: 2px;
}

@media (max-width: 1024px) {
    .navbar {
        top: 15px;
        width: calc(100% - 32px);
        min-width: 0;
        padding: 12px 20px;
        border-radius: var(--radius-2xl);
    }

    .nav-container {
        justify-content: space-between;
        width: 100%;
        gap: 0;
    }

    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        padding: 100px 40px 40px;
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1000;
        overflow: hidden;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-panes-container {
        width: 200%; /* For sliding effect */
        height: 100%;
        display: flex;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .nav-links.submenu-active .nav-panes-container {
        transform: translateX(-50%);
    }

    .nav-pane {
        width: 50%;
        height: 100%;
        display: flex !important; /* Overriding display: none */
        flex-direction: column;
        gap: var(--space-6);
        overflow-y: auto;
    }

    .nav-links a {
        font-size: 32px;
        font-weight: 700;
        color: var(--text-dark) !important;
    }

    .nav-links a::after {
        display: none;
    }

    .menu-close-btn {
        position: absolute;
        top: 30px;
        right: 30px;
        font-size: 40px;
        background: none;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
    }

    .nav-pane .nav-item-dropdown {
        width: 100%;
    }

    .nav-pane .has-submenu {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
    }

    /* Sub-pane Styles */
    .nav-pane.sub-pane {
        display: flex !important;
        padding-left: 20px;
    }

    .menu-back-btn {
        display: flex;
        align-items: center;
        gap: 10px;
        background: none;
        border: none;
        font-size: var(--text-lg);
        font-weight: 700;
        color: var(--primary);
        cursor: pointer;
        margin-bottom: var(--space-8);
    }

    .submenu-header {
        font-size: var(--text-xs);
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--text-muted);
        margin-bottom: var(--space-4);
    }

    .nav-actions .btn {
        display: none; /* Hide 'Partner with us' on mobile in the nav to prioritize menu */
    }
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   HERO SECTION - HOMEPAGE
   ======================================== */

/* ========================================
   HERO SECTION - THE GLASS NARRATIVE
   ======================================== */

.home-hero {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 180px 0 100px;
    background-color: #ffffff; /* Clean white base for light theme */
    overflow: hidden;
}

.hero-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, #f4f6fa 0%, #e8ecf1 100%);
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    pointer-events: none;
}

/* Split-screen layout style adaptations */

.home-hero .glass-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-dark);
}

.home-hero .glass-btn:hover {
    background: rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.18);
}

.hero-stats-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: var(--space-12);
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.02); /* Translucent dark background */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    z-index: 5;
    animation: float-slow 8s infinite ease-in-out;
}

.hero-stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark); /* Dark text */
}

.hero-stat-item i,
.hero-stat-item svg {
    width: 18px;
    height: 18px;
    color: var(--primary); /* Primary brand orange/red for highlights */
}

.hero-stat-divider {
    width: 1px;
    height: 20px;
    background: rgba(0, 0, 0, 0.1);
}

.hero-toon-wrapper {
    position: relative;
    width: 100%;
    max-width: 580px; /* Made visually larger to fill space */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    animation: float-slow 8s infinite ease-in-out;
}

.hero-toon-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    filter: drop-shadow(0 25px 50px rgba(0, 0, 0, 0.12));
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-toon-img:hover {
    transform: scale(1.04) translateY(-8px);
    filter: drop-shadow(0 30px 60px rgba(58, 134, 255, 0.15));
}

.floating-element {
    position: absolute;
    width: 85px;
    height: 85px;
    z-index: 6;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-element img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.1));
}

.float-first-aid {
    top: 10%;
    left: -6%;
    animation: float-element-1 7s infinite ease-in-out;
}

.float-pill {
    bottom: 20%;
    right: -6%;
    animation: float-element-2 7s infinite ease-in-out alternate;
    animation-delay: -2.5s;
}

.floating-element:hover {
    transform: scale(1.2) rotate(15deg) !important;
    filter: drop-shadow(0 25px 45px rgba(255, 74, 31, 0.2));
}

@keyframes float-element-1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-16px) rotate(12deg); }
}

@keyframes float-element-2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(-18deg); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(58, 134, 255, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(252, 54, 45, 0.02) 0%, transparent 40%),
                linear-gradient(to bottom, transparent 60%, #ffffff 100%);
    z-index: 1;
}

/* Light Orbs for depth */
.hero-light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.12; /* Subtle opacity for light mode */
    pointer-events: none;
    animation: orb-drift 20s infinite alternate ease-in-out;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--colorful-gradient);
    top: -100px;
    right: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--vibrant-blue);
    bottom: -50px;
    left: 10%;
    animation-delay: -5s;
}

@keyframes orb-drift {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.hero-content-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: var(--container-width);
    padding: 0 var(--container-padding);
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: var(--space-8); /* Reduced gap to accommodate larger columns proportionately */
    width: 100%;
}

.hero-text-block {
    flex: 0.95;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: var(--space-6);
}

.hero-visual-block {
    flex: 1.05;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1500px;
}

/* Badge Refinement */
.glass-badge {
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title-main {
    font-size: clamp(48px, 5.5vw, 80px);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -3px;
    color: var(--text-dark); /* Dark text for light theme */
}

.hero-title-main span {
    display: block;
}

.hero-description {
    font-size: var(--text-lg);
    color: var(--text-muted); /* Darker muted text for light theme */
    max-width: 580px;
    line-height: 1.6;
}

.hero-cta-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* Button Enhancements */
.btn-glow {
    background: var(--colorful-gradient);
    box-shadow: 0 0 30px rgba(58, 134, 255, 0.3);
}

.btn-glow:hover {
    box-shadow: 0 0 50px rgba(58, 134, 255, 0.5);
    transform: translateY(-3px);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Visual Block Design */
.main-visual-container {
    position: relative;
    width: 100%;
    max-width: 500px;
    animation: float-slow 8s infinite ease-in-out;
}

.hero-infographic {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 50px rgba(58, 134, 255, 0.25));
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Success Cards */
.floating-glass-card {
    position: absolute;
    padding: 16px 20px;
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 5;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-glass-card:hover {
    transform: scale(1.05) translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(20, 20, 20, 0.7);
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(58, 134, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--vibrant-blue);
}

.card-text {
    display: flex;
    flex-direction: column;
}

.card-label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
    font-weight: 700;
}

.card-value {
    font-size: 14px;
    font-weight: 600;
    color: white;
}

.success-card {
    top: 10%;
    left: -30px;
    animation: float-card 6s infinite ease-in-out;
}

.uptime-card {
    bottom: 15%;
    right: -40px;
    animation: float-card 6s infinite ease-in-out alternate;
    animation-delay: -2s;
}

@keyframes float-card {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-10px) rotate(2deg); }
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.4);
    z-index: 10;
}

.hero-scroll-indicator span {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: wheel-scroll 2s infinite ease-in-out;
}

@keyframes wheel-scroll {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(15px); opacity: 0; }
}

/* Responsive Overrides for Hero */
@media (max-width: 1024px) {
    .home-hero {
        padding: 120px 0 60px;
        text-align: center;
    }
    
    .hero-inner {
        flex-direction: column;
        gap: var(--space-12);
    }
    
    .hero-text-block {
        align-items: center;
        text-align: center;
    }
    
    .hero-title-main {
        font-size: 42px;
        letter-spacing: -1.5px;
    }
    
    .hero-cta-wrap {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-cta-wrap .btn {
        width: 100%;
    }
    
    .hero-toon-wrapper {
        max-width: 380px;
        margin: 0 auto;
    }
    
    .floating-element {
        width: 65px;
        height: 65px;
    }
    
    .float-first-aid {
        left: -3%;
    }
    
    .float-pill {
        right: -3%;
    }
}

@media (max-width: 768px) {
    .hero-stats-row {
        flex-direction: column;
        gap: 12px;
        border-radius: 20px;
        padding: 16px 20px;
        width: 100%;
        max-width: 320px;
    }
    
    .hero-stat-divider {
        display: none;
    }
    
    .hero-toon-wrapper {
        max-width: 300px;
    }
    
    .floating-element {
        width: 50px;
        height: 50px;
    }
    
    .float-first-aid {
        left: -1%;
        top: 12%;
    }
    
    .float-pill {
        right: -1%;
        bottom: 22%;
    }
}

/* ========================================
   TRUSTED BY SECTION
   ======================================== */

.trusted-by-section {
    padding: var(--space-16) 0;
    border-bottom: 1px solid var(--border-light);
    background-color: white;
    text-align: center;
}

.trusted-text {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-8);
}

.logo-marquee-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    min-height: 60px;
    padding: 20px 0;
}

.logo-marquee {
    display: flex;
    gap: var(--space-16);
    width: max-content;
    animation: marquee 30s linear infinite;
}

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

.client-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity var(--transition-base);
    filter: grayscale(100%);
}

.client-logo:hover {
    opacity: 1;
    filter: grayscale(0%);
}

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

    100% {
        transform: translateX(calc(-33.333% - var(--space-5)));
    }
}

/* ========================================
   CARD COMPONENTS
   ======================================== */

.service-card {
    padding: var(--space-10);
    background-color: var(--bg-gray);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.service-card:hover {
    transform: translateY(-10px);
    background-color: white;
    box-shadow: var(--shadow-xl);
    border-color: transparent;
    border-top: 4px solid var(--vibrant-blue);
    box-shadow: 0 20px 40px rgba(58, 134, 255, 0.1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background-color: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.service-icon i,
.service-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.service-card h3 {
    font-size: var(--text-xl);
    margin: 0;
}

.service-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
}

/* Testimonial Cards */
.testimonial-card {
    padding: var(--space-10);
    background-color: var(--bg-card);
    border-radius: var(--radius-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-content p {
    font-size: var(--text-lg);
    color: var(--text-dark);
    line-height: 1.6;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.author-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-size: var(--text-base);
    font-weight: 600;
    margin: 0;
}

.author-info span {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* ========================================
   PORTFOLIO / PROJECTS
   ======================================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-16);
}

.portfolio-item {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    transition: var(--transition-base);
}

.portfolio-img-wrapper {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background-color: #eee;
    aspect-ratio: 16 / 10;
}

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

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

.portfolio-info {
    padding: 0 var(--space-3);
}

.project-category {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: var(--space-2);
}

.project-title {
    font-size: var(--text-2xl);
    margin: 0;
    transition: color var(--transition-base);
}

.portfolio-item:hover .project-title {
    color: var(--vibrant-purple);
}

.portfolio-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--colorful-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    mix-blend-mode: overlay;
}

.portfolio-item:hover .portfolio-img-wrapper::after {
    opacity: 0.3;
}

.center-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: var(--space-8);
}

/* ========================================
   FAQ ACCORDION
   ======================================== */

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-question {
    padding: var(--space-6);
    cursor: pointer;
    font-weight: 600;
    font-family: var(--font-heading);
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
}

.faq-question span {
    flex: 1;
}

.faq-question i,
.faq-question svg {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-base);
    flex-shrink: 0;
}

.faq-answer {
    padding: 0 var(--space-6);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-slow);
    background-color: white;
}

.faq-answer p {
    padding-bottom: var(--space-6);
    color: var(--text-muted);
}

.faq-item.active {
    border-color: var(--primary);
}

.faq-item.active .faq-question i,
.faq-item.active .faq-question svg {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ========================================
   FOOTER
   ======================================== */

.footer-cta {

    padding: 0;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--space-24) var(--container-padding);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
}

.cta-content h2 {
    font-size: var(--text-6xl);
    line-height: 1.2;
    max-width: 600px;
}



/* ========================================
   ANIMATIONS
   ======================================== */

.fade-in {
    opacity: 0;
}

.fade-in-visible {
    animation: slideUp 0.8s ease forwards;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* ========================================
   SECTION-SPECIFIC STYLES
   ======================================== */

/* About Summary - Premium Innovation Mosaic */
.about-summary-section {
    padding: var(--space-32) 0;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-32);
    align-items: center;
}

.about-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-10);
    z-index: 2;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    width: 100%;
    margin-top: var(--space-8);
}

.about-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.stat-value {
    font-size: var(--text-5xl);
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.05em;
}

.stat-desc {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Mosaic Architecture */
.about-image-wrapper {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-mosaic-container {
    position: relative;
    width: 100%;
    height: 100%;
    perspective: 2000px;
    transform-style: preserve-3d;
}

.mosaic-tile {
    position: absolute;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mosaic-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1.2s ease;
}

/* Tile Layout */
.tile-1 { /* Primary Strategic Visual */
    width: 80%;
    height: 70%;
    top: 5%;
    left: 10%;
    z-index: 1;
    transform: rotate(-2deg);
}

.tile-2 { /* Mobile Product Visual */
    width: 60%;
    height: 45%;
    bottom: 5%;
    right: 0%;
    z-index: 3;
    transform: rotate(3deg) translateZ(50px);
}

.tile-3 { /* Data/Dashboard Fragment */
    width: 45%;
    height: 35%;
    top: 0;
    right: 5%;
    z-index: 2;
    transform: rotate(-5deg) translateZ(20px);
}

/* Mosaic Interaction */
.about-mosaic-container:hover .tile-1 { transform: rotate(0deg) scale(1.02); }
.about-mosaic-container:hover .tile-2 { transform: rotate(0deg) translateZ(80px) scale(1.05); }
.about-mosaic-container:hover .tile-3 { transform: rotate(0deg) translateZ(40px) scale(1.08) translateX(20px); }

.mosaic-tile:hover img {
    transform: scale(1.1);
}

/* Responsive Mosaic */
@media (max-width: 1200px) {
    .stat-value { font-size: var(--text-4xl); }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-20);
    }
    
    .about-image-wrapper {
        height: 500px;
        order: -1;
    }
    
    .tile-1 { width: 90%; height: 80%; left: 5%; }
    .tile-2 { width: 50%; height: 50%; bottom: 0; right: 5%; }
    .tile-3 { display: none; }
}

@media (max-width: 768px) {
    .about-summary-section { padding: var(--space-20) 0; }
    .about-image-wrapper { height: 400px; }
    .stat-value { font-size: var(--text-3xl); }
}

/* Services Summary */
/* Services Summary - Premium Narrative Studio Experience (Light) */
.services-summary-section {
    padding: var(--space-32) 0;
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
    background-size: 100px 100px;
    position: relative;
    overflow: hidden;
}

.services-summary-section .section-title {
    color: #121212;
    font-size: var(--text-6xl);
    font-weight: 800;
    letter-spacing: -0.03em;
}

.services-summary-section .section-subtitle {
    color: #4a5568;
    max-width: 700px;
}

/* Narrative Row Architecture */
.narrative-container {
    margin-top: var(--space-24);
    display: flex;
    flex-direction: column;
    gap: var(--space-32);
}

.narrative-row {
    display: flex;
    align-items: center;
    gap: var(--space-16);
    position: relative;
}

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

/* Visual Stage */
.narrative-visual-stage {
    flex: 1.2;
    position: relative;
    height: 600px;
    border-radius: var(--radius-3xl);
    overflow: visible; /* Bleed out effect */
}

.narrative-visual-stage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-3xl);
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.1));
    transition: transform 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.narrative-row:hover .narrative-visual-stage img {
    transform: scale(1.02) translateY(-10px);
}

/* Crystal Content Card */
.crystal-content-card {
    flex: 0.8;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-3xl);
    padding: var(--space-16);
    box-shadow: 
        0 10px 30px -10px rgba(0, 0, 0, 0.05),
        0 40px 100px -20px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
    margin-left: -100px; /* Overlap effect */
    transition: all 0.6s ease;
}

.narrative-row:nth-child(even) .crystal-content-card {
    margin-left: 0;
    margin-right: -100px;
}

/* Card Elements */
.narrative-number {
    font-family: var(--font-heading);
    font-size: 150px;
    font-weight: 900;
    color: rgba(0, 0, 0, 0.03);
    position: absolute;
    top: -40px;
    right: 40px;
    line-height: 1;
    z-index: -1;
    pointer-events: none;
}

.narrative-row:nth-child(even) .narrative-number {
    right: auto;
    left: 40px;
}

.narrative-badge {
    display: inline-block;
    padding: var(--space-2) var(--space-5);
    background: rgba(var(--primary-rgb), 0.05);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-6);
}

.crystal-content-card h3 {
    font-size: var(--text-4xl);
    color: #121212;
    margin-bottom: var(--space-5);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.crystal-content-card p {
    font-size: var(--text-lg);
    color: #4a5568;
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.narrative-link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
    font-size: var(--text-base);
    transition: all 0.3s ease;
}

.narrative-link i {
    transition: transform 0.3s ease;
}

.narrative-link:hover i {
    transform: translateX(8px);
}

.narrative-row:hover .crystal-content-card {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 40px -10px rgba(0, 0, 0, 0.08),
        0 50px 120px -20px rgba(0, 0, 0, 0.12);
}

/* Responsive Narrative */
@media (max-width: 1200px) {
    .narrative-visual-stage { height: 450px; }
    .crystal-content-card { padding: var(--space-12); }
    .narrative-number { font-size: 100px; }
}

@media (max-width: 992px) {
    .narrative-row, 
    .narrative-row:nth-child(even) {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-8);
    }
    
    .narrative-visual-stage {
        width: 100%;
        height: 400px;
        flex: none;
    }
    
    .crystal-content-card,
    .narrative-row:nth-child(even) .crystal-content-card {
        width: 90%;
        margin-left: 5%;
        margin-top: -80px;
        flex: none;
        margin-right: 0;
    }

    .services-summary-section .section-title {
        font-size: var(--text-4xl);
    }
}

/* Projects Summary */
.projects-summary-section {
    padding: var(--space-24) 0;
}

.projects-header {
    margin-bottom: var(--space-16);
    text-align: center;
}

.header-text {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

/* Testimonials */
.testimonials-section {
    padding: var(--space-24) 0;
    background-color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-16);
}

/* FAQ Section */
.faq-section {
    padding: var(--space-24) 0;

}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1239px) {
    :root {
        --text-8xl: 64px;
        --text-7xl: 48px;
    }

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

@media (max-width: 1024px) {
    :root {
        --text-8xl: 42px;
        --text-7xl: 32px;
        --text-6xl: 28px;
    }

    .section-title {
        font-size: var(--text-7xl) !important;
        letter-spacing: -1px !important;
    }

    .nav-links,
    .nav-actions .btn-brand {
        display: none !important;
    }

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

    .hero-heading {
        font-size: var(--text-6xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--space-4);
    }

    .grid-2,
    .grid-3,
    .grid-4,
    .services-grid-summary,
    .portfolio-grid,
    .testimonials-grid,
    .about-grid {
        grid-template-columns: 1fr;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }

    .section {
        padding: var(--space-12) 0;
    }

    .about-summary-section,
    .services-summary-section,
    .projects-summary-section,
    .testimonials-section,
    .faq-section {
        padding: var(--space-16) 0;
    }

    .cta-content h2 {
        font-size: var(--text-4xl);
    }
}

/* Tablet Specific */
@media (min-width: 810px) and (max-width: 1239px) {


    .about-grid {
        gap: var(--space-16);
    }
}

/* ========================================
   ADDITIONAL PAGE STYLES
   ======================================== */

/* Legal Page */
.legal-page {
    padding: 180px 0 var(--space-24);
    background-color: var(--bg-white);
}

.legal-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto var(--space-16);
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-12);
}

.legal-section {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.legal-section h2 {
    font-size: var(--text-3xl);
    color: var(--text-dark);
    margin-bottom: var(--space-2);
}

.legal-section p {
    color: var(--text-muted);
    line-height: 1.7;
}

.legal-section ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.legal-section ul li {
    padding-left: 28px;
    position: relative;
    color: var(--text-muted);
    line-height: 1.6;
}

.legal-section ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.legal-section ul li strong {
    color: var(--text-dark);
    font-weight: 600;
}



/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-20);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-8);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.form-group label {
    font-weight: 600;
    font-size: var(--text-sm);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--space-4);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: var(--text-base);
    transition: var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(252, 54, 45, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {

    .navbar,
    .footer-cta,
    .footer-modern {
        display: none;
    }
}

/* ========================================
   ABOUT PAGE SPECIFIC STYLES
   ======================================== */

/* About Hero Section */
.about-hero-section {
    padding: 180px 0 var(--space-20);

}

.about-hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-8);
    margin-bottom: var(--space-16);
}

.about-hero-image {
    width: 100%;
    border-radius: var(--radius-3xl);
    overflow: hidden;
    aspect-ratio: 21 / 9;
    margin-top: var(--space-12);
}

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

/* Vision Section */
.vision-section {
    padding: var(--space-24) 0;
    background-color: white;
}

.vision-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-20);
    align-items: center;
}

.vision-image {
    border-radius: var(--radius-3xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.vision-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vision-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-8);
}

/* Values Section */
.values-section {
    padding: var(--space-24) 0;
    background-color: var(--bg-gray);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.value-card {
    padding: var(--space-10);
    background-color: white;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-5);
}

.value-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.value-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.value-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.value-card h3 {
    font-size: var(--text-xl);
    margin: 0;
}

.value-card p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.6;
}

/* Team Section */
.team-section {
    padding: var(--space-24) 0;
    background-color: white;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-16);
}

.team-member {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    transition: var(--transition-base);
}

.team-member:hover {
    transform: translateY(-5px);
}

.member-image {
    width: 100%;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--bg-gray);
}

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

.team-member:hover .member-image img {
    transform: scale(1.05);
}

.member-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.member-info h3 {
    font-size: var(--text-xl);
    margin: 0;
}

.member-role {
    font-size: var(--text-sm);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.member-info p {
    font-size: var(--text-sm);
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* Responsive - About Page */
@media (max-width: 1239px) {
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 809px) {
    .about-hero-section {
        padding: 140px 0 var(--space-12);
    }

    .about-hero-image {
        aspect-ratio: 4 / 3;
    }

    .vision-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .vision-image {
        order: 2;
    }

    .vision-content {
        order: 1;
    }

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

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



/* ========================================
   OUR MISSION SECTION
   ======================================== */

.our-mission-section {
    padding: var(--space-20) 0;
    background-color: var(--bg-white);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.mission-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding-right: var(--space-8);
}

.mission-content .section-title {
    margin: var(--space-4) 0;
}

.mission-content .section-description {
    margin-bottom: var(--space-6);
}

.mission-image {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    aspect-ratio: 4 / 3;
}

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

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

@media (max-width: 768px) {
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-12);
    }

    .mission-content {
        padding-right: 0;
    }
}

/* Animation Delays */
.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* ========================================
   STICKY STACKING ANIMATION
   ======================================== */

/* Make the left content sticky so it stays in view while cards scroll */
.vision-intro {
    position: sticky;
    top: 120px;
    /* Adjust based on navbar height */
    align-self: start;
    height: fit-content;
}

/* Make value cards stick and stack */
.values-cards-grid {
    position: relative;
}

.values-cards-grid .value-card {
    position: sticky;
    /* Base top offset */
    top: 120px;
    z-index: 1;
    /* Add a subtle shadow or border to distinguish stacked cards */
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Staggered offsets for stacking effect */
.values-cards-grid .value-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.values-cards-grid .value-card:nth-child(2) {
    top: 140px;
    z-index: 2;
}

.values-cards-grid .value-card:nth-child(3) {
    top: 160px;
    z-index: 3;
}

.values-cards-grid .value-card:nth-child(4) {
    top: 180px;
    z-index: 4;
}

/* Ensure mobile resets sticky behavior */
@media (max-width: 768px) {
    .vision-intro {
        position: relative;
        top: 0;
    }

    .values-cards-grid .value-card {
        position: relative;
        top: 0 !important;
    }
}

/* ========================================
   HOME SERVICES STICKY SECTION
   ======================================== */

.home-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.home-services-intro {
    position: sticky;
    /* Make left column sticky */
    top: 120px;
    align-self: start;
    height: fit-content;
}

.home-services-cards {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Scoped Service Card Styling for Home Sticky Section */
.home-services-cards .service-card {
    background-color: white;
    padding: var(--space-8);
    border-radius: 40px;
    /* Matching Vision Section */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;

    /* Sticky logic */
    position: sticky;
    top: 120px;
    z-index: 1;
    margin-bottom: var(--space-6);
    /* Spacing between cards when stacked */
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Depth shadow */
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

/* Staggered offsets for stacking effect */
.home-services-cards .service-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.home-services-cards .service-card:nth-child(2) {
    top: 140px;
    z-index: 2;
}

.home-services-cards .service-card:nth-child(3) {
    top: 160px;
    z-index: 3;
}

.home-services-cards .service-card:nth-child(4) {
    top: 180px;
    z-index: 4;
}

/* Icon Styling to match Vision Section Styles */
.home-services-cards .service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff4433;
    /* Red Circle */
    border-radius: 50%;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.home-services-cards .service-icon i,
.home-services-cards .service-icon svg {
    color: white;
    width: 32px;
    height: 32px;
}

/* Responsive Reset */
@media (max-width: 992px) {
    .home-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .home-services-intro {
        position: relative;
        top: 0;
        margin-bottom: var(--space-8);
    }

    .home-services-cards .service-card {
        position: relative;
        top: 0 !important;
        margin-bottom: var(--space-6);
    }
}

/* Fix for Sticky Cards Hover Jitter/Line Issue */
.values-cards-grid .value-card:hover,
.home-services-cards .service-card:hover {
    transform: none !important;
    /* Disable lift effect to prevent sticky glitch */
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Keep original shadow, don't change */
    border-color: var(--primary);
    /* Keep highlight if desired */
}

/* ========================================
   SERVICES PAGE STYLES
   ======================================== */

.services-hero {
    padding: 120px 0 80px;
    background-color: white;
}

.hero-content.center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.services-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-16);
    width: 100%;
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-8);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2);
}

.stat-number {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-heading);
}

.stat-label {
    color: var(--text-body);
    font-size: 14px;
}

/* Map Services Page Sticky Section to Home Styles */
.sticky-services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
}

.sticky-side-intro {
    position: sticky;
    top: 120px;
    align-self: start;
    height: fit-content;
}

.sticky-cards-column {
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Reusing Home Card Styles for Services Page */
.sticky-cards-column .service-card {
    background-color: white;
    padding: var(--space-8);
    border-radius: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    position: sticky;
    top: 120px;
    z-index: 1;
    margin-bottom: var(--space-6);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.02), 0 10px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

/* Fix for Hover Jitter on Services Page too */
.sticky-cards-column .service-card:hover {
    transform: none !important;
    border-color: var(--primary);
}

.sticky-cards-column .service-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.sticky-cards-column .service-card:nth-child(2) {
    top: 140px;
    z-index: 2;
}

.sticky-cards-column .service-card:nth-child(3) {
    top: 160px;
    z-index: 3;
}

.sticky-cards-column .service-card:nth-child(4) {
    top: 180px;
    z-index: 4;
}

/* Icon Styling */
.sticky-cards-column .service-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ff4433;
    border-radius: 50%;
    margin-bottom: var(--space-4);
    flex-shrink: 0;
}

.sticky-cards-column .service-icon i,
.sticky-cards-column .service-icon svg {
    color: white;
    width: 32px;
    height: 32px;
}

/* Responsive */
@media (max-width: 992px) {
    .services-stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-8);
    }

    .sticky-services-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .sticky-side-intro {
        position: relative;
        top: 0;
        margin-bottom: var(--space-8);
    }

    .sticky-cards-column .service-card {
        position: relative;
        top: 0 !important;
        margin-bottom: var(--space-6);
    }
}

@media (max-width: 480px) {
    .services-stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MODERN SERVICES PAGE - CUSTOM DESIGN
   ======================================== */

/* 1. Modern Hero */
.services-hero-modern {
    padding: 140px 0 100px;
    background-color: white;
    overflow: hidden;
    text-align: center;
}

.hero-content-modern {
    max-width: 900px;
    margin: 0 auto;
}

.hero-title-large {
    font-size: clamp(48px, 6vw, 96px);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-top: var(--space-3);
    margin-bottom: var(--space-6);
    color: var(--text-heading);
}

.highlight-text {
    color: var(--primary);
    display: inline-block;
}

.hero-subtitle-large {
    font-size: 20px;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto var(--space-10);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: var(--space-4);
    justify-content: center;
}

/* 2. Text Marquee */
.text-marquee-wrapper {
    background-color: var(--bg-gray);
    padding: var(--space-8) 0;
    overflow: hidden;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    white-space: nowrap;
    position: relative;
    z-index: 1;
}

.text-marquee {
    display: inline-flex;
    animation: marquee 20s linear infinite;
    width: max-content;
}

.text-marquee span {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-heading);
    margin: 0 var(--space-12);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.text-marquee .separator {
    color: var(--primary);
    margin: 0;
}

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

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

    /* Assumes content is duplicated 2x */
}

/* 3. Detailed Services (Extending Sticky Stack) */
.service-list {
    list-style: none;
    padding: 0;
    margin-top: var(--space-6);
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-6);
    width: 100%;
}

.service-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-3);
    font-size: 15px;
    color: var(--text-body);
    font-weight: 500;
}

.service-list li i {
    width: 18px;
    height: 18px;
    color: var(--primary);
    stroke-width: 2.5px;
}

/* 4. Process Section Dark */
.process-section-dark {
    background-color: #0c0407;
    /* Dark Token */
    color: white;
    padding: 120px 0;
}

.process-section-dark .section-title {
    color: white;
}

.process-section-dark .section-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.dark-badge {
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.badge-dot.white {
    background-color: white;
}

.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-top: 80px;
    position: relative;
}

/* Connecting Line */
.process-steps-grid::before {
    content: '';
    position: absolute;
    top: 30px;
    /* Aligns with number center roughly */
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, var(--primary) 0%, rgba(255, 255, 255, 0.1) 100%);
    z-index: 0;
}

.process-step {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    position: relative;
    z-index: 1;
}

.step-number {
    font-size: 56px;
    font-weight: 700;
    color: #0c0407;
    /* BG color text stroke effect or block */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.5);
    line-height: 1;
    background-color: #0c0407;
    /* Hide line behind number */
    width: max-content;
}

.process-step h3 {
    font-size: 24px;
    color: white;
    margin: 0;
}

.process-step p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 15px;
    line-height: 1.6;
}

/* 5. FAQ Modern */
.faq-section-modern {
    padding: 120px 0;
    background-color: white;
}

.faq-grid-custom {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12) var(--space-16);
    margin-top: var(--space-12);
}

.faq-item-modern {
    border-bottom: 1px solid var(--border-light);
    padding-bottom: var(--space-4);
}

.faq-item-modern summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 20px;
    font-weight: 600;
    color: var(--text-heading);
    padding: var(--space-4) 0;
    transition: color 0.2s;
}

.faq-item-modern summary::-webkit-details-marker {
    display: none;
}

.faq-item-modern[open] summary {
    color: var(--primary);
}

.faq-item-modern p {
    margin-top: var(--space-2);
    color: var(--text-body);
    font-size: 16px;
    line-height: 1.6;
    animation: fadeIn 0.3s ease;
}

/* Animations included in style.css already? If not: */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Responsive */
@media (max-width: 992px) {
    .services-hero-modern {
        padding: 100px 0 60px;
    }

    .hero-title-large {
        font-size: 48px;
    }

    .process-steps-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .process-steps-grid::before {
        display: none;
    }

    /* Remove line on mobile */
    .step-number {
        padding: 0;
        font-size: 40px;
    }

    .faq-grid-custom {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ========================================
   CAREERS PAGE STYLES
   ======================================== */

.careers-hero {
    padding: 160px 0 100px;
    background-color: white;
}

/* Culture Section */
.culture-section {
    padding: 100px 0;
    background-color: var(--bg-gray);
}

.culture-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.culture-image-large img {
    width: 100%;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    transition: transform 0.5s ease;
}

.culture-image-large:hover img {
    transform: scale(1.02);
}

.culture-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.culture-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

.c-stat {
    display: flex;
    flex-direction: column;
}

.c-stat span {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
}

.c-stat small {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-body);
}

/* Benefits Section */
.benefits-section {
    padding: 120px 0;
    background-color: white;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.benefit-card {
    padding: var(--space-6);
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    text-align: left;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background-color: var(--bg-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-5);
    color: var(--text-heading);
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: var(--space-2);
    font-weight: 600;
}

.benefit-card p {
    font-size: 14px;
    color: var(--text-body);
    line-height: 1.6;
}

/* Open Roles Section */
.jobs-section {
    padding: 100px 0;
    background-color: white;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-8);
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-8);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    background-color: white;
}

.job-item:hover {
    border-color: var(--primary);
    background-color: var(--bg-gray);
    transform: scale(1.01);
}

.job-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.job-dept {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    font-weight: 600;
}

.job-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    color: var(--text-heading);
}

.job-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-body);
}

.job-loc i {
    width: 14px;
    height: 14px;
}

.job-action {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--text-heading);
    font-weight: 500;
}

.job-action i {
    transition: transform 0.3s ease;
}

.job-item:hover .job-action i {
    transform: translateX(5px);
    color: var(--primary);
}

/* Responsive */
@media (max-width: 992px) {
    .culture-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

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

@media (max-width: 768px) {
    .job-item {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-4);
    }

    .job-action {
        align-self: flex-start;
    }

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

/* ========================================
   MODERN SERVICES PAGE REDESIGN (2026)
   ======================================== */

/* --- Hero Section V2 --- */
.services-hero-v2 {
    padding: 180px 0 100px;
    background-color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-dark);
    text-align: center;
}

.services-hero-v2 .hero-title-v2 {
    color: var(--text-dark);
}

.services-hero-v2 .hero-subtitle-v2 {
    color: var(--text-muted);
    line-height: 1.8;
}

.services-hero-v2 .section-badge {
    color: var(--text-dark);
    border-color: var(--border-medium);
}

.hero-content-v2 {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-3);
}

.pill-badge {
    display: inline-flex;
    padding: 6px 16px;
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
    color: var(--text-dark);
}

.hero-title-v2 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle-v2 {
    font-size: clamp(1.125rem, 2vw, 1.5rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.5;
}

/* --- Bento Grid Section --- */
.bento-section {
    padding: var(--space-20) 0;
    background-color: var(--bg-white);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: var(--space-6);
}

@media (min-width: 768px) {
    .bento-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-8);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    position: relative;
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: var(--shadow-xl);
    border-color: rgba(0, 0, 0, 0.15);
}

/* Grid Concept: 
   Row 1: Large (2 cols), Medium (1 col)
   Row 2: Medium (1 col), Wide (2 cols) 
*/

@media (min-width: 768px) {
    .bento-large {
        grid-column: span 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--space-6);
        align-items: center;
    }

    .bento-medium {
        grid-column: span 1;
    }

    .bento-wide {
        grid-column: span 3;
    }

    /* Correction for desired layout Layout for 5 items:
       Row 1: bento-large (colspan 2), bento-medium (colspan 1)
       Row 2: bento-medium (colspan 1), bento-medium (colspan 1), bento-medium (colspan 1)
    */
    .bento-large {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .bento-medium:nth-child(2) {
        grid-column: 3 / 4;
        grid-row: 1;
    }

    .bento-medium:nth-child(3) {
        grid-column: 1 / 2;
        grid-row: 2;
    }

    .bento-medium:nth-child(4) {
        grid-column: 2 / 3;
        grid-row: 2;
    }

    .bento-medium:nth-child(5) {
        grid-column: 3 / 4;
        grid-row: 2;
    }
}

.bento-content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    z-index: 2;
}

.bento-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-2);
}

.bento-icon i,
.bento-icon svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
    stroke-width: 2px;
}

.bento-card h3 {
    font-size: var(--text-2xl);
    letter-spacing: -0.5px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: var(--text-base);
    line-height: 1.8;
}

.bento-tags {
    display: flex;
    gap: var(--space-2);
    margin-top: var(--space-4);
    flex-wrap: wrap;
}

.bento-tags li {
    font-size: 13px;
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    font-weight: 500;
}

.visual-web {
    background: url('assets/web_dashboard.png') no-repeat center center;
    background-size: cover;
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    min-height: 200px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

/* Remove abstract shape decoration since we have a real image */
.visual-web::before {
    display: none;
}

/* Stat circle */
.stat-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: white;
    border: 1px solid var(--border-light);
    flex-shrink: 0;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
}

/* --- How We Work (Alternating Row Layout) --- */
.how-we-work-section {
    padding: var(--space-20) 0;
    background: var(--bg-light);
}

.how-we-work-header {
    text-align: center;
    margin-bottom: 72px;
}

.how-we-work-header h2 {
    font-size: var(--text-5xl);
    letter-spacing: -1.5px;
    margin-bottom: var(--space-4);
}

.how-we-work-header p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto var(--space-6);
}

/* Each step row */
.process-step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-8);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: white;
}

.process-step-row:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

/* Reverse order for even rows — image on right */
.process-step-row.reverse {
    direction: rtl;
}
.process-step-row.reverse > * {
    direction: ltr;
}

/* Image side */
.process-step-image {
    position: relative;
    overflow: hidden;
    min-height: 340px;
}

.process-step-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.5s ease;
}

.process-step-row:hover .process-step-image img {
    transform: scale(1.04);
}

/* Step number watermark on image */
.process-step-image::before {
    content: attr(data-step);
    position: absolute;
    top: 20px;
    right: 24px;
    font-family: var(--font-heading);
    font-size: 72px;
    font-weight: 900;
    color: rgba(255,255,255,0.18);
    line-height: 1;
    z-index: 2;
    pointer-events: none;
}

/* Color overlay tint per step */
.process-step-image::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}
.process-step-row:nth-child(1) .process-step-image::after { background: linear-gradient(135deg, rgba(147,51,234,0.25) 0%, transparent 60%); }
.process-step-row:nth-child(2) .process-step-image::after { background: linear-gradient(135deg, rgba(6,182,212,0.25) 0%, transparent 60%); }
.process-step-row:nth-child(3) .process-step-image::after { background: linear-gradient(135deg, rgba(37,99,235,0.25) 0%, transparent 60%); }
.process-step-row:nth-child(4) .process-step-image::after { background: linear-gradient(135deg, rgba(234,88,12,0.25) 0%, transparent 60%); }

/* Content side */
.process-step-content {
    padding: 52px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: var(--space-4);
}

.process-step-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 999px;
    width: fit-content;
}

/* Label colors per step */
.process-step-row:nth-child(1) .process-step-label { background: #f3e8ff; color: #9333ea; }
.process-step-row:nth-child(2) .process-step-label { background: #cffafe; color: #0891b2; }
.process-step-row:nth-child(3) .process-step-label { background: #dbeafe; color: #2563eb; }
.process-step-row:nth-child(4) .process-step-label { background: #ffedd5; color: #ea580c; }

.process-step-content h3 {
    font-size: var(--text-3xl);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin: 0;
    line-height: 1.2;
}

.process-step-content p {
    font-size: var(--text-base);
    color: var(--text-muted);
    line-height: 1.8;
    margin: 0;
    max-width: 400px;
}

/* Colorful left accent bar on content side */
.process-step-content::before {
    content: '';
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: var(--space-2);
}

.process-step-row:nth-child(1) .process-step-content::before { background: linear-gradient(90deg, #a855f7, #ec4899); }
.process-step-row:nth-child(2) .process-step-content::before { background: linear-gradient(90deg, #22d3ee, #3b82f6); }
.process-step-row:nth-child(3) .process-step-content::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.process-step-row:nth-child(4) .process-step-content::before { background: linear-gradient(90deg, #f97316, #eab308); }

/* Responsive */
@media (max-width: 900px) {
    .process-step-row {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .process-step-row.reverse {
        direction: ltr;
    }
    .process-step-image {
        min-height: 220px;
    }
    .process-step-content {
        padding: 32px 28px;
    }
    .how-we-work-header h2 {
        font-size: var(--text-4xl);
    }
}

/* --- Services (Alternating Row Layout) --- */
.services-alt-section {
    padding: var(--space-20) 0;
    background: white;
}

.services-alt-header {
    text-align: center;
    margin-bottom: 72px;
}

.services-alt-header .section-badge {
    margin-bottom: 16px;
    display: inline-flex;
}

.services-alt-header h2 {
    font-size: var(--text-5xl);
    letter-spacing: -1.5px;
    margin-bottom: var(--space-4);
}

.services-alt-header p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* Service rows — 5 distinct color schemes */
.services-alt-section .process-step-row:nth-child(1) .process-step-label { background: #f3e8ff; color: #9333ea; }
.services-alt-section .process-step-row:nth-child(2) .process-step-label { background: #dcfce7; color: #16a34a; }
.services-alt-section .process-step-row:nth-child(3) .process-step-label { background: #cffafe; color: #0891b2; }
.services-alt-section .process-step-row:nth-child(4) .process-step-label { background: #dbeafe; color: #2563eb; }
.services-alt-section .process-step-row:nth-child(5) .process-step-label { background: #ffedd5; color: #ea580c; }

.services-alt-section .process-step-row:nth-child(1) .process-step-image::after { background: linear-gradient(135deg, rgba(147,51,234,0.22) 0%, transparent 60%); }
.services-alt-section .process-step-row:nth-child(2) .process-step-image::after { background: linear-gradient(135deg, rgba(22,163,74,0.22) 0%, transparent 60%); }
.services-alt-section .process-step-row:nth-child(3) .process-step-image::after { background: linear-gradient(135deg, rgba(6,182,212,0.22) 0%, transparent 60%); }
.services-alt-section .process-step-row:nth-child(4) .process-step-image::after { background: linear-gradient(135deg, rgba(37,99,235,0.22) 0%, transparent 60%); }
.services-alt-section .process-step-row:nth-child(5) .process-step-image::after { background: linear-gradient(135deg, rgba(234,88,12,0.22) 0%, transparent 60%); }

.services-alt-section .process-step-row:nth-child(1) .process-step-content::before { background: linear-gradient(90deg, #a855f7, #ec4899); }
.services-alt-section .process-step-row:nth-child(2) .process-step-content::before { background: linear-gradient(90deg, #22c55e, #10b981); }
.services-alt-section .process-step-row:nth-child(3) .process-step-content::before { background: linear-gradient(90deg, #22d3ee, #3b82f6); }
.services-alt-section .process-step-row:nth-child(4) .process-step-content::before { background: linear-gradient(90deg, #3b82f6, #8b5cf6); }
.services-alt-section .process-step-row:nth-child(5) .process-step-content::before { background: linear-gradient(90deg, #f97316, #eab308); }

/* Tags inside service rows */
.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: var(--space-1);
}

.service-tags span {
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 999px;
    background: var(--bg-light);
    color: var(--text-muted);
    border: 1px solid var(--border-light);
    font-weight: 500;
}

/* View Details link in service rows */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    margin-top: var(--space-3);
    transition: gap 0.2s ease;
}

.service-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

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

.service-link:hover i {
    transform: translateX(4px);
}

/* Responsive for services section */
@media (max-width: 900px) {
    .services-alt-header h2 {
        font-size: var(--text-4xl);
    }
}

/* --- Process Flow Infographic (Compact 4-step) --- */
.process-flow-section {
    padding: var(--space-20) 0;
    background: var(--bg-gray);
}

.process-flow-header {
    text-align: center;
    margin-bottom: 56px;
}

.process-flow-header .section-badge {
    margin-bottom: 16px;
    display: inline-flex;
}

.process-flow-header h2 {
    font-size: var(--text-5xl);
    letter-spacing: -1.5px;
    margin-bottom: var(--space-3);
}

.process-flow-header p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto;
}

/* 4-card horizontal grid */
.process-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    align-items: stretch;
}

/* Each card */
.flow-card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 10px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.flow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.16);
}

/* Card color themes */
.flow-card-1 { background: linear-gradient(160deg, #7c3aed 0%, #a855f7 60%, #ec4899 100%); }
.flow-card-2 { background: linear-gradient(160deg, #0891b2 0%, #22d3ee 60%, #3b82f6 100%); }
.flow-card-3 { background: linear-gradient(160deg, #1d4ed8 0%, #3b82f6 60%, #8b5cf6 100%); }
.flow-card-4 { background: linear-gradient(160deg, #c2410c 0%, #f97316 60%, #eab308 100%); }

/* About Values color themes - Glassmorphic Upgrades */
.flow-card-v1 { 
    background: linear-gradient(160deg, rgba(6, 214, 160, 0.85) 0%, rgba(5, 150, 105, 0.95) 100%); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.flow-card-v2 { 
    background: linear-gradient(160deg, rgba(255, 159, 28, 0.85) 0%, rgba(217, 119, 6, 0.95) 100%); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.flow-card-v3 { 
    background: linear-gradient(160deg, rgba(67, 97, 238, 0.85) 0%, rgba(29, 78, 216, 0.95) 100%); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.flow-card-v4 { 
    background: linear-gradient(160deg, rgba(255, 0, 110, 0.85) 0%, rgba(190, 24, 93, 0.95) 100%); 
    backdrop-filter: blur(12px); 
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Premium gradient top-accent for Values cards */
.values-flow-grid .flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--colorful-gradient);
    z-index: 5;
    opacity: 0.8;
}

/* Top row: step number + icon */
.flow-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px 12px;
}

.flow-step-num {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.95); /* Increased contrast */
    text-transform: uppercase;
}

.flow-icon-wrap {
    width: 42px;
    height: 42px;
    background: rgba(255,255,255,0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
}

.flow-icon-wrap i {
    width: 20px;
    height: 20px;
    color: white;
}

/* Infographic thumbnail */
.flow-card-thumb {
    width: 100%;
    height: 160px;
    overflow: hidden;
    position: relative;
}

.flow-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    mix-blend-mode: luminosity;
    opacity: 0.75;
    transition: opacity 0.3s ease, transform 0.4s ease;
}

.flow-card:hover .flow-card-thumb img {
    opacity: 0.9;
    transform: scale(1.06);
}

/* Fade from thumb into card body */
.flow-card-thumb::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 30%, var(--card-bg) 100%);
    pointer-events: none;
}

.flow-card-1 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #7c3aed 100%); }
.flow-card-2 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #0891b2 100%); }
.flow-card-3 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #1d4ed8 100%); }
.flow-card-4 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #c2410c 100%); }

.flow-card-v1 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #059669 100%); }
.flow-card-v2 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #d97706 100%); }
.flow-card-v3 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #1d4ed8 100%); }
.flow-card-v4 .flow-card-thumb::after { background: linear-gradient(to bottom, transparent 40%, #be185d 100%); }

/* Text content */
.flow-card-body {
    padding: 16px 22px 24px;
    flex: 1;
}

.flow-card-body h3 {
    font-size: var(--text-xl);
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.flow-card-body p {
    font-size: 14px;
    color: rgba(255,255,255,0.9); /* Increased contrast */
    line-height: 1.65;
    margin: 0;
}

/* Arrow connector between cards */
.flow-connector {
    position: absolute;
    right: -28px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.flow-connector i {
    width: 18px;
    height: 18px;
    color: var(--text-primary);
}

/* CTA below grid */
.process-flow-cta {
    text-align: center;
    margin-top: 48px;
}

/* Responsive */
@media (max-width: 1024px) {
    .process-flow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-6);
    }
    .flow-connector { display: none; }
    .flow-card { margin: 0; }
}

@media (max-width: 600px) {
    .process-flow-grid {
        grid-template-columns: 1fr;
        gap: var(--space-5);
    }
    .process-flow-header h2 { font-size: var(--text-4xl); }
}

/* --- Values Flow Additional Styling --- */
.values-flow-section {
    padding: var(--space-32) 0; /* More breathing room */
    background: #fdfdfd; /* Brighter background for better pop */
}

.values-flow-grid {
    gap: var(--space-5);
}

.values-flow-section .process-flow-cta {
    margin-top: 64px;
}

/* --- Minimal FAQ --- */
.minimal-faq {
    padding: var(--space-20) 0;
    background: white;
}

.faq-accordion {
    max-width: 800px;
    margin: var(--space-10) auto 0;
    display: flex;
    flex-direction: column;
}

.faq-item-modern {
    border-bottom: 1px solid var(--border-light);
}

.faq-header {
    padding: var(--space-6) 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: var(--text-xl);
    font-weight: 500;
    transition: color 0.3s;
}

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

.faq-header i,
.faq-header svg {
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-item-modern.active .faq-header i,
.faq-item-modern.active .faq-header svg {
    transform: rotate(45deg);
    color: var(--primary);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-item-modern.active .faq-body {
    max-height: 200px;
    /* arbitrary limit for animation */
    padding-bottom: var(--space-6);
}

.faq-body p {
    color: var(--text-muted);
    font-size: var(--text-base);
}

/* --- Footer CTA Modern --- */
.footer-cta-modern {
    padding: 120px 0;
    background: var(--text-dark);
    color: white;
    text-align: center;
}

.cta-title-lg {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: white;
    letter-spacing: -2px;
    margin-bottom: var(--space-4);
}

.cta-subtitle {
    font-size: var(--text-xl);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--space-8);
}

/* Light/Grey Theme Variant */
.footer-cta-modern.theme-grey {
    background-color: var(--bg-gray);
    color: var(--text-dark);
}

.footer-cta-modern.theme-grey .cta-title-lg {
    color: var(--text-dark);
}

.footer-cta-modern.theme-grey .cta-subtitle {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .bento-large {
        grid-template-columns: 1fr;
    }

    .visual-web {
        display: none;
    }
}

/* --- Logo Image Styles --- */
.logo img,
.footer-logo img {
    height: 32px;
    width: auto;
    display: block;
}

/* Ensure links don't mess up image display */
.logo,
.footer-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* --- Modern Footer Redesign (Dark) --- */
.footer-modern {
    background-color: #0f0f0f;
    padding: 80px 0 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

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

.footer-top {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 60px;
}

@media (min-width: 768px) {
    .footer-top {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
}

.footer-brand {
    max-width: 450px;
}

.footer-brand .logo img {
    filter: brightness(0) invert(1);
    /* Make logo white */
}

.footer-brand p {
    margin-top: 16px;
    color: #a1a1aa;
    font-size: var(--text-base);
    line-height: 1.6;
}

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

@media (min-width: 768px) {
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: 60px;
    }
}

.footer-col h3 {
    font-size: var(--text-sm);
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    color: #a1a1aa;
    margin-bottom: 12px;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #71717a;
    font-size: 14px;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: #71717a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.footer-legal a:hover {
    color: var(--text-dark);
}

/* ========================================
   CASE STUDY STYLES (Centralized)
   ======================================== */

.case-hero {
    padding: 140px 0 60px;
    background: radial-gradient(circle at top right, var(--bg-theme, var(--bg-light)), transparent 40%);
}

/* Theme Modifiers */
.theme-greenleaf {
    --bg-theme: var(--theme-greenleaf);
}

.theme-sunrise {
    --bg-theme: var(--theme-sunrise);
}

.theme-finflow {
    --bg-theme: var(--theme-finflow);
}

.theme-sweet {
    --bg-theme: var(--theme-sweet);
}

.case-header {
    max-width: 900px;
    margin-bottom: 40px;
}

.case-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.case-meta-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
    padding: 30px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

@media (min-width: 768px) {
    .case-meta-grid {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.meta-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.meta-item h4 {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0;
    white-space: nowrap;
}

.meta-item p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
}

.case-image-full {
    width: 100%;
    height: auto;
    border-radius: var(--radius-xl);
    aspect-ratio: 16/9;
    object-fit: cover;
    margin-bottom: 60px;
    box-shadow: var(--shadow-xl);
}

.content-block {
    padding: 80px 0;
}

.content-block.bg-gray {
    background-color: var(--bg-gray);
}

.content-grid {
    display: grid;
    gap: 40px;
}

@media (min-width: 900px) {
    .content-grid {
        grid-template-columns: 1fr 2fr;
        gap: 80px;
    }
}

.sticky-title {
    font-size: 28px;
    font-weight: 700;
    position: sticky;
    top: 100px;
    height: fit-content;
    color: var(--text-heading);
}

.text-block p {
    font-size: 18px;
    color: var(--text-body);
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

@media (min-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background: var(--bg-card);
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: 12px;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 80px 0;
}

@media (min-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.gallery-img {
    width: 100%;
    border-radius: var(--radius-lg);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.gallery-img:hover {
    transform: scale(1.01);
}

.next-project {
    padding: 80px 0;
    background: var(--text-dark);
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern overlay */
.next-project::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.next-project .section-title {
    color: white;
    font-size: 36px;
}

.next-project .pill-badge {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

/* ========================================
   GLOBAL COMPONENTS (Standardized)
   ======================================== */

/* Standard Card */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

/* Icon Box */
.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: var(--space-4);
    transition: var(--transition-base);
}

.icon-box.icon-filled {
    background: var(--primary);
    color: white;
    border-radius: 50%;
    border: none;
    width: 64px;
    height: 64px;
}

.icon-box.icon-filled i,
.icon-box.icon-filled svg {
    width: 32px;
    height: 32px;
}

.card:hover .icon-box {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Badge */
.badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-muted);
}

.badge-primary {
    background: rgba(255, 74, 31, 0.1);
    color: var(--primary);
    border: 1px solid rgba(255, 74, 31, 0.2);
}

.badge-neutral {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

/* ========================================
   PROJECTS PAGE STYLES
   ======================================== */
.projects-hero {
    padding: 160px 0 40px;
    text-align: center;
}

.projects-hero .hero-subtitle-large {
    margin-bottom: var(--space-8);
}

.projects-hero .contact-header {
    margin-bottom: 20px;
}

.projects-grid-modern {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding-bottom: 120px;
}

@media (min-width: 768px) {
    .projects-grid-modern {
        grid-template-columns: repeat(2, 1fr);
    }

    .projects-grid-modern .project-item:nth-child(2n) {
        margin-top: 60px;
        /* Staggered effect */
    }
}

.project-card-modern {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    text-decoration: none;
    color: inherit;
}

.project-image-wrapper {
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: var(--bg-gray);
    transition: transform 0.4s ease;
    position: relative;
}

.project-card-modern:hover .project-image-wrapper {
    transform: scale(0.98);
}

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

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

.project-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.project-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.project-tag {
    font-size: 12px;
    padding: 4px 10px;
    border: 1px solid var(--border-light);
    border-radius: 100px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.project-title-link {
    font-size: var(--text-2xl);
    font-weight: 600;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */
.contact-section {
    padding: 120px 0 80px;
}

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

@media (min-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 100px;
        align-items: start;
    }
}

/* Form grid and inputs removed */

/* ========================================
   NAVIGATION & MOBILE MENU FIXES
   ======================================== */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
}

@media (max-width: 1024px) {
    .nav-links.active {
        display: block !important;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        z-index: 2000;
        padding: 0 !important;
        overflow: hidden; /* Critical for sliding effect */
    }

    .nav-panes-container {
        display: flex;
        width: 200%; /* Two screens wide */
        height: 100%;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        align-items: stretch;
    }

    .nav-links.submenu-active .nav-panes-container {
        transform: translateX(-50%);
    }

    .nav-pane {
        width: 50% !important;
        height: 100%;
        padding: 80px 30px 40px !important;
        overflow-y: auto;
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .nav-pane.sub-pane {
        display: flex !important;
        background: #F9FAFB;
    }

    .nav-pane.main-pane {
        background: white;
    }

    .nav-links.active .mobile-only {
        display: block !important;
    }

    .menu-close-btn {
        display: block !important;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 32px;
        background: none;
        border: none;
        color: var(--text-dark);
        cursor: pointer;
        z-index: 2100; /* Higher than panes */
    }

    .menu-back-btn {
        display: flex !important;
        align-self: flex-start;
        align-items: center;
        gap: 8px;
        background: none;
        border: none;
        color: var(--primary);
        font-weight: 600;
        font-size: 16px;
        padding: 0;
        cursor: pointer;
        margin-bottom: 10px;
    }

    .submenu-header {
        display: block !important;
        font-size: 24px;
        font-weight: 700;
        width: 100%;
        margin-bottom: 5px;
        color: var(--text-dark);
    }

    .nav-pane a {
        width: 100%;
        text-align: left !important;
        padding: 12px 0;
        border-bottom: 1px solid var(--border-light);
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: 17px;
    }

    .nav-pane a:last-child {
        border-bottom: none;
    }

    .submenu-all-link {
        font-weight: 600;
        color: var(--primary) !important;
    }

    /* Hide standard dropdown in mobile */
    .nav-pane.main-pane .dropdown-menu {
        display: none !important;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .dropdown-category {
        display: block;
        width: 100%;
        font-size: 11px;
        text-transform: uppercase;
        letter-spacing: 1px;
        color: var(--text-muted);
        font-weight: 700;
        margin-top: 10px;
    }

    /* Animation Refinements */
    .nav-pane.main-pane > *,
    .nav-pane.sub-pane > * {
        opacity: 0;
        transform: translateY(10px);
        transition: all 0.4s ease;
    }

    .nav-links.active .nav-pane.main-pane > * {
        opacity: 1;
        transform: translateY(0);
    }

    /* Transition delays for list items */
    .nav-pane.main-pane a:nth-child(1) { transition-delay: 0.1s; }
    .nav-pane.main-pane a:nth-child(2) { transition-delay: 0.15s; }
    .nav-pane.main-pane div:nth-child(3) { transition-delay: 0.2s; }
    .nav-pane.main-pane a:nth-child(4) { transition-delay: 0.25s; }
    .nav-pane.main-pane a:nth-child(5) { transition-delay: 0.3s; }
    .nav-pane.main-pane a:nth-child(6) { transition-delay: 0.35s; }

    /* When sub-menu is active, trigger its animations */
    .nav-links.submenu-active .nav-pane.sub-pane > * {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-only,
.menu-close-btn {
    display: none;
}

/* ========================================
   CONTACT PAGE STYLES
   ======================================== */

.contact-header {
    text-align: center;
    margin-bottom: 80px;
}


.contact-header p {
    font-size: 1.2rem;
    color: var(--text-body);
    max-width: 700px;
    margin: 0 auto;
}

.contact-text h3 {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-text a,
.contact-text p {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    line-height: 1.4;
}

.contact-text a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-text a:hover {
    color: var(--primary-color);
}

@media (max-width: 768px) {
    .contact-header h1 {
        font-size: 2rem;
    }

    .contact-text a,
    .contact-text p {
        font-size: 1.2rem;
    }
}

/* Contact page heading - increase line height */
.contact-header .hero-title-v2 {
    line-height: 1.2;
}

/* Contact page heading spacing */
.contact-header .hero-title-v2 {
    margin-bottom: 30px;
}

/* Contact form row layout */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Google Map Styles */
.contact-map {
    margin-top: 30px;
    width: 100%;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Increase spacing between contact items */
.contact-item {
    margin-bottom: 40px;
}

.contact-item:last-child {
    margin-bottom: 0;
}

/* Ensure gradient-text works on about page */
.about-hero-content .gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Bento section header styles */
.bento-header {
    margin-bottom: 40px;
}

.bento-header .section-badge {
    margin-bottom: var(--space-3);
    display: inline-flex;
}

.bento-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0;
}

.bento-subtitle {
    font-size: 1.125rem;
    color: var(--text-muted);
    margin-top: 16px;
    max-width: 600px;
}

/* Careers note style */
.careers-note {
    margin-top: 10px;
    color: var(--text-body);
}

/* Project page styles */
.project-badge {
    margin-bottom: 20px;
}

.project-content-block-white {
    background: var(--bg-white);
}

.project-section-title-spaced {
    margin: 20px 0;
}

/* Projects page styles */
.projects-pill-badge {
    margin-bottom: 20px;
}

.projects-hero-subtitle-spaced {
    margin: 20px auto;
}

.project-description-muted {
    color: var(--text-muted);
}

/* Text block centered */
.text-block-centered {
    max-width: 800px;
    margin: 0 auto;
}

/* ========================================
   JOB APPLICATION SECTION (TWO-COLUMN)
   ======================================== */

.job-application-section {
    padding: 80px 0;
    background: var(--bg-white);
}

.job-app-grid {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 60px;
    margin-top: 40px;
}

/* Left Column: Job Descriptions */
.job-descriptions {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.job-description-card {
    background: var(--bg-light);
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

.job-description-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.job-card-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.job-card-header .job-dept {
    display: inline-block;
    padding: 6px 12px;
    background: var(--primary);
    color: white;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.job-card-header .job-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 12px 0;
    color: var(--text-dark);
}

.job-card-header .job-loc {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.job-card-header .job-loc i {
    width: 16px;
    height: 16px;
}

.job-card-body h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 24px 0 12px 0;
    color: var(--text-dark);
}

.job-card-body h4:first-child {
    margin-top: 0;
}

.job-card-body p {
    color: var(--text-body);
    line-height: 1.6;
    margin-bottom: 16px;
}

.job-card-body ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.job-card-body ul li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
    color: var(--text-body);
    line-height: 1.6;
}

.job-card-body ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

/* Right Column: Application Form (Sticky) */
.application-form-sticky {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.apply-form-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.apply-header {
    margin-bottom: 28px;
}

.apply-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.apply-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background-color: var(--bg-white);
    color: var(--text-dark);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 74, 31, 0.1);
}

/* Responsive */
@media (max-width: 1024px) {
    .job-app-grid {
        grid-template-columns: 1fr 400px;
        gap: 40px;
    }
}

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

    .application-form-sticky {
        position: static;
    }

    .job-description-card {
        padding: 24px;
    }
}

/* ========================================
   APPLY PAGE STYLES
   ======================================== */

.apply-container {
    max-width: 1200px;
    /* Increased width for 2 columns */
    margin: 120px auto 80px;
    padding: 0 20px;
}

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

/* Left Column: Job Description */
.apply-content {
    padding-top: 20px;
}

.apply-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.2;
}

.apply-content h2 {
    font-size: 1.5rem;
    margin: 32px 0 16px;
    font-weight: 600;
}

.apply-content p {
    color: var(--text-body);
    margin-bottom: 16px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.apply-content ul {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.apply-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-body);
    line-height: 1.5;
}

.apply-content ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Right Column: Application Form */
.apply-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
    position: sticky;
    top: 100px;
    /* Sticky scroll effect */
}

/* Form Styles */
.apply-form-header {
    margin-bottom: 30px;
    text-align: center;
}

.apply-form-header h3 {
    font-size: 1.5rem;

    /* --- Sticky Apply Form --- */
    .apply-form-column {
        position: relative;
        z-index: 10;
    }

    .apply-card {
        background: var(--bg-white);
        border-radius: var(--radius-xl);
        padding: var(--space-8);
        box-shadow: var(--shadow-xl);
        border: 1px solid var(--border-light);
        position: sticky;
        top: 120px;
        /* Adjust based on nav height */
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }

    .form-title-group {
        margin-bottom: 24px;
    }

    .apply-card h3 {
        font-size: 20px;
        font-weight: 700;
        margin-bottom: 8px;
    }

    .file-upload-box {
        border: 2px dashed var(--border-light);
        border-radius: 12px;
        padding: 24px;
        text-align: center;
        cursor: pointer;
        transition: all 0.2s ease;
        background: var(--bg-gray);
    }

    .file-upload-box:hover {
        border-color: var(--primary);
        background: rgba(255, 74, 31, 0.05);
    }

    .upload-icon {
        color: var(--text-muted);
        margin-bottom: 8px;
    }

    .file-name-display {
        display: block;
        margin-top: 8px;
        font-size: 13px;
        color: var(--primary);
        font-weight: 500;
    }

    /* Inline Success Message */
    .inline-success-message {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 40px 20px;
        height: 100%;
        min-height: 400px;
        animation: fadeIn 0.4s ease;
    }

    .success-icon-box {
        width: 80px;
        height: 80px;
        background: #dcfce7;
        color: #166534;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 24px;
    }

    .success-icon-lg {
        width: 40px;
        height: 40px;
    }

    .inline-success-message h3 {
        font-size: 24px;
        color: var(--text-heading);
        margin-bottom: 12px;
    }

    .inline-success-message p {
        color: var(--text-body);
        margin-bottom: 32px;
        line-height: 1.6;
    }

    .btn-primary-outline {
        background: transparent;
        border: 1px solid var(--border-light);
        color: var(--text-dark);
        padding: 12px 24px;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }

    .btn-primary-outline:hover {
        border-color: var(--primary);
        color: var(--primary);
    }

    /* Spinner */
    .spinner {
        display: inline-block;
        width: 16px;
        height: 16px;
        border: 2px solid rgba(255, 255, 255, 0.3);
        border-top-color: #fff;
        border-radius: 50%;
        animation: spin 0.8s linear infinite;
        margin-right: 8px;
        vertical-align: middle;
    }

    @keyframes spin {
        to {
            transform: rotate(360deg);
        }
    }

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

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

    color: var(--text-dark);
}

.apply-form-header p {
    color: var(--text-muted);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 30px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

.file-upload-wrapper {
    position: relative;
    border: 2px dashed var(--border-light);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.file-upload-wrapper:hover {
    border-color: var(--primary);
    background: white;
}

.file-upload-wrapper i {
    font-size: 2rem;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.file-upload-wrapper input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-name {
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 500;
}

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

    .apply-card {
        padding: 24px;
        position: static;
    }
}

/* Simplified careers grid */
.job-app-grid-simple {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 40px auto 0;
}

.job-description-card.compact {
    padding: 24px 32px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-description-card.compact:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.job-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.job-card-header .job-title {
    margin: 0;
    font-size: 1.25rem;
    flex: 1;
    min-width: 200px;
}

.job-card-header .job-dept {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
}

.job-card-header .job-loc {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 120px;
}

.btn-text {
    color: var(--text-dark);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
}

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

@media (max-width: 768px) {
    .job-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .job-card-header .job-title {
        min-width: auto;
    }

    .btn-text {
        margin-top: 8px;
    }

    .job-description-card.compact {
        padding: 20px;
    }
}

/* ========================================
   MODERN CAREERS GRID (Redesign)
   ======================================== */

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

@media (max-width: 768px) {
    .job-grid-modern {
        grid-template-columns: 1fr;
    }
}

.job-card-modern {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    cursor: pointer;
    text-decoration: none;
    /* Ensure link styles don't mess up card */
    overflow: hidden;
}

/*.job-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}*/

.job-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    /* border-color: var(--primary); */
}

.job-card-top {
    margin-bottom: 30px;
}

.dept-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
    background: var(--bg-gray);
    color: var(--text-dark);
}

/* Department Colors */
.dept-badge.engineering {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.dept-badge.design {
    background: rgba(236, 72, 153, 0.1);
    color: #db2777;
}

.dept-badge.marketing {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.job-title-large {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 12px;
    color: var(--text-dark);
    font-family: var(--font-heading);
}

.job-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border-light);
    padding-top: 24px;
    margin-top: auto;
    /* Pushes to bottom if flex column */
}

.job-meta-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.meta-item i {
    width: 16px;
    height: 16px;
    stroke-width: 2px;
}

.apply-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.apply-arrow i {
    width: 20px;
    height: 20px;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

/*
.job-card-modern:hover .apply-arrow {
    background: var(--primary);
    transform: rotate(-45deg);
}

.job-card-modern:hover .apply-arrow i {
    color: white;
}
*/

/* ========================================
   APPLY PAGE REDESIGN (2-Column)
   ======================================== */

.apply-container {
    margin: 120px auto 80px;
    padding: 0 20px;
}

.apply-page-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

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

.job-details-column {
    padding-right: 20px;
}

.job-detail-block {
    display: none;
    /* Hidden by default, toggled by JS */
    animation: fadeIn 0.5s ease;
}

.job-detail-block.active {
    display: block;
}

.jd-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.jd-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 500;
}

.jd-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.jd-section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 30px 0 16px;
    color: var(--text-dark);
}

.jd-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jd-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

.jd-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.apply-form-column {
    position: sticky;
    top: 100px;
}

/* Adjust card for column usage */
.apply-form-column .apply-card {
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Utility Classes for Refactoring */
.container-xl {
    max-width: var(--container-width);
}

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

.mb-sm {
    margin-bottom: 8px;
}

.mb-md {
    margin-bottom: 24px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.gap-sm {
    gap: 16px;
}

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

.p-md {
    padding: 20px;
}

.text-sm {
    font-size: 0.95rem;
}

.text-xs {
    font-size: 0.9rem;
}

.icon-lg {
    font-size: 1.5rem;
}

.full-height {
    min-height: 100vh;
}

/* ========================================
   PROJECT FILTERS
   ======================================== */
.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-3);
    margin-bottom: var(--space-10);
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-light);
    background-color: transparent;
    color: var(--text-muted);
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all var(--transition-base);
}

.filter-btn:hover {
    color: var(--text-dark);
    border-color: var(--text-dark);
}

.filter-btn.active {
    background-color: var(--text-dark);
    color: white;
    border-color: var(--text-dark);
}

/* ========================================
   CASE STUDY DETAILS
   ======================================== */
.process-list {
    margin-top: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.process-list li {
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-muted);
    padding-left: var(--space-4);
    border-left: 2px solid var(--primary);
}

.process-list strong {
    color: var(--text-dark);
    display: block;
    margin-bottom: 4px;
}

.tech-stack {
    margin-top: var(--space-8);
}

.tech-stack h3 {
    font-size: var(--text-lg);
    margin-bottom: var(--space-4);
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.tech-tag {
    padding: 6px 14px;
    background-color: white;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: var(--text-xs);
    font-weight: 500;
    color: var(--text-muted);
}

/* ========================================
   PROJECT NAVIGATION
   ======================================== */
.project-navigation {
    padding: var(--space-10) 0;
    background-color: white;
    border-top: 1px solid var(--border-light);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--space-5);
}

.nav-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    transition: transform var(--transition-base);
}

.nav-link:hover {
    transform: translateY(-2px);
}

.nav-link.next {
    align-items: flex-end;
    text-align: right;
}

.nav-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-title {
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-arrow {
    transition: transform var(--transition-base);
}

.nav-link:hover .nav-arrow-left {
    transform: translateX(-4px);
}

.nav-link:hover .nav-arrow-right {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .project-navigation .nav-container {
        flex-direction: column;
        gap: var(--space-6);
        align-items: stretch;
    }

    .nav-link.next {
        align-items: flex-start;
        text-align: left;
    }

    .nav-link.next .nav-title {
        flex-direction: row-reverse;
        justify-content: flex-end;
    }
}

/* ========================================
   PARTNER PROGRAM PAGE STYLES
   ======================================== */

.partner-hero {
    padding: var(--space-20) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-light) 100%);
    position: relative;
    overflow: hidden;
}

/* Background Pattern for Hero */
.partner-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(var(--border-light) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    z-index: 0;
}

.partner-hero .section-container {
    position: relative;
    z-index: 1;
}

.hero-title-v2 {
    font-size: var(--text-8xl);
    line-height: 1.1;
    letter-spacing: -2px;
    font-weight: 700;
    margin: var(--space-5) 0;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .partner-hero {
        min-height: auto;
        padding-top: 120px;
    }

    .hero-title-v2 {
        font-size: var(--text-4xl);
    }
}

/* Partner Cards (Consulting Style) */
.partner-card {
    background: white;
    padding: var(--space-8);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}

.partner-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 24px;
}

.partner-card h3 {
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.4;
}

/* Partner List (Checkmarks) */
.partner-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-6);
}

.partner-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-lg);
    font-weight: 500;
}

.partner-list li i {
    color: var(--primary);
    width: 20px;
    height: 20px;
}

.partner-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Process Steps (1-4) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-8);
    margin-top: var(--space-10);
    position: relative;
}

/* Connecting Line */
.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    /* Align with circle center */
    left: 50px;
    right: 50px;
    height: 2px;
    background: var(--border-medium);
    z-index: 0;
    display: none;
    /* Hidden on mobile, shown on desktop via query if needed, but let's keep clean for now */
}

@media (min-width: 992px) {
    .process-steps::before {
        display: block;
    }
}


.step-item {
    position: relative;
    z-index: 1;
    background: var(--bg-gray);
    /* Match section bg to hide line behind content if needed, but here we want line behind */
    /* Actually better to have step content transparent or white card? Let's keep simple text */
    padding: var(--space-4);
    padding-top: 0;
}

.step-number {
    width: 48px;
    height: 48px;
    background: white;
    border: 2px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-4);
    font-family: var(--font-heading);
    font-size: var(--text-lg);
    box-shadow: 0 0 0 8px var(--bg-gray);
    /* Hack to mask the line */
}

.step-item h3 {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.step-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}


/* Commission Table */
.table-container {
    max-width: 800px;
    margin: var(--space-8) auto 0;
    overflow-x: auto;
}

.commission-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-light);
}

.commission-table th,
.commission-table td {
    padding: var(--space-5) var(--space-6);
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.commission-table th {
    background-color: var(--bg-light);
    font-weight: 600;
    font-family: var(--font-heading);
    color: var(--text-dark);
}

.commission-table tr:last-child td {
    border-bottom: none;
}

.commission-table td:last-child {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
}

.commission-table th:last-child {
    text-align: right;
}

.table-note {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-2);
    text-align: right;
    font-style: italic;
}

/* Why List */
.why-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.why-list li {
    padding-left: var(--space-4);
    border-left: 3px solid var(--primary);
}

.why-list strong {
    display: block;
    font-size: var(--text-lg);
    color: var(--text-dark);
    margin-bottom: 4px;
}

.why-list p {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 0;
}

/* Contact Form Specifics */
/* Form validation and status removed */

.max-width-800 {
    max-width: 800px;
}

.margin-auto {
    margin: 0 auto;
}

.margin-bottom-8 {
    margin-bottom: var(--space-8);
}

.full-width {
    width: 100%;
}



/* Responsive Adjustments */
@media (max-width: 768px) {

    .grid-4,
    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-steps::before {
        display: none;
    }

    .step-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: var(--space-4);
        background: white;
        border-radius: var(--radius-lg);
        box-shadow: var(--shadow-sm);
    }

    .step-number {
        box-shadow: none;
        margin-bottom: var(--space-3);
    }

    .partner-hero {
        padding-bottom: var(--space-10);
    }
}

/* ========================================
   SUCCESS MODAL STYLES
   ======================================== */

/* Success modal removed */

/* Service Card Links */
.service-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.3s ease;
}

.service-card-link:hover {
    transform: translateY(-5px);
}

/* ========================================
   SERVICE DETAIL PAGES
   ======================================== */

.service-detail-hero {
    position: relative;
    padding: 160px 0 var(--space-24);
    background-color: var(--bg-white);
    text-align: center;
    overflow: hidden;
    color: var(--text-dark);
}

.service-detail-hero .hero-title-large {
    color: var(--text-dark);
    font-size: clamp(var(--text-4xl), 8vw, var(--text-8xl));
    letter-spacing: -1px;
    margin-bottom: var(--space-6);
    line-height: 1.1;
}

.service-detail-hero .hero-subtext {
    color: var(--text-muted);
    font-size: var(--text-lg);
    line-height: 1.8;
    font-weight: 400;
}

.service-detail-hero .section-badge {
    color: var(--text-dark);
    border-color: var(--border-medium);
    margin-bottom: var(--space-3);
}

.service-detail-hero .gradient-text {
    background: linear-gradient(135deg, var(--primary), #ff6b6b);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Service Detail Stats */
.service-detail-hero .about-stats-grid {
    margin-top: var(--space-12);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
}

.service-detail-hero .stat-value {
    color: var(--text-dark);
    font-size: var(--text-4xl);
    font-weight: 700;
    font-family: var(--font-heading);
}

.service-detail-hero .stat-desc {
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.theme-grey {
    background-color: var(--bg-gray);
}

/* Service Overview Layout */
.service-overview {
    padding: var(--space-20) 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-16);
    align-items: center;
}

.overview-text {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.overview-text .section-title {
    font-size: clamp(var(--text-3xl), 5vw, var(--text-6xl));
    letter-spacing: -1px;
    margin-bottom: var(--space-2);
}

.overview-text p {
    font-size: var(--text-base);
    line-height: 1.8;
    color: var(--text-muted);
}

.overview-visual {
    position: relative;
}

.visual-card {
    background: white;
    padding: var(--space-2);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    overflow: hidden;
}

.visual-card .img-responsive {
    border-radius: var(--radius-lg);
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Custom Checklist */
.check-list {
    margin-top: var(--space-4);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.check-list li {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-size: var(--text-base);
    color: var(--text-dark);
    font-weight: 500;
}

.check-list i {
    color: var(--primary);
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

/* Capabilities Grid */
.capabilities-grid-section {
    padding: var(--space-20) 0;
}

.bento-grid-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-6);
    margin-top: var(--space-10);
}

.capability-card {
    background: white;
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    height: 100%;
}

.capability-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: rgba(0, 0, 0, 0.1);
}

.capability-card h3 {
    font-size: var(--text-xl);
    margin: 0;
    color: var(--text-dark);
    font-weight: 700;
}

.capability-card p {
    font-size: var(--text-base);
    color: var(--text-muted);
    margin: 0;
    line-height: 1.8;
}

.capability-card .icon-box {
    margin-bottom: var(--space-2);
}

/* Responsive Overrides */
@media (max-width: 992px) {
    .grid-2-col {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .service-detail-hero {
        padding: 120px 0 var(--space-16);
    }
}

/* ========================================
   STICKY SCROLL PROCESS SECTION (For Service Subpages)
   ======================================== */
.process-scroll-section {
    padding: var(--space-20) 0;
    position: relative;
}

.process-scroll-section .scroll-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-12);
    align-items: start;
}

.process-scroll-section .sticky-side {
    position: sticky;
    top: 140px;
    padding-bottom: var(--space-10);
    z-index: 10;
}

.process-scroll-section .sticky-side h2 {
    font-size: var(--text-5xl);
    margin-bottom: var(--space-4);
    line-height: 1.1;
    letter-spacing: -1.5px;
}

.process-scroll-section .sticky-side p {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-bottom: var(--space-6);
    line-height: 1.6;
}

.process-scroll-section .scroll-steps {
    display: flex;
    flex-direction: column;
    padding-bottom: 20vh;
}

.scroll-step-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-2xl);
    padding: var(--space-10);
    position: sticky;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    min-height: 300px;
    margin-bottom: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Stacking logic & Vibrant Themes */
.scroll-step-card:nth-child(1) { 
    top: 120px; 
    z-index: 1; 
    background: linear-gradient(160deg, rgba(6, 214, 160, 0.9) 0%, rgba(5, 150, 105, 0.98) 100%);
}
.scroll-step-card:nth-child(2) { 
    top: 145px; 
    z-index: 2; 
    background: linear-gradient(160deg, rgba(255, 159, 28, 0.9) 0%, rgba(217, 119, 6, 0.98) 100%);
}
.scroll-step-card:nth-child(3) { 
    top: 170px; 
    z-index: 3; 
    background: linear-gradient(160deg, rgba(67, 97, 238, 0.9) 0%, rgba(29, 78, 216, 0.98) 100%);
}
.scroll-step-card:nth-child(4) { 
    top: 195px; 
    z-index: 4; 
    background: linear-gradient(160deg, rgba(255, 0, 110, 0.9) 0%, rgba(190, 24, 93, 0.98) 100%);
}
.scroll-step-card:nth-child(5) { 
    top: 220px; 
    z-index: 5; 
    background: linear-gradient(160deg, rgba(124, 58, 237, 0.9) 0%, rgba(109, 40, 217, 0.98) 100%);
}

.scroll-step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

.scroll-step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--colorful-gradient);
    border-radius: 20px 20px 0 0;
    opacity: 0.9;
    transition: all 0.3s ease;
    z-index: 5;
}

.scroll-step-card .step-num {
    font-family: var(--font-heading);
    font-size: var(--text-6xl);
    font-weight: 900;
    line-height: 1;
    color: rgba(255, 255, 255, 0.15); /* Increased subtle visibility */
    margin-bottom: var(--space-4);
}

.scroll-step-card h3 {
    font-size: var(--text-3xl);
    margin-bottom: var(--space-4);
    color: #ffffff;
    font-weight: 800;
}

.scroll-step-card p {
    font-size: var(--text-lg);
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    margin: 0;
}

@media (max-width: 1024px) {
    .process-scroll-section .scroll-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .process-scroll-section .sticky-side {
        position: relative;
        top: 0;
        padding-bottom: var(--space-4);
    }

    .process-scroll-section .scroll-steps {
        padding-bottom: 0;
    }

    .scroll-step-card {
        position: relative;
        top: 0 !important;
        min-height: auto;
    }
}

/* ========================================
   KISSFLOW-INSPIRED FOOTER (Light)
   ======================================== */

.footer-kissflow {
    background-color: var(--bg-white);
    padding: var(--space-20) 0 var(--space-10);
    color: #1D2B36;
    border-top: 1px solid var(--border-light);
    font-family: var(--font-primary);
}

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

.footer-kissflow .footer-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-10);
    margin-bottom: var(--space-16);
}

@media (min-width: 1024px) {
    .footer-kissflow .footer-top {
        grid-template-columns: repeat(5, 1fr);
    }
}

.footer-kissflow .footer-col h3 {
    font-size: var(--text-sm);
    font-weight: 700;
    color: #1D2B36;
    margin-bottom: var(--space-6);
    text-transform: none;
}

.footer-kissflow .footer-col a {
    display: block;
    color: #1D2B36;
    margin-bottom: var(--space-3);
    text-decoration: none;
    font-size: var(--text-sm);
    transition: color var(--transition-base), transform var(--transition-fast);
}

.footer-kissflow .footer-col a:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.footer-kissflow .footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
    padding-top: var(--space-8);
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 13px;
}

@media (min-width: 768px) {
    .footer-kissflow .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-kissflow .footer-logo-wrap {
    display: flex;
    align-items: center;
    gap: var(--space-4);
}

.footer-kissflow .footer-logo-wrap img {
    height: 32px;
    width: auto;
}

.footer-kissflow .footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-6);
}

.footer-kissflow .footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-kissflow .footer-legal a:hover {
    color: #1D2B36;
}

.footer-kissflow .footer-social {
    display: flex;
    gap: var(--space-5);
}

.footer-kissflow .footer-social a {
    color: #1D2B36;
    transition: color var(--transition-base), transform var(--transition-base);
    display: flex;
    align-items: center;
}

.footer-kissflow .footer-social a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.footer-kissflow .footer-social i,
.footer-kissflow .footer-social svg {
    width: 20px;
    height: 20px;
}

.footer-kissflow .copyright-text {
    margin-top: var(--space-2);
}

@media (min-width: 768px) {
    .footer-kissflow .copyright-text {
        margin-top: 0;
    }
}

/* ========================================
   COLORFUL REDESIGN OVERRIDES
   ======================================== */

.badge-dot {
    background: var(--colorful-gradient) !important;
}

.service-card:hover {
    border-color: transparent !important;
    border-top: 4px solid var(--vibrant-blue) !important;
    box-shadow: 0 20px 40px rgba(58, 134, 255, 0.15) !important;
}

.home-services-cards .service-card:hover {
    border-color: transparent !important;
    border-top: 4px solid var(--vibrant-green) !important;
    box-shadow: 0 20px 40px rgba(46, 196, 182, 0.15) !important;
}

.sticky-cards-column .service-card:hover {
    border-color: transparent !important;
    border-top: 4px solid var(--vibrant-orange) !important;
    box-shadow: 0 20px 40px rgba(255, 159, 28, 0.15) !important;
}

.portfolio-item:hover .project-title {
    color: var(--vibrant-purple) !important;
}

.portfolio-img-wrapper {
    position: relative;
    overflow: hidden;
}

.portfolio-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--colorful-gradient);
    opacity: 0;
    transition: opacity var(--transition-base);
    mix-blend-mode: overlay;
    pointer-events: none;
}

.portfolio-item:hover .portfolio-img-wrapper::after {
    opacity: 0.4;
}

.section-badge {
    border-color: var(--vibrant-blue) !important;
    color: var(--text-dark) !important;
    background: rgba(58, 134, 255, 0.05);
}

.footer-cta {
    background: linear-gradient(135deg, rgba(255, 159, 28, 0.05), rgba(131, 56, 236, 0.05));
}

.btn-primary {
    background: #3A332F;
    transition: all var(--transition-bounce);
}

.btn-primary:hover {
    background: var(--colorful-gradient);
    transform: scale(1.08) translateY(-3px);
    box-shadow: 0 10px 20px rgba(131, 56, 236, 0.2);
}


/* ========================================
   SUPER COLORFUL TRANSFORMATION
   ======================================== */

/* 1. Global Section Background Glows */
section {
    position: relative;
    overflow: hidden;
}

section::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
}

.home-hero::before {
    top: -200px;
    right: -200px;
    background: var(--vibrant-purple);
}

.about-summary-section::before {
    bottom: -200px;
    left: -200px;
    background: var(--vibrant-blue);
}

.services-summary-section::before {
    top: 20%;
    right: -100px;
    background: var(--vibrant-green);
}

.projects-summary-section::before {
    bottom: 20%;
    left: -100px;
    background: var(--vibrant-orange);
}

/* 2. Multi-color Service Cards */
.home-services-cards a:nth-child(1) .service-card { --card-theme: var(--vibrant-blue); }
.home-services-cards a:nth-child(2) .service-card { --card-theme: var(--vibrant-green); }
.home-services-cards a:nth-child(3) .service-card { --card-theme: var(--vibrant-purple); }
.home-services-cards a:nth-child(4) .service-card { --card-theme: var(--vibrant-red); }
.home-services-cards a:nth-child(5) .service-card { --card-theme: var(--vibrant-indigo); }

.service-card {
    transition: all var(--transition-base);
    border-top: 4px solid transparent !important;
}

.service-card:hover {
    border-top-color: var(--card-theme, var(--vibrant-blue)) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05), 0 10px 20px -10px var(--card-theme, var(--vibrant-blue)) !important;
    transform: translateY(-8px) scale(1.02) !important;
}

.service-icon {
    background: var(--card-theme, var(--vibrant-blue)) !important;
    color: white !important;
    transform: rotate(-5deg);
    transition: all var(--transition-bounce);
}

.service-card:hover .service-icon {
    transform: rotate(0) scale(1.1);
    box-shadow: 0 8px 20px var(--card-theme, var(--vibrant-blue));
}

.service-icon i, .service-icon svg {
    color: white !important;
}

/* 3. Section Title Gradient Upgrades */
.section-title {
    background: linear-gradient(135deg, var(--text-dark) 60%, var(--vibrant-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.section-header.center .section-title {
    margin-left: auto;
    margin-right: auto;
}

/* 4. Portfolio Multi-color */
.portfolio-item:nth-child(1) { --project-theme: var(--vibrant-blue); }
.portfolio-item:nth-child(2) { --project-theme: var(--vibrant-green); }
.portfolio-item:nth-child(3) { --project-theme: var(--vibrant-purple); }
.portfolio-item:nth-child(4) { --project-theme: var(--vibrant-red); }

.portfolio-item:hover .project-title {
    color: var(--project-theme) !important;
}

.portfolio-item:hover .portfolio-img-wrapper {
    box-shadow: 0 20px 40px -15px var(--project-theme);
}

/* 5. Custom Colorful Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient( var(--vibrant-orange), var(--vibrant-purple), var(--vibrant-blue));
    border-radius: 5px;
}


/* 7. Colorful Infographics / Image Enhancements */
.about-img, .vision-image img, .mission-image img, .about-hero-image img {
    box-shadow: 0 30px 60px -20px var(--vibrant-blue), 0 20px 40px -20px var(--vibrant-purple) !important;
    transition: all var(--transition-slow);
}

.portfolio-img {
    filter: saturate(1.2);
}


/* --- Think Design Specific Components (Adapted for Arcrux) --- */

.outfit {
    font-family: var(--font-outfit);
}

.td-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-start;
}

.td-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85); /* Light overlay for consistent readable navbar */
    pointer-events: none;
}

.td-summary-section {
    position: relative;
    z-index: 10;
    margin-top: -280px; /* Enhanced overlap for premium integrated feel */
}

.td-summary-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: var(--text-dark);
    padding: 80px;
    border-radius: var(--radius-xl); 
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    max-width: 100%;
}

@media (max-width: 1024px) {
    .td-summary-section {
        margin-top: -150px;
    }
    .td-summary-card {
        padding: 50px;
        border-radius: var(--radius-lg);
    }
}

@media (max-width: 600px) {
    .td-summary-section {
        margin-top: -80px;
    }
    .td-summary-card {
        padding: 30px;
    }
}

.td-breadcrumb {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.td-project-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    line-height: 1.1;
    color: var(--text-dark);
    margin-bottom: 40px;
    font-weight: 800;
    letter-spacing: -1px;
}

.td-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.td-meta-item {
    flex: 1;
    min-width: 150px;
}

.td-meta-item:not(:first-child) {
    padding-left: 40px;
    border-left: 2px solid var(--primary);
}

.td-meta-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-light);
    margin-bottom: 12px;
    display: block;
}

.td-meta-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

/* Section Header Style */
.td-section-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.td-section-heading {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: -0.5px;
}

/* Split Content Section */
.td-split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

@media (max-width: 1024px) {
    .td-split-section {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .td-meta-grid {
        gap: 20px;
    }
    
    .td-meta-item:not(:first-child) {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--primary);
        padding-top: 20px;
    }
}

/* Process Grid */
.td-process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-light);
    border: 1px solid var(--border-light);
}

.td-process-card {
    background: var(--bg-white);
    padding: 60px 40px;
    text-align: center;
    transition: var(--transition-base);
}

.td-process-card:hover {
    background: var(--bg-gray);
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.02);
}

.td-process-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 32px;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.td-process-icon i {
    width: 32px;
    height: 32px;
}

.td-process-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.td-process-desc {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 1024px) {
    .td-process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .td-process-grid {
        grid-template-columns: 1fr;
    }
}

/* Pagination */
.td-pagination {
    padding: 100px 0;
    background: var(--bg-light);
    color: var(--text-dark);
    margin-top: 100px;
}

.td-pagination-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--text-light);
    display: block;
    margin-bottom: 20px;
}

.next-project-link {
    display: inline-block;
    transition: var(--transition-base);
}

.next-project-link:hover {
    transform: translateY(-5px);
    opacity: 0.8;
}

.next-project-link .td-project-title {
    color: var(--text-dark);
    margin-bottom: 0;
}

.next-project-link i {
    margin-left: 10px;
    vertical-align: middle;
}

/* Browser Mockup Arcrux Version */
.browser-mockup {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    width: 100%;
}

.browser-header {
    background: var(--bg-gray);
    padding: 12px 16px;
    display: flex;
    gap: 8px;
    border-bottom: 1px solid var(--border-light);
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.browser-dot:nth-child(1) { background: #FF5F56; }
.browser-dot:nth-child(2) { background: #FFBD2E; }
.browser-dot:nth-child(3) { background: #27C93F; }

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

.metric-card {
    border: 1px solid var(--primary);
    background: var(--bg-gray);
    padding: 40px;
    border-radius: var(--radius-sm);
}

.section-padding {
    padding: 100px 0;
}

/* ========================================
   LEGAL PAGES (Privacy Policy, Terms of Service)
   ======================================== */
.legal-page-section {
    padding-top: 160px;
    overflow: visible;
}

.legal-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 80px;
    align-items: start;
    padding: var(--space-10) 0 var(--space-20);
}

.legal-sidebar {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
    padding-right: var(--space-4);
}

.legal-sidebar-title {
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: var(--space-6);
    display: block;
}

.legal-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    border-left: 2px solid var(--border-light);
    padding-left: var(--space-4);
}

.legal-nav li {
    margin: 0;
    padding: 0;
}

.legal-nav a {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
    transition: all var(--transition-fast);
    display: block;
    position: relative;
    padding: 4px 0;
}

.legal-nav a:hover,
.legal-nav a.active {
    color: var(--primary);
}

.legal-nav a.active::before {
    content: '';
    position: absolute;
    left: calc((var(--space-4) * -1) - 2px);
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
}

.legal-content section {
    scroll-margin-top: 140px;
}

.legal-content .tldr-box {
    background-color: var(--bg-gray);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    margin-bottom: var(--space-12);
    border-left: 4px solid var(--primary);
}

.tldr-box h3 {
    margin-top: 0;
    margin-bottom: var(--space-3);
    font-size: var(--text-lg);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.legal-content h2 {
    font-size: var(--text-3xl);
    margin-top: var(--space-12);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: var(--text-xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-4);
}

.legal-content p, .legal-content li {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.legal-content strong {
    color: var(--text-dark);
}

.legal-content ul {
    margin-left: var(--space-6);
    margin-bottom: var(--space-6);
    list-style-type: disc;
}

@media (max-width: 1024px) {
    .legal-layout {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .legal-sidebar {
        position: relative;
        top: 0;
        max-height: none;
        border-bottom: 1px solid var(--border-light);
        padding-bottom: var(--space-8);
    }
    
    .legal-nav {
        border-left: none;
        padding-left: 0;
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--space-4);
    }
    
    .legal-nav a.active::before {
        display: none;
    }
    
    .legal-nav a {
        background: var(--bg-gray);
        padding: 8px 16px;
        border-radius: var(--radius-full);
        font-size: var(--text-xs);
    }
    
    .legal-nav a.active {
        background: var(--primary);
        color: white;
    }
}

/* ========================================
   REACH-OUT REDESIGN MODULE (Contact & Partner)
   ======================================== */

/* Glass Cards & Containers */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius-2xl);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
    padding: var(--space-10);
    transition: var(--transition-base);
}

.glass-card:hover {
    box-shadow: 0 12px 48px 0 rgba(31, 38, 135, 0.1);
    transform: translateY(-4px);
}

/* Contact Bento Grid */
.contact-bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: var(--space-6);
    margin-bottom: var(--space-12);
}

.bento-item-email { grid-column: span 6; }
.bento-item-location { grid-column: span 6; }

@media (max-width: 991px) {
    .bento-item-email, .bento-item-location { grid-column: span 12; }
}

/* Info Cards Aesthetic */
.info-card-premium {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-8);
    position: relative;
    overflow: hidden;
}

.info-card-premium .contact-icon {
    width: 48px;
    height: 48px;
    background: var(--colorful-gradient);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: var(--space-6);
    box-shadow: 0 4px 12px rgba(255, 74, 31, 0.3);
}

.info-card-premium h3 {
    font-family: var(--font-outfit);
    font-size: var(--text-2xl);
    margin-bottom: var(--space-2);
}

.info-card-premium a, .info-card-premium p {
    font-size: var(--text-lg);
    color: var(--text-muted);
}

/* Premium Tables (Commission Model) */
.glass-table-container {
    overflow-x: auto;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-light);
    background: rgba(255, 255, 255, 0.5);
}

.commission-table-v2 {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.commission-table-v2 th {
    background: rgba(0, 0, 0, 0.02);
    padding: var(--space-6);
    font-family: var(--font-outfit);
    font-size: var(--text-base);
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--primary);
}

.commission-table-v2 td {
    padding: var(--space-6);
    border-bottom: 1px solid var(--border-light);
    font-size: var(--text-lg);
}

.commission-table-v2 tr:last-child td {
    border-bottom: none;
}

.commission-table-v2 span.percentage {
    font-family: var(--font-outfit);
    font-weight: 700;
    color: var(--primary);
    font-size: var(--text-2xl);
}

/* ========================================
   REACH-OUT UTILITIES (Contact & Partner)
   ======================================== */

/* Container alias used on redesigned pages */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Section padding tiers */
.section-padding {
    padding: var(--space-20) 0;
}

.section-padding-xl {
    padding: var(--space-24) 0;
}

/* Center alignment utility */
.center { text-align: center; }

/* Margin helpers */
.margin-bottom-12 { margin-bottom: var(--space-12); }

/* Outfit font utility */
.outfit { font-family: var(--font-outfit); }

/* Section label (numbered, uppercase) for partner page */
.td-section-label {
    display: inline-block;
    font-family: var(--font-outfit);
    font-size: var(--text-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: var(--space-3);
}

/* Contact card link style */
.contact-link {
    display: inline-block;
    margin-top: var(--space-4);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--primary);
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-hover);
    transform: translateX(4px);
}

/* Hero header centering for Contact & Partner pages */
.contact-header-v2,
.partner-hero-v2 .container,
.partner-hero-v2 .container.center {
    padding-top: var(--space-20);
    padding-bottom: var(--space-12);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Headings & text — full constrained width, centered */
.contact-header-v2 h1,
.contact-header-v2 .hero-title-large,
.contact-header-v2 .hero-subtext,
.contact-header-v2 p,
.partner-hero-v2 .container h1,
.partner-hero-v2 .container .hero-title-large,
.partner-hero-v2 .container .hero-subtext,
.partner-hero-v2 .container p {
    text-align: center;
    max-width: 760px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

/* Badge — compact pill, never stretches */
.contact-header-v2 .section-badge,
.partner-hero-v2 .container .section-badge {
    display: inline-flex;
    width: auto;
    margin: 0 auto;
    align-self: center;
}

/* Contact section background */
.contact-section-v2 {
    background: linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

/* Section header spacing */
.section-header.center {
    text-align: center;
    margin-bottom: var(--space-12);
}

/* Responsive flow cards (partner page) */
@media (max-width: 991px) {
    .process-flow-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .process-flow-grid {
        grid-template-columns: 1fr !important;
    }

    .contact-bento-grid {
        grid-template-columns: 1fr !important;
    }
    .bento-item-email,
    .bento-item-location {
        grid-column: span 1 !important;
    }
}

/* Premium Form Input Styles */
/* Premium form styles removed */
