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

:root {
    --primary-color: #e85c29;
    --text-color-dark: #ffffff;
    --text-color-light: #e5e7eb;
    --bg-color-dark: #000000;
    --font-family: 'Inter', sans-serif;
    --container-width: 1440px;
    --container-padding: 36px;
}

/* Page loading spinner – brand-matched */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg-color-dark);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

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

.page-loader-spinner {
    width: 52px;
    height: 52px;
    border: 3px solid rgba(232, 93, 42, 0.2);
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    border-radius: 50%;
    animation: page-loader-spin 0.75s linear infinite;
}

@keyframes page-loader-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Prevent unwanted auto-scroll on touch (overscroll/scroll anchoring) */
html {
    overscroll-behavior-y: none;
    overflow-anchor: none;
    /* Reserve scrollbar gutter to avoid viewport width change during scroll (reduces jitter) */
    overflow-y: scroll;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-color-dark);
    color: var(--text-color-dark);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    padding-top: 95px; /* Reserve space for fixed header */
    overscroll-behavior-y: none;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

ul {
    list-style: none;
}

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

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

/* Case study hero: title + description max half viewport (not full container width) */
body[class*="page-case-study-"] .cs-hero-title,
body[class*="page-case-study-"] .cs-hero-desc {
    max-width: 50vw;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    body[class*="page-case-study-"] .cs-hero-title,
    body[class*="page-case-study-"] .cs-hero-desc {
        max-width: 100%;
    }
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    gap: 8px;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #d64d1f;
}

.btn-outline {
    background-color: transparent;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 11px; /* Matching design */
    padding: 10px 24px;
    font-size: 18px;
    font-weight: 600;
}

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

.btn-icon {
    width: 16px;
    height: 16px;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

p {
    color: var(--text-color-light);
}

/* Floating Action Button */
.fab-chat {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: var(--primary-color);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.fab-chat:hover {
    transform: scale(1.1);
}

.fab-chat img {
    width: 24px;
    height: 24px;
}

/* =========================================
   Hero Section
   ========================================= */
.main-content {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--text-color-dark);
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.6) 50%, rgba(0,0,0,0) 100%);
}

.hero-container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    width: 100%;
}

.hero-text-content {
    max-width: 650px;
    padding-right: 20px;
    margin-top: -40px; /* shift banner text and button slightly up */
}

.hero-title {
    font-size: 48px;
    font-weight: 500;
    line-height: 1.14;
    margin-bottom: 24px;
    text-shadow: 0px 4px 4px rgba(0,0,0,0.25);
}

.hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    opacity: 0.9;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    gap: 16px;
}

@media (max-width: 1024px) {
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: 80px 0;
        text-align: center;
    }

    .hero-bg {
        background-image: url('../assets/banner-images/mobile-aspot-banner.webp');
        background-position: center;
    }

    .hero-overlay {
        background: rgba(0,0,0,0.7);
    }

    .hero-container {
        justify-content: center;
    }

    .hero-text-content {
        padding-right: 0;
        max-width: 100%;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta-group {
        justify-content: center;
    }
}

/* =========================================
   Why Bteract? Section
   ========================================= */
.why-bteract-section {
    background: #fff;
    padding: 80px 6%;
    font-family: 'Inter', sans-serif;
}

.why-bteract-section .container.why-bteract-container {
    max-width: var(--container-width);
    padding-left: 0;
    padding-right: 0;
}

