@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');


/* Color Palette & Base */
:root {
    /* Brand Colors */
    --primary-orange: #ff6100;
    /* Solid / outline warning buttons (gold — not headline accent) */
    --btn-warning-gold: #e09f00;
    --btn-colours: #FFD817;
    --logo-red: #e3000f;
    --dark-bg: #1a1a1a;
    --light-bg: #f8f9fa;

    /* Semantic Neutrals */
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;

    /* Text Colors */
    --text-dark: var(--gray-900);
    --text-white: var(--white);
    --text-muted: var(--gray-600);

    /* Spacing Scale */
    --space-xs: 0.25rem;
    /* 4px */
    --space-sm: 0.5rem;
    /* 8px */
    --space-md: 1rem;
    /* 16px */
    --space-lg: 1.5rem;
    /* 24px */
    --space-xl: 2rem;
    /* 32px */
    --space-2xl: 3rem;
    /* 48px */
    --space-3xl: 4rem;
    /* 64px */
    --section-gap: 140px;

    /* Typography Sizes - Desktop (Reflecting Current Design) */
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.8rem;
    --font-size-h3: 2.2rem;
    --font-size-h4: 1.5rem;
    --font-size-h5: 1.25rem;
    --font-size-h6: 0.9rem;
    --font-size-base: 1rem;
    --font-size-small: 0.85rem;
    --font-size-xs: 0.75rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-pill: 50px;

    /* Transitions & Shadows */
    --transition-base: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.1);

    /* Specific Component Tokens */
    --milestones-padding: 5rem 6rem;
    --milestones-gap: 6rem;
    --card-img-height: 200px;
    /* Home services horizontal cards — card shell + image share this radius */
    --services-card-radius: 18px;
    --nav-btn-bg: #f4f5f7;

    /* Align Bootstrap warning utilities with brand accent (was default yellow #ffc107) */
    --bs-warning: #ff6100;
    --bs-warning-rgb: 255, 97, 0;
}

body {
    font-family: 'Kanit', sans-serif;
    color: var(--text-dark);
    font-size: var(--font-size-base);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: var(--font-size-h1);
    font-weight: 700;
}

h2 {
    font-size: var(--font-size-h2);
    font-weight: 700;
}

h3 {
    font-size: var(--font-size-h3);
    font-weight: 600;
}

h4 {
    font-size: var(--font-size-h4);
    font-weight: 600;
}

h5 {
    font-size: var(--font-size-h5);
    font-weight: 600;
}

h6 {
    font-size: var(--font-size-h6);
    font-weight: 600;
}


/* Base Utility Classes */
.text-warning {
    color: var(--primary-orange) !important;
}

.bg-warning-light {
    background-color: rgba(255, 97, 0, 0.1);
}

/* Bootstrap .btn-warning hard-codes #ffc107 on --bs-btn-*; override variables so all states use gold */
.btn-warning {
    --bs-btn-color: var(--gray-900);
    --bs-btn-bg: var(--btn-warning-gold);
    --bs-btn-border-color: var(--btn-warning-gold);
    --bs-btn-hover-color: var(--gray-900);
    --bs-btn-hover-bg: #c49200;
    --bs-btn-hover-border-color: #c49200;
    --bs-btn-focus-shadow-rgb: 224, 159, 0;
    --bs-btn-active-color: var(--gray-900);
    --bs-btn-active-bg: #c49200;
    --bs-btn-active-border-color: #c49200;
    --bs-btn-disabled-color: var(--gray-900);
    --bs-btn-disabled-bg: var(--btn-warning-gold);
    --bs-btn-disabled-border-color: var(--btn-warning-gold);
    color: var(--bs-btn-color);
    transition: var(--transition-base);
}

.btn-outline-warning {
    --bs-btn-color: var(--btn-warning-gold);
    --bs-btn-border-color: var(--btn-warning-gold);
    --bs-btn-hover-color: var(--gray-900);
    --bs-btn-hover-bg: var(--btn-warning-gold);
    --bs-btn-hover-border-color: var(--btn-warning-gold);
    --bs-btn-focus-shadow-rgb: 224, 159, 0;
    --bs-btn-active-color: var(--gray-900);
    --bs-btn-active-bg: var(--btn-warning-gold);
    --bs-btn-active-border-color: var(--btn-warning-gold);
    --bs-btn-disabled-color: var(--btn-warning-gold);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--btn-warning-gold);
}

.text-uppercase {
    letter-spacing: 1px;
}

.tracking-wide {
    letter-spacing: 2px;
}

.fs-7 {
    font-size: var(--font-size-small);
}

.fs-xs {
    font-size: var(--font-size-xs);
}

/* Navbar */
nav.header-nav {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: transparent !important;
    border-bottom: none !important;
    transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}

/* Sticky scrolled state — added via JS on scroll */
nav.header-nav.scrolled {
    position: fixed !important;
    background-color: #ffffff !important;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.1) !important;
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
}

/* When scrolled: flip nav text to dark */
nav.header-nav.scrolled .nav-link {
    color: var(--gray-800) !important;
}

nav.header-nav.scrolled .nav-link.active,
nav.header-nav.scrolled .nav-link:hover {
    color: var(--primary-orange) !important;
}

nav.header-nav.scrolled .nav-link.text-warning {
    color: var(--primary-orange) !important;
}

/* Toggler dark icon when scrolled */
nav.header-nav.scrolled .navbar-toggler {
    border-color: var(--gray-400);
}

nav.header-nav.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(52, 58, 64, 0.75)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Offset body content so nothing hides under fixed nav when scrolled:
   The hero slider itself has no top padding problem because nav starts absolute.
   For content below the hero, fixed nav is already out of flow, so no offset needed. */

/* ── Hero Slider Wrapper ──────────────────────────────────────────── */
.hero-slider-wrapper {
    height: 100vh;
    overflow: hidden;
}

/* Home page: logo preloader (index only) */
.home-preloader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.home-preloader-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-preloader-ring-wrap {
    position: relative;
    width: clamp(250px, 18vw, 210px);
    height: clamp(250px, 18vw, 210px);
    display: grid;
    place-items: center;
}

.home-preloader-ring {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.home-preloader-ring-track,
.home-preloader-ring-bar {
    fill: none;
    stroke-width: 3;
}

.home-preloader-ring-track {
    stroke: rgba(16, 24, 35, 0.12);
}

.home-preloader-ring-bar {
    stroke: var(--primary-orange);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.2s ease;
}

.home-preloader-logo-wrap {
    position: absolute;
    inset: 18px;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(18, 28, 45, 0.08);
}

body.home-preloader-active {
    overflow: hidden;
}

.home-preloader.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.home-preloader-logo {
    width: clamp(82px, 10vw, 126px);
    height: auto;
    display: block;
}

.home-preloader-percent {
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: #1d2731;
}

/* ── All Banner Slides: 100vh full-screen ──────────────────────────── */
.banner-slide {
    height: 100vh;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
}

.banner-slide-1 {
    background-image: url('../images/banner.png');
}

.banner-slide-2 {
    background-image: url('https://images.unsplash.com/photo-1581093588401-fbb62a02f120?q=80&w=1920&auto=format&fit=crop');
}

.banner-slide-3 {
    background-image: url('https://images.unsplash.com/photo-1532094349884-543bc11b234d?q=80&w=1920&auto=format&fit=crop');
}

/* Orange category tag above heading */
.banner-slide-tag {
    font-size: 0.78rem;
    letter-spacing: 2.5px;
    opacity: 0.95;
}

/* Customer avatar + text badge */
.banner-customer-badge {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50px;
    padding: 6px 16px 6px 6px;
    display: inline-flex !important;
    width: fit-content;
}


.banner-title {
    font-size: var(--font-size-h1);
    line-height: 1.1;
    font-weight: 700;
}

@media (min-width: 1200px) {
    .banner-title {
        font-size: 4.2rem;
        /* Kept unique for oversized banner text */
    }
}

/* Banner specific elements */
.avatar-group img.avatar-img {
    width: 35px;
    height: 35px;
    margin-right: 0px;
    /* Create the tight overlap effect */
    object-fit: cover;
    position: relative;
    z-index: auto;
}

/* Ensure z-index stack for avatars */
.avatar-group img:nth-child(1) {
    z-index: 5;
}

.avatar-group img:nth-child(2) {
    z-index: 4;
}

.avatar-group img:nth-child(3) {
    z-index: 3;
}

.avatar-group img:nth-child(4) {
    z-index: 2;
}

.avatar-group img:nth-child(5) {
    z-index: 1;
}

.nav-links-custom {
    font-size: 0.95rem;
}

nav.header-nav .dropdown-menu.header-nav-dropdown {
    border: none;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
    padding: 0.45rem 0;
    margin-top: 0.5rem;
    min-width: 13.5rem;
}

nav.header-nav .dropdown-item.header-nav-dropdown-link {
    position: relative;
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.6rem 2.35rem 0.6rem 1.15rem;
    color: var(--gray-800);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

nav.header-nav .header-nav-dropdown-link__icon {
    position: absolute;
    right: 1.1rem;
    top: 50%;
    font-size: 0.75rem;
    color: var(--primary-orange);
    opacity: 0;
    transform: translate(-0.5rem, -50%);
    transition: opacity 0.2s ease, transform 0.22s ease;
    pointer-events: none;
}

nav.header-nav .dropdown-item.header-nav-dropdown-link:hover .header-nav-dropdown-link__icon,
nav.header-nav .dropdown-item.header-nav-dropdown-link:focus .header-nav-dropdown-link__icon {
    opacity: 1;
    transform: translate(0, -50%);
}

nav.header-nav .dropdown-item.header-nav-dropdown-link:hover,
nav.header-nav .dropdown-item.header-nav-dropdown-link:focus {
    background-color: rgba(255, 97, 0, 0.1);
    color: var(--primary-orange);
}

nav.header-nav .dropdown-item.header-nav-dropdown-link:active {
    background-color: rgba(255, 97, 0, 0.18);
    color: var(--gray-900);
}

nav.header-nav .dropdown-item.header-nav-dropdown-link:active .header-nav-dropdown-link__icon {
    color: var(--gray-900);
}

nav.header-nav .dropdown-item.header-nav-dropdown-link.active {
    background-color: rgba(255, 97, 0, 0.12);
    color: var(--primary-orange);
}

nav.header-nav .dropdown-item.header-nav-dropdown-link.active .header-nav-dropdown-link__icon {
    opacity: 1;
    transform: translate(0, -50%);
    color: var(--primary-orange);
}

/* ── Language Switcher ───────────────────────────────────────────── */


.lang-link {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.2s ease;
    letter-spacing: 0.3px;
    font-family: "Cairo", sans-serif !important;

}

.lang-link:hover {
    color: #ffffff;
}

.lang-link.lang-active {
    color: var(--primary-orange);
    font-weight: 700;
}

.lang-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 1rem;
    margin: 0 8px;
    line-height: 1;
    pointer-events: none;
}

/* Scrolled state overrides for lang switch */
nav.header-nav.scrolled .lang-switch {
    border-left-color: var(--gray-300) !important;
}

nav.header-nav.scrolled .lang-link {
    color: var(--gray-700) !important;
}

nav.header-nav.scrolled .lang-link:hover {
    color: var(--gray-900) !important;
}

nav.header-nav.scrolled .lang-link.lang-active {
    color: var(--primary-orange) !important;
}

nav.header-nav.scrolled .lang-divider {
    color: var(--gray-400) !important;
}


.nav-btn {
    width: 45px;
    height: 45px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: var(--transition-base);
}

.nav-btn:hover {
    background-color: var(--primary-orange) !important;
    border-color: var(--primary-orange);
    color: var(--gray-900) !important;
}

.float-btn {
    width: 45px;
    height: 45px;
    transition: var(--transition-base);
}

.float-btn:hover {
    transform: translateY(-3px);
}

/* Roles / Cards */
.role-card {
    transition: var(--transition-base);
}

.role-card:hover {
    transform: translateY(-8px);
}

.bg-gradient-dark {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    border-radius: 18px;
}

/* Section Shared */
.section-subtitle {
    font-size: var(--font-size-h6);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

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

.section-mt-140 {
    margin-top: var(--section-gap);
}

.section-mb-140 {
    margin-bottom: var(--section-gap);
}

.logo-row {
    margin-top: 3rem;
}

.logo-item img {
    transition: all 0.3s ease;
    max-height: 60px;
    object-fit: contain;
    margin: 0 auto;
}

.gray-to-color {
    opacity: 0.5;
    filter: grayscale(100%);
}

.gray-to-color:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.05);
}

