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

:root {
    /* Updated Brand Colors - BairesDev Inspired */
    --primary: #FF5A35;
    /* Professional Orange */
    --primary-dark: #E44E2B;
    --primary-light: #FF8B70;
    --secondary: #000000;
    --secondary-light: #1A1A1A;

    --accent: #FF5A35;
    --accent-glow: rgba(255, 90, 53, 0.2);

    /* Text Colors */
    --text-main: #111111;
    --text-muted: #555555;
    --text-light: #888888;
    --white: #ffffff;

    /* Backgrounds */
    --bg-body: #ffffff;
    --bg-surface: #F8F9FA;
    --bg-surface-hover: #F1F3F5;
    --bg-dark: #111111;

    /* Spacing & Layout */
    --container-width: 1320px;
    --header-height: 90px;
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: all 0.2s ease;
    --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-main);
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.025em;
}

h2 {
    font-size: 2.5rem;
    letter-spacing: -0.025em;
}

h3 {
    font-size: 1.75rem;
    letter-spacing: -0.015em;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

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

ul {
    list-style: none;
}

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

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

.section-padding {
    padding: 100px 0;
}

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

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-4 {
    margin-top: 2rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}

/* Animations - Professional Reveal System */
.reveal {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-down {
    transform: translateY(-40px);
}

.reveal-left {
    transform: translateX(-40px);
}

.reveal-right {
    transform: translateX(40px);
}

.reveal-scale {
    transform: scale(0.95);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0) scale(1);
}

/* Delay Utilities for staggered reveals */
.delay-100 {
    transition-delay: 100ms;
}

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

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

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

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

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

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

.fade-in {
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 36px;
    font-weight: 700;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 1rem;
    letter-spacing: 0.01em;
    border: none;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(255, 90, 53, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 90, 53, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-main);
}

.btn-outline:hover {
    background-color: var(--text-main);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-main);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-main);
    background-color: var(--text-main);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-link {
    color: var(--primary);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 12px;
}

/* Header */
.header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.01em;
    text-decoration: none;
    /* text-transform: uppercase; */
    white-space: nowrap;
}

.logo img {
    height: 40px;
    width: auto;
    flex-shrink: 0;
    display: block;
}

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

.nav-menu .btn {
    padding: 10px 24px;
    font-size: 0.95rem;
    min-width: auto;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: -32px;
    /* Pull down to match screenshots */
    left: 0;
    background-color: var(--primary);
    transition: var(--transition-fast);
}

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

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    padding-top: var(--header-height);
    min-height: 80vh;
    display: flex;
    align-items: center;
    background: #fff;
    position: relative;
    padding-bottom: 120px;
}

.hero-bg-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 65%;
    height: 100%;
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center right;
    z-index: 1;
}

.hero-bg-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Professional masking: solid white on the left transition to the image */
    background: linear-gradient(to right,
            rgba(255, 255, 255, 1) 0%,
            rgba(255, 255, 255, 1) 15%,
            rgba(255, 255, 255, 0.9) 30%,
            rgba(255, 255, 255, 0) 100%);
}

.hero .container {
    position: relative;
    z-index: 2;
    margin-left: 0;
    /* Pull to the left of screen */
    padding-left: 5%;
    /* Add some breath on the far left */
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: #fff;
    clip-path: ellipse(75% 100% at 50% 100%);
    z-index: 3;
}

.hero-content {
    max-width: 850px;
    text-align: left;
    position: relative;
    z-index: 5;
}

.hero h1 {
    font-size: 5.2rem;
    /* Impactful size to match screenshot */
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 30px;
    color: var(--text-main);
    letter-spacing: -0.05em;
}

.hero h1 span.highlight-orange {
    color: var(--primary);
    display: block;
    /* Ensure the talent name is on its own line like the screenshot */
    margin-top: 10px;
}

.hero-lead {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.5;
    font-weight: 400;
}

.hero-visual {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    background-image: url('hero_bg.png');
    background-size: cover;
    background-position: center;
}

.hero-visual::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(to right, #fff, transparent);
}

/* Trust Bar / Logo Strip */
.trust-bar {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.trust-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.2;
}

