/* ===== CSS RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --primary: #FF6A00;
    --gradient-accent: #E65100;
    --background: #1C1C1C;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --footer-bg: #141414;

    /* Spacing System (8px grid) */
    --spacing-xs: 8px;
    --spacing-sm: 16px;
    --spacing-md: 24px;
    --spacing-lg: 32px;
    --spacing-xl: 48px;
    --spacing-2xl: 64px;
    --spacing-3xl: 96px;

    /* Animation Timing */
    --transition-fast: 0.3s ease;
    --transition-medium: 0.5s ease;
    --transition-slow: 0.8s ease;
}

html {
    scroll-behavior: smooth;
    background-color: var(--footer-bg);
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

@media (min-width: 1024px) {
    body {
        cursor: none;
    }

    a,
    button,
    .cta-button,
    input,
    textarea,
    select,
    .service-item,
    .faq-question {
        cursor: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* ===== SECTION TITLES ===== */
.section-title {
    font-size: clamp(2rem, 5vw, 4rem);
    /* 32px mobile to 64px desktop */
    font-weight: 800;
    /* Extra bold */
    text-align: center;
    margin-bottom: 60px;
    /* Increased spacing */
    letter-spacing: -0.02em;
    line-height: 1.1;
    color: #f5f5f5;
    /* Off-white */
    text-shadow: 0 0 25px rgba(255, 106, 0, 0.15);
    /* Subtle orange glow */
    position: relative;
    display: table;
    /* Allows width to fit content for underline */
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 20px;
    z-index: 1;

    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.section-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Orange accent word */
.section-title .accent {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

/* Animated Sliding Underline (Attached to Accent) */
.section-title .accent::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -40px;
    /* Center the fixed 80px width */
    width: 80px;
    /* Fixed length */
    height: 3px;
    background: var(--primary);
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
    border-radius: 2px;

    /* Animation Initial State */
    opacity: 0;
    transform: translateX(-150px);
    /* Start from left */
    transition: all 1s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
    /* 0.2s delay */
}

/* Trigger Animation */
.section-title.is-visible .accent::after {
    opacity: 1;
    transform: translateX(0);
    /* Stops exactly centered under accent word */
}

/* Premium Divider Line (Optional background enhancement) */
.section-title::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100vw;
    /* Full width */
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    z-index: -1;
    pointer-events: none;
}

/* ===== SCROLL PROGRESS INDICATOR ===== */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary) 0%, #E65100 100%);
    transform-origin: left;
    transform: scaleX(0);
    z-index: 9999;
    transition: transform 0.1s ease-out;
}

@media (max-width: 640px) {
    .scroll-progress {
        display: none;
    }
}

/* ===== NAVBAR ===== */
.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    max-width: 1400px;
    height: 70px;
    z-index: 1000;
    padding: 0 40px;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    box-shadow: 0 8px 40px rgba(255, 106, 0, 0.15);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar.scrolled {
    top: 10px;
    height: 60px;
    background: rgba(20, 20, 20, 0.8);
    box-shadow: 0 12px 50px rgba(255, 106, 0, 0.25);
    padding: 0 30px;
}

@media (max-width: 768px) {
    .navbar {
        width: 95%;
        padding: 0 20px;
    }
}

.nav-container {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.brand:hover {
    transform: scale(1.02);
}

.brand-logo {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 6px rgba(255, 106, 0, 0.4));
    transition: filter 0.3s ease;
}

.brand:hover .brand-logo {
    filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.6));
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF;
    /* Clean White */
    transition: color 0.3s ease;
}

.brand:hover .brand-text {
    color: #fff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color var(--transition-fast), transform 0.3s ease;
    padding: 5px 0;
}

/* Navigation underline animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
}

.nav-links a.active {
    color: rgba(255, 255, 255, 0.95);
}

/* Global Button Styles */
.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.5);
    background: #ff7b1a;
}

/* Navbar CTA Specific Styles */
.cta-button {
    background: var(--primary);
    color: var(--text-primary);

    /* Refined Size & Proportions */
    height: 46px;
    /* Target 44-48px range */
    padding: 0 22px;
    font-size: 15px;
    /* Slightly reduced */
    font-weight: 600;

    /* Shape & Border */
    border-radius: 30px;
    /* Tighter than full pill */
    border: none;
    text-decoration: none;

    /* Layout */
    display: inline-flex;
    align-items: center;
    justify-content: center;

    /* Visual Effects */
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 106, 0, 0.25);
    /* More subtle glow */
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-2px);
    /* Maintain lift */
    box-shadow: 0 6px 25px rgba(255, 106, 0, 0.4);
    /* Enhanced but controlled glow */
    background: #ff7b1a;
}