.active-logo img {
    opacity: 1;
    transform: scale(1.1);
}

/* Specialised Markets */
.specialised-markets-section {
    position: relative;
}

.market-card {
    transition: var(--transition-base);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: none;
}

.market-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg) !important;
}

.market-card-img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: var(--card-img-height);
    object-fit: cover;
}

.market-card-img-wrap {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
}

.market-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.market-card-desc {
    font-size: var(--font-size-h6);
    line-height: 1.6;
}

/* Custom Navigation for Owl Carousel */
.nav-btn-round {
    width: 42px;
    height: 42px;
    background-color: #f0f0f2;
    border: none !important;
    border-radius: 50% !important;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    box-shadow: none !important;
}

.custom-nav button {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--gray-700);
    border: none;
    border-radius: 50%;
    background: #f0f0f2;
    transition: var(--transition-base);
    box-shadow: none;
}

.custom-nav button:hover,
.custom-nav button:focus-visible {
    background: var(--primary-orange);
    color: #fff !important;
    border: none;
    outline: none;
}

/* Icons use .text-dark with !important — force chevron to match button on hover */
.custom-nav .prev-trigger button:hover .nav-prev-icon,
.custom-nav .prev-trigger button:focus-visible .nav-prev-icon,
.custom-nav .next-trigger button:hover .nav-next-icon,
.custom-nav .next-trigger button:focus-visible .nav-next-icon {
    color: #fff !important;
}


/* Customer Value Section */
.customer-value-section {
    background-color: var(--white);
    overflow: hidden;
}

.testimonial-carousel {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-item {
    padding: 0 20px;
}

.customer-value-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--gray-700);
    margin-bottom: 2rem;
    font-weight: 400;
}

.testimonial-name {
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 2px;
    font-size: 1.1rem;
}

.testimonial-title {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 0;
}


/* Re-designed Collage Layout */
:root {
    --col-w: 120px;
    --gap-v2: 16px;
}

.collage-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: var(--gap-v2);
    width: 100%;
    max-width: 1320px;
    padding: 0 15px 50px;
}

.collage-column {
    width: var(--col-w);
    display: flex;
    flex-direction: column;
    gap: var(--gap-v2);
}

.col-center {
    width: calc(var(--col-w) * 1.15);
    /* Slightly wider center */
}

.collage-item {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    background-color: #f4f5f7;
    opacity: 0;
    transform: translateY(30px);
}

.collage-item.reveal {
    opacity: 1;
    transform: translateY(0);
}

.collage-item:hover {
    transform: translateY(-5px);
    z-index: 5;
}

.collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 24px;
}

/* Offsets and proportional heights based on column width */
.c-1 {
    margin-top: 0;
}

.c-1 .p-1 {
    height: calc(var(--col-w) * 1.4);
}

.c-1 .p-2 {
    height: calc(var(--col-w) * 1.1);
}

.c-2 {
    margin-top: calc(var(--col-w) * 0.45);
}

.c-2 .p-1 {
    height: calc(var(--col-w) * 1.3);
}

.c-2 .p-2 {
    height: calc(var(--col-w) * 1.4);
}

.c-3 {
    margin-top: calc(var(--col-w) * 1.3);
}

.c-3 .p-1 {
    height: calc(var(--col-w) * 1.6);
}

.c-4 {
    margin-top: calc(var(--col-w) * 1.9);
}

.c-4 .p-1 {
    height: calc(var(--col-w) * 1.8);
}

.c-5 {
    margin-top: calc(var(--col-w) * 1.5);
}

.c-5 .p-1 {
    height: calc(var(--col-w) * 1.6);
}

.c-6 {
    margin-top: calc(var(--col-w) * 1.9);
}

.c-6 .p-1 {
    height: calc(var(--col-w) * 1.7);
}

.c-7 {
    margin-top: calc(var(--col-w) * 1.35);
}

.c-7 .p-1 {
    height: calc(var(--col-w) * 1.6);
}

.c-8 {
    margin-top: calc(var(--col-w) * 0.35);
}

.c-8 .p-1 {
    height: calc(var(--col-w) * 1.6);
}

.c-8 .p-2 {
    height: calc(var(--col-w) * 1.5);
}

.c-9 {
    margin-top: 0;
}

.c-9 .p-1 {
    height: calc(var(--col-w) * 1.4);
}

.c-9 .p-2 {
    height: calc(var(--col-w) * 1.25);
}

/* responsive collage */
@media (max-width: 1400px) {
    :root {
        --col-w: 8.5vw;
        --gap-v2: 1.2vw;
    }
}

@media (max-width: 991.98px) {
    .collage-container {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
        padding-bottom: 20px;
    }

    .collage-column {
        width: 100% !important;
        display: contents;
        /* Removes wrapper, items fall into grid */
    }

    .collage-item {
        height: 140px !important;
        margin-top: 0 !important;
    }

    .c-1,
    .c-2,
    .c-3,
    .c-4,
    .c-5,
    .c-6,
    .c-7,
    .c-8,
    .c-9 {
        margin-top: 0 !important;
    }
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    :root {
        --section-gap: 80px;
        --font-size-h1: 2.5rem;
        --font-size-h2: 2.2rem;
    }

    .banner-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    :root {
        --section-gap: 60px;
        --font-size-h1: 2.2rem;
        --font-size-h2: 1.8rem;
        --milestones-padding: 3rem 2rem;
        --milestones-gap: 3rem;
    }

    .banner-section {
        min-height: 60vh;
        padding-top: 100px;
    }

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

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

    .collage-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .collage-item {
        height: auto !important;
        aspect-ratio: 1;
        /* Makes them square on mobile */
    }
}

/* Extracted Inline Styles */
.nav-logo {
    height: 55px;
    margin-right: 15px;
}

.nav-chevron {
    font-size: 0.7em;
}

.font-arabic {
    font-family: Arial, sans-serif;
}

.banner-content-wrapper {
    margin-top: 15rem;
}

.avatar-faded {
    opacity: 0.6;
}

.tracking-normal {
    letter-spacing: 0;
}

.line-height-18 {
    line-height: 1.8;
}

.role-card-img {
    height: 450px;
    object-fit: cover;
    border-radius: var(--services-card-radius);
}

.quote-icon-wrapper {
    width: 60px;
    height: 60px;
    background-color: rgba(255, 97, 0, 0.1);
}

.customer-value-text {
    max-width: 700px;
    font-size: 1.1rem;
    line-height: 1.8;
}