.why-bteract-container {
    display: flex;
    align-items: stretch;
    gap: 32px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.why-bteract-left {
    flex: 0 0 380px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-right: 24px;
}

.why-bteract-title {
    font-size: 36px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 20px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.why-bteract-desc {
    font-size: 17px;
    line-height: 1.6;
    color: #4b5563;
    margin: 0 0 24px 0;
    max-width: 340px;
    font-style: italic;
}

.why-bteract-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: opacity 0.2s, transform 0.2s;
}

.why-bteract-nav:hover {
    opacity: 0.9;
}

.why-bteract-nav:active {
    transform: translateY(-50%) scale(0.96);
}

.why-bteract-nav--prev {
    left: -72px;
    background: #e85c29;
    box-shadow: 0 4px 14px rgba(232,92,41,0.4);
}

.why-bteract-nav-arrow {
    width: 20px;
    height: 20px;
    object-fit: contain;
    display: block;
}

.why-bteract-nav-arrow--left {
    transform: scaleX(-1);
}

.why-bteract-nav--prev .why-bteract-nav-arrow {
    width: 20px;
    height: 20px;
}

.why-bteract-right {
    flex: 1;
    min-width: 0;
    position: relative;
    display: flex;
    align-items: center;
}

.why-bteract-carousel-wrap {
    overflow: hidden;
    border-radius: 21px;
    width: 100%;
    min-width: 0;
}

.why-bteract-carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 8px 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.why-bteract-carousel::-webkit-scrollbar {
    display: none;
}

.why-bteract-card {
    flex: 0 0 630px;
    width: 630px;
    height: 533px;
    min-height: 533px;
    border-radius: 21px;
    overflow: hidden;
    position: relative;
    scroll-snap-align: start;
}

.why-bteract-card-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: #1e293b;
    z-index: 0;
}

.why-bteract-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
    pointer-events: none;
    z-index: 1;
}

.why-bteract-card-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    padding: 0 24px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.why-bteract-card-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

.why-bteract-card-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.15;
    color: #fff;
    margin: 0;
    flex-shrink: 0;
}

.why-bteract-card-cue {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
    min-width: 0;
    align-self: center;
}

.why-bteract-card-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.6);
    border-radius: 0;
    margin-right: -1px;
}

.why-bteract-card-subtitle {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
    margin-top: 6px;
}

.why-bteract-card-cue-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.9);
}

.why-bteract-card-cue-arrow svg {
    width: 28px;
    height: 28px;
}

.why-bteract-card-cue-square svg {
    width: 28px;
    height: 28px;
}

.why-bteract-nav--next {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: #e85c29;
    box-shadow: 0 4px 14px rgba(232,92,41,0.4);
}

.why-bteract-nav--next .why-bteract-nav-arrow {
    width: 20px;
    height: 20px;
}

.why-bteract-nav:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 1024px) {
    .why-bteract-container {
        flex-direction: column;
        gap: 24px;
    }

    .why-bteract-left {
        flex: none;
        width: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: 16px;
    }

    .why-bteract-right {
        position: relative;
        width: 100%;
        padding-right: 0;
    }

    .why-bteract-nav--prev {
        left: 12px;
    }

    .why-bteract-nav--prev:active {
        transform: translateY(-50%) scale(0.96);
    }

    .why-bteract-carousel-wrap {
        margin-left: 56px;
        margin-right: 56px;
    }

    .why-bteract-nav--next {
        right: 12px;
    }

    .why-bteract-card {
        flex: 0 0 420px;
        height: 355px;
        border-radius: 21px;
    }
}

@media (max-width: 768px) {
    .why-bteract-section {
        padding: 56px 6%;
    }

    .why-bteract-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .why-bteract-desc {
        font-size: 15px;
        max-width: 100%;
        font-style: italic;
    }

    .why-bteract-right {
        position: relative;
        min-width: 0;
        width: 100%;
    }

    .why-bteract-nav--prev {
        left: 12px;
        width: 44px;
        height: 44px;
        z-index: 3;
    }

    .why-bteract-carousel-wrap {
        margin-left: 0;
        margin-right: 0;
        width: 100%;
        min-width: 0;
    }

    .why-bteract-carousel {
        gap: 0;
        width: 100%;
        min-width: 0;
    }

    .why-bteract-card {
        flex: 0 0 100%;
        width: 100%;
        min-width: 0;
        height: 380px;
        border-radius: 21px;
        box-sizing: border-box;
    }

    .why-bteract-card-overlay {
        bottom: 16px;
        padding: 0 20px;
    }

    .why-bteract-card-title {
        font-size: 30px;
        line-height: 1.15;
    }

    .why-bteract-card-subtitle {
        font-size: 15px;
    }

    .why-bteract-nav--next {
        right: 12px;
        width: 44px;
        height: 44px;
        z-index: 3;
    }
}