/* CTA friction-reduction subtext */
.cta-subtext {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 8px;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-top: var(--spacing-xl);
}

.hero-cta .btn-primary {
    margin-bottom: 12px;
}

.hero-cta .cta-subtext {
    margin-top: 0;
    margin-bottom: 0;
}

/* Button ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: scale(0);
    animation: ripple-animation 600ms ease-out;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #050505;
    /* Darker than body #1C1C1C */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: float 8s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary), var(--gradient-accent));
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

@keyframes float {

    0%,
    100% {
        transform: translateX(-50%) translateY(0) scale(1);
    }

    33% {
        transform: translateX(-45%) translateY(-30px) scale(1.05);
    }

    66% {
        transform: translateX(-55%) translateY(20px) scale(0.95);
    }
}

#particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    padding: 0 var(--spacing-md);
}

.hero-headline {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    letter-spacing: 0.02em;
    display: flex;
    gap: clamp(1rem, 3vw, 2.5rem);
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
}

.hero-headline .word {
    display: inline-block;
    opacity: 1;
    transform: translateY(0) scale(1);
    position: relative;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.6) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.6) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: lightSweep 4s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(255, 106, 0, 0.3));
}

/* Enhanced brightness for Elevate */
.hero-headline .word.elevate {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.8) 0%,
            rgba(255, 255, 255, 1) 50%,
            rgba(255, 255, 255, 0.8) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(255, 106, 0, 0.5));
    animation: lightSweep 4s ease-in-out infinite,
        glowPulse 3s ease-in-out infinite;
}

.hero-headline .word:nth-child(1) {
    animation-delay: 0s;
}

.hero-headline .word:nth-child(2) {
    animation-delay: 1.3s;
}

.hero-headline .word:nth-child(3) {
    animation-delay: 2.6s, 0s;
}

@keyframes wordPopUp {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.8);
    }

    50% {
        transform: translateY(-10px) scale(1.05);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes lightSweep {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes glowPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 25px rgba(255, 106, 0, 0.5));
    }

    50% {
        filter: drop-shadow(0 0 35px rgba(255, 106, 0, 0.7));
    }
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.3);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(255, 106, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    padding: 16px 32px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: all var(--transition-fast);
}

.btn-secondary:hover {
    border-color: var(--primary);
    background: rgba(255, 106, 0, 0.1);
}

/* ===== SERVICES SECTION ===== */
.services {
    padding: var(--spacing-3xl) 0;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

/* Animated background gradient */
.services-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 106, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 106, 0, 0.06) 0%, transparent 50%);
    animation: backgroundShift 20s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes backgroundShift {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translate(30px, -20px) scale(1.05);
        opacity: 0.8;
    }
}

.services .container {
    position: relative;
    z-index: 1;
}

/* Services stack - Grid layout */
.services-stack {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1100px;
    margin: var(--spacing-3xl) auto 0;
}

/* Service items - Flexbox for equal height */
.service-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 600px;
    padding: 60px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    position: relative;

    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Visible state (triggered by JS) */
.service-item.is-visible {
    opacity: 1;
    transform: translateY(0);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(255, 106, 0, 0.08);
}


/* Hover interactions */
.service-item:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 106, 0, 0.25);
    box-shadow: 0 12px 50px rgba(255, 106, 0, 0.12);
}

.service-item:hover .service-title {
    color: rgba(255, 255, 255, 0.95);
}

.service-item:hover .service-number {
    color: rgba(255, 106, 0, 0.2);
}

/* Highlighted service (default: service #2) */
.service-item.highlighted {
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 0 60px rgba(255, 106, 0, 0.15),
        inset 0 0 80px rgba(255, 106, 0, 0.05);
}

.service-item.highlighted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(255, 106, 0, 0.1) 0%,
            transparent 50%,
            rgba(255, 106, 0, 0.05) 100%);
    pointer-events: none;
    z-index: -1;
}

/* Service content */
.service-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0;
}