/* Top overlay: dark bar under navbar */
.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Bottom overlay: strong dark gradient under banner content */
.banner-slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 55%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 40%, transparent 100%);
    z-index: 1;
    pointer-events: none;
}


/* Reusable Primary Button Component */
.btn-primary-custom {
    background-color: var(--btn-colours);
    color: var(--gray-900);
    border: none;
    border-radius: var(--radius-pill);
    padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    transition: var(--transition-base);
}

.btn-primary-custom:hover {
    background-color: #e0ac00;
    transform: translateY(-2px);
    color: var(--gray-900);
}

/* Gold tone (mock “Explore More”) — extends .btn-primary-custom */
.btn-primary-custom.btn-tone-gold {
    background-color: var(--btn-warning-gold);
}

.btn-primary-custom.btn-tone-gold:hover {
    background-color: #c49200;
    color: var(--gray-900);
}

.btn-primary-custom .btn-icon-wrapper {
    background-color: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--font-size-xs);
}

.rotate-neg-45 {
    transform: rotate(-45deg);
}

/* Services Carousel Styling */
.service-category {
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.btn-readmore {
    font-size: 0.8rem;
    border: none;
}

/* Services — GSAP horizontal scroll gallery (desktop: pin + scrub; mobile: swipe) */
.services-horizontal-section .role-card {
    border-radius: var(--services-card-radius);
}

.services-horizontal-title {
    margin-bottom: 2rem;
}

.horiz-gallery-wrapper {
    overflow: hidden;
    width: 100%;
}

.horiz-gallery-strip {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 1.25rem;
    width: max-content;
    padding: 8px clamp(0.75rem, 4vw, 2.75rem) 36px;
    will-change: transform;
}

.horiz-gallery-item {
    flex: 0 0 min(500px, 86vw);
    max-width: 500px;
}

/* Service card copy — larger than global .service-category / .fs-6 / .btn-readmore */
.horiz-gallery-item .service-category {
    font-size: 0.9rem;
    letter-spacing: 1.1px;
}

.horiz-gallery-item .role-card h5 {
    font-size: 1.15rem;
    line-height: 1.4;
}

.horiz-gallery-item .btn-readmore {
    font-size: 0.95rem;
}

@media (min-width: 992px) {
    .horiz-gallery-item .service-category {
        font-size: 1rem;
    }

    .horiz-gallery-item .role-card h5 {
        font-size: 1.3rem;
    }

    .horiz-gallery-item .btn-readmore {
        font-size: 1.05rem;
    }
}

@media (max-width: 991.98px) {
    .horiz-gallery-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .horiz-gallery-strip {
        padding-bottom: 28px;
    }

    .horiz-gallery-item {
        scroll-snap-align: start;
        flex: 0 0 min(280px, 82vw);
    }
}

/* Client Carousel Styles */
.client-card-box {
    height: 120px;
    background-color: var(--light-bg);
    /* #f8f9fa */
}

.client-img {
    max-height: 80px !important;
    width: auto !important;
    max-width: 100%;
}

/* ── Global Owl Dots – pill style, used on all carousels ──────────── */
.owl-carousel .owl-dots {
    margin-top: var(--space-xl) !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.owl-carousel .owl-dot {
    display: flex !important;
    align-items: center;
}

.owl-carousel .owl-dot span {
    width: 8px !important;
    height: 8px !important;
    background: var(--gray-300) !important;
    border-radius: 50px !important;
    margin: 0 !important;
    transition: all 0.3s ease !important;
}

.owl-carousel .owl-dot.active span {
    background: var(--primary-orange) !important;
    width: 24px !important;
    border-radius: 50px !important;
}

/* Owl static fallbacks: no .owl-loaded when item count ≤ visible slots */
.hero-slider-wrapper .banner-carousel:not(.owl-loaded) {
    display: block !important;
}

.hero-slider-wrapper .banner-carousel:not(.owl-loaded) > .item:not(:first-child) {
    display: none;
}

.hero-slider-wrapper .banner-carousel.owl-loaded {
    display: block !important;
}

.market-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.market-carousel:not(.owl-loaded) > .item {
    flex: 0 1 300px;
    max-width: 100%;
}

@media (min-width: 768px) {
    .market-carousel:not(.owl-loaded) > .item {
        flex: 0 1 calc(50% - 15px);
        max-width: calc(50% - 15px);
    }
}

@media (min-width: 1024px) {
    .market-carousel:not(.owl-loaded) > .item {
        flex: 0 1 calc(33.333% - 20px);
        max-width: calc(33.333% - 20px);
    }
}

.market-carousel.owl-loaded {
    display: block !important;
}

.clients-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.clients-carousel:not(.owl-loaded) > .item {
    flex: 0 1 140px;
    max-width: calc(50% - 10px);
}

@media (min-width: 768px) {
    .clients-carousel:not(.owl-loaded) > .item {
        max-width: calc(33.333% - 14px);
    }
}

@media (min-width: 992px) {
    .clients-carousel:not(.owl-loaded) > .item {
        flex: 0 1 18%;
        max-width: 18%;
    }
}

.clients-carousel.owl-loaded {
    display: block !important;
}

.testimonial-carousel:not(.owl-loaded) {
    display: block !important;
}

.testimonial-carousel:not(.owl-loaded) > .testimonial-item:not(:first-child) {
    display: none;
}

.testimonial-carousel.owl-loaded {
    display: block !important;
}

/* Custom Slider Navigation Hover Effects */
.next-trigger,
.prev-trigger {
    cursor: pointer;
}

/* Beat Bootstrap .text-dark !important on labels / icons when hovering the row */
.custom-nav .next-trigger:hover .nav-next-text,
.custom-nav .next-trigger:hover .nav-next-icon,
.custom-nav .prev-trigger:hover .nav-prev-text,
.custom-nav .prev-trigger:hover .nav-prev-icon {
    color: var(--primary-orange) !important;
}

.transition-colors {
    transition: color 0.2s ease-in-out;
}

/* Milestones Section */
.milestones-card {
    min-height: 400px;
    border-radius: var(--radius-xl);
}

.milestones-content-wrapper {
    padding: var(--milestones-padding);
}

.milestones-stats-container {
    gap: var(--milestones-gap);
}

.milestones-stat-value {
    font-size: 3rem;
}

.milestones-stat-label {
    font-size: 0.9rem;
}

.milestones-badge {
    letter-spacing: 2px;
    font-size: 0.75rem;
}

.avatar-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    position: relative;
    border-width: 1.5px !important;
    border-color: var(--white) !important;
}

.avatar-overlap {
    margin-left: -12px;
}

.text-white-60 {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Utilities for Inline Style Migration */
.img-cover {
    object-fit: cover;
}

.h-32px {
    height: 32px;
}

/* Empowering Section */
.empower-section {
    min-height: 650px;
    background: url('../images/paralax-section.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.empower-bg {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
}

.btn-explore-pill {
    background-color: var(--white);
    color: var(--gray-900) !important;
    border: none;
    border-radius: var(--radius-pill);
    padding: 8px 8px 8px 24px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-explore-pill:hover {
    background-color: var(--primary-orange);
    color: var(--white) !important;
    transform: translateY(-2px);
}

.btn-explore-pill .icon-circle {
    background-color: var(--gray-900);
    color: var(--white);
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
}

.btn-explore-pill:hover .icon-circle {
    background-color: var(--white);
    color: var(--primary-orange);
}

/* ── Why Choose S3C Section ─────────────────────────────────────── */
.choice-section {
    margin-top: var(--section-gap);
}

.choice-section-inner {
    background-color: #f4f5f7;
    /* light gray from the image */
    padding: 140px 0px;
}

/* Image */
.choice-img-wrapper {
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    width: 100%;
}

.choice-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    display: block;
    border-radius: 16px;
}

/* Subtitle */
.choice-subtitle {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-bottom: 0.75rem;
}

/* Heading */
.choice-heading {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.25;
    margin-bottom: 0;
}

/* List */
.choice-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.choice-list-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.98rem;
    color: var(--gray-800);
    font-weight: 400;
}

.choice-check-icon {
    color: var(--primary-orange);
    font-size: 1.15rem;
    flex-shrink: 0;
}

@media (max-width: 991.98px) {
    .choice-img {
        height: 300px;
    }

    .choice-heading {
        font-size: 1.8rem;
    }
}


/* ── Insights / Blogs Section ──────────────────────────────────────── */
.insights-section {
    background: var(--white);
}

/* Shared card base */
.insight-card {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.insight-card img {
    transition: transform 0.45s ease;
    object-fit: cover;
    width: 100%;
    height: 100%;
    display: block;
}

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

/* Large left card */
.insight-card-large {
    height: 560px;
}

/* Right column wrapper — must match left card exactly */
.insight-right-col {
    height: 560px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* same as Bootstrap g-3 */
}

/* Right stacked cards — each fills half of the 560px wrapper */
.insight-card-sm {
    flex: 1 1 0;
    min-height: 0;
    /* allow flex shrink */
}

/* Dark gradient overlay from bottom */
.insight-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.45) 55%, transparent 100%);
    z-index: 2;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
}