@media (max-width: 480px) {
    .why-bteract-section {
        padding: 40px 5%;
    }

    .why-bteract-container {
        gap: 20px;
    }

    .why-bteract-title {
        font-size: 22px;
        margin-bottom: 12px;
    }

    .why-bteract-desc {
        font-size: 14px;
    }

    .why-bteract-nav--prev {
        left: 8px;
        width: 40px;
        height: 40px;
    }

    .why-bteract-card {
        height: 320px;
    }

    .why-bteract-card-overlay {
        bottom: 12px;
        padding: 0 16px;
    }

    .why-bteract-card-title {
        font-size: 24px;
        line-height: 1.15;
    }

    .why-bteract-card-subtitle {
        font-size: 14px;
    }

    .why-bteract-nav--next {
        right: 8px;
        width: 40px;
        height: 40px;
    }

    .why-bteract-nav-arrow {
        width: 18px;
        height: 18px;
    }
}

/* =========================================
   Solutions Section
   ========================================= */
.solutions-section {
    background-color: #f3f4f6;
    padding: 80px 6%;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.solutions-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.solutions-section .section-header {
    max-width: none;
}

.section-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 46px;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 24px;
    line-height: 1.1;
}

.section-subtitle {
    font-size: 18px;
    color: #364153;
    line-height: 1.6;
    opacity: 0.8;
}

.solutions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 80px;
}

.solution-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.solution-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.card-icon {
    margin-bottom: 24px;
}

.card-icon img {
    width: 40px;
    height: 40px;
}

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 20px;
}

.problem-solution {
    margin-bottom: 20px;
}

.label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #121212;
}

.description {
    font-size: 14px;
    line-height: 1.6;
    color: #364153;
}

.text-orange {
    color: #ff6900 !important;
}

.btn-card-action {
    margin-top: auto; /* Pushes button to bottom */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #ff6900;
    border-radius: 12px;
    color: #ff6900;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    text-align: center;
    gap: 8px;
}

.btn-card-action:hover {
    background-color: #ff6900;
    color: #ffffff;
}

.action-icon {
    width: 16px;
    height: 16px;
    transition: filter 0.3s ease;
}

.btn-card-action:hover .action-icon {
    filter: brightness(0) invert(1); /* Turn icon white on hover */
}

/* Trusted Clients */
.trusted-clients-section {
    text-align: center;
    margin-top: 60px;
}

.clients-title {
    font-size: 22px;
    color: #6a7282;
    margin-bottom: 52px;
    font-weight: 400;
}

.clients-logos-marquee {
    overflow: hidden;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.clients-logos-track {
    display: flex;
    width: max-content;
    animation: clients-scroll 40s linear infinite;
    /* Keep on compositor layer so mobile doesn’t throttle when section is off-screen */
    will-change: transform;
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.clients-logos-track:hover {
    animation-play-state: paused;
}

.clients-logos {
    display: flex;
    align-items: center;
    gap: 64px;
    flex-shrink: 0;
    padding: 0 24px;
    opacity: 0.7;
}

.client-logo {
    display: block;
    height: 64px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    flex-shrink: 0;
}

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

/* Our Partners (static, no carousel) - same bg as Our Trusted Clients */
.partners-section {
    background-color: #f3f4f6;
    padding: 60px 6% 80px;
    text-align: center;
}

.partners-title {
    font-size: 22px;
    color: #6a7282;
    margin-bottom: 52px;
    font-weight: 400;
}

/* Static row (no marquee) when used inside partners section */
.partners-logos-wrap {
    position: relative;
}

.partners-section .partners-logos-static {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    gap: 96px;
}

.partners-section .trusted-clients-section {
    margin-top: 0;
}

.partner-item {
    flex-shrink: 0;
}

.partners-dots {
    display: none;
}

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

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
    }
    
    .solutions-grid {
        grid-template-columns: 1fr;
    }

    .clients-logos {
        gap: 44px;
    }

    /* Same duration as desktop so marquee runs at same speed and isn’t throttled differently */
    .clients-logos-track {
        animation-duration: 40s;
    }

    .partners-section .partners-logos-static {
        gap: 56px;
    }

    .client-logo {
        height: 52px;
        max-width: 140px;
    }

    /* Partners: one logo at a time, swipable, dots */
    .partners-logos-wrap {
        padding: 0 16px;
    }

    .partners-section .partners-logos-static {
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        gap: 0;
        padding: 0 0 16px;
        max-width: none;
        margin: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain; /* prevent horizontal touch from moving page */
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .partners-section .partners-logos-static::-webkit-scrollbar {
        display: none;
    }

    .partners-section .partner-item {
        scroll-snap-align: center;
        scroll-snap-stop: always;
        flex: 0 0 100%;
        min-width: 100%;
        box-sizing: border-box;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .partners-dots {
        display: flex;
        justify-content: center;
        gap: 8px;
        margin-top: 16px;
    }

    .partners-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #d1d5db;
        border: none;
        padding: 0;
        cursor: pointer;
        transition: background 0.2s ease;
    }

    .partners-dot.is-active {
        background: #e85c29;
        transform: scale(1.1);
    }
}

/* =========================================
   Digital Transformation Section
   ========================================= */
.digital-transformation-section {
    background-color: #050a1c;
    padding: 100px 6%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    box-sizing: border-box;
}

.digital-transformation-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.dt-header {
    margin-bottom: 80px;
}

.dt-title {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 32px;
    line-height: 1.2;
}

.dt-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #99a1af;
    max-width: 675px;
}