.trust-title span {
    color: var(--primary);
    text-decoration: underline;
}

.logo-strip {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.6;
    filter: grayscale(1);
}

.logo-strip img {
    height: 35px;
    width: auto;
}

/* Logos Link Style */
.brand-link {
    font-size: 0.8rem;
    color: var(--primary);
    display: block;
    margin-top: 8px;
    font-weight: 700;
}

/* Featured In Bar */
.featured-in-bar {
    background: #3B4E58;
    color: #fff;
    padding: 20px 0;
    width: 100%;
    margin-top: 60px;
    border-radius: 8px 8px 0 0;
}

.featured-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.featured-label {
    font-size: 1.2rem;
    font-weight: 700;
    white-space: nowrap;
}

.featured-logos {
    display: flex;
    gap: 60px;
    align-items: center;
    opacity: 0.9;
}

.featured-logos img {
    height: 24px;
    filter: brightness(0) invert(1);
}

/* Award Slider / Carnegie Box Style */
.award-slider-box {
    background: #4A5863;
    color: #fff;
    padding: 60px;
    border-radius: 0 0 16px 16px;
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.award-slider-nav {
    position: absolute;
    bottom: 30px;
    left: 60px;
    display: flex;
    align-items: center;
    gap: 20px;
    width: calc(100% - 120px);
    justify-content: space-between;
}

.slider-arrows {
    display: flex;
    gap: 20px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
}

.dot.active {
    background: #fff;
}

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

.expertise-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.expertise-item h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.expertise-item p {
    font-size: 1.05rem;
    color: var(--text-muted);
}

/* Awards Section */
.awards-section {
    background: #111;
    color: #fff;
    padding: 100px 0;
    border-radius: var(--radius-lg);
    margin: 40px 0;
}

.awards-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.awards-left h2 {
    color: #fff;
    font-size: 3.5rem;
    font-weight: 800;
}

.awards-left .highlight {
    color: var(--primary);
}

.awards-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.award-item {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    padding-left: 24px;
}

.award-item h4 {
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

/* Marquee / Tech Stack Animation */
@keyframes marquee-left {
    from {
        transform: translateX(0);
    }

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

@keyframes marquee-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

.tech-stack-section {
    padding: 100px 0;
    text-align: center;
    background: #fff;
    overflow: hidden;
}

.tech-marquee-container {
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.tech-marquee-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
    gap: 20px;
    padding: 10px 0;
}

.track-left {
    animation: marquee-left 60s linear infinite;
}

.track-right {
    animation: marquee-right 70s linear infinite;
}

.tech-chip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background: #f8fafc;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 100px;
    font-weight: 600;
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease;
}

.tech-chip:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.tech-chip i {
    font-size: 1.5rem;
    color: var(--primary);
}

/* Sub-page Hero */
.hero-small {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 80px;
    background: var(--bg-surface);
    text-align: center;
}

.hero-small h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-small p {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.25rem;
}

/* Cards & Components */
.card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--bg-surface-hover);
    transition: var(--transition-normal);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: transparent;
}

.card h3 {
    color: var(--text-main);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.card p {
    flex-grow: 1;
}

.card-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 77, 90, 0.1);
    color: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 1.5rem;
}

/* Industries Grid specific */
.industry-card {
    text-align: center;
    padding: 32px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

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

.industry-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

/* Technology Tags */
.tech-tag {
    padding: 10px 20px;
    background: var(--bg-surface);
    border-radius: var(--radius-full);
    font-weight: 500;
    color: var(--text-main);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}

.tech-tag:hover {
    background: var(--white);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
}

.flex-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

/* --- Mega Menu & Dropdowns --- */
.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: 1100px;
    /* Wider to match design */
    background: var(--white);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
    z-index: 1100;
    display: flex;
    overflow: hidden;
    border-top: 1px solid #eee;
}

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

/* Mega Menu Sidebar */
.mega-sidebar {
    width: 320px;
    background: #F8F9FA;
    padding: 50px 40px;
    border-right: 1px solid #eee;
    display: flex;
    flex-direction: column;
}

.mega-sidebar h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.mega-sidebar p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 30px;
}