/* Date: clock icon + text */
.insight-date {
    color: rgba(255, 255, 255, 0.80);
    font-size: 0.8rem;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Large card title */
.insight-title-lg {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 0;
}

/* Small card title */
.insight-title-sm {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 0;
}

@media (max-width: 991.98px) {
    .insight-card-large {
        height: 360px;
    }

    .insight-right-col {
        height: 360px;
    }
}


/* ── Footer Styling ──────────────────────────────────────────────── */
.site-footer {
    background-color: #0b0b0b;
    color: #a0a0a0;
    padding-top: 5rem;
    font-size: 0.85rem;
}

.footer-main {
    padding-bottom: 2rem;
}

/* Logo & Tagline */
.footer-logo-wrap {
    max-width: 250px;
}

.footer-logo {
    width: 60%;
    height: auto;
    display: block;
}

.footer-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.85rem;
    line-height: 1.8;
}

/* Headings */
.footer-heading {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Pill Contacts (Say hello) */
.footer-contact-pill {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #c9c9c9;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    width: fit-content;
}

.footer-contact-pill:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
    background: rgba(255, 97, 0, 0.05);
}

/* Nav Lists */
.footer-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.footer-nav-list a {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.85rem;
}

.footer-nav-list a:hover {
    color: var(--primary-orange);
}

/* Bottom Bar */
.footer-bottom-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* very faint line */
    padding: 1.5rem 0;
    text-align: center;
    margin-top: 1rem;
}

.footer-copy {
    margin: 0;
    color: #888888;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.footer-copy strong {
    color: #cccccc;
    font-weight: 500;
}

/* ── Floating Buttons & Back to Top ────────────────────────────── */
.floating-btns-global {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.floating-btns-global.hidden {
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
}

.float-btn {
    width: 50px;
    height: 50px;
    transition: var(--transition-base);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.float-btn:hover {
    transform: translateY(-4px) scale(1.08);
}

.whatsapp-btn {
    background-color: #25d366 !important;
    color: #fff !important;
    font-size: 1.5rem;
}

.back-to-top-wrap {
    position: relative;
    width: 54px;
    height: 54px;
}

/* Home: toggled from script.js while scroll is inside header.hero-slider-wrapper */
.back-to-top-wrap.back-to-top-wrap--hidden-in-hero {
    display: none;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 54px;
    height: 54px;
    transform: rotate(-90deg);
}

.progress-ring__track {
    fill: none;
    stroke: rgba(0, 0, 0, 0.1);
    stroke-width: 3;
}

.progress-ring__bar {
    fill: none;
    stroke: var(--primary-orange);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 144.51;
    stroke-dashoffset: 144.51;
    transition: stroke-dashoffset 0.12s linear;
}

.back-to-top-btn {
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background-color: var(--gray-900);
    color: var(--primary-orange);
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-base);
    border: none;
}

.back-to-top-btn:hover {
    background-color: var(--primary-orange) !important;
    color: var(--white) !important;
}

/* ── Lenis Smooth Scroll ────────────────────────────────────────── */
html.lenis,
html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

/* ── About Page Specific Styles ───────────────────────────────────── */
.about-banner {
    height: 50vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.about-banner .container {
    position: relative;
    z-index: 2;
}

/* Intro Section */
.intro-subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: var(--gray-500);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: block;
}

.intro-heading {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.2;
    margin-bottom: 2.5rem;
}

.intro-stat-card {
    background-color: #f7f7f7;
    border-radius: 12px;
    padding: 35px 30px;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: transform 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
}

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

.intro-stat-icon {
    font-size: 2.8rem;
    color: var(--primary-orange);
    width: 60px;
    display: flex;
    justify-content: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 0;
    font-weight: 400;
}

/* Values Section Refined */
.values-section {
    background-color: #000;
    padding: 120px 0;
}

.value-card {
    padding: 20px;
    transition: var(--transition-base);
}

.value-card-img-wrap {
    width: 100%;
    height: 250px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 25px;
    background: #1a1a1a;
}

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

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

.value-title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.value-text {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.7;
}

/* QA section */
.qa-img-stack {
    position: relative;
    height: 480px;
}

.qa-img-item {
    position: absolute;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.qa-img-item img {
    width: 100%;
    height: 380px;
    object-fit: cover;
}

.qa-img-item:nth-child(2) {
    width: 65%;
    top: 60px;
    left: 0;
    z-index: 2;
}

.qa-img-item:nth-child(1) {
    width: 65%;
    top: 0;
    right: 0;
    z-index: 1;
}

/* Team section refined with leaf shape */
.team-img-wrap {
    width: 100%;
    height: 400px;
    border-radius: 0 120px 0 0;
    overflow: hidden;
    margin-bottom: 25px;
    background: #f4f5f7;
}

.team-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-name {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--gray-900);
}

.team-role {
    font-size: 0.85rem;
    color: var(--gray-500);
}

/* Typography Helpers - restoration */
.subtitle-white-tracking {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.8;
}

.display-large {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.05;
}

.display-medium {
    font-size: clamp(2rem, 5vw, 3.5rem);
    line-height: 1.1;
}

.font-kanit-light {
    font-family: 'Kanit', sans-serif;
    font-weight: 300;
}

/* ── About page (about.html) ───────────────────────────────────── */
.about-page {
    background: #fff;
}

/* About hero: shorter banner than home; never below 500px */
.about-hero {
    min-height: 500px;
    height: auto;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}

/* Top bar: darkens area behind absolute nav (matches .banner-slide::before) */
.about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 130px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Full black overlay for inner-banner text visibility */
.about-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.62) 0%, rgba(0, 0, 0, 0.52) 45%, rgba(0, 0, 0, 0.72) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-hero > .container {
    position: relative;
    z-index: 2;
}

.about-hero-inner {
    max-width: 920px;
    padding: 120px 0 72px;
    text-align: center;
}

.about-hero .subtitle-white-tracking {
    opacity: 1;
    margin-bottom: 1.25rem;
}

.about-hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    line-height: 1.2;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
    margin: 0;
}

/* ── Industries page ─────────────────────────────────────────────── */
.industries-page {
    background: #fff;
}

.about-hero.industries-hero {
    background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1800&auto=format&fit=crop');
    background-position: center;
}

/* ── Product lines page (anchor sections, services-style listing) ─ */
.product-lines-page {
    background: #fff;
}

.about-hero.product-lines-hero {
    background-image: url('https://images.unsplash.com/photo-1581092160562-40aa08e78837?q=80&w=1800&auto=format&fit=crop');
    background-position: center;
}

/* ── Field services page ─────────────────────────────────────────── */
.field-services-page {
    background: #fff;
}

.about-hero.field-services-hero {
    background-image:
        linear-gradient(120deg, rgba(10, 14, 24, 0.72) 0%, rgba(10, 14, 24, 0.35) 50%, rgba(10, 14, 24, 0.7) 100%),
        url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1800&auto=format&fit=crop');
    background-position: center, center 40%;
    background-size: cover, cover;
    background-repeat: no-repeat, no-repeat;
}

.field-services-hero-lead {
    max-width: 36rem;
    line-height: 1.65;
}

.field-services-visual-strip {
    padding-bottom: 0;
}

.field-services-triple {
    margin-top: -3rem;
    position: relative;
    z-index: 2;
}

.field-services-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    flex-shrink: 0;
}

.field-services-circle--lg {
    width: 240px;
    height: 240px;
}

.field-services-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.field-services-checklist li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 1rem;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-600);
}

.field-services-checklist li:last-child {
    margin-bottom: 0;
}

.field-services-checklist li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 97, 0, 0.15);
}