.dt-content-wrapper {
    display: flex;
    gap: 100px; /* Large gap between sidebar and main content */
    align-items: flex-start;
}

/* Sidebar Navigation */
.dt-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 324px;
    flex-shrink: 0;
}

.dt-nav-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-radius: 12px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    width: 100%;
    text-align: left;
}

.dt-nav-btn:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.dt-nav-btn.active {
    background-color: #ffffff;
}

.dt-nav-btn.active:hover {
    background-color: #f5f5f5;
}

.dt-btn-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dt-nav-icon {
    width: 24px;
    height: 24px;
    transition: filter 0.25s ease;
}

/* Inactive: white icon on dark bg */
.dt-nav-btn .dt-nav-icon {
    filter: brightness(0) invert(1);
}

/* Active: dark icon on white bg (force black – Cloud/Quality SVGs use white stroke) */
.dt-nav-btn.active .dt-nav-icon {
    filter: brightness(0);
}

.dt-nav-text {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
    transition: color 0.25s ease;
}

.dt-nav-btn.active .dt-nav-text {
    color: #000000;
}

.dt-arrow-icon {
    width: 20px;
    height: 20px;
    transition: filter 0.25s ease;
}

/* Inactive: white arrow */
.dt-nav-btn .dt-arrow-icon {
    filter: brightness(0) invert(1);
}

/* Active: black arrow */
.dt-nav-btn.active .dt-arrow-icon {
    filter: none;
}

/* Main Content Area */
.dt-main-content {
    display: flex;
    gap: 60px;
    flex-grow: 1;
    justify-content: space-between;
}

.dt-text-area {
    max-width: 450px;
}

.dt-content-title {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 24px;
    color: #ffffff;
}

.dt-content-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #99a1af;
    margin-bottom: 32px;
}

.dt-learn-more {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    background-color: #e85d29;
    color: #ffffff;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.dt-learn-more:hover {
    background-color: #d64d1f;
}

/* Image Area */
.dt-image-area {
    flex-shrink: 0;
}

.dt-image-container {
    width: 405px;
    height: 405px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #494848;
    position: relative;
}

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

@media (max-width: 1200px) {
    .dt-content-wrapper {
        gap: 50px;
    }
    
    .dt-main-content {
        flex-direction: column;
        gap: 40px;
    }

    .dt-image-container {
        width: 100%;
        max-width: 500px;
        height: auto;
        aspect-ratio: 1/1;
    }
}

@media (max-width: 992px) {
    .dt-content-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
    }

    .dt-sidebar {
        width: 100%;
        max-width: none;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 12px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .dt-nav-btn {
        width: auto;
        min-width: 0;
        flex: 1 1 200px;
    }
}