/* Service number */
.service-number {
    font-size: clamp(4rem, 8vw, 5.5rem);
    font-weight: 900;
    color: rgba(255, 106, 0, 0.15);
    line-height: 1;
    margin-bottom: 16px;
    user-select: none;

    /* Initial state for scroll animation */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-item.is-visible .service-number {
    opacity: 1;
    transform: translateY(0);
}

/* Outcome headline - Rebalanced for better hierarchy */
.outcome-headline {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(255, 106, 0, 0.12);

    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

.service-item.is-visible .outcome-headline {
    opacity: 1;
    transform: translateY(0);
}

/* Hover effect on outcome headline */
.service-item:hover .outcome-headline {
    text-shadow: 0 0 40px rgba(255, 106, 0, 0.25);
}

/* Service title - Secondary label (70-75% of outcome) */
.service-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.75);
    position: relative;
    display: inline-block;
    padding-bottom: var(--spacing-sm);
    margin-top: var(--spacing-xs);
    margin-bottom: var(--spacing-sm);

    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.service-item.is-visible .service-title {
    opacity: 1;
    transform: translateY(0);
}

.service-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), transparent);
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.45s;
    /* Delay after title appears */
}

.service-item.is-visible .service-title::after {
    width: 120px;
}

/* Supporting line - Clear, concise messaging */
.supporting-line {
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 700px;

    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.service-item.is-visible .supporting-line {
    opacity: 1;
    transform: translateY(0);
}

/* Service features list */
.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 0;
    margin: 0;
}

.service-features li {
    color: rgba(255, 255, 255, 0.85);
    padding-left: 32px;
    position: relative;
    line-height: 1.7;
    font-size: clamp(1.05rem, 1.5vw, 1.1rem);
    font-weight: 500;

    /* Initial state for staggered animation */
    opacity: 0;
    transform: translateX(-20px);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-features li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--primary);
    font-weight: 700;
    font-size: 15px;
}

.service-features li.is-visible {
    opacity: 1;
    transform: translateX(0);
}

/* Service visual accent */
.service-visual {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg,
            rgba(255, 106, 0, 0.1) 0%,
            rgba(255, 106, 0, 0.05) 50%,
            transparent 100%);
    border-radius: 16px;
    border: 1px solid rgba(255, 106, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease-out;
    will-change: transform;
}

.service-visual::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 106, 0, 0.2) 0%, transparent 70%);
    filter: blur(40px);
}

/* Responsive: Tablet */
@media (max-width: 900px) {
    .service-item {
        grid-template-columns: 1fr !important;
        gap: var(--spacing-xl);
        padding: 50px 40px;
        min-height: 500px;
    }

    .service-item:nth-child(even) .service-content,
    .service-item:nth-child(even) .service-visual {
        order: unset;
    }

    .service-number {
        font-size: clamp(3rem, 10vw, 4rem);
        margin-bottom: 12px;
    }

    .outcome-headline {
        font-size: clamp(2.2rem, 6vw, 3rem);
        margin-bottom: 16px;
    }

    .service-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 12px;
    }

    .supporting-line {
        font-size: clamp(1rem, 2.5vw, 1.1rem);
        margin-bottom: 20px;
    }

    .service-visual {
        height: 200px;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .services-stack {
        gap: 30px;
    }

    .service-item {
        padding: 40px 24px;
        min-height: auto;
    }

    .outcome-headline {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }

    .service-title {
        font-size: clamp(1.3rem, 5vw, 1.8rem);
    }
}


/* ===== WHY AXIONCO SECTION ===== */
.why-axionco {
    padding: var(--spacing-3xl) 0;
    background: var(--background);
    position: relative;
}

.section-subtitle {
    text-align: center;
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.7);
    margin-top: calc(var(--spacing-md) * -1);
    margin-bottom: var(--spacing-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    margin-top: var(--spacing-2xl);
}

.pillar-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--spacing-xl);
    position: relative;
    overflow: hidden;

    /* Initial state for scroll animation */
    transform: translateY(40px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(255, 106, 0, 0.05), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.pillar-card:hover::before {
    opacity: 1;
}

.pillar-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pillar-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.15),
        inset 0 0 40px rgba(255, 106, 0, 0.05);
}

.pillar-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 106, 0, 0.7);
    margin-bottom: var(--spacing-sm);
}