.mega-sidebar-links {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.mega-sidebar-links li {
    margin-bottom: 12px;
}

.mega-sidebar-links a {
    font-weight: 700;
    color: var(--text-main);
    font-size: 1rem;
}

.mega-sidebar-links a:hover {
    color: var(--primary);
}

.mega-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid #ddd;
    padding-top: 30px;
}

.mega-sidebar-footer img {
    height: 24px;
    margin-bottom: 15px;
    opacity: 0.8;
}

.mega-sidebar-footer a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-main);
    font-weight: 700;
    text-decoration: underline;
}

.mega-sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: var(--text-main);
    padding: 8px 0;
    transition: var(--transition-fast);
}

.mega-sidebar-link:hover {
    color: var(--primary);
    transform: translateX(4px);
}

.mega-sidebar-link i {
    width: 24px;
    text-align: center;
    color: var(--primary);
}

/* Wonderful Section */
.wonderful-section {
    padding: 100px 0;
    background: #fff;
    text-align: center;
}

.wonderful-section h2 {
    font-size: 3.2rem;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    gap: 16px;
}

.benefit-item i {
    color: var(--primary);
    font-size: 1.5rem;
    margin-top: 4px;
}

.benefit-item h4 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

/* Process Section */
.process-section {
    padding: 100px 0;
    background: #fff;
}

.process-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.process-header h2 {
    font-size: 3.5rem;
    line-height: 1.1;
}

.process-header h2 span {
    color: var(--primary);
}

.process-timeline {
    max-width: 700px;
    margin-left: auto;
    position: relative;
    padding-left: 100px;
}

.process-timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    border-left: 2px dashed #eee;
}

.process-step {
    position: relative;
    margin-bottom: 80px;
}

.process-icon {
    position: absolute;
    left: -100px;
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    z-index: 2;
    box-shadow: 0 0 0 10px #fff;
}

.step-label {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 8px;
    display: block;
}

.process-step h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

/* Insights Section */
.insights-section {
    padding: 100px 0;
    background: #fff;
}

.insights-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
}

/* Improved Insights Styles */
.insights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.insight-card {
    display: flex;
    flex-direction: column;
    padding-bottom: 20px;
}

.insight-img-wrapper {
    width: 100%;
    height: 240px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 24px;
}

.insight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.insight-category {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary);
    margin-bottom: 12px;
}

.insight-card h3 {
    font-size: 1.5rem;
    line-height: 1.4;
    color: var(--text-main);
    margin-bottom: 16px;
    font-weight: 700;
    transition: color 0.3s ease;
}

.insight-card:hover h3 {
    color: var(--primary);
}

.insight-meta {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Professional Final CTA Section */
.final-cta-section {
    padding: 50px 0;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
}

.final-cta-container {
    background: #f8fafc;
    border-radius: 32px;
    padding: 40px;
    max-width: 1000px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    z-index: 1;
}

.final-cta-section h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

.final-cta-lead {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn-cta-professional {
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 100px;
    background: var(--primary);
    color: var(--white);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(255, 77, 90, 0.2);
}

.btn-cta-professional:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 77, 90, 0.3);
    background: #ff5e6d;
}

.btn-cta-professional i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.btn-cta-professional:hover i {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .final-cta-section h2 {
        font-size: 2.5rem;
    }

    .final-cta-lead {
        font-size: 1.1rem;
    }

    .final-cta-container {
        padding: 40px 20px;
        border-radius: 20px;
    }
}

@media (max-width: 992px) {
    .insights-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

/* Brands section refinement */
.brands-count-section {
    padding: 100px 0;
    background: #fff;
}

.brands-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.brands-left-img {
    border-radius: 20px;
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.brands-right h2 {
    font-size: 3.5rem;
    margin-bottom: 24px;
}

/* Mega Menu Content */
.mega-content {
    flex: 1;
    padding: 50px 60px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.mega-column h4 {
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    padding: 0;
}

.mega-column h4::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--primary);
}

.mega-link-list li {
    margin-bottom: 14px;
}

.mega-link-list a {
    color: var(--text-main);
    font-size: 1.05rem;
    font-weight: 700;
}

.mega-link-list a:hover {
    color: var(--primary);
}

.mega-all-link {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.1rem;
    margin-top: 20px;
}

/* Icons for Sidebar */
.menu-icon {
    font-size: 1.25rem;
    margin-right: 8px;
    color: var(--primary);
    vertical-align: middle;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--bg-surface);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(255, 77, 90, 0.1);
}