.field-services-exp-cell {
    background: #f8f8f8;
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.field-services-exp-img {
    display: block;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    height: 230px;
}

.field-services-offered-grid {
    margin-top: 1.75rem;
}

.field-services-offered-card {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    align-items: center;
    background: #f6f7f8;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06);
    min-height: 140px;
}

.field-services-offered-media {
    width: 100%;
    height: 100%;
    min-height: 140px;
    object-fit: cover;
    display: block;
}

.field-services-offered-body {
    padding: 1rem 1.25rem;
}

.field-services-offered-title {
    font-size: clamp(1rem, 1.45vw, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.01em;
    color: #1f2b34;
    margin: 0 0 0.45rem;
}

.field-services-offered-desc {
    font-size: 0.94rem;
    line-height: 1.6;
    color: #5f6b75;
}

.field-services-expertise-grid {
    margin-top: 1.5rem;
}

.field-services-expertise-box {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 14px;
    padding: 1.2rem 1.2rem 1.2rem 2.2rem;
    box-shadow: 0 8px 24px rgba(14, 21, 36, 0.04);
}

.field-services-expertise-box::before {
    content: '\25BA';
    position: absolute;
    left: 0.95rem;
    top: 1.2rem;
    color: var(--primary-orange);
    font-size: 0.82rem;
    line-height: 1;
}

.field-services-expertise-box p {
    color: #4f5c66;
    line-height: 1.65;
}

.field-services-pill {
    display: inline-block;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-700);
    background: #fafafa;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 999px;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.field-services-pill:hover {
    color: var(--primary-orange);
    border-color: rgba(255, 97, 0, 0.35);
    background: rgba(255, 97, 0, 0.06);
}

.field-services-contact-card {
    border-color: rgba(0, 0, 0, 0.06) !important;
}

.field-services-contact-photo img {
    object-fit: cover;
}

@media (max-width: 575.98px) {
    .field-services-offered-card {
        grid-template-columns: 1fr;
    }

    .field-services-offered-media {
        aspect-ratio: 16 / 8;
        min-height: 0;
    }

    .field-services-triple {
        margin-top: -2rem;
    }

    .field-services-circle,
    .field-services-circle--lg {
        width: min(200px, 42vw);
        height: min(200px, 42vw);
    }

    .field-services-circle--lg {
        width: min(220px, 48vw);
        height: min(220px, 48vw);
    }
}

/* ── RTV / HVIC page ─────────────────────────────────────────────── */
.rtv-page {
    background: #fff;
}

.about-hero.rtv-coating-hero {
    background-image: url('https://images.unsplash.com/photo-1473341304170-971dccb5ac1e?q=80&w=1800&auto=format&fit=crop');
    background-position: center 40%;
}

.rtv-hero-lead {
    max-width: 38rem;
    line-height: 1.65;
}

.rtv-benefits-block .rtv-benefits-media {
    border-color: rgba(0, 0, 0, 0.06) !important;
    background: #f8f8f8;
}

.rtv-benefits-block .choice-list-item {
    align-items: flex-start;
}

.rtv-info-box {
    background: #f4f4f4;
    border: 1px solid #e2e2e2;
    padding: clamp(1rem, 2vw, 1.75rem) clamp(1rem, 2vw, 1.4rem);
    background-image: linear-gradient(rgba(244, 244, 244, 0.92), rgba(244, 244, 244, 0.92)),
        url('assets/images/pattern-pl.svg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.rtv-cards-kicker {
    color: #2c2c2c;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.rtv-cards-kicker--spaced {
    margin-top: clamp(2rem, 5vw, 3.4rem);
}

.rtv-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.95rem;
}

.rtv-mini-card {
    min-height: 84px;
    border: 1px solid #ebebeb;
    border-radius: 11px;
    background: #f8f8f8;
    color: #161616;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0px;
    line-height: 1.28;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.rtv-info-box--lg {
    padding-top: clamp(1.2rem, 2vw, 1.95rem);
    padding-bottom: clamp(1.2rem, 2vw, 1.95rem);
}

.rtv-info-heading {
    color: #222;
    font-size: clamp(1.45rem, 1.6vw, 2rem);
    line-height: 1.2;
    margin: 0;
}

.rtv-arrow-list,
.rtv-diamond-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rtv-arrow-list > li,
.rtv-diamond-list > li {
    position: relative;
    padding-left: 1.65rem;
    color: #2a2a2a;
    font-size: clamp(1.25rem, 1.45vw, 1.9rem);
    line-height: 1.35;
    margin-bottom: 0.45rem;
}

.rtv-arrow-list > li:last-child,
.rtv-diamond-list > li:last-child {
    margin-bottom: 0;
}

.rtv-arrow-list > li::before {
    content: '\25B6';
    position: absolute;
    left: 0;
    top: 0.08em;
    color: #2e2e2e;
    font-size: 0.92em;
}

.rtv-diamond-list {
    margin-top: 0.35rem;
    margin-left: 0.75rem;
}

.rtv-diamond-list > li::before {
    content: '\25C6';
    position: absolute;
    left: 0;
    top: 0.1em;
    color: #2e2e2e;
    font-size: 0.78em;
}

@media (max-width: 991.98px) {
    .rtv-info-heading {
        font-size: 1.35rem;
    }

    .rtv-arrow-list > li,
    .rtv-diamond-list > li {
        font-size: 1.06rem;
        line-height: 1.45;
    }

    .rtv-cards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .rtv-mini-card {
        min-height: 72px;
    }
}

.product-lines-page .product-lines-jump {
    position: sticky;
    top: 5rem;
    z-index: 999;
    margin-top: clamp(2rem, 4vw, 3rem);
    padding: 1.3rem 0;
    background: #ffffff;
    box-shadow: none;
    transition: box-shadow 0.28s ease;
}

.product-lines-page .product-lines-jump.product-lines-jump--elevated {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.product-lines-jump-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.35rem;
}

.product-lines-jump-list a {
    display: inline-block;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--gray-700);
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: #fafafa;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.product-lines-jump-list a:hover,
.product-lines-jump-list a:focus-visible {
    color: var(--primary-orange);
    border-color: rgba(255, 97, 0, 0.35);
    background: rgba(255, 97, 0, 0.06);
    outline: none;
}

.product-lines-jump-list a.is-active {
    color: var(--primary-orange);
    border-color: rgba(255, 97, 0, 0.5);
    background: rgba(255, 97, 0, 0.12);
    font-weight: 700;
}

.product-lines-section {
    scroll-margin-top: 8.5rem;
}

.product-lines-section-head {
    max-width: 720px;
    margin-bottom: clamp(2rem, 4vw, 3rem);
}

.product-lines-section-title {
    font-size: 45px;
    font-weight: 600;
    color: var(--gray-900);
    text-transform: uppercase;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}

.product-lines-section-kicker {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--gray-600);
}

.product-lines-section--alt {
    background: #f5f5f5;
   padding: 140px 0px;
    margin-top: 0;
}

.product-lines-section--alt.section-mt-140 {
    margin-top: var(--section-gap);
}

/* Solid white band (e.g. Coated products between gray alt sections) */
.product-lines-section--white {
    background-color: #ffffff;
    padding-top: clamp(3rem, 6vw, 4.5rem);
    padding-bottom: clamp(3rem, 6vw, 4.5rem);
}

.product-lines-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
}

.product-lines-grid--2 .product-lines-card--full {
    grid-column: 1 / -1;
}

.product-lines-card {
    background: #fff;
    border-radius: 16px;
    padding: clamp(1.35rem, 3vw, 1.75rem) clamp(1.35rem, 3vw, 1.85rem);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.product-lines-section--alt .product-lines-card {
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.05);
}

.product-lines-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    line-height: 1.35;
    margin: 0 0 0.65rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--primary-orange);
}

.product-lines-card-body {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: var(--gray-600);
}

/* Powder coatings: alternating image / copy rows (services-style listing) */
.product-lines-split-list {
    display: flex;
    flex-direction: column;
    gap: clamp(2.75rem, 6vw, 4.5rem);
    margin-top: clamp(0.5rem, 2vw, 1rem);
}

/* Image 5/12, copy 7/12 (Bootstrap col-5 + col-7 proportions) */
.product-lines-split-row {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: center;
}

.product-lines-split-row--reverse {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
}

.product-lines-split-row--reverse .product-lines-split-media {
    order: 2;
}

.product-lines-split-row--reverse .product-lines-split-content {
    order: 1;
}

.product-lines-split-img {
    width: 100%;
    height: auto;
    height: 420px;
    object-fit: cover;
    border-radius: 32px;
    display: block;
}

.product-lines-split-heading {
    font-size: clamp(1.65rem, 3vw, 2.15rem);
    font-weight: 500;
    color: #000000;
    line-height: 1.2;
    margin: 0 0 1rem;
}

.product-lines-split-text {
    margin: 0 0 1.35rem;
    font-size: 1rem;
    line-height: 1.75;
    color: #555555;
    max-width: none;
}

@media (max-width: 991.98px) {
    .product-lines-grid {
        grid-template-columns: 1fr;
    }

    .product-lines-jump-list {
        justify-content: flex-start;
    }

    .product-lines-split-row,
    .product-lines-split-row--reverse {
        grid-template-columns: 1fr;
    }

    .product-lines-split-row--reverse .product-lines-split-media,
    .product-lines-split-row--reverse .product-lines-split-content {
        order: unset;
    }

    .product-lines-split-media {
        order: -1;
    }

    .product-lines-split-img {
        max-height: 320px;
        min-height: 220px;
    }

    .product-lines-split-text {
        max-width: none;
    }
}

/* ── Industry detail pages (e.g. Oil & Gas) ──────────────────────── */
.industry-detail-page {
    background: #fff;
}

.about-hero.industry-detail-hero--oil-gas {
    background-image: url('https://images.unsplash.com/photo-1578328819058-b69f3a3b0f6b?q=80&w=1800&auto=format&fit=crop');
    background-position: center;
}

/* ── Contact page ────────────────────────────────────────────────── */
.contact-page {
    background: #ffffff;
}

.about-hero.contact-hero {
    background-image: url('../images/contact.png');
    background-position: center top;
    background-size: cover;
}

.contact-form-section {
    background: #ffffff;
}

@media (min-width: 1200px) {
    .contact-form-row {
        --bs-gutter-x: 3.5rem;
    }
}

.contact-form-eyebrow {
    color: #6c757d;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-form-heading {
    font-size: 45px;
    font-weight: 500;
    color: #1a2b3c;
    line-height: 1.25;
}

.contact-form-lead {
    color: #6c757d;
    font-size: 0.98rem;
    line-height: 1.7;
    max-width: 32em;
}

.contact-page-form .contact-form-field,
.contact-page-form .form-control.contact-form-field {
    background-color: #f0f4f8;
    border: none;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 1rem;
    color: #1b1c1e;
    box-shadow: none;
}

.contact-page-form .contact-form-field:focus,
.contact-page-form .form-control.contact-form-field:focus {
    background-color: #f1f3f5;
    border: none !important;
    box-shadow: none !important;
    outline: 0;
    color: #212529;
}

.contact-page-form .contact-form-field::placeholder {
    color: #7d848b;
}

.contact-form-textarea {
    min-height: 140px;
    resize: vertical;
}

.contact-form-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.contact-form-submit {
    background-color: #ff6600 !important;
    color: #ffffff !important;
    font-weight: 700;
    padding: 0.7rem 2.5rem;
    border-radius: 999px;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.contact-form-submit:hover {
    background-color: #e65c00 !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.contact-info-section {
    padding-bottom: 0;
    background: #ffffff;
}

/* Left: full-bleed photo with top gradient + headline (mock) */
.contact-info-banner {
    height: 100%;
}

.contact-info-banner-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 560px;
    height: 100%;
}