.pillar-title {
    font-size: clamp(1.5rem, 3vw, 1.8rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

.pillar-description {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
}

/* Responsive: Tablet */
@media (max-width: 900px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillar-card:last-child {
        grid-column: 1 / -1;
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
}

/* Responsive: Mobile */
@media (max-width: 640px) {
    .pillars-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .pillar-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    .pillar-card {
        padding: var(--spacing-lg);
    }
}


/* ===== WHO WE WORK WITH ===== */
.who-we-work-with {
    padding: var(--spacing-3xl) 0;
    background: var(--background);
}

.client-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-2xl);
    max-width: 1100px;
    margin: 0 auto;
}

.client-category {
    text-align: center;
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(30px);
}

.client-category.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.client-category:nth-child(1) {
    transition-delay: 0s;
}

.client-category:nth-child(2) {
    transition-delay: 0.1s;
}

.client-category:nth-child(3) {
    transition-delay: 0.2s;
}

.client-category:hover {
    transform: translateY(-5px);
}

.client-category:hover h3 {
    color: var(--primary);
}

.client-category:hover h3::after {
    width: 60px;
    box-shadow: 0 0 12px rgba(255, 106, 0, 0.6);
}

.client-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
    position: relative;
    display: inline-block;
    transition: color var(--transition-medium);
}

.client-category h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary);
    transition: all var(--transition-medium);
}

.client-category p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
    margin-top: var(--spacing-md);
    text-align: center;
}

/* Responsive: Stack on tablet and mobile */
@media (max-width: 900px) {
    .client-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }
}

/* ===== PROCESS SECTION ===== */
.process {
    padding: var(--spacing-3xl) 0;
    background: var(--background);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 40px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    display: flex;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
    opacity: 0;
    transform: translateY(30px);
    transition: all var(--transition-slow);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.timeline-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--gradient-accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    box-shadow: 0 0 30px rgba(255, 106, 0, 0.5);
    position: relative;
    z-index: 1;
}

.timeline-content h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.01em;
}

.timeline-content p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 120px 0 100px 0;
    background: var(--background);
    overflow: hidden;
}

.testimonials-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    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);
}

/* Fade masks (Optional extra layer if mask-image isn't enough, but mask-image is cleaner) */
/* Kept for fallback support if needed, but primary fade is via mask-image above */

.testimonials-track {
    display: flex;
    gap: 32px;
    /* Spacing between cards */
    width: fit-content;
    animation: infiniteScroll 60s linear infinite;
    /* Slower, premium speed */
    will-change: transform;
    /* Performance optimization */
}

/* NO HOVER PAUSE - Continuous motion */
.testimonials-track:hover {
    animation-play-state: running;
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-50% - 16px));
        /* Moves half way (original set) + half gap */
    }
}

.testimonial-card {
    flex: 0 0 400px;
    /* Fixed width */
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    /* No transitions needed as there are no hover states */
}

/* REMOVED ALL HOVER EFFECTS */
/* Cards remain static and consistent during scroll */

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    color: var(--text-secondary);
}

.testimonial-author strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-author span {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== ABOUT SECTION ===== */
.about {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--background) 0%, rgba(28, 28, 28, 0.95) 50%, var(--background) 100%);
    position: relative;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.03);
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: visible;
    opacity: 0;
    transform: translateY(30px);

    /* Equal height for all cards */
    min-height: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays */
.team-card:nth-child(1) {
    transition-delay: 0s;
}

.team-card:nth-child(2) {
    transition-delay: 0.1s;
}

.team-card:nth-child(3) {
    transition-delay: 0.15s;
}

.team-card:nth-child(4) {
    transition-delay: 0.2s;
}

.team-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 8px 40px rgba(255, 106, 0, 0.25);
    border-color: var(--primary);
}

.team-photo-wrapper {
    position: relative;
    margin-bottom: var(--spacing-md);
}

.team-photo {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, var(--primary), var(--gradient-accent));
    border-radius: 50%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-weight: 800;
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    filter: grayscale(0.3);
}

.team-card:hover .team-photo {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 106, 0, 0.5);
    filter: grayscale(0);
}

.team-social {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-xs);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.team-card:hover .team-social {
    opacity: 1;
    bottom: -5px;
    pointer-events: all;
}

.team-social a {
    width: 36px;
    height: 36px;
    background: rgba(255, 106, 0, 0.1);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.team-social a:hover {
    background: var(--primary);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 106, 0, 0.4);
}

.team-social svg {
    width: 18px;
    height: 18px;
}

.team-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
}

.team-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
}

.team-bio {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    flex-grow: 1;
}

/* Responsive: Tablet and mobile */
@media (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .team-card {
        min-height: auto;
    }
}