/* Footer */
.footer {
    background-color: var(--bg-dark);
    color: var(--white);
    padding: 100px 0 40px;
}

.footer h5 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    opacity: 0.7;
    transition: var(--transition-fast);
}

.footer a:hover {
    opacity: 1;
    color: var(--primary-light);
}

/* Footer Logo specific fix */
.footer .logo {
    color: var(--white) !important;
}

.footer .logo img {
    filter: brightness(0) invert(1);
    height: 32px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 60px;
    padding-top: 30px;
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .h1 {
        font-size: 3.5rem;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .mega-menu {
        display: none;
        /* Hide mega menu on tablets for now, fallback to mobile menu */
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: flex-start;
        padding: 100px 40px;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }

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

    /* Mobile Menu Dropdown overrides */
    .nav-item {
        display: block;
        height: auto;
        width: 100%;
        margin-bottom: 16px;
    }

    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        display: none;
        /* JavaScript would ideally toggle this on click */
        flex-direction: column;
        background: var(--bg-surface);
        padding: 20px;
        margin-top: 10px;
    }

    .mega-sidebar {
        width: 100%;
        border: none;
        padding: 0 0 20px 0;
    }

    .mega-content {
        padding: 0;
        grid-template-columns: 1fr;
    }
}

/* --- Sub-Page Specific Styles --- */

/* Service Page Hero */
.hero-service {
    padding-top: calc(var(--header-height) + 80px);
    padding-bottom: 80px;
    background: var(--white);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-service .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.hero-service h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-main);
}

.hero-service .hero-img {
    width: 100%;
    animation: float 6s ease-in-out infinite;
}

/* Industry Page Hero */
.hero-industry {
    padding-top: calc(var(--header-height) + 100px);
    padding-bottom: 100px;
    background: linear-gradient(135deg, #f9fafb 0%, #edf2f7 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-industry::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 20% 20%, rgba(255, 77, 90, 0.05) 0%, transparent 20%),
        radial-gradient(circle at 80% 80%, rgba(66, 153, 225, 0.05) 0%, transparent 20%);
}

.hero-industry h1 {
    font-size: 4rem;
    background: linear-gradient(to right, var(--text-main), var(--primary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 24px;
}

/* Technology Page Hero */
.hero-tech {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 60px;
    background: #0f172a;
    /* Dark background for tech */
    color: var(--white);
    position: relative;
}

.hero-tech .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-tech h1 {
    color: var(--white);
}

.hero-tech p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.25rem;
}

.tech-hero-form {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    color: var(--text-main);
}

/* Content Sections */
.section-title-bar {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title-bar h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.feature-card {
    display: flex;
    gap: 20px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    background: var(--bg-surface);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
}

/* Solutions Grid (Industries) */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.solution-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    text-align: center;
}

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

.solution-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    display: inline-block;
}

/* Process Timeline (Services) */
.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    position: relative;
    margin-top: 50px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 24px;
    left: 16.6%;
    right: 16.6%;
    height: 2px;
    background: #e5e7eb;
    z-index: 0;
}

.process-step {
    position: relative;
    z-index: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 20px;
    font-size: 1.2rem;
    box-shadow: 0 0 0 8px var(--white);
}

/* Stats Banner (Technologies) */
.stats-banner {
    background: var(--bg-surface);
    padding: 40px 0;
    margin-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* Responsive adjustments for new elements */
@media (max-width: 1024px) {
    .solutions-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    .hero-service .container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 20px;
    }

    .hero-service h1 {
        font-size: 2.5rem;
    }

    .hero-tech .container {
        grid-template-columns: 1fr;
    }

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

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

    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

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

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

/* New Capabilities Grid */
.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.capability-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
}

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

.capability-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    color: var(--text-main);
}