@media (max-width: 768px) {
    .digital-transformation-section {
        padding: 60px 5%;
    }

    .dt-header {
        margin-bottom: 40px;
    }

    .dt-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .dt-subtitle {
        font-size: 15px;
    }

    .dt-sidebar {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .dt-nav-btn {
        flex: none;
        width: 100%;
        padding: 16px 20px;
    }

    .dt-nav-text {
        font-size: 16px;
    }

    .dt-content-title {
        font-size: 22px;
    }

    .dt-content-desc {
        font-size: 14px;
    }

    .dt-image-container {
        width: 100%;
        max-width: none;
        height: auto;
        aspect-ratio: 1 / 1;
        min-height: 280px;
    }

    .dt-image-container img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (max-width: 480px) {
    .digital-transformation-section {
        padding: 48px 4%;
    }

    .dt-title {
        font-size: 28px;
    }

    .dt-nav-btn {
        padding: 14px 16px;
    }

    .dt-content-title {
        font-size: 20px;
    }
}

/* =========================================
   Industries Section
   ========================================= */
.industries-section {
    background-color: #ffffff;
    padding: 80px 6%;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.industries-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Note: .section-header and .section-title are shared with solutions-section.
   If specific overrides are needed, use specific selectors. */

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

.industry-card {
    display: flex;
    align-items: center;
    padding: 24px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    transition: all 0.3s ease;
    gap: 16px;
    cursor: pointer;
}

.industry-card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    border-color: #d1d5db;
}

.icon-box {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(232, 93, 41, 0.1); /* #e85d29 with 10% opacity */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-box img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.industry-title {
    font-size: 16px;
    font-weight: 500;
    color: #101828;
    line-height: 1.5;
    margin: 0;
}

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

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

/* =========================================
   Digital Solutions Section
   ========================================= */
.digital-solutions-section {
    background-color: #050a1c;
    padding: 100px 6%;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    background-image: linear-gradient(128.51deg, #020618 0%, #0f172b 50%, #020618 100%);
    box-sizing: border-box;
}

.digital-solutions-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

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

.ds-title {
    font-size: 44px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0;
    color: #ffffff;
}

.ds-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: #e85d29;
    color: #ffffff;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.ds-cta-btn:hover {
    background-color: #d64d1f;
}

.ds-hero-image {
    width: 100%;
    height: 350px;
    margin-bottom: 60px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #5e5e5e;
}

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

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

.ds-card {
    background: rgba(29, 41, 61, 0.5);
    border: 1px solid rgba(49, 65, 88, 0.5);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ds-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(49, 65, 88, 0.8);
}

.ds-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ds-icon-box img {
    width: 24px;
    height: 24px;
}

/* Icon Gradients */
.gradient-blue {
    background: linear-gradient(135deg, rgba(43, 127, 255, 0.1) 0%, rgba(0, 184, 219, 0.1) 100%);
}

.gradient-green {
    background: linear-gradient(135deg, rgba(0, 188, 125, 0.1) 0%, rgba(0, 187, 167, 0.1) 100%);
}

.gradient-purple {
    background: linear-gradient(135deg, rgba(173, 70, 255, 0.1) 0%, rgba(246, 51, 154, 0.1) 100%);
}

.gradient-orange {
    background: linear-gradient(135deg, rgba(254, 154, 0, 0.1) 0%, rgba(255, 105, 0, 0.1) 100%);
}

.gradient-indigo {
    background: linear-gradient(135deg, rgba(97, 95, 255, 0.1) 0%, rgba(43, 127, 255, 0.1) 100%);
}

.gradient-pink {
    background: linear-gradient(135deg, rgba(255, 32, 86, 0.1) 0%, rgba(246, 51, 154, 0.1) 100%);
}


.ds-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #f1f5f9;
    margin-bottom: 16px;
    line-height: 1.4;
}

.ds-card-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #90a1b9;
    margin: 0;
}

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

@media (max-width: 768px) {
    .ds-header {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    
    .ds-title {
        font-size: 32px;
    }

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

/* =========================================
   Projects Section
   ========================================= */
.projects-section {
    background-color: #ffffff;
    padding: 100px 3%;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

.projects-section .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.projects-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    margin-bottom: 64px;
    gap: 20px;
}

.projects-title {
    font-size: 44px;
    font-weight: 700;
    color: #000000;
    margin: 0;
    line-height: 1.2;
    white-space: nowrap;
}

/* Removed .projects-header-content */

.projects-desc {
    font-size: 16px;
    line-height: 1.6;
    color: #000000;
    margin: 0;
    max-width: 800px;
    text-align: left;
    justify-self: center;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 500;
    color: #5e4a8a;
    text-decoration: none;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    justify-self: end;
}

.view-all-link:hover {
    opacity: 0.8;
}

.link-icon {
    width: 16px;
    height: 16px;
}

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

.project-card {
    border-radius: 24px;
    overflow: hidden;
    height: 457px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px;
    background: linear-gradient(0deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
}

.project-title {
    font-size: 18px;
    font-weight: 500;
    color: #ffffff;
    margin: 0 0 16px 0;
    max-width: 500px;
    line-height: 1.4;
}

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

.tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    backdrop-filter: blur(4px);
}

.tag-more {
    font-weight: 500;
}

@media (max-width: 1024px) {
    .projects-header {
        display: flex;
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .projects-desc {
        width: 100%;
        max-width: 100%;
    }

    .view-all-link {
        align-self: center;
    }
}

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

    .project-card {
        height: 350px;
    }

    .projects-title {
        font-size: 32px;
    }
}

/* =========================================
   Success Stories Preview (index – replaces Our Projects)
   ========================================= */
.success-stories-preview {
    background-color: #ffffff;
    padding: 80px 6% 100px;
    font-family: 'Inter', sans-serif;
    box-sizing: border-box;
}

/* Match footer: horizontal padding from section (6%) only */
.success-stories-preview .container {
    max-width: var(--container-width, 1440px);
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

.success-stories-preview-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    margin-bottom: 48px;
}

.success-stories-preview-heading-wrap {
    flex: 1 1 400px;
}

.success-stories-preview-title {
    font-size: 40px;
    font-weight: 700;
    color: #0a0a0a;
    margin: 0 0 12px 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.success-stories-preview-desc {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

.success-stories-preview-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    background: #e85c29;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    white-space: nowrap;
    transition: background 0.2s ease, color 0.2s ease;
}

.success-stories-preview-cta:hover {
    background: #d64d1f;
    color: #ffffff;
}

.success-stories-preview-grid {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .success-stories-preview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .success-stories-preview {
        padding: 56px 6% 72px;
    }

    .success-stories-preview-header {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        margin-bottom: 28px;
    }

    .success-stories-preview-heading-wrap {
        flex: none;
    }

    .success-stories-preview-title {
        font-size: 28px;
    }

    .success-stories-preview-desc {
        font-size: 15px;
        margin-bottom: 0;
    }

    .success-stories-preview-cta {
        width: 100%;
    }

    .success-stories-preview-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Testimonials Section
   ========================================= */
.testimonials-section {
    background-color: #f7f7f7;
    padding: 60px 0;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.testimonials-title {
    font-size: 46px;
    font-weight: 500;
    color: #000000;
    margin-bottom: 40px;
    letter-spacing: 0.59px;
}

.testimonial-carousel {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.nav-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.2s ease;
}

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

.nav-btn img {
    width: 51px;
    height: 51px;
}

.testimonial-content {
    max-width: 927px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.testimonial-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 30px;
}

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

/* Allow partner logo to render uncropped in testimonials */
.testimonial-avatar.testimonial-avatar--logo {
    width: 240px;
    height: 88px;
    border-radius: 0;
    overflow: visible;
}

.testimonial-avatar.testimonial-avatar--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.testimonial-quote {
    font-size: 20px;
    line-height: 1.6;
    color: #000000;
    opacity: 0.8;
    margin: 0 0 30px 0;
    letter-spacing: -0.5px;
    max-width: 800px;
}

.testimonial-author {
    font-size: 16px;
    color: #838383;
    letter-spacing: -0.2px;
    font-weight: 500;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 13px;
}

.dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background-color: #364153;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.dot.active {
    background-color: #99a1af;
    opacity: 1;
}

.dot:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .testimonial-quote {
        font-size: 24px;
    }
    
    .testimonials-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .testimonial-carousel {
        flex-direction: column;
        gap: 20px;
    }

    .nav-btn {
        display: none;
    }

    .testimonial-quote {
        font-size: 20px;
    }

    .testimonial-author {
        font-size: 16px;
    }
}