/* ===== FAQ SECTION ===== */
.faq-section {
    padding: var(--spacing-3xl) 0;
    position: relative;
    background: var(--background);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.faq-item {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;

    /* Animation Initial State */
    opacity: 0;
    transform: translateY(20px);
}

.faq-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2),
        inset 0 0 20px rgba(255, 106, 0, 0.02);
}

.faq-item.active {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 106, 0, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
        inset 0 0 30px rgba(255, 106, 0, 0.05);
}

.faq-question {
    padding: 24px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

.faq-item:hover .faq-question h3 {
    color: #fff;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    /* Or 180deg depending on icon preference */
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.answer-content {
    padding: 0 32px 32px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.faq-item.active .answer-content {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
    /* Delay text appearance slightly */
}

.answer-content strong {
    color: #fff;
    font-weight: 600;
}

/* ===== CONTACT SECTION ===== */
.contact {
    padding: var(--spacing-3xl) 0;
    background: var(--background);
}

.contact-form-wrapper {
    max-width: 700px;
    margin: var(--spacing-2xl) auto 0;
    padding: var(--spacing-2xl);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-radius: 16px;
    box-shadow: 0 0 40px rgba(255, 106, 0, 0.15),
        inset 0 0 60px rgba(255, 106, 0, 0.05);
    position: relative;
}

.contact-form-wrapper::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    background: linear-gradient(135deg,
            rgba(255, 106, 0, 0.2) 0%,
            transparent 50%,
            rgba(255, 106, 0, 0.1) 100%);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
}

.contact-form {
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.form-row:has(.custom-select-wrapper:only-child) {
    grid-template-columns: 1fr;
}

.custom-select-wrapper {
    position: relative;
    user-select: none;
    width: 100%;
}

.custom-select {
    position: relative;
    display: flex;
    flex-direction: column;
}

.custom-select__trigger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-select__trigger span {
    color: var(--text-secondary);
    /* Default placeholder color */
}

.custom-select.selected .custom-select__trigger span {
    color: var(--text-primary);
    /* Selected value color */
}

.custom-select__trigger:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 106, 0, 0.3);
}

.custom-select.open .custom-select__trigger {
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1),
        0 0 20px rgba(255, 106, 0, 0.2);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.custom-options {
    position: absolute;
    display: block;
    top: 100%;
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 106, 0, 0.3);
    border-top: 0;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    background: #1c1c1c;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transform: translateY(-10px);
}

.custom-select.open .custom-options {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translateY(0);
}

.custom-option {
    position: relative;
    display: block;
    padding: 12px 20px;
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.custom-option:last-child {
    border-bottom: none;
}

.custom-option:hover {
    background: rgba(255, 106, 0, 0.15);
    color: var(--primary);
    padding-left: 25px;
}

.custom-option.selected {
    background: rgba(255, 106, 0, 0.1);
    color: var(--primary);
    font-weight: 500;
}

.arrow {
    position: relative;
    height: 10px;
    width: 10px;
}

.arrow::before,
.arrow::after {
    content: "";
    position: absolute;
    bottom: 0px;
    width: 0.15rem;
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: var(--text-secondary);
}

.arrow::before {
    left: -3px;
    transform: rotate(-45deg);
}

.arrow::after {
    left: 3px;
    transform: rotate(45deg);
}

.custom-select.open .arrow::before {
    left: -3px;
    transform: rotate(45deg);
    background-color: var(--primary);
}

.custom-select.open .arrow::after {
    left: 3px;
    transform: rotate(-45deg);
    background-color: var(--primary);
}

/* Custom Scrollbar for Options */
.custom-options::-webkit-scrollbar {
    width: 6px;
}

.custom-options::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.custom-options::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 3px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(255, 106, 0, 0.1),
        0 0 20px rgba(255, 106, 0, 0.2);
}

.contact-form textarea {
    resize: vertical;
    min-height: 140px;
    margin-bottom: var(--spacing-md);
}

.contact-form button {
    width: 100%;
    padding: 18px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.4);
    animation: buttonPulse 1.5s ease-in-out infinite;
}

@keyframes buttonPulse {

    0%,
    100% {
        box-shadow: 0 8px 30px rgba(255, 106, 0, 0.4);
    }

    50% {
        box-shadow: 0 8px 40px rgba(255, 106, 0, 0.6);
    }
}


/* Form reassurance - Friction reduction copy */
.form-reassurance {
    text-align: center;
    margin-top: var(--spacing-md);
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.4s ease-out 0.2s forwards;
}