.capability-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.capability-list {
    list-style: none;
    padding: 0;
    margin-top: auto;
}

.capability-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 500;
}

.capability-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary);
}

/* Enhanced Social Proof List */
.social-proof-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.social-proof-card {
    background: var(--white);
    padding: 50px 30px;
    border-radius: 32px;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.social-proof-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, transparent, var(--primary), transparent);
    transform: scaleX(0);
    transition: transform 0.5s ease;
}

.social-proof-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(255, 77, 90, 0.2);
}

.social-proof-card:hover::after {
    transform: scaleX(1);
}

.social-proof-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: inset 0 2px 4px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.03);
}

.social-proof-card:hover .social-proof-icon {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 30px rgba(255, 77, 90, 0.3);
}

.social-proof-card h4 {
    font-size: 1.4rem;
    line-height: 1.4;
    color: var(--text-main);
    font-weight: 700;
    max-width: 240px;
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.testimonial-card blockquote {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 24px;
    line-height: 1.6;
}

.testimonial-author {
    font-weight: 700;
    color: var(--primary);
}

/* Why Arcvave Updates */
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.why-card {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.why-card h4 {
    margin-bottom: 10px;
    color: var(--primary);
    font-size: 1.25rem;
}

.roles-tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin-top: 30px;
}

.role-tag {
    padding: 8px 16px;
    background: #f1f5f9;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Responsive */
@media (max-width: 992px) {

    .testimonial-grid,
    .social-proof-list,
    .why-grid {
        grid-template-columns: 1fr;
    }
}

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

/* ============================================================
   SERVICES PAGE — Full Redesign
   ============================================================ */

/* ---- Hero ---- */
.services-hero {
    padding-top: calc(var(--header-height) + 40px);
    padding-bottom: 80px;
    background: #fff;
    overflow: hidden;
}

.services-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 60px;
}

.services-hero-text {
    max-width: 620px;
}

.services-hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 18px;
}

.services-hero-text h1 {
    font-size: 4.2rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.services-hero-text h1 .highlight-orange {
    color: var(--primary);
}

.services-hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.65;
    max-width: 520px;
    margin-bottom: 0;
}

.services-hero-visual {
    flex-shrink: 0;
}

.services-hero-img-ring {
    width: 340px;
    height: 340px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #f0f0f0;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

.services-hero-img-ring img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---- Category Sections ---- */
.services-category-section {
    padding: 90px 0;
}

.services-category-section.bg-surface {
    background: var(--bg-surface);
}

.services-category-section.bg-white {
    background: #fff;
}

.services-category-header {
    margin-bottom: 48px;
}

.category-icon-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(255, 90, 53, 0.12);
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 18px;
}

.category-icon-badge.category-icon-gold {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
}

.category-icon-badge.category-icon-blue {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}

.category-icon-badge.category-icon-orange {
    background: rgba(255, 90, 53, 0.12);
    color: var(--primary);
}

.services-category-header h2 {
    font-size: 2.6rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text-main);
}

.category-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 680px;
    line-height: 1.7;
    margin-bottom: 0;
}

/* ---- Service Cards 2-col grid ---- */
.services-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 14px;
    padding: 32px 36px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.services-category-section.bg-white .service-card {
    background: var(--bg-surface);
    border-color: rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 0;
    background: var(--primary);
    border-radius: 0 2px 2px 0;
    transition: height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
    border-color: transparent;
}

.service-card:hover::before {
    height: 100%;
}

.service-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    text-decoration: underline;
    text-underline-offset: 3px;
    line-height: 1.3;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
    flex-grow: 1;
}

.service-card-arrow {
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
    color: var(--primary);
    font-size: 1.1rem;
    opacity: 0;
    transform: translateX(-6px);
    transition: var(--transition-fast);
}

.service-card:hover .service-card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* ---- Tech Stack Marquee ---- */
.services-tech-section {
    padding: 80px 0 60px;
    overflow: hidden;
}

/* Centred heading block */
.tech-marquee-heading {
    text-align: center;
    padding: 0 24px;
    margin-bottom: 48px;
}

.tech-marquee-heading h2 {
    font-size: 2.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-main);
    margin-bottom: 12px;
}