.contact-info-banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-info-banner-shade {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 58%;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.78) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0) 100%
    );
}

.contact-info-banner-text {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1.35rem, 3vw, 2rem) 1rem;
    max-width: 17rem;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 600;
    color: #ffffff;
    line-height: 1.35;
    text-align: left;
}

.contact-info-banner-accent {
    color: #ff6600;
    font-weight: 700;
}

.contact-info-grid {
    --bs-gutter-x: 1rem;
    --bs-gutter-y: 1rem;
}

/* Right: icon left, copy right; card content vertically centered in equal-height cells */
.contact-info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem 1.2rem;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
    border: none;
    display: flex;
    align-items: center;
}

.contact-info-card-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.contact-info-card-icon {
    flex-shrink: 0;
    width: 1.5rem;
    text-align: center;
    color: #333333;
    font-size: 1.2rem;
    line-height: 1.25;
}

.contact-info-card-main {
    flex: 1;
    min-width: 0;
}

.contact-info-card-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #333333;
    margin: 0 0 0.4rem;
    line-height: 1.3;
}

.contact-info-card-body {
    font-size: 0.875rem;
    line-height: 1.55;
    color: #666666;
}

.contact-info-card-body a {
    color: #666666;
    text-decoration: none;
    font-size: 17px;
}

.contact-info-card-body a:hover {
    color: #ff6600;
    text-decoration: underline;
}

.contact-info-card-body--address {
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-size: 0.8125rem;
    line-height: 1.55;
}

.contact-map-section {
    width: 100%;
    line-height: 0;

}

.contact-map-iframe {
    width: 100%;
    height: 480px;
    min-height: 360px;
    border-radius: 20px;
    border: 0;
    display: block;
}

@media (max-width: 991.98px) {
    .contact-info-banner-visual {
        min-height: 440px;
    }

    .contact-map-iframe {
        height: 400px;
    }
}

/* ── Career page ─────────────────────────────────────────────────── */
.career-page {
    background: #fff;
}

.about-hero.career-hero {
    background-image: url('../images/career-bg.png');
    background-position: center top;
    background-size: cover;
}

.career-hiring-title,
.career-jobs-title {
    font-size: 2.8rem;
    font-weight: 600;
    color: var(--gray-900);
    letter-spacing: -0.02em;
    max-width: 900px;
    line-height: 1.25;
    margin-bottom: 1.25rem;
}

.career-hiring-lead,
.career-jobs-lead {
    max-width: 720px;
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 3rem;
}

.career-process-track {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    gap: clamp(0.65rem, 1.5vw, 1rem);
    max-width: 1100px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.25rem;
    scrollbar-width: thin;
}

/* Hiring process accordion: one expanded orange panel, others narrow white tabs */
.career-step {
    position: relative;
    box-sizing: border-box;
    flex: 0 0 clamp(72px, 8vw, 96px);
    min-width: 0;
    min-height: 280px;
    margin: 0;
    padding: 0;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    font: inherit;
    text-align: left;
    color: inherit;
    overflow: hidden;
    transform: translate3d(0, 0, 0);
    transition:
        flex 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.career-step:focus {
    outline: none;
}

.career-step:focus-visible {
    outline: 3px solid rgba(255, 97, 0, 0.45);
    outline-offset: 2px;
}

.career-step:active {
    box-shadow: none;
}

.career-step.is-expanded {
    flex: 1 1 280px;
    min-width: min(100%, 220px);
    background: var(--primary-orange);
    border-color: transparent;
    box-shadow: none;
}

.career-step-vertical-wrap,
.career-step-expanded-inner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.35rem;
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.career-step-expanded-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(1.25rem, 3vw, 1.75rem) clamp(1.25rem, 3vw, 2rem);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.career-step.is-expanded .career-step-vertical-wrap {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.05s,
        visibility 0.35s step-end 0.05s;
}

.career-step.is-expanded .career-step-expanded-inner {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1) 0.06s,
        visibility 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.career-step-vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    white-space: nowrap;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--gray-900);
    letter-spacing: 0.02em;
    transition:
        color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.career-step-vertical-text .career-step-num {
    font-weight: 700;
    margin-inline-end: 0.35em;
}

.career-step-expanded-head {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

/* Staggered reveal: number above heading, then body */
.career-step-expanded-num,
.career-step-expanded-name,
.career-step-expanded-inner .career-step-desc {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    will-change: opacity, transform;
}

.career-step:not(.is-expanded) .career-step-expanded-num,
.career-step:not(.is-expanded) .career-step-expanded-name,
.career-step:not(.is-expanded) .career-step-expanded-inner .career-step-desc {
    opacity: 0;
    transform: translate3d(0, 16px, 0);
    transition: none;
}

.career-step.is-expanded .career-step-expanded-num {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.18s;
}

.career-step.is-expanded .career-step-expanded-name {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.3s;
}

.career-step.is-expanded .career-step-expanded-inner .career-step-desc {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition:
        opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: 0.42s;
}

/* Hover motion only on devices that support hover (avoids sticky “hover” on touch) */
@media (hover: hover) and (pointer: fine) {
    .career-step:hover:not(.is-expanded) {
        transform: translate3d(0, -8px, 0);
        border-color: rgba(255, 97, 0, 0.45);
        box-shadow:
            0 16px 32px rgba(0, 0, 0, 0.1),
            0 0 0 1px rgba(255, 97, 0, 0.12);
    }

    .career-step.is-expanded:hover {
        transform: translate3d(0, -5px, 0);
        box-shadow: none;
    }

    .career-step:hover:not(.is-expanded) .career-step-vertical-text {
        color: var(--primary-orange);
        transform: rotate(180deg) scale(1.07);
    }

    .career-step.is-expanded:hover .career-step-expanded-inner {
        transform: translate3d(6px, 0, 0);
    }
}

.career-step-expanded-num {
    font-size: clamp(2.25rem, 5vw, 3rem);
    font-weight: 700;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.04em;
}

.career-step-expanded-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
}

.career-step-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 42em;
}

.career-step.is-expanded .career-step-desc {
    color: rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-motion: reduce) {
    .career-step {
        transition-duration: 0.01ms !important;
        transform: none !important;
    }

    .career-step-vertical-wrap,
    .career-step-expanded-inner {
        transition-duration: 0.01ms !important;
    }

    .career-step-vertical-text {
        transform: rotate(180deg) !important;
    }

    .career-step:hover:not(.is-expanded) .career-step-vertical-text {
        transform: rotate(180deg) !important;
    }

    .career-step.is-expanded .career-step-expanded-inner {
        transform: none !important;
    }

    .career-step.is-expanded .career-step-expanded-num,
    .career-step.is-expanded .career-step-expanded-name,
    .career-step.is-expanded .career-step-expanded-inner .career-step-desc {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
        transition-delay: 0s !important;
    }

    .career-step:not(.is-expanded) .career-step-expanded-num,
    .career-step:not(.is-expanded) .career-step-expanded-name,
    .career-step:not(.is-expanded) .career-step-expanded-inner .career-step-desc {
        opacity: 0 !important;
        transform: none !important;
    }
}

.career-job-list {
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.career-job-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 1.35rem 1.5rem;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.career-job-title {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--gray-900);
    min-width: 160px;
    flex: 0 0 auto;
}

.career-job-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem 2rem;
    color: var(--gray-600);
    font-size: 0.95rem;
    flex: 1 1 auto;
    justify-content: center;
}

.career-job-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.career-job-meta-item i {
    color: #000;
    font-size: 1rem;
}

.career-apply-btn {
    flex-shrink: 0;
}

/* ── Career detail job block (mock: #F8F9FA bg, navy headings, coral checks, white cards + shadow) ─ */
.career-detail-page {
    background: #ffffff;
}

.career-detail-page .career-detail-job {
    background: #f8f9fa;
    padding: 100px 0px 100px;
}

.career-detail-container {
    max-width: 800px;
}

.career-detail-content {
    max-width: 100%;
    margin: 0 auto;
}

.career-detail-job-title {
    font-size: clamp(2rem, 4.5vw, 2.75rem);
    font-weight: 700;
    color: #1a2b3c;
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin-bottom: clamp(2rem, 4vw, 2.75rem);
}

.career-detail-meta-row {
    margin-bottom: clamp(2.5rem, 4.5vw, 3.25rem);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.career-detail-meta-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.65rem 1.5rem;
    border: none;
    box-shadow: 0 4px 24px rgba(26, 43, 60, 0.08);
    text-align: center;
    height: 100%;
    min-height: 112px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.career-detail-meta-value {
    display: block;
    font-size: clamp(1.2rem, 2.2vw, 1.4rem);
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 0.5rem;
    line-height: 1.25;
}

.career-detail-meta-label {
    font-size: 0.9375rem;
    color: #6c757d;
    line-height: 1.4;
}

.career-detail-subtitle {
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: #1a2b3c;
    margin-bottom: 1rem;
    margin-top: 0;
}

.career-detail-subtitle--center {
    text-align: center;
    margin-top: 0;
    margin-bottom: 1.35rem;
}

.career-detail-subtitle--qual {
    text-align: left;
    margin-top: clamp(2.5rem, 4.5vw, 3.5rem);
    margin-bottom: 1.25rem;
}

.career-detail-description {
    max-width: 100%;
    font-size: 0.9375rem;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 0;
}

.career-detail-qual-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 0.65rem 0;
    font-size: 1rem;
    line-height: 1.6;
    color: #495057;
}

.career-detail-check {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #ff7f50;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.6rem;
    margin-top: 0.25rem;
}