.form-reassurance p {
    font-size: 0.9rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    letter-spacing: 0.2px;
    margin: 0;
}

.form-reassurance .separator {
    margin: 0 8px;
    opacity: 0.5;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


.form-success {
    display: none;
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
    padding: var(--spacing-sm);
    border-radius: 8px;
    text-align: center;
    margin-top: var(--spacing-sm);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.form-success.show {
    display: block;
    animation: successPulse 0.5s ease;
}

@keyframes successPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

.form-success span {
    font-size: 1.5rem;
    margin-right: var(--spacing-xs);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--footer-bg);
    padding: 80px 0 40px 0;
    position: relative;
    font-size: 0.95rem;
    margin-bottom: 0;
    width: 100vw;
    margin-top: 120px;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    /* Thinner for elegance */
    background: linear-gradient(90deg, transparent, var(--primary), var(--gradient-accent), transparent);
    opacity: 0.5;
    /* Subtler */
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    /* Custom column widths */
    gap: 40px;
    margin-bottom: 80px;
    align-items: start;
    /* Top align all columns */
}

/* Column 1: Brand */
.footer-col.brand-col .brand {
    margin-bottom: 24px;
    display: inline-flex;
}

.footer-col.brand-col .brand-logo {
    width: 150px;
    height: 150px;
}

.footer-col.brand-col .brand-text {
    font-size: 1.4rem;
}

.footer-col p {
    color: var(--text-secondary);
    /* Lighter gray */
    line-height: 1.6;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.brand-tagline {
    color: rgba(255, 255, 255, 0.4) !important;
    /* Even subtler */
    margin-top: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Headings */
.footer-col h4 {
    color: #f5f5f5;
    /* Brighter than links */
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 24px;
    /* Consistent spacing */
    letter-spacing: -0.01em;
}

/* Links List */
.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
    /* Equal vertical spacing */
}

.footer-col a {
    color: var(--text-secondary);
    /* Lighter gray link */
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
    font-size: 0.95rem;
}

.footer-col a:hover {
    color: var(--primary);
    /* Orange on hover */
}

/* Contact Column */
.contact-col .contact-email,
.contact-col .contact-phone {
    display: block;
    margin-bottom: 12px;
    color: #fff;
    /* Email stands out slightly more */
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-col .contact-phone:hover {
    color: var(--primary);
}

.contact-col .book-call-link {
    display: block;
    margin-bottom: 24px;
    text-decoration: underline;
    /* Text link style */
    text-underline-offset: 4px;
    text-decoration-color: rgba(255, 255, 255, 0.2);
}

.contact-col .book-call-link:hover {
    text-decoration-color: var(--primary);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
    padding-bottom: 0;
    margin-bottom: 0;
    margin-top: 60px;
}

.footer-bottom p {
    margin: 0;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    /* Footer Fixes for Mobile */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer {
        padding: 60px 0 30px;
    }

    .footer-col.brand-col .brand {
        display: inline-flex;
        justify-content: center;
        width: 100%;
    }

    .social-icons {
        justify-content: center;
    }

    .contact-col .contact-email,
    .contact-col .book-call-link {
        display: block;
        text-align: center;
    }


    .hero-headline {
        font-size: 2.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .service-card {
        min-height: auto;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-number {
        width: 60px;
        height: 60px;
        font-size: 1.2rem;
    }

    .testimonial-card {
        flex: 0 0 300px;
    }

    .team-card {
        flex: 0 0 280px;
    }
}

/* ===== SECTION SPACING UPDATES ===== */
.services,
.why-axionco,
.who-we-work-with,
.process,
.testimonials,
.about {
    padding: 120px 0 100px 0;
}

/* ===== PREMIUM CURSOR ===== */
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
    will-change: transform;
}

.cursor-ring {
    width: 32px;
    height: 32px;
    border: 1.5px solid rgba(255, 106, 0, 0.6);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    transition: width 0.3s, height 0.3s, border-color 0.3s, background-color 0.3s;
    will-change: transform;
    opacity: 0.7;
}

/* Cursor Hover States */
body.hovering .cursor-dot {
    width: 10px;
    height: 10px;
    box-shadow: 0 0 15px rgba(255, 106, 0, 0.6);
}

body.hovering .cursor-ring {
    width: 48px;
    height: 48px;
    border-color: var(--primary);
    opacity: 1;
    background-color: rgba(255, 106, 0, 0.05);
}

/* Hide on mobile/tablet */
@media (max-width: 1024px) {

    .cursor-dot,
    .cursor-ring {
        display: none !important;
    }
}

.team-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    overflow: hidden;
    background: #ff6a00;
    /* keep your orange */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(100%);
    transition: all 0.5s ease;
}

/* Hover effect on entire card */
.team-card:hover .team-photo img {
    filter: grayscale(0%);
    transform: scale(1.05);
}

/* Optional subtle lift */
.team-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
    transform: translateY(-6px);
}

/* Mobile Optimal Navbar CTA */
.mobile-text {
    display: none;
}

@media (max-width: 768px) {
    .navbar .desktop-text {
        display: none;
    }

    .navbar .mobile-text {
        display: inline;
    }

    .navbar .cta-button {
        height: 38px;
        padding: 0 18px;
        font-size: 13px;
        white-space: nowrap;
        border-radius: 20px;
    }
}

/* ===== MOBILE CONTACT FORM OPTIMIZATION (Max-width: 768px) ===== */
@media (max-width: 768px) {

    /* 6. Spacing Adjustments - Breathing Space */
    .contact {
        padding: 60px 0 80px 0;
        /* More breathing room */
    }

    /* 2. Reduce Visual Tightness & 1. Layout Fixes */
    .contact-form-wrapper {
        padding: 24px 20px;
        /* Reduced from default */
        margin-top: 30px;
        /* Spacing from heading */
        backdrop-filter: blur(8px);
        /* 7. Performance - Reduced blur */
        -webkit-backdrop-filter: blur(8px);
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
        /* Reduced glow */
        border: 1px solid rgba(255, 106, 0, 0.15);
        /* Softer border */
        border-radius: 12px;
    }

    .contact-form-wrapper::before {
        opacity: 0.2;
        /* Lighter background gradient */
    }

    /* 1. Stack all inputs - STRICT BLOCK LAYOUT */
    .contact-form .form-row {
        display: block !important;
        margin-bottom: 0;
    }

    /* 3. Improve Input Fields */
    .contact-form input,
    .contact-form textarea,
    .custom-select__trigger,
    .custom-select-wrapper {
        display: block !important;
        width: 100% !important;
        height: 52px;
        /* Increased height for touch */
        border-radius: 12px;
        /* Smoother feel */
        font-size: 16px;
        /* Prevent auto-zoom on iOS */
        padding: 0 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        margin-bottom: 20px !important;
        /* Explicit Spacing */
    }

    .contact-form textarea {
        height: auto;
        min-height: 140px;
        padding: 16px;
        margin-bottom: 4px;
        /* Small space before button */
    }

    /* Placeholder Visibility */
    .contact-form input::placeholder,
    .contact-form textarea::placeholder {
        color: rgba(255, 255, 255, 0.7);
        /* Brighter */
        opacity: 1;
    }

    /* Focus State */
    .contact-form input:focus,
    .contact-form textarea:focus,
    .custom-select.open .custom-select__trigger {
        border-color: var(--primary);
        box-shadow: 0 0 0 1px rgba(255, 106, 0, 0.2), 0 0 15px rgba(255, 106, 0, 0.1);
        background: rgba(255, 255, 255, 0.08);
    }

    /* Custom Select Fixes for Mobile */
    .custom-select__trigger {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* 4. Text & Heading Optimization */
    .contact .section-title {
        font-size: 2rem;
        /* Reduced size */
        margin-bottom: 10px;
        padding-bottom: 15px;
    }

    .contact .section-title .accent::after {
        width: 60px;
        /* Shorter underline */
        bottom: -6px;
    }

    /* 5. CTA Button Optimization */
    .contact-form button {
        width: 100%;
        /* Full width */
        padding: 16px;
        font-size: 1.1rem;
        border-radius: 12px;
        margin-top: 16px;
        /* Space above button */
        box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
        /* Subtle but premium */
    }

    .contact-form button:active {
        transform: scale(0.96);
        /* Tap feedback */
    }

    /* Friction reduction copy */
    .form-reassurance {
        margin-top: 20px;
    }

    .form-reassurance p {
        font-size: 0.85rem;
        opacity: 0.7;
    }

    /* Disable heavy animations on mobile inputs if needed */
    .contact-form input,
    .contact-form textarea {
        transition: border-color 0.2s, background 0.2s;
    }
}