.dot-orange {
    color: var(--primary);
}

.tech-marquee-heading p {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
}

/* Marquee row wrapper — full viewport width, no scroll bars */
.tech-marquee-row {
    width: 100%;
    overflow: hidden;
    margin-bottom: 4px;
    /* tighten the rows together */
}

/* The scrolling track — fits all names inline */
.tech-marquee-track {
    display: flex;
    width: max-content;
    white-space: nowrap;
}

/* Individual tech name items */
.tech-marquee-track span {
    display: inline-block;
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2.6rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #c8cdd4;
    /* light grey, like the screenshot */
    padding: 0 48px;
    line-height: 1.2;
    transition: color 0.25s ease;
    cursor: default;
    user-select: none;
}

.tech-marquee-track span:hover {
    color: var(--primary);
}

/* Row 1 — left scroll */
.tech-marquee-track.track-left {
    animation: svc-marquee-left 28s linear infinite;
}

/* Row 2 — right scroll */
.tech-marquee-track.track-right {
    animation: svc-marquee-right 32s linear infinite;
}

@keyframes svc-marquee-left {
    from {
        transform: translateX(0);
    }

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

@keyframes svc-marquee-right {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0);
    }
}

/* Pause on hover */
.tech-marquee-row:hover .tech-marquee-track {
    animation-play-state: paused;
}

/* Footer link */
.tech-marquee-footer {
    text-align: center;
    padding: 32px 24px 0;
}

.tech-marquee-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    border-bottom: 2px solid var(--text-main);
    padding-bottom: 4px;
    text-decoration: none;
    transition: var(--transition-fast);
}

.tech-marquee-link:hover {
    color: var(--primary);
    border-color: var(--primary);
    gap: 14px;
}

/* ---- CTA Section ---- */
.services-cta-section {
    padding: 100px 0 120px;
    background: #fff;
}

.services-cta-box {
    position: relative;
    background: var(--text-main);
    border-radius: 24px;
    padding: 90px 80px;
    text-align: center;
    overflow: hidden;
}

.services-cta-bg-dec {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 90, 53, 0.18) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    pointer-events: none;
}

.services-cta-eyebrow {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 20px;
}

.services-cta-box h2 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.services-cta-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 40px;
}

.services-cta-btn {
    font-size: 1rem;
    padding: 18px 44px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

/* ============================================================
   SERVICES PAGE — Responsive
   ============================================================ */

@media (max-width: 1024px) {
    .services-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .services-hero-text {
        max-width: 100%;
    }

    .services-hero-lead {
        margin: 0 auto;
    }

    .services-hero-visual {
        display: none;
    }

    .services-cards-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .services-hero-text h1 {
        font-size: 2.8rem;
    }

    .services-category-header h2 {
        font-size: 1.9rem;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
    }

    .services-cta-box {
        padding: 60px 28px;
    }

    .services-cta-box h2 {
        font-size: 2rem;
    }
}

/* ============================================================
   INDUSTRIES PAGE
   ============================================================ */

/* ---- Hero ---- */
.industries-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 90px;
    background: #fff;
    overflow: hidden;
}

.industries-hero-inner {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 80px;
}

.industries-hero-text {
    max-width: 680px;
}

.industries-hero-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 18px;
}

.industries-hero-text h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

.industries-hero-text h1 .highlight-orange {
    color: var(--primary);
}

.industries-hero-lead {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin-bottom: 0;
}

/* Hero Stats */
.industries-hero-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
    flex-shrink: 0;
}

.ind-stat-card {
    background: var(--bg-surface);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 18px;
    padding: 32px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 220px;
    transition: var(--transition-normal);
}

.ind-stat-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 36px rgba(255, 90, 53, 0.1);
    transform: translateY(-4px);
}

.ind-stat-number {
    font-family: 'Outfit', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--text-main);
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.ind-stat-plus {
    color: var(--primary);
}

.ind-stat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- Section Header ---- */
.ind-section-header {
    text-align: center;
    margin-bottom: 56px;
}

.ind-section-tag {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 14px;
}

.ind-section-header h2 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
}

.ind-section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ---- Expertise Section ---- */
.ind-expertise-section {
    padding: 100px 0;
}