.career-detail-apply {
    background: #ffffff;
}

.career-detail-apply-title {
    font-size: clamp(1.45rem, 3.2vw, 2rem);
    font-weight: 700;
    color: #1a2b3c;
    max-width: 720px;
    line-height: 1.3;
    margin-bottom: clamp(2rem, 4vw, 2.85rem);
}

.career-detail-form {
    max-width: 800px;
}

/* Apply form mock: borderless fields on #F5F5F5 / #F8F8F8, medium-gray placeholders */
.career-detail-form .career-detail-field,
.career-detail-form .form-control.career-detail-field {
    background-color: #f5f5f5;
    border: none;
    border-radius: 10px;
    padding: 0.95rem 1.2rem;
    font-size: 1rem;
    color: #212529;
    box-shadow: none;
}

.career-detail-form .career-detail-field:focus,
.career-detail-form .form-control.career-detail-field:focus {
    background-color: #f0f0f0;
    border: none !important;
    color: #212529;
    box-shadow: none !important;
    outline: 0;
}

.career-detail-form .career-detail-field::placeholder {
    color: #868e96;
}

.career-detail-textarea {
    min-height: 160px;
    resize: vertical;
}

.career-detail-file-label {
    display: flex;
    align-items: center;
    padding: 0.95rem 1.2rem;
    background-color: #f5f5f5;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    margin-bottom: 0;
    min-height: calc(0.95rem * 2 + 1.5rem + 1rem);
}

.career-detail-file-label:hover {
    background-color: #f0f0f0;
}

.career-detail-file-leading {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    min-width: 0;
    pointer-events: none;
}

.career-detail-file-btn {
    flex-shrink: 0;
    font-size: 1rem;
    font-weight: 700;
    color: #212529;
}

.career-detail-file-status {
    flex: 1;
    min-width: 0;
    font-size: 0.9375rem;
    font-weight: 400;
    color: #868e96;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.career-detail-file-status.career-detail-file-status--has-file {
    color: #495057;
    font-weight: 500;
}

.career-detail-file-input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    font-size: 0;
}

.career-detail-submit {
    cursor: pointer;
    padding-left: 2rem;
    padding-right: 1.25rem;
    background-color: #ffd700 !important;
    color: #000000 !important;
}

.career-detail-submit:hover {
    background-color: #ffce1b !important;
    color: #000000 !important;
}

.career-detail-submit .btn-icon-wrapper {
    background-color: #000000 !important;
    color: #ffffff !important;
}

@media (max-width: 575.98px) {
    .career-detail-meta-card {
        min-height: auto;
        padding: 1.35rem 1.15rem;
    }
}

@media (max-width: 991.98px) {
    .career-process-track {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: stretch;
    }

    .career-step {
        width: 100% !important;
        flex: 0 0 auto !important;
    }

    .career-step:not(.is-expanded) {
        min-height: 3.5rem;
    }

    .career-step.is-expanded {
        min-height: 200px;
    }

    .career-step-vertical-wrap,
    .career-step-expanded-inner {
        padding: 1rem 1.25rem;
    }

    .career-step-vertical-text {
        writing-mode: horizontal-tb;
        transform: none;
        white-space: normal;
    }

    .career-job-meta {
        justify-content: flex-start;
    }

    .career-job-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .career-apply-btn {
        width: 100%;
        justify-content: center;
    }
}

.industry-detail-collage {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(0.75rem, 2vw, 1.1rem);
    max-width: 560px;
}

.industry-detail-collage-cell {
    border-radius: clamp(12px, 2vw, 16px);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: var(--gray-200);
}

.industry-detail-collage-cell img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.industry-detail-kicker {
    font-size: 0.78rem;
    letter-spacing: 0.14em;
}

.industry-detail-heading {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 700;
    line-height: 1.28;
    max-width: 540px;
}

.industry-detail-copy {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.92;
    margin-bottom: 1.05rem;
    text-align: justify;
}

.industry-solutions-section {
    background: #f3f4f6;
  padding: 140px 0px;
}

.industry-solutions-heading {
    max-width: 720px;
}

.industry-solutions-heading .section-subtitle {
    margin-bottom: 0.65rem;
}

/* Bootstrap row + col-lg-6 per card (6/12 columns, two per row); image left, content right */
.industry-solutions-grid.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
}

.industry-solution-cell {
    min-width: 0;
    display: flex;
}

.industry-solution-card {
    width: 100%;
    transition: var(--transition-base);
    overflow: hidden;
    border-color: var(--gray-200) !important;
}

/* Override Bootstrap .card { flex-direction: column } — image left, copy right (LTR box) */
.card.industry-solution-card.industry-solution-card--row {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    min-height: 0;
    direction: ltr;
}

.industry-solution-media {
    flex: 0 0 clamp(180px, 34%, 360px);
    width: clamp(180px, 34%, 360px);
    min-height: 0;
    align-self: stretch;
    position: relative;
    flex-shrink: 0;
    background: var(--gray-200);
    overflow: hidden;
    border-top-left-radius: var(--radius-lg);
    border-bottom-left-radius: var(--radius-lg);
}

.industry-solution-media .industry-solution-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.industry-solution-card--row .card-body {
    flex: 1 1 auto;
    min-width: 0;
}

.industry-solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg) !important;
}

.industry-solution-desc {
    font-size: var(--font-size-h6);
    line-height: 1.6;
}

@media (min-width: 992px) {
    .industry-solutions-grid .industry-solution-media {
        flex: 0 0 clamp(150px, 38%, 260px);
        width: clamp(150px, 38%, 260px);
    }
}

@media (max-width: 991.98px) {
    .industry-detail-collage {
        max-width: none;
        margin-inline: auto;
    }

    .industry-solution-media {
        flex: 0 0 clamp(200px, 38%, 340px);
        width: clamp(200px, 38%, 340px);
    }
}

@media (max-width: 767.98px) {
    .card.industry-solution-card.industry-solution-card--row {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .industry-solution-media {
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        aspect-ratio: 16 / 10;
        height: auto;
        border-radius: var(--radius-lg) var(--radius-lg) 0 0;
        border-bottom-left-radius: 0;
        align-self: stretch;
    }

    .industry-solution-media .industry-solution-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 575.98px) {
    .industry-solution-card:hover {
        transform: translateY(-4px);
    }
}

.industries-intro-title {
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    line-height: 1.35;
    font-weight: 700;
    max-width: 520px;
}

.industries-intro-copy {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.9;
    margin: 0 0 1.25rem;
}

/* Featured video — mock: ~18px radius, bottom ~38% gradient, serif copy, blue line, outlined play + pulse */
.industries-video-card {
    position: relative;
    overflow: hidden;
    border-radius: clamp(15px, 2vw, 20px);
    box-shadow: none;
    background: #000;
}

.industries-video-img {
    display: block;
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center 22%;
}

.industries-video-gradient {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 72%;
    pointer-events: none;
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.08) 35%,
        rgba(0, 0, 0, 0.55) 65%,
        rgba(0, 0, 0, 0.92) 88%,
        #000000 100%
    );
}

.industries-video-ui {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 42%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(0.75rem, 3vw, 2.5rem);
    box-sizing: border-box;
}

.industries-video-row {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: clamp(0.5rem, 1.8vw, 1rem);
    row-gap: 0.65rem;
    width: 100%;
    max-width: 1140px;
    margin-inline: auto;
    padding-block: clamp(0.75rem, 2vw, 1.25rem);
}

.industries-video-caption {
    margin: 0;
    flex: 0 1 auto;
    min-width: 0;
    max-width: min(520px, 90%);
    color: #fff;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.45;
    text-align: left;
}

.industries-video-play {
    flex-shrink: 0;
    width: clamp(76px, 11vw, 96px);
    height: clamp(76px, 11vw, 96px);
    border-radius: 50%;
    border: 3px solid #fff;
    background: transparent;
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.2rem, 2.4vw, 1.55rem);
    padding-left: 6px;
    cursor: pointer;
    transition: transform 0.35s ease, border-color 0.25s ease, color 0.25s ease, background-color 0.25s ease;
    animation: industries-video-play-pulse 2.4s ease-in-out infinite;
}

.industries-video-play:hover {
    animation: none;
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.industries-video-play:focus-visible {
    outline: 3px solid var(--primary-orange);
    outline-offset: 4px;
    animation: none;
}

@keyframes industries-video-play-pulse {
    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.06);
        opacity: 0.92;
    }
}

@media (prefers-reduced-motion: reduce) {
    .industries-video-play {
        animation: none;
    }

    .industries-video-play:hover {
        transform: none;
    }
}

.industries-markets-section {
    background: #f3f4f6;
   padding: 140px 0px;
}

.industries-markets-heading {
    max-width: 720px;
}

.industries-markets-heading .section-subtitle {
    margin-bottom: 0.65rem;
}

.industries-markets-section .market-card,
.industries-markets-section .market-card:hover {
    box-shadow: none !important;
    transform: none;
}

/* Static 3×2 grid (Industries page — no Owl) */
.industries-markets-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 2.5vw, 1.75rem);
    align-items: stretch;
}

.industries-market-cell {
    min-width: 0;
    display: flex;
}

.industries-market-cell .card {
    width: 100%;
}

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

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

@media (max-width: 767.98px) {
    .industries-video-img {
        height: min(280px, 78vw);
        object-position: center 18%;
    }

    .industries-video-gradient {
        height: 48%;
    }

    .industries-video-ui {
        height: 48%;
        padding: 0 1rem;
    }

    .industries-video-row {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        column-gap: 0;
        row-gap: 0.65rem;
        padding-block: 0.85rem;
    }

    .industries-video-caption {
        max-width: 100%;
        text-align: center;
    }

    .industries-video-play {
        align-self: center;
    }
}