/* ---- Industry Cards Grid ---- */
.ind-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ind-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    border-radius: 16px;
    padding: 32px 28px;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.ind-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.ind-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.10);
    border-color: transparent;
}

.ind-card:hover::after {
    transform: scaleX(1);
}

.ind-card-icon-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 1.5rem;
    margin-bottom: 20px;
    flex-shrink: 0;
}

/* Icon colour variants */
.ind-icon-orange {
    background: rgba(255, 90, 53, 0.1);
    color: var(--primary);
}

.ind-icon-green {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.ind-icon-blue {
    background: rgba(59, 130, 246, 0.1);
    color: #2563eb;
}

.ind-icon-gold {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.ind-icon-purple {
    background: rgba(139, 92, 246, 0.1);
    color: #7c3aed;
}

.ind-icon-red {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.ind-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.35;
}

.ind-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0;
    flex-grow: 1;
}

/* ---- Tech footnote ---- */
.ind-tech-footnote {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 580px;
    margin: 0 auto 20px;
    line-height: 1.65;
}

/* ============================================================
   INDUSTRIES PAGE — Responsive
   ============================================================ */

@media (max-width: 1200px) {
    .ind-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1024px) {
    .industries-hero-inner {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .industries-hero-stats {
        flex-direction: row;
        justify-content: flex-start;
    }

    .industries-hero-text h1 {
        font-size: 3.2rem;
    }
}

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

    .industries-hero-text h1 {
        font-size: 2.6rem;
    }

    .industries-hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .ind-stat-card {
        min-width: unset;
        width: 100%;
    }

    .ind-section-header h2 {
        font-size: 2.2rem;
    }
}

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

/* ============================================================
   TECHNOLOGIES PAGE
   ============================================================ */

/* ---- Hero ---- */
.tech-page-hero {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: 0;
    background: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-hero-inner {
    position: relative;
    z-index: 5;
    padding: 60px 24px 50px;
    max-width: 700px;
    margin: 0 auto;
}

/* Breadcrumb */
.tech-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    font-weight: 500;
}

.tech-breadcrumb a {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.tech-breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    opacity: 0.4;
    font-size: 1.1rem;
}

/* Eyebrow */
.tech-hero-eyebrow {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 16px;
}

/* Heading */
.tech-hero-heading {
    font-size: 3.4rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-main);
    margin-bottom: 36px;
    letter-spacing: -0.03em;
}

.tech-hero-highlight {
    color: var(--primary);
    display: block;
}

/* Search */
.tech-search-wrap {
    position: relative;
    max-width: 520px;
    margin: 0 auto;
}

.tech-search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-muted);
    pointer-events: none;
}

.tech-search-input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 1.5px solid #e5e7eb;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: var(--transition-normal);
    outline: none;
}

.tech-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 4px 20px rgba(255, 90, 53, 0.12);
}

.tech-search-input::placeholder {
    color: var(--text-light);
}

/* Floating background chips */
.tech-hero-floats {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.float-chip {
    position: absolute;
    background: #fff;
    border: 1.5px solid #eee;
    border-radius: var(--radius-md);
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-main);
    box-shadow: var(--shadow-md);
    white-space: nowrap;
    animation: floatChip 6s ease-in-out infinite;
    opacity: 0.85;
}