.about-intro .section-title {
    max-width: 460px;
}

.about-stat-card {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.35rem 1.5rem;
    border-radius: 12px;
    background: #f5f5f5;
    border: 1px solid #e8e8e8;
    margin-bottom: 0.85rem;
}

.about-stat-card:last-child {
    margin-bottom: 0;
}

.about-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: var(--primary-orange);
}

.about-stat-svg {
    width: 52px;
    height: 52px;
    display: block;
}

.about-stat-value {
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.1;
    color: #111;
    font-weight: 700;
}

.about-stat-label {
    margin: 0.2rem 0 0;
    color: #555;
    font-size: 1.05rem;
    font-weight: 400;
}

.about-copy {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.95;
    margin: 0 0 1rem;
    text-align: justify;
}

.about-values {
    background: #000;
    padding: 112px 0 132px;
}

.about-values .section-subtitle {
    color: rgba(255, 255, 255, 0.68);
    margin-bottom: 1.35rem;
}

.about-values .section-title {
    color: #fff;
    margin-bottom: 5rem;
}

.about-page .value-row {
    align-items: center;
    margin-bottom: 4.5rem;
}

.about-page .value-row:last-child {
    margin-bottom: 0;
}

.about-page .value-row.reverse {
    flex-direction: row-reverse;
}

.about-page .value-media {
    width: 100%;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-page .value-media img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.about-page .value-copy {
    color: rgba(255, 255, 255, 0.74);
    font-size: 1rem;
    line-height: 2.15;
    max-width: 770px;
}

.about-page .value-heading {
    color: #fff;
    font-size: 35px;
    line-height: 1.15;
    margin-bottom: 1rem;
    font-weight: 500;
}


/* Left: 2-up row + full-width row (rounded collage) */
.qa-media-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 520px;
}

.qa-media-row--split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.qa-media-frame {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.1);
}

.qa-media-row--split .qa-media-frame img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.qa-media-frame--wide img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.qa-main-title {
    line-height: 1.2;
    text-align: left;
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--text-dark);
}

.qa-copy {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.95;
    margin-bottom: 1rem;
    text-align: left;
}

.qa-badges {
    padding-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem 3.5rem;
}

.qa-badges img {
    max-height: 142px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.about-service-banner {
    min-height: 700px;
    display: flex;
    align-items: center;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.7) 100%),
        url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?q=80&w=1800&auto=format&fit=crop') center/cover no-repeat;
}

.about-service-banner .section-subtitle {
    color: rgba(255, 255, 255, 0.72);
}

.about-service-banner .section-title {
    color: #fff;
    margin-bottom: 1.75rem;
    max-width: 640px;
}

.about-service-banner .btn-explore-pill {
    background: #fff;
    color: #111 !important;
}

.about-quote {
    padding: 140px 0px;
    background: #f5f5f5;
}

.about-quote-content {
    text-align: left;
}

/* Small label above CEO quote */
.about-quote-kicker {
    font-family: 'Kanit', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.about-quote-text {
    font-family: Georgia, 'Times New Roman', Times, serif;
    font-style: italic;
    font-weight: 400;
    font-size: 30px;
    line-height: 1.75;
    color: #1a1a1a;
    max-width: 100%;
}

.about-quote-name {
    font-family: 'Kanit', sans-serif;
    font-size: clamp(1.15rem, 2vw, 1.35rem);
    font-weight: 700;
    color: #111;
    margin: 0 0 0.35rem;
    letter-spacing: -0.01em;
}

.about-quote-role {
    font-family: 'Kanit', sans-serif;
    font-size: 0.95rem;
    font-weight: 400;
    color: #8a8a8a;
    margin: 0;
}

/* Vertical portrait, generous corner radius */
.about-quote-photo {
    width: min(100%, 320px);
    max-height: 420px;
    aspect-ratio: 3 / 4;
    border-radius: 24px;
    overflow: hidden;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

@media (min-width: 992px) {
    .about-quote-photo {
        margin-left: auto;
        margin-right: 0;
    }
}

.about-quote-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}



/*
 * No Owl init when everyone fits → never gets .owl-loaded.
 * Owl’s default hides .owl-carousel until loaded — flex layout applies until then and when static.
 */
.about-team .about-team-carousel:not(.owl-loaded) {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
}

.about-team .about-team-carousel:not(.owl-loaded) > .item {
    flex: 0 1 auto;
    width: 100%;
    max-width: 300px;
}

@media (min-width: 576px) {
    .about-team .about-team-carousel:not(.owl-loaded) > .item {
        width: calc(50% - 0.75rem);
        max-width: 300px;
    }
}

@media (min-width: 992px) {
    .about-team .about-team-carousel:not(.owl-loaded) > .item {
        width: calc(33.333% - 1rem);
        max-width: 300px;
    }
}

@media (min-width: 1200px) {
    .about-team .about-team-carousel:not(.owl-loaded) > .item {
        width: calc(25% - 1.125rem);
        max-width: 300px;
    }
}

.about-team .about-team-carousel.owl-loaded {
    display: block !important;
}

/* Owl — space for card lift + global pill dots (styles.css .owl-carousel .owl-dot) */
.about-team-carousel.owl-loaded .owl-stage-outer {
    padding: 12px 0 8px;
}

.about-team .team-card {
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
}

/* Photo frame: square corners except large curve on top-right; dark gradient backdrop */
.about-team .team-img-wrap {
    position: relative;
    height: 320px;
    margin-bottom: 1.35rem;
    border-radius: 0 clamp(40px, 6vw, 72px) 0 0;
    background: linear-gradient(165deg, #454545 0%, #2a2a2a 45%, #171717 100%);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

.about-team .team-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.35) 0%, transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.about-team .team-img-wrap img {
    position: relative;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.about-team .team-name {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.4rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.about-team .team-role {
    font-size: 0.875rem;
    font-weight: 400;
    color: #888;
    margin: 0;
    text-transform: capitalize;
}

.about-page .site-footer.about-footer-mock {
    padding-top: 4.5rem;
}

.about-footer-mock .footer-bottom-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    text-align: left;
}

.about-footer-mock .footer-social-row {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.about-footer-mock .footer-social-row a {
    color: #a0a0a0;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.about-footer-mock .footer-social-row a:hover {
    color: var(--primary-orange);
}

@media (max-width: 991.98px) {
    .about-hero {
        min-height: 500px;
        height: auto;
    }

    .about-hero-inner {
        padding: 100px 0 56px;
    }


    .about-page .value-row,
    .about-page .value-row.reverse {
        flex-direction: column !important;
        align-items: flex-start;
    }

    .about-page .value-media {
        margin-bottom: 1.75rem;
    }

    .qa-media-grid {
        max-width: none;
        margin-bottom: 0;
    }

    .about-quote-photo {
        margin: 2.5rem auto 0;
    }

    .about-quote-content {
        max-width: none;
    }
}

@media (max-width: 767.98px) {
    .about-hero {
        min-height: 500px;
    }

    .about-hero-title {
        font-size: 2.5rem;
    }

    .about-intro .section-title,
    .about-values .section-title,
    .about-service-banner .section-title,
    .about-quote-text {
        max-width: none;
    }

    .qa-media-row--split .qa-media-frame img,
    .qa-media-frame--wide img {
        height: 200px;
    }

    .about-team .team-img-wrap {
        height: 280px;
    }

    .qa-badges {
        gap: 1.25rem;
    }

    .qa-badges img {
        max-height: 72px;
    }
}
.footer-minus-top{
    margin-top: -140px;
}

/* Projects page */
.projects-hero {
    background-image: linear-gradient(rgba(17, 27, 36, 0.66), rgba(17, 27, 36, 0.66)),
        url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?q=80&w=1800&auto=format&fit=crop');
}


.projects-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.projects-gallery-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 14px;
    background: #e8ecef;
    aspect-ratio: 4 / 3;
    height: 100%;
}

.projects-gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.24) 100%);
    opacity: 0;
    transition: opacity 0.24s ease;
}

.projects-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.projects-gallery-item:hover img {
    transform: scale(1.06);
}

.projects-gallery-item:hover::after {
    opacity: 1;
}

.projects-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(7, 11, 17, 0.92);
    z-index: 1060;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
}

.projects-lightbox.is-open {
    display: flex;
}

.projects-lightbox-figure {
    margin: 0;
    max-width: min(1100px, 90vw);
    max-height: 85vh;
    text-align: center;
}

.projects-lightbox-figure img {
    width: auto;
    max-width: 100%;
    max-height: calc(85vh - 36px);
    border-radius: 12px;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.5);
}

.projects-lightbox-figure figcaption {
    margin-top: 0.75rem;
    color: #f0f3f8;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.projects-lightbox-close,
.projects-lightbox-nav {
    position: absolute;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.2s ease;
}

.projects-lightbox-close:hover,
.projects-lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}

.projects-lightbox-close {
    top: 18px;
    right: 18px;
}

.projects-lightbox-prev {
    left: 18px;
}

.projects-lightbox-next {
    right: 18px;
}

@media (max-width: 1199.98px) {
    .projects-gallery-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .projects-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

    .projects-lightbox {
        padding: 24px 12px;
    }

    .projects-lightbox-prev {
        left: 10px;
    }

    .projects-lightbox-next {
        right: 10px;
    }
}