@keyframes floatChip {

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

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

/* Staggered positions & delays */
.float-chip-1 {
    top: 18%;
    left: 3%;
    animation-delay: 0s;
    animation-duration: 5.5s;
}

.float-chip-2 {
    top: 12%;
    left: 12%;
    animation-delay: 0.5s;
    animation-duration: 7s;
}

.float-chip-3 {
    top: 55%;
    left: 5%;
    animation-delay: 1s;
    animation-duration: 6s;
}

.float-chip-4 {
    top: 72%;
    left: 13%;
    animation-delay: 1.5s;
    animation-duration: 5.8s;
}

.float-chip-5 {
    top: 38%;
    left: 7%;
    animation-delay: 2s;
    animation-duration: 6.5s;
}

.float-chip-6 {
    top: 86%;
    left: 4%;
    animation-delay: 0.3s;
    animation-duration: 7s;
}

.float-chip-7 {
    top: 10%;
    right: 4%;
    animation-delay: 0.8s;
    animation-duration: 6.2s;
}

.float-chip-8 {
    top: 26%;
    right: 10%;
    animation-delay: 1.2s;
    animation-duration: 5.5s;
}

.float-chip-9 {
    top: 50%;
    right: 4%;
    animation-delay: 0.6s;
    animation-duration: 7.2s;
}

.float-chip-10 {
    top: 68%;
    right: 8%;
    animation-delay: 1.8s;
    animation-duration: 6.8s;
}

.float-chip-11 {
    top: 82%;
    right: 3%;
    animation-delay: 0.4s;
    animation-duration: 5.9s;
}

.float-chip-12 {
    top: 32%;
    right: 0%;
    animation-delay: 2.2s;
    animation-duration: 6.4s;
}

.float-chip-13 {
    top: 88%;
    right: 12%;
    animation-delay: 1.6s;
    animation-duration: 7.5s;
}

.float-chip-14 {
    top: 5%;
    left: 28%;
    animation-delay: 0.9s;
    animation-duration: 6s;
}

.float-chip-15 {
    top: 5%;
    right: 26%;
    animation-delay: 1.4s;
    animation-duration: 6.3s;
}

/* ---- Filter Bar ---- */
.tech-filter-bar {
    position: sticky;
    top: var(--header-height);
    z-index: 50;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.tech-filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 8px 18px;
    border-radius: var(--radius-full);
    border: 1.5px solid #ddd;
    background: #fff;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: var(--transition-fast);
    font-family: 'Inter', sans-serif;
}

.filter-pill:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-pill.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

/* ---- A-Z Section ---- */
.tech-az-section {
    padding: 60px 0 100px;
    background: #fff;
}

/* Letter group (A, B, C …) */
.tech-letter-group {
    margin-bottom: 56px;
}

.tech-letter-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.tech-letter-label {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    min-width: 20px;
}

.tech-letter-line {
    flex: 1;
    height: 1.5px;
    background: #eee;
    border-radius: 2px;
}

/* Cards grid */
.tech-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 16px;
}

/* Individual card */
.tech-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 16px 22px;
    background: #fff;
    border: 1.5px solid #ececec;
    border-radius: var(--radius-md);
    text-decoration: none;
    text-align: center;
    transition: var(--transition-normal);
    cursor: pointer;
    min-height: 130px;
}

.tech-card:hover {
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(255, 90, 53, 0.12);
    transform: translateY(-4px);
}

.tech-card-icon-wrap {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-surface);
    flex-shrink: 0;
    font-size: 2rem;
    transition: var(--transition-fast);
}

.tech-card:hover .tech-card-icon-wrap {
    background: #fff5f2;
}

.tech-card-icon-wrap img {
    max-width: 32px;
    max-height: 32px;
    object-fit: contain;
}

.float-chip {
    display: flex;
    align-items: center;
    gap: 8px;
}

.float-chip img {
    flex-shrink: 0;
}

.tech-text-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
}

.tech-card-name {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.4;
    font-family: 'Inter', sans-serif;
}

/* No results */
.tech-no-results {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 80px 0;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    text-align: center;
}

.tech-no-results i {
    font-size: 3rem;
    color: #ddd;
}

.tech-no-results p {
    margin: 0;
}

/* ---- Technologies Responsive ---- */
@media (max-width: 1024px) {
    .tech-hero-heading {
        font-size: 2.8rem;
    }

    .tech-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }
}

@media (max-width: 768px) {
    .tech-page-hero {
        min-height: auto;
    }

    .tech-hero-heading {
        font-size: 2.2rem;
    }

    .float-chip {
        display: none;
    }

    .tech-filter-bar {
        position: static;
        flex-wrap: wrap;
    }

    .tech-cards-grid {
        grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
        gap: 12px;
    }

    .tech-card {
        padding: 20px 12px 16px;
        min-height: 110px;
    }

    .tech-card-icon-wrap {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .tech-cards-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-hero-heading {
        font-size: 1.8rem;
    }
}