/* =========================================================
   GLOBAL RESETS & COMMON UX FIXES
========================================================= */

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}


/* SCROLLBAR FIX */

 ::-webkit-scrollbar {
    width: 8px;
}

 ::-webkit-scrollbar-track {
    background: #f1f1f1;
}

 ::-webkit-scrollbar-thumb {
    background: #c41e2f;
    border-radius: 10px;
}

 ::-webkit-scrollbar-thumb:hover {
    background: #c41e2f;
}

[data-aos] {
    overflow: hidden;
}

img,
iframe,
video {
    max-width: 100%;
    /* height: 40px; */
    display: block;
}

a {
    text-decoration: none;
}

button,
input,
textarea,
select {
    outline: none;
}

 ::selection {
    background: rgba(32, 51, 107, 0.2);
}


/* =========================================================
   GLOBAL COLOR VARIABLES
========================================================= */

 :root {
    --first: #20336b;
    --second: #ba2028;
    --first-rgb: 32, 51, 107;
    --second-rgb: 186, 32, 40;
    --accent-gold: #c69a45;
    --border-light: #e3e6ed;
    --accent-gold: #c69a45;
    --accent-gold-rgb: 198, 154, 69;
    --navy-soft: #eef1f8;
    --red-soft: #f9e9ea;
    --gold-soft: #faf4e7;
    --text-dark: #202633;
    --text-heading: #18202e;
    --text-muted: #657080;
    --text-light: #7d8795;
    --bg-warm: #faf9f6;
    --bg-light: #f5f6f9;
    --bg-white: #ffffff;
    --shadow-soft: 0 15px 40px rgba(32, 51, 107, .08);
    --shadow-medium: 0 20px 50px rgba(32, 51, 107, .12);
}


/* =========================================================
   TEXT UTILITIES
========================================================= */

.text-first {
    color: var(--first) !important;
}

.text-second {
    color: var(--second) !important;
}

.text-hover-first:hover {
    color: var(--first) !important;
}

.text-hover-second:hover {
    color: var(--second) !important;
}


/* =========================================================
   BACKGROUND UTILITIES
========================================================= */

.bg-first {
    background-color: var(--first) !important;
}

.bg-second {
    background-color: var(--second) !important;
}

.bg-first-soft {
    background-color: rgba(var(--first-rgb), 0.1) !important;
}

.bg-second-soft {
    background-color: rgba(var(--second-rgb), 0.1) !important;
}

.bg-gradient1 {
    background-image: linear-gradient(135deg, var(--first), var(--second)) !important;
}


/* =========================================================
   BORDER UTILITIES
========================================================= */

.border-first {
    border-color: var(--first) !important;
}

.border-second {
    border-color: var(--second) !important;
}


/* =========================================================
   LINK UTILITIES
========================================================= */

.link-first {
    color: var(--first);
}

.link-first:hover {
    color: #fff;
}

.link-second {
    color: var(--second);
}

.link-second:hover {
    color: rgba(var(--second-rgb), 0.85);
}


/* =========================================================
   BUTTON UTILITIES
========================================================= */

.btn-first {
    color: #fff;
    background-color: var(--first);
    border-color: var(--first);
}

.btn-first:hover,
.btn-first:focus {
    background-color: rgba(var(--first-rgb), 0.9);
    border-color: rgba(var(--first-rgb), 0.9);
    color: #fff;
}

.btn-second {
    color: #fff;
    background-color: var(--second);
    border-color: var(--second);
}

.btn-second:hover,
.btn-second:focus {
    background-color: rgba(var(--second-rgb), 0.9);
    border-color: rgba(var(--second-rgb), 0.9);
    color: #fff;
}

.btn-outline-first {
    color: var(--first);
    border-color: var(--first);
    background: transparent;
}

.btn-outline-first:hover {
    background-color: var(--first);
    color: #fff;
}

.btn-outline-second {
    color: var(--second);
    border-color: var(--second);
    background: transparent;
}

.btn-outline-second:hover {
    background-color: var(--second);
    color: #fff;
}


/* =========================================================
   BADGE & ALERTS
========================================================= */

.badge-first {
    background: var(--first);
    color: #fff;
}

.badge-second {
    background: var(--second);
    color: #fff;
}

.alert-first {
    background: rgba(var(--first-rgb), 0.1);
    border: 1px solid rgba(var(--first-rgb), 0.25);
    color: var(--first);
}

.alert-second {
    background: rgba(var(--second-rgb), 0.1);
    border: 1px solid rgba(var(--second-rgb), 0.25);
    color: var(--second);
}


/* =========================================================
   FORM FOCUS
========================================================= */

.form-control:focus {
    box-shadow: none;
}

.form-control-first:focus {
    border-color: var(--first);
    box-shadow: 0 0 0 0.25rem rgba(var(--first-rgb), 0.25);
}

.form-control-second:focus {
    border-color: var(--second);
    box-shadow: 0 0 0 0.25rem rgba(var(--second-rgb), 0.25);
}


/* =========================================================
   SHADOW UTILITIES
========================================================= */

.shadow-first {
    box-shadow: 0 0.5rem 1.5rem rgba(var(--first-rgb), 0.25) !important;
}

.shadow-second {
    box-shadow: 0 0.5rem 1.5rem rgba(var(--second-rgb), 0.25) !important;
}


/* =========================================================
   LARGE SPACING UTILITIES (150px → 1000px)
========================================================= */

.m-150 {
    margin: 150px !important;
}

.m-200 {
    margin: 200px !important;
}

.m-300 {
    margin: 300px !important;
}

.m-400 {
    margin: 400px !important;
}

.m-500 {
    margin: 500px !important;
}

.m-600 {
    margin: 600px !important;
}

.m-800 {
    margin: 800px !important;
}

.m-1000 {
    margin: 1000px !important;
}

.mt-150 {
    margin-top: 150px !important;
}

.mb-150 {
    margin-bottom: 150px !important;
}

.pt-150 {
    padding-top: 150px !important;
}

.pb-150 {
    padding-bottom: 150px !important;
}

.p-150 {
    padding: 150px !important;
}

.p-200 {
    padding: 200px !important;
}

.p-300 {
    padding: 300px !important;
}

.p-400 {
    padding: 400px !important;
}

.p-500 {
    padding: 500px !important;
}

.p-600 {
    padding: 600px !important;
}

.p-800 {
    padding: 800px !important;
}

.p-1000 {
    padding: 1000px !important;
}


/* =========================================================
   RESPONSIVE Heights (BOOTSTRAP BREAKPOINTS)
========================================================= */

.min-h-50 {
    min-height: 50px !important;
}

.min-h-80 {
    min-height: 80px !important;
}

.min-h-100 {
    min-height: 100px !important;
}

.min-vh-70 {
    min-height: 70vh;
}

.min-h-150 {
    min-height: 150px !important;
}

.min-h-120 {
    min-height: 120px !important;
}

.min-h-200 {
    min-height: 200px !important;
}

.min-h-300 {
    min-height: 300px !important;
}

.min-h-400 {
    min-height: 400px !important;
}

.min-h-500 {
    min-height: 500px !important;
}

.min-h-600 {
    min-height: 600px !important;
}

.max-h-50 {
    max-height: 50px !important;
}

.max-h-100 {
    max-height: 100px !important;
}

.max-h-150 {
    max-height: 150px !important;
}

.max-h-200 {
    max-height: 200px !important;
}

.max-h-300 {
    max-height: 300px !important;
}

.max-h-400 {
    max-height: 400px !important;
}

.max-h-500 {
    max-height: 500px !important;
}

.max-h-600 {
    max-height: 600px !important;
}


/* =========================================================
   RESPONSIVE SPACING (BOOTSTRAP BREAKPOINTS)
========================================================= */

@media (min-width: 576px) {
    .pt-sm-300 {
        padding-top: 300px !important;
    }
    .pb-sm-300 {
        padding-bottom: 300px !important;
    }
}

@media (min-width: 768px) {
    .pt-md-400 {
        padding-top: 400px !important;
    }
    .pb-md-400 {
        padding-bottom: 400px !important;
    }
}

@media (min-width: 992px) {
    .pt-lg-600 {
        padding-top: 600px !important;
    }
    .pb-lg-600 {
        padding-bottom: 600px !important;
    }
}

@media (min-width: 1200px) {
    .pt-xl-1000 {
        padding-top: 1000px !important;
    }
    .pb-xl-1000 {
        padding-bottom: 1000px !important;
    }
}


/* =========================================================
   FONT SIZES
========================================================= */

.fs-12 {
    font-size: 12px !important;
}

.fs-14 {
    font-size: 14px !important;
}

.fs-16 {
    font-size: 16px !important;
}

.fs-18 {
    font-size: 18px !important;
}

.fs-20 {
    font-size: 20px !important;
}

.fs-24 {
    font-size: 24px !important;
}


/* =========================================================
   BACKDROPS BLUR
========================================================= */

.backdrop-blur {
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   STICKY HEADER
========================================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1050;
}

body {
    scroll-padding-top: 120px;
}

@media (max-width: 768px) {
    .site-header .bg-first {
        display: none;
    }
}

.navbar-nav .nav-link {
    font-weight: 500;
    color: #000;
}

.nav-link.active {
    color: var(--second);
}

.nav-link:hover {
    color: var(--first);
}

.navbar-nav .nav-link:hover {
    color: var(--first);
}

.btn.rounded-pill {
    padding: 10px 22px;
}


/* .dropdown-menu li a {
    background-color: var(--first);
    color: #fff;
} */

.dropdown-menu li a:hover {
    background-color: var(--second);
    color: #fff;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: -1px;
    min-width: 260px;
    max-height: 500px;
    display: none;
    overflow-y: auto !important;
    overflow-x: hidden;
    /* max-height: 0;
    opacity: 0; */
    transform: translateY(10px);
    transition: max-height 0.35s ease, opacity 0.25s ease, transform 0.25s ease;
}

.dropdown-submenu.show>.dropdown-menu {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    display: block;
}


/* SCROLLBAR STYLING */

.dropdown-submenu>.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-submenu>.dropdown-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.dropdown-submenu>.dropdown-menu::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.dropdown-submenu>.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #999;
}

.custom-dropdown-item {
    margin: 0px;
    padding: 4px 15px !important;
}


/* .submenu-toggle::after {
    content: "›";
    float: right;
    font-size: 14px;
    color: #666;
} */

.submenu-toggle {
    cursor: pointer;
}

.submenu-toggle:hover {
    background-color: var(--second);
    color: #fff;
}

.dropdown-submenu>.dropdown-menu.show {
    display: block;
}

.dropdown-submenu.show>.submenu-toggle::after {
    transform: rotate(90deg);
    transition: 0.2s ease;
}


/* .mobile-submenu,
.mobile-submenu-inner {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.mobile-submenu.show,
.mobile-submenu-inner.show {
    max-height: 500px;
} */

.mobile-submenu {
    display: none;
    padding-left: 15px;
}

.mobile-toggle {
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    padding: 10px 0;
}

.mobile-submenu.show {
    display: block;
}

.rotate {
    transform: rotate(180deg);
    transition: 0.3s ease;
}

@media (max-width: 768px) {
    .dropdown-submenu>.dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        margin-left: 0;
        max-width: 100%;
    }
}


/* =========================================================
   HERO CAROUSEL STYLES
========================================================= */

.hero-carousel .carousel-item {
    height: 80vh;
    min-height: 640px;
}

.hero-carousel img {
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 35%, rgba(0, 0, 0, 0.25));
    z-index: 1;
}

.hero-carousel .carousel-caption {
    position: absolute;
    left: 8%;
    right: auto;
    bottom: 20%;
    z-index: 2;
    max-width: 650px;
}

.carousel-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 1024px) {
    .hero-carousel .carousel-item {
        height: 80vh;
        max-height: 720px;
    }
}

@media (max-width: 768px) {
    .hero-carousel .carousel-item {
        height: 70vh;
        max-height: 540px;
    }
    .hero-carousel .carousel-caption {
        left: 5%;
        right: 5%;
        bottom: 15%;
    }
    .hero-carousel h1 {
        font-size: 1.8rem;
    }
}

.hero-title span,
.hero-subtitle span {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px);
    animation: textReveal 0.6s forwards;
}

@keyframes textReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.carousel-control-next,
.carousel-control-prev {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}


/* =========================================================
   SYSTEM GRID SECTION
========================================================= */

.systems-grid-section {
    background: #fff;
}

.system-grid-card {
    background: #fff;
    /* background: #f5f7fa; */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.system-grid-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.system-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
}

.system-content {
    padding: 25px;
}

.system-content h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.system-content p {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.system-tags {
    margin-bottom: 15px;
}

.system-tags span {
    display: inline-block;
    background: #eef1f5;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    margin-right: 8px;
    margin-bottom: 8px;
}

.system-link {
    font-weight: 500;
    text-decoration: none;
    color: var(--first);
}

.system-link:hover {
    color: var(--second);
}


/* =========================================================
   NDT COUNTER SECTION
========================================================= */

.ndt-counter-section {
    background: #f4f6f8;
}

.counter-box {
    padding: 20px;
}

.counter-top {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 10px;
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--first);
}

.counter-text {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}


/* =========================================================
   GLOBAL REACH SECTION
========================================================= */

.global-reach-section {
    background: #F9FAFE;
}

.global-reach-section h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c2c2c;
}

.global-reach-section p {
    font-size: 0.95rem;
    line-height: 1.6;
}


/* ==========================================
   INDUSTRIES SERVED SECTION
========================================== */

.industries-served {
    background-color: #ffffff;
}

.section-tag {
    background-color: rgba(255, 255, 255, 0.6);
    color: #dc3545;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 6px 15px;
    border-radius: 12px;
}

.section-title {
    font-weight: 700;
    font-size: 42px;
    color: #0f172a;
    margin-top: 10px;
}

.section-desc {
    color: #64748b;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.section-desc h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--first);
}


/* Card */

.industry-card {
    position: relative;
    height: 320px;
    overflow: hidden;
    border-radius: 24px;
    cursor: pointer;
}

.industry-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s ease;
}

.industry-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, .90) 0%, rgba(0, 0, 0, .45) 45%, rgba(0, 0, 0, .15) 100%);
    transition: .5s;
}

.industry-content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 32px;
    color: #fff;
    z-index: 2;
}

.industry-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
    transition: .5s;
}

.industry-icon i {
    font-size: 30px;
    color: #fff;
}

.industry-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 0;
    transition: .5s;
}

.industry-details {
    opacity: 0;
    transform: translateY(35px);
    max-height: 0;
    overflow: hidden;
    transition: all .45s ease;
}

.industry-desc {
    margin-top: 18px;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .88);
    line-height: 1.8;
}

.industry-link {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.industry-arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--second);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .3s;
}

.industry-card:hover .industry-image {
    transform: scale(1.08);
}

.industry-card:hover .industry-overlay {
    background: linear-gradient( to top, rgba(0, 0, 0, .96) 0%, rgba(0, 0, 0, .70) 45%, rgba(0, 0, 0, .25) 100%);
}

.industry-card:hover .industry-details {
    opacity: 1;
    transform: translateY(0);
    max-height: 220px;
    color: #f9f9f9;
}

.industry-card:hover .industry-icon {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, .18);
}

.industry-card:hover .industry-arrow {
    transform: translateX(5px);
}


/* ==========================================
   WHY CHOOSE US SECTION
========================================== */

.why-choose-us {
    background-color: var(--first);
}

.choose-us-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    padding: 30px;
}

.choose-us-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/* Icon Box */

.choose-us-icon {
    width: 50px;
    height: 50px;
    background: var(--second);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    margin-bottom: 20px;
}

.choose-us-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}


/* Title */

.choose-us-title {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
}


/* Description */

.choose-us-desc {
    color: #dddddd;
    font-size: 14px;
    line-height: 1.5;
}


/* ===============================
   ACCREDITATIONS SECTION
================================= */

.accreditations {
    background: #f3f4f6;
}

.accreditations .section-tag {
    color: var(--second);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
}

.accreditations .section-title {
    color: var(--first);
    font-weight: 700;
    font-size: 42px;
}

.accreditations .section-desc {
    color: #6c757d;
    max-width: 750px;
    margin: 0 auto;
    font-size: 17px;
}

.accreditation-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 25px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
    height: 100%;
}

.accreditation-card:hover {
    transform: translateY(-5px);
}

.accreditation-icon {
    width: 75px;
    height: 75px;
    background: #eef1f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.accreditation-icon i {
    font-size: 28px;
    color: var(--first);
}

.common-icon {
    width: 50px;
    height: 50px;
    background: #eef1f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.common-icon i {
    font-size: 28px;
    color: var(--first);
}

.common-icon:hover {
    background: var(--first);
}

.common-card {
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all .3s ease;
    min-height: 200px;
}

.common-card:hover {
    color: #fff;
    background-color: var(--first);
    transform: translateY(-6px);
}

.common-title {
    font-size: 18px;
    color: var(--first);
}

.common-card:hover .common-title {
    color: #fff;
}

.common-card:hover .common-desc {
    color: #fff;
}

.common-card:hover .common-icon {
    background: rgba(255, 255, 255, 0.2);
}

.common-card:hover .common-icon i {
    color: #fff;
}

.common-desc {
    color: #64748b;
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.accreditation-label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--second);
    margin-bottom: 5px;
}

.accreditation-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--first);
    margin-bottom: 12px;
}

.accreditation-text {
    font-size: 15px;
    color: #6c757d;
    line-height: 1.6;
}


/* ===============================
   CLIENT SUCCESS SECTION
================================= */

.client-success {
    background: #ffffff;
}

.client-success .section-tag {
    color: var(--second);
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 600;
}

.client-success .section-title {
    color: var(--first);
    font-weight: 700;
    font-size: 42px;
}

.client-success .section-desc {
    color: #6c757d;
    max-width: 750px;
    margin: 0 auto;
    font-size: 17px;
}

.testimonial-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 35px 30px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-quote {
    font-size: 45px;
    color: rgba(var(--second-rgb), 0.4);
    line-height: 1;
}

.testimonial-stars {
    color: var(--second);
    margin: 10px 0 20px;
}

.testimonial-stars i {
    margin-right: 3px;
}

.testimonial-text {
    font-style: italic;
    color: #374151;
    line-height: 1.8;
    font-size: 16px;
}

.testimonial-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 25px 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--first);
    font-size: 16px;
}

.testimonial-position {
    font-size: 14px;
    color: #6c757d;
}

.testimonial-company {
    font-size: 14px;
    color: var(--second);
    font-weight: 500;
}


/* New code */

.testimonial-carousel .item {
    height: 100%;
    padding: 10px;
}

.testimonial-card {
    position: relative;
    background: #fff;
    border-radius: 20px;
    padding: 40px 30px;
    height: 100%;
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
}

.testimonial-quote {
    font-size: 70px;
    line-height: 1;
    color: var(--bs-primary);
    opacity: 0.15;
    position: absolute;
    top: 20px;
    right: 25px;
    font-weight: 700;
}

.testimonial-stars {
    color: #ffc107;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.8;
    color: #6c757d;
    margin-bottom: 25px;
}

.testimonial-divider {
    width: 60px;
    height: 2px;
    background: var(--bs-primary);
    margin-bottom: 20px;
}

.testimonial-name {
    font-size: 18px;
    font-weight: 700;
    color: #212529;
}

.testimonial-position {
    font-size: 14px;
    color: #6c757d;
}

.testimonial-company {
    font-size: 14px;
    font-weight: 600;
    color: var(--bs-primary);
    margin-top: 4px;
}

.testimonial-carousel .owl-dots {
    margin-top: 30px;
    text-align: center;
}

.testimonial-carousel .owl-dot span {
    width: 10px;
    height: 10px;
    margin: 5px;
    background: #d6d6d6;
    display: block;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonial-carousel .owl-dot.active span {
    width: 28px;
    border-radius: 30px;
    background: var(--bs-primary);
}


/* ======================================
   FOOTER SECTION
====================================== */

.footer-section {
    background: var(--first);
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
}


/* Newsletter */

.footer-newsletter {
    padding: 50px 0 30px;
}

.newsletter-title {
    font-weight: 600;
    color: #fff;
}

.newsletter-sub {
    font-size: 14px;
    opacity: 0.8;
}

.newsletter-form {
    margin-left: auto;
}

.newsletter-form input {
    border-radius: 6px 0 0 6px;
    border: none;
    padding: 10px 15px;
}

.newsletter-form button {
    border-radius: 0 6px 6px 0;
}

.newsletter-note {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.6;
}

.footer-divider-line {
    height: 2px;
    background: var(--second);
    margin: 0px 0 40px;
}

.footer-main {
    padding-bottom: 20px;
}

.footer-title {
    color: #fff;
    font-weight: 600;
    margin-bottom: 15px;
}

.footer-text {
    line-height: 1.7;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin: 10px;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #fff;
    padding-left: 4px;
}

.footer-contact li {
    margin-bottom: 10px;
    opacity: 0.8;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 0;
    font-size: 13px;
}

.footer-policy {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.footer-policy:hover {
    color: #fff;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    margin-left: 12px;
    font-size: 16px;
    transition: 0.3s;
}

.footer-social a:hover {
    color: var(--second);
}


/* ==========================================
   BACK TO TOP BUTTON
========================================== */

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: none;
    z-index: 9999;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 18px;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.3s ease;
}

.back-to-top:hover {
    transform: translateY(-3px);
}


/* ==========================================
   INNER PAGE HEADER
========================================== */

.page-header {
    padding: 10px 0px;
    /* background: linear-gradient(rgba(13, 40, 80, 0.5), rgba(13, 40, 80, 0.5)), url("../images/inner-banner.png") center/cover no-repeat; */
    background-attachment: fixed;
    color: #fff;
    overflow: hidden;
}

.page-header .page-title {
    font-size: 3.2rem;
    font-weight: 700;
    color: #fff;
}


/* ---------- Breadcrumb ---------- */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: .15rem;
    background: transparent;
    margin: 0;
    padding: 0;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, .75);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: "/";
    color: rgba(255, 255, 255, .45);
    padding: 0 .6rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    transition: .3s;
}

.breadcrumb-item a:hover {
    color: var(--second);
}

.breadcrumb-item.active {
    color: #fff;
    font-weight: 500;
}

@media (max-width: 768px) {
    .page-header {
        padding: 70px 0 40px;
        text-align: center;
    }
    .page-title {
        font-size: 1.8rem;
    }
    .page-title::after {
        margin-left: auto;
        margin-right: auto;
    }
}


/* ==========================================
   PROJECTS SECTION
========================================== */

.project-card {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    transition: 0.3s;
    border-left: 4px solid #fff;
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    background: var(--first);
    border-left: 4px solid var(--second);
    color: #fff;
}

.project-sector {
    font-size: 12px;
    color: var(--second);
    font-weight: 600;
    margin-bottom: 10px;
}

.project-title {
    font-size: 18px;
    font-weight: 600;
}

.project-tags span {
    background: #eef1f5;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
}

.project-card:hover .project-tags span {
    background: rgba(255, 255, 255, 0.1);
}


/* =========================================================
   Application section
========================================================= */

.application-card {
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.application-card:hover {
    background: var(--first);
    color: #fff;
    transform: translateY(-5px);
}

.application-card:hover h6 {
    color: #fff;
}


/*==========================================================
   industries SECTION=================================*/

.industries-card {
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.industries-card:hover {
    background: var(--second);
    color: #fff;
    transform: translateY(-5px);
}

.industries-card:hover h6 {
    color: #fff;
}


/*==========================================================
   Consultancy SECTION
========================================================== */

.consultancy-card {
    border-radius: 10px;
    transition: 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.consultancy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/*==========================================================
   WHO WE ARE SECTION
========================================================== */

.who-we-are {
    background-color: var(--first);
}

.who-title {
    color: #fff;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 42px;
}


/* Description */

.who-desc {
    color: #dddddd;
    font-size: 16px;
    line-height: 1.6;
}

.who-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
    padding: 30px;
    color: #fff;
}

.who-card:hover {
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}


/*============================================================
   Conventional Ndt page 
============================================================ */

.inner-hero-section {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/convetional-ndt-background.jpg') center/cover no-repeat;
}

.whoweare-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about/whoweare-banner.png') center/cover no-repeat;
}

.ourteam-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/about/ourteam-banner.png') center/cover no-repeat;
}

.applications-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/application-banner.png') center/cover no-repeat;
}

.consultancy-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/consultancy-banner.png') center/cover no-repeat;
}

.resources-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/resources-banner.png') center/cover no-repeat;
}

.inspections-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/inspections-banner.png') center/cover no-repeat;
}


/* Technique Cards */


/* .technique-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s;
}

.technique-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
} */

.tech-link {
    font-weight: 600;
    color: var(--first);
}

.tech-link:hover {
    color: var(--second);
}

.counter-box span {
    font-size: 45px;
    font-weight: 600;
    color: var(--first);
    margin-left: 2px;
}

.counter-number-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.plus {
    font-size: 3rem;
    margin-left: 4px;
    color: var(--first);
    font-weight: 600;
}

.client-logo {
    max-height: 90px;
    object-fit: contain;
    transition: 0.3s ease;
}

.client-logo:hover {
    transform: scale(1.05);
}


/* POLICY PAGE */

.policy-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: 0.3s ease;
}

.policy-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.policy-title {
    font-weight: 600;
    margin-bottom: 10px;
}

.policy-heading {
    font-weight: 700;
    margin: 10px 0;
}


/* Sidebar full blue */

.sidebar-box {
    background: var(--first);
    border: none;
    border-radius: 10px;
    padding: 30px;
}


/* Links */

.sidebar-link {
    color: #fff;
    transition: all 0.25s ease;
}


/* Hover */

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.1);
    padding-left: 18px;
}


/* Active (selected) = RED */

.sidebar-link.active {
    background: var(--second);
    color: #fff;
    font-weight: 500;
}


/* =========================
   INDUSTRY BADGES
========================= */

.industry-badge {
    display: inline-block;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #333;
    transition: all 0.3s ease;
    cursor: default;
}


/* Hover Effect */

.industry-badge:hover {
    background: var(--first);
    color: #fff;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


/* Subtle stagger effect (optional premium touch) */

.industry-badge:nth-child(odd):hover {
    transform: translateY(-6px) scale(1.05);
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.reveal.show {
    opacity: 1;
    transform: translateY(0);
}

.svg-line {
    stroke-dasharray: 400;
    stroke-dashoffset: 400;
    transition: stroke-dashoffset 1.5s ease;
}

.svg-line.animate {
    stroke-dashoffset: 0;
}


/* ==========================================
   MAP WRAPPER
========================================== */

.map-wrapper {
    margin-top: 40px;
    position: relative;
    width: 100%;
    max-width: 100%;
}

.world-svg {
    width: 100%;
    height: auto;
    display: block;
}


/* ==========================================
   LOCATION PIN
========================================== */

.map-marker {
    position: absolute;
    transform: translate(-50%, -100%);
    cursor: pointer;
    z-index: 2;
}

.map-marker i {
    font-size: 22px;
    color: var(--second);
    animation: float 2.5s ease-in-out infinite;
    position: relative;
    z-index: 2;
}

.map-marker::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(var(--second-rgb), 0.25);
    border-radius: 50%;
    left: 50%;
    top: 70%;
    transform: translate(-50%, -50%);
    animation: pulse 2.5s infinite;
    z-index: -1;
}


/* ==========================================
   FLOATING ANIMATION
========================================== */

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}


/* ==========================================
   PULSE ANIMATION
========================================== */

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.6);
        opacity: 0.8;
    }
    70% {
        transform: translate(-50%, -50%) scale(1.6);
        opacity: 0;
    }
    100% {
        opacity: 0;
    }
}


/* ==========================================
   LABEL STYLING
========================================== */

.marker-label {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: var(--second);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 20px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    opacity: 1;
    transition: all 0.3s ease;
}

.map-marker:hover .marker-label {
    opacity: 1;
    bottom: 50px;
}


/* ==========================================
   RESPONSIVE FIX
========================================== */

@media (max-width: 992px) {
    .map-wrapper img {
        width: 100% !important;
    }
}

.industry-block {
    border-bottom: 1px solid #eee;
    padding-bottom: 30px;
}

.industry-block:last-child {
    border-bottom: none;
}

.tech-sidebar {
    position: sticky;
    top: 120px;
}


/* =====================================================
   INDUSTRY CONTENT ACCORDION
===================================================== */

.challenge-content,
.solutions-content,
.consultancy-delivery-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
}


/* Accordion Item */

.industry-accordion-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: 0.3s ease;
}

.challenge-content .industry-accordion-item {
    border-left: 4px solid var(--second);
}

.solutions-content .industry-accordion-item,
.consultancy-delivery-content .industry-accordion-item {
    border-left: 4px solid var(--first);
}

.industry-static-title {
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 18px 20px;
    transition: 0.3s ease;
}


/* Accordion Heading */

.industry-accordion-title {
    position: relative;
    font-size: 18px;
    font-weight: 500;
    margin: 0;
    padding: 18px 55px 18px 20px;
    cursor: pointer;
    transition: 0.3s ease;
}


/* Challenge title */

.challenge-content .industry-accordion-title {
    color: var(--second);
}


/* Solution title */

.solutions-content .industry-accordion-title,
.consultancy-delivery-content .industry-accordion-title {
    color: var(--first);
}


/* Arrow */

.industry-accordion-title::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 13px;
    transition: transform 0.3s ease;
}


/* Open state */

.industry-accordion-item.active .industry-accordion-title::after {
    transform: translateY(-50%) rotate(180deg);
}


/* Content */

.industry-accordion-body {
    display: none;
    padding: 0 20px 18px 20px;
}

.industry-accordion-body p {
    margin: 0;
    color: #666;
    line-height: 1.7;
}


/* Active */

.industry-accordion-item.active {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* Hover */

.industry-accordion-item:hover {
    transform: translateY(-2px);
}

.applications-content {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 24px;
    background: rgba(var(--first-rgb), 0.05);
    border: 1px solid rgba(var(--first-rgb), 0.12);
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(32, 51, 107, 0.06);
}

.applications-content ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    max-width: 600px;
}

.applications-content li {
    background: #fff;
    padding: 12px 20px;
    border-radius: 999px;
    border: 1px solid rgba(32, 51, 107, 0.1);
    font-size: 14px;
    font-weight: 600;
    color: var(--first);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
    box-shadow: 0 10px 25px rgba(32, 51, 107, 0.06);
}

.applications-content li:hover {
    background: var(--first);
    border-color: transparent;
    color: #fff;
    transform: translateY(-4px);
}

.applications-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.9;
    color: #4a5568;
}

.applications-content p strong,
.applications-content p b {
    color: var(--first);
}

@media (max-width: 768px) {
    .applications-content {
        padding: 20px;
        gap: 12px;
        box-shadow: none;
    }
}

#overview,
#challenges,
#solutions,
#applications {
    scroll-margin-top: 120px;
}

.subtopic-card {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #eee;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    transition: 0.3s ease;
}

.subtopic-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.subtopic-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--first);
    margin-bottom: 20px;
}

.subtopic-card p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MAIN NAV DROPDOWN
========================================================= */

.navbar .custom-main-dropdown {
    min-width: 320px;
    max-width: 480px;
    max-height: 70vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 8px 0;
    background: #fff;
    border: 1px solid #e3e6ea;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* ==========================================
   DROPDOWN SCROLLBAR
========================================== */

.navbar .custom-main-dropdown::-webkit-scrollbar {
    width: 6px;
}

.navbar .custom-main-dropdown::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.navbar .custom-main-dropdown::-webkit-scrollbar-thumb {
    background: var(--first);
    border-radius: 10px;
}

.navbar .custom-main-dropdown::-webkit-scrollbar-thumb:hover {
    background: var(--second);
}


/* Firefox */

.navbar .custom-main-dropdown {
    scrollbar-width: thin;
    scrollbar-color: var(--first) #f1f1f1;
}

.dropdown-toggle::after {
    display: none !important;
}

@media (min-width: 992px) {
    .dropdown-toggle::after {
        display: none;
    }
    .navbar .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: .25s ease;
        pointer-events: none;
    }
    .navbar .dropdown:hover>.dropdown-menu {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }
    .nav-dropdown-trigger .nav-chevron {
        margin-left: 6px;
        font-size: 12px;
        transition: transform .3s ease;
        display: inline-block;
        /* Required for transform */
    }
    .navbar .dropdown:hover .nav-dropdown-trigger .nav-chevron {
        transform: rotate(180deg);
    }
}


/* =========================================================
   NORMAL DROPDOWN ITEM
========================================================= */

.navbar .custom-main-dropdown>li>.dropdown-item {
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    white-space: normal;
    transition: 0.2s ease;
}

.navbar .custom-main-dropdown>li>.dropdown-item:hover {
    background: #f5f6f8;
    color: var(--second);
}


/* =========================================================
   ACCORDION ITEM
========================================================= */

.menu-accordion-item {
    width: 100%;
}


/* =========================================================
   ACCORDION HEADER
========================================================= */

.menu-accordion-header {
    display: flex;
    align-items: stretch;
    width: 100%;
}


/* Parent text */

.navbar .nav-link.active,
.navbar .nav-link:hover {
    color: var(--second);
    font-weight: 600;
}

.nav-item.active-menu>.nav-link {
    color: var(--second);
    font-weight: 600;
}

.dropdown-item.active {
    color: var(--second);
    font-weight: 600;
    background: rgba(13, 110, 253, .08);
}

.menu-accordion-header .menu-parent-link {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 10px 20px;
    font-size: 16px;
    color: #333;
    white-space: normal;
    cursor: pointer;
    margin: 0;
    transition: 0.2s ease;
}

.menu-accordion-header .menu-parent-link:hover {
    background: #f5f6f8;
    color: var(--second);
}


/* =========================================================
   TOGGLE BUTTON
========================================================= */

.menu-accordion-toggle {
    flex: 0 0 52px;
    width: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--first);
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.menu-accordion-toggle:hover {
    background: var(--second);
    color: #fff;
}


/* Arrow animation */

.menu-accordion-toggle i {
    transition: transform 0.25s ease;
}


/* Open arrow */

.menu-accordion-item.open .menu-accordion-toggle i {
    transform: rotate(90deg);
}


/* =========================================================
   INTERNAL MENU
========================================================= */

.menu-accordion-content {
    display: none;
    list-style: none;
    padding: 5px 0;
    margin: 0;
    background: #f6f7f9;
    border-top: 1px solid #eceff2;
}


/* OPEN */

.menu-accordion-item.open>.menu-accordion-content {
    display: block;
}


/* Internal links */

.menu-accordion-content .dropdown-item {
    padding: 9px 20px 9px 38px;
    font-size: 15px;
    color: #555;
    white-space: normal;
    border-left: 3px solid transparent;
    transition: 0.2s ease;
}

.menu-accordion-content .dropdown-item:hover {
    background: #eceff3;
    color: var(--second);
    border-left-color: var(--second);
    padding-left: 42px;
}

.coming-soon-box {
    background: #fff;
    border-radius: 20px;
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.coming-icon {
    width: 100px;
    height: 100px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    background: rgba(var(--first-rgb), 0.08);
    color: var(--first);
}

.update-card {
    background: #f8f9fa;
    border-radius: 16px;
    padding: 30px;
    height: 100%;
    transition: 0.3s ease;
}

.update-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.update-card-icon {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    background: var(--first);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 20px;
}

.update-card h5 {
    font-weight: 700;
    margin-bottom: 15px;
}

.update-card p {
    color: #6c757d;
    margin-bottom: 0;
    line-height: 1.7;
}

.min-vh-75 {
    min-height: 75vh;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    pointer-events: none;
}

.hero-title {
    line-height: 1.1;
}

.small-title {
    font-size: 13px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--second);
    font-weight: 600;
}

.section-title {
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
}


/* .applications-hero,
    .consultancy-hero,
    .inspection-hero {
        background: var(--first);
    } */

.hero-stat-card,
.why-card,
.pillar-box,
.inspection-technique-card,
.application-panel,
.consultancy-service-card {
    transition: 0.3s ease;
}

.hero-stat-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.hero-stat-card h2 {
    font-size: 24px;
    font-weight: 600;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.capability-item {
    background: var(--first);
    color: #fff;
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    font-weight: 600;
}

.application-panel {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.application-column {
    display: flex;
    justify-content: center;
}

.application-column .application-panel {
    width: 100%;
    max-width: 580px;
}

.application-panel:hover,
.consultancy-service-card:hover,
.inspection-technique-card:hover {
    transform: translateY(-8px);
}


/*     
    .application-panel-inner {
        padding: 35px;
        display: flex;
        justify-content: space-between;
        gap: 20px;
        height: 100%;
    }
     */


/* .application-panel h3 {
        font-size: 24px;
    } */

.consultancy-service-card h4,
.inspection-technique-card h4 {
    color: #111;
    font-weight: 500;
    margin: 18px 0;
}

.application-panel p,
.consultancy-service-card p,
.inspection-technique-card p,
.why-card p,
.pillar-box p {
    color: #000;
    line-height: 1.8;
}

.pillar-box h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
}

.application-arrow {
    font-size: 40px;
    color: var(--second);
}

.why-card,
.pillar-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 20px;
    height: 100%;
}

.consultancy-service-card {
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    height: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.service-number {
    font-size: 58px;
    font-weight: 700;
    opacity: 0.1;
}

.consultancy-highlight-box {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item {
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.highlight-item:last-child {
    border-bottom: none;
}

.highlight-item span {
    font-size: 14px;
    opacity: 0.5;
}

.inspection-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.inspection-box {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    font-weight: 700;
}

.large-box {
    min-height: 180px;
}

.wide-box {
    grid-column: span 2;
}

.inspection-technique-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.inspection-technique-inner {
    padding: 35px;
}

.tech-category,
.application-label {
    display: inline-flex;
    background: rgba(var(--second-rgb), 0.1);
    color: var(--second);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.technique-image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}


/* .application-image-wrapper {
        position: relative;
        overflow: hidden;
        border-top-left-radius: 12px;
        border-top-right-radius: 12px;
    } */


/* .application-overlay {
        position: absolute;
        inset: 0;
        background: rgba(var(--first-rgb), 0.75);
        display: flex;
        justify-content: center;
        align-items: center;
        opacity: 0;
        transition: all 0.4s ease;
        text-decoration: none;
        cursor: pointer;
    } */


/* .application-overlay i {
        color: #fff;
        font-size: 22px;
        background: rgba(255, 255, 255, 0.2);
        padding: 14px;
        border-radius: 50%;
        transform: scale(0.8);
        transition: all 0.4s ease;
    }
    
    .applications-card:hover .application-overlay {
        opacity: 1;
    }
    
    .applications-card:hover .application-overlay i {
        transform: scale(1);
    }
    
    .applications-card:hover img {
        transform: scale(1.05);
    } */

.technique-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--second-rgb), 0.75);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
    text-decoration: none;
    cursor: pointer;
}

.technique-overlay i {
    color: #fff;
    font-size: 22px;
    background: rgba(255, 255, 255, 0.2);
    padding: 14px;
    border-radius: 50%;
    transform: scale(0.8);
    transition: all 0.4s ease;
}

.technique-card:hover .technique-overlay {
    opacity: 1;
}

.technique-card:hover .technique-overlay i {
    transform: scale(1);
}

.technique-card:hover img {
    transform: scale(1.05);
}

.technique-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.technique-card-body {
    padding: 20px;
}

.technique-card h5 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.technique-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.technique-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.technique-card:hover a {
    color: var(--second);
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.process-step {
    background: rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
}

.process-step span {
    display: block;
    font-size: 42px;
    font-weight: 700;
    opacity: 0.2;
    margin-bottom: 15px;
}

@media(max-width:991px) {
    .section-title {
        font-size: 32px;
    }
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:767px) {
    .process-flow,
    .capability-grid,
    .inspection-hero-grid {
        grid-template-columns: 1fr;
    }
    .wide-box {
        grid-column: span 1;
    }
}

.common-bg {
    background-color: var(--first);
}


/* =========================================================
   LOADER STYLES
========================================================= */

html.skip-loader #loader {
    display: none !important;
}

#loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(var(--first-rgb), 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 24px;
}

.ldr-logo {
    font-family: 'Oswald', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #ffffff;
    overflow: hidden;
}

.ldr-logo-inner {
    transform: translateY(105%);
    display: block;
}

.ldr-bar {
    width: 220px;
    height: 1px;
    background: var(--second);
    overflow: hidden;
}

.ldr-bar-fill {
    height: 100%;
    background: #f9f9f9;
    width: 0%;
}

.ldr-sub {
    font-size: 9px;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
}

.ldr-sub::before,
.ldr-sub::after {
    content: '';
    width: 16px;
    height: 1px;
    background: var(--first);
}


/* ======================================
   ANIMATION CARDS
====================================== */

.system-grid-card,
.industry-card,
.choose-us-card,
.accreditation-card,
.application-card,
.consultancy-card,
.project-card,
.location-card,
.who-card,
.policy-card,
.technique-card {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.3s ease;
}

.hero-title {
    opacity: 0;
    transform: translateY(20px);
}

.section-title {
    opacity: 0;
    transform: translateY(50px);
    will-change: transform, opacity;
}

.marquee-row-wrapper {
    position: relative;
    margin-bottom: 1.25rem;
    overflow: hidden;
}

.marquee-row-wrapper:last-child {
    margin-bottom: 0;
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    width: max-content;
    padding: 0.25rem 0;
}

.client-logo-card {
    flex: 0 0 auto;
    width: 200px;
    height: 150px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
}

.client-logo-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.client-logo-card img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.65;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.client-logo-card:hover img {
    filter: grayscale(0%);
    opacity: 1;
}


/* Gradient fade edges */

.marquee-fade-left,
.marquee-fade-right {
    position: absolute;
    top: 0;
    height: 100%;
    width: 140px;
    pointer-events: none;
    z-index: 2;
}

.marquee-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, transparent 100%);
}

.marquee-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, transparent 100%);
}


/* =========================================================
   DYNAMIC HOMEPAGE SECTION THEME
========================================================= */

.home-section-light {
    background-color: #ffffff !important;
    color: #0f172a;
}

.home-section-light .section-title {
    color: #0f172a !important;
}

.home-section-light .section-desc,
.home-section-light .who-desc {
    color: #64748b !important;
}


/* DARK */

.home-section-dark {
    background-color: var(--first) !important;
    color: #ffffff;
}

.home-section-dark .section-title,
.home-section-dark .who-title {
    color: #ffffff !important;
}

.home-section-dark .section-desc,
.home-section-dark .who-desc {
    color: rgba(255, 255, 255, 0.75) !important;
}

.home-section-dark .section-tag {
    color: var(--second) !important;
    background-color: rgba(255, 255, 255, 0.6);
    padding: 6px 15px;
    border-radius: 12px;
}


/* Buttons on dark background */

.home-section-dark .btn-outline-first,
.home-section-dark .btn-outline-dark {
    color: #ffffff;
    border-color: #ffffff;
}

.home-section-dark .btn-outline-first:hover,
.home-section-dark .btn-outline-dark:hover {
    background: #ffffff;
    color: var(--first);
    border-color: #ffffff;
}


/* =========================================================
   HOMEPAGE LIGHT THEME - CARD STYLING
========================================================= */

.home-section-light .who-card,
.home-section-light .choose-us-card,
.home-section-light .accreditation-card,
.home-section-light .system-grid-card,
.home-section-light .application-card,
.home-section-light .consultancy-card,
.home-section-light .project-card,
.home-section-light .location-card,
.home-section-light .testimonial-card {
    background: #f6f7f9 !important;
    border: 1px solid #e8ebef !important;
    box-shadow: none;
    color: var(--first);
}


/* Card headings */

.home-section-light .who-card h3,
.home-section-light .who-card p,
.home-section-light .choose-us-title,
.home-section-light .accreditation-title,
.home-section-light .system-grid-card h5,
.home-section-light .application-card h6,
.home-section-light .consultancy-card h5,
.home-section-light .project-title,
.home-section-light .location-card h6,
.home-section-light .testimonial-name {
    color: var(--first) !important;
}


/* Card descriptions */

.home-section-light .who-card .who-desc,
.home-section-light .choose-us-desc,
.home-section-light .accreditation-text,
.home-section-light .system-content p,
.home-section-light .consultancy-card .section-desc,
.home-section-light .project-desc,
.home-section-light .testimonial-text {
    color: #64748b !important;
}

.home-section-dark .choose-us-card,
.home-section-dark .accreditation-card,
.home-section-dark .system-grid-card,
.home-section-dark .application-card,
.home-section-dark .consultancy-card,
.home-section-dark .project-card,
.home-section-dark .location-card,
.home-section-dark .testimonial-card {
    background: #d1d4d7 !important;
    border: 1px solid #e8ebef !important;
    box-shadow: none;
    color: var(--first)!important;
}

.home-section-dark .choose-us-title,
.home-section-dark .accreditation-title,
.home-section-dark .system-grid-card h5,
.home-section-dark .industry-title,
.home-section-dark .application-card h6,
.home-section-dark .consultancy-card h5,
.home-section-dark .project-title,
.home-section-dark .location-card h6,
.home-section-dark .testimonial-name {
    color: var(--first) !important;
}

.home-section-dark .who-card .who-desc,
.home-section-dark .choose-us-desc,
.home-section-dark .accreditation-text,
.home-section-dark .system-content p,
.home-section-dark .industry-desc,
.home-section-dark .consultancy-card .section-desc,
.home-section-dark .project-desc,
.home-section-dark .testimonial-text {
    color: var(--first) !important;
}

.home-section-dark .industry-card:hover,
.home-section-dark .industry-card:hover * {
    color: var(--first)!important;
}


/* =========================================================
   RESOURCE CATEGORY CARD
========================================================= */

.resource-category-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.resource-category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.resource-category-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: rgba(0, 80, 140, 0.08);
    color: var(--first);
    font-size: 25px;
}

.resource-category-link {
    color: var(--first);
    font-weight: 600;
}


/* =========================================================
   RESOURCE CARD
========================================================= */

.resource-card {
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
}

.resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.resource-image-wrapper {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f3f5;
}

.resource-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.resource-card:hover .resource-image-wrapper img {
    transform: scale(1.05);
}

.resource-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 45px;
}

.resource-category-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--second);
}

.resource-read-more {
    color: var(--first);
    font-weight: 600;
}


/* =========================================================
   RESOURCE DETAILS
========================================================= */

.resource-detail-image {
    width: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.resource-detail-image img {
    width: 100%;
    max-height: 550px;
    object-fit: cover;
}

.resource-description {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.resource-document-card {
    display: block;
    padding: 18px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    color: inherit;
    transition: all 0.3s ease;
}

.resource-document-card:hover {
    border-color: var(--first);
    transform: translateY(-3px);
}

.resource-document-icon {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.08);
    color: #dc3545;
    border-radius: 10px;
    font-size: 20px;
}

.clientele-industries {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
}

.clientele-industry-link {
    color: inherit;
    text-decoration: none;
    transition: all 0.25s ease;
}

.clientele-industry-link:hover {
    color: var(--first);
    padding-bottom: 4px;
}

.clientele-separator {
    opacity: 0.6;
}


/* =========================================================
   LEADERSHIP MESSAGE
========================================================= */

.leadership-message-card {
    background: #f5f8fb;
    border: 1px solid #dfe5eb;
    border-radius: 20px;
    padding: 32px;
}

.leadership-director-image {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: #e8eef5;
}

.leadership-director-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-message-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c5202f;
}

.leadership-message-title {
    font-size: 26px;
    font-weight: 700;
    color: #0c3158;
}

.leadership-message-text {
    color: #52677d;
    line-height: 1.7;
    max-width: 900px;
}


/* =========================================================
   LEADERSHIP TABS
========================================================= */

.leadership-tabs-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.leadership-tabs {
    display: inline-flex;
    gap: 12px;
    padding: 6px;
    background: #f1f3f5;
    border: 1px solid #dce2e8;
    border-radius: 50px;
}

.leadership-tab {
    border: 0;
    background: transparent;
    color: #0c3158;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 34px;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.leadership-tab:hover {
    background: #e5e9ed;
}

.leadership-tab.active {
    background: #123f68;
    color: #fff;
    box-shadow: 0 8px 20px rgba(18, 63, 104, 0.18);
}


/* =========================================================
   LEADERSHIP PANELS
========================================================= */

.leadership-panel {
    display: none;
}

.leadership-panel.active {
    display: block;
    animation: leadershipFade 0.35s ease;
}

@keyframes leadershipFade {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* =========================================================
   LEADERSHIP CARDS
========================================================= */

.leadership-card {
    border-radius: 18px;
    padding: 30px;
    min-height: 280px;
    transition: all 0.3s ease;
}

.leadership-card:hover {
    transform: translateY(-5px);
}


/* Board */

.leadership-card-board {
    background: #fff;
    border: 1px solid #d8e0e8;
}

.leadership-card-board:hover {
    border-color: #174d7c;
    box-shadow: 0 15px 35px rgba(18, 63, 104, 0.10);
}


/* Team */

.leadership-card-team {
    background: #f4f8fc;
    border: 1px solid #d7e4ef;
}

.leadership-card-team:hover {
    background: #edf5fb;
    border-color: #3986c8;
    box-shadow: 0 15px 35px rgba(18, 63, 104, 0.08);
}


/* =========================================================
   PERSON
========================================================= */

.leadership-person {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 25px;
}

.leadership-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 14px;
    overflow: hidden;
    background: #edf2f6;
}

.leadership-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.leadership-name {
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
    color: #102f50;
    margin-bottom: 5px;
}

.leadership-role {
    display: block;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
    color: #1670d2;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.leadership-description {
    color: #536b82;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 22px;
}


/* =========================================================
   LINKEDIN
========================================================= */

.leadership-link {
    display: inline-flex;
    align-items: center;
    background: #3986c8;
    color: #fff;
    padding: 8px 14px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.leadership-link:hover {
    background: #123f68;
    color: #fff;
    transform: translateX(3px);
}

.leadership-link i {
    padding-top: 1px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 576px) {
    .leadership-message-card {
        padding: 22px;
    }
    .leadership-message-title {
        font-size: 22px;
    }
    .leadership-tabs {
        width: 100%;
    }
    .leadership-tab {
        flex: 1;
        padding: 12px 15px;
        font-size: 14px;
    }
    .leadership-card {
        padding: 22px;
    }
}


/* =========================================================
   HERO
========================================================= */

.inspection-detail-hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    position: relative;
    background-position: center;
    background-size: cover;
    overflow: hidden;
}

.inspection-detail-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 120deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 55px 55px;
    opacity: .08;
    pointer-events: none;
}

.inspection-detail-hero-default {
    background: linear-gradient( 135deg, #061f3d, #123f68);
}

.inspection-hero-content {
    animation: inspectionHeroReveal .8s ease-out both;
}

.inspection-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #ffffff;
    border-left: 3px solid #c51f2b;
    padding-left: 12px;
    margin-bottom: 12px;
}

.inspection-hero-title {
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 800;
    max-width: 850px;
    margin-top: 22px;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.inspection-hero-description {
    max-width: 720px;
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, .88);
}

.inspection-hero-btn {
    display: inline-flex;
    align-items: center;
    padding: 13px 23px;
    border-radius: 5px;
    background: #c51f2b;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition: transform .25s ease, background .25s ease, box-shadow .25s ease;
}

.inspection-hero-btn:hover {
    color: #fff;
    background: #a91823;
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, .20);
}


/* =========================================================
   INSPECTION APPROACH
========================================================= */

.inspection-approach-section {
    background: #fff;
    overflow: hidden;
}


/* =========================================================
   VERTICAL JOURNEY
========================================================= */

.inspection-journey {
    position: relative;
    padding-left: 10px;
}

.inspection-step {
    position: relative;
    display: grid;
    grid-template-columns: 72px 1fr;
    column-gap: 28px;
    min-height: 190px;
    animation: approachFadeUp 0.7s ease both;
}

.inspection-step:nth-child(1) {
    animation-delay: 0.1s;
}

.inspection-step:nth-child(2) {
    animation-delay: 0.2s;
}

.inspection-step:nth-child(3) {
    animation-delay: 0.3s;
}

.inspection-step:nth-child(4) {
    animation-delay: 0.4s;
}


/* NUMBER */

.inspection-step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #0d3b66;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    position: relative;
    z-index: 2;
    box-shadow: 0 8px 25px rgba(13, 59, 102, 0.18);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.inspection-step:hover .inspection-step-number {
    transform: scale(1.08);
    box-shadow: 0 12px 30px rgba(13, 59, 102, 0.25);
}


/* CONNECTING LINE */

.inspection-step-line {
    position: absolute;
    left: 41px;
    top: 64px;
    bottom: 0;
    width: 2px;
    background: linear-gradient( to bottom, #0d3b66, #dce5ed);
    transform-origin: top;
    animation: approachLineGrow 0.8s ease both;
}


/* CONTENT */

.inspection-step-content {
    padding: 4px 0 55px;
}

.inspection-step-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.8px;
    color: #2674b8;
    margin-bottom: 8px;
}

.inspection-step-content h3 {
    margin: 0 0 12px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #0b355d;
}

.inspection-step-content .section-desc {
    max-width: 600px;
    margin-bottom: 0;
}


/* LAST STEP */

.inspection-step-last {
    min-height: auto;
}

.inspection-step-last .inspection-step-content {
    padding-bottom: 0;
}


/* =========================================================
   RIGHT IMAGE
========================================================= */

.inspection-approach-image-wrapper {
    position: sticky;
    top: 120px;
    padding: 15px;
    animation: approachImageReveal 0.9s ease both;
}

.inspection-approach-image {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 22px;
    background: #0d3b66;
    box-shadow: 0 20px 50px rgba(10, 45, 75, 0.16);
}

.inspection-approach-image::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( 180deg, rgba(7, 35, 62, 0.05) 35%, rgba(7, 35, 62, 0.85) 100%);
    z-index: 1;
}

.inspection-approach-image img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.inspection-approach-image:hover img {
    transform: scale(1.04);
}


/* IMAGE TEXT */

.inspection-image-overlay {
    position: absolute;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 2;
    color: #fff;
}

.inspection-image-overlay span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    opacity: 0.85;
    margin-bottom: 8px;
}

.inspection-image-overlay strong {
    display: block;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
}


/* =========================================================
   IMAGE DECORATION
========================================================= */

.inspection-approach-image-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 110px;
    height: 110px;
    border-top: 3px solid #2674b8;
    border-right: 3px solid #2674b8;
    border-radius: 0 18px 0 0;
    opacity: 0.6;
}

.inspection-approach-image-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 90px;
    height: 90px;
    border-left: 3px solid #2674b8;
    border-bottom: 3px solid #2674b8;
    border-radius: 0 0 0 18px;
    opacity: 0.6;
}


/* =========================================================
   FALLBACK IMAGE
========================================================= */

.inspection-image-placeholder {
    min-height: 520px;
    border-radius: 22px;
    background: linear-gradient( 135deg, #0d3b66, #164f7e);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: #fff;
    box-shadow: 0 20px 50px rgba(10, 45, 75, 0.16);
}

.inspection-image-placeholder h4 {
    margin-top: 15px;
    font-size: 26px;
    color: #fff;
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes approachFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes approachLineGrow {
    from {
        transform: scaleY(0);
        opacity: 0;
    }
    to {
        transform: scaleY(1);
        opacity: 1;
    }
}

@keyframes approachImageReveal {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 991px) {
    .inspection-approach-image-wrapper {
        position: relative;
        top: auto;
        order: -1;
        margin-bottom: 20px;
    }
    .inspection-approach-image,
    .inspection-approach-image img,
    .inspection-image-placeholder {
        min-height: 400px;
        height: 400px;
    }
}

@media (max-width: 575px) {
    .inspection-step {
        grid-template-columns: 55px 1fr;
        column-gap: 18px;
        min-height: 200px;
    }
    .inspection-step-number {
        width: 50px;
        height: 50px;
        font-size: 14px;
    }
    .inspection-step-line {
        left: 34px;
        top: 50px;
    }
    .inspection-step-content h3 {
        font-size: 20px;
    }
    .inspection-approach-image,
    .inspection-approach-image img,
    .inspection-image-placeholder {
        min-height: 320px;
        height: 320px;
    }
    .inspection-image-overlay {
        left: 22px;
        right: 22px;
        bottom: 22px;
    }
}


/* =========================================================
   APPROACH HEADING
========================================================= */

.inspection-section-heading .section-title span {
    color: #c51f2b;
}


/* =========================================================
   VERTICAL JOURNEY
========================================================= */

.inspection-journey {
    position: relative;
    padding-left: 35px;
}

.inspection-step {
    position: relative;
    display: grid;
    grid-template-columns: 90px 1fr;
    column-gap: 28px;
}

.inspection-step-number {
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #123f68;
    color: #123f68;
    font-size: 17px;
    font-weight: 800;
    z-index: 2;
    box-shadow: 0 0 0 8px #f7f9fb;
    transition: background .3s ease, color .3s ease, transform .3s ease;
}

.inspection-step:hover .inspection-step-number {
    background: #123f68;
    color: #ffffff;
    transform: scale(1.08);
}


/* CONNECTING LINE */

.inspection-step-line {
    position: absolute;
    left: 35px;
    top: 72px;
    width: 2px;
    height: calc(100% - 72px);
    background: linear-gradient( to bottom, #123f68, #dce5ed);
}

.inspection-step-content {
    padding-top: 3px;
}

.inspection-step-label {
    display: block;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #c51f2b;
    margin-bottom: 8px;
}

.inspection-step-content h3 {
    font-size: 25px;
    font-weight: 750;
    color: #082f59;
    margin-bottom: 12px;
}

.inspection-step-content .section-desc {
    max-width: 600px;
    line-height: 1.75;
}

.inspection-step-last {
    padding-bottom: 0;
}


/* =========================================================
   WHY ALTAIR
========================================================= */

.why-altair-section {
    border-top: 1px solid #e5e9ee;
}

.why-altair-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.why-altair-statement {
    padding-right: 20px;
}

.why-altair-statement .section-title {
    font-size: 32px;
    line-height: 1.25;
}

.why-altair-principles {
    border-top: 1px solid #dfe5eb;
}

.why-principle {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 20px;
    padding: 25px 0;
    border-bottom: 1px solid #dfe5eb;
    transition: padding-left .3s ease, background .3s ease;
}

.why-principle:hover {
    padding-left: 10px;
}

.why-principle-number {
    font-size: 14px;
    font-weight: 800;
    color: #c51f2b;
    padding-top: 3px;
}

.why-principle h4 {
    color: #082f59;
    font-size: 19px;
    font-weight: 750;
    margin-bottom: 7px;
}

.why-principle p {
    color: #5e7185;
    font-size: 15px;
    line-height: 1.65;
    margin-bottom: 0;
}


/* =========================================================
   CTA
========================================================= */

.inspection-detail-cta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 35px 40px;
    background: #082f59;
    border-radius: 12px;
    color: #fff;
}

.inspection-detail-cta span {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: #d7e5f2;
}

.inspection-detail-cta h3 {
    font-size: 24px;
    margin: 8px 0 0;
}

.inspection-cta-btn {
    white-space: nowrap;
    background: #c51f2b;
    color: #fff;
    padding: 13px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 700;
    transition: transform .25s ease;
}

.inspection-cta-btn:hover {
    color: #fff;
    transform: translateY(-3px);
}


/* =========================================================
   ANIMATIONS
========================================================= */

@keyframes inspectionHeroReveal {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* Approach steps */

.inspection-step {
    animation: stepReveal .7s ease both;
}

.inspection-step:nth-child(1) {
    animation-delay: .10s;
}

.inspection-step:nth-child(2) {
    animation-delay: .20s;
}

.inspection-step:nth-child(3) {
    animation-delay: .30s;
}

.inspection-step:nth-child(4) {
    animation-delay: .40s;
}

@keyframes stepReveal {
    from {
        opacity: 0;
        transform: translateX(-18px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .inspection-detail-hero {
        min-height: 500px;
    }
    .why-altair-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .tech-sidebar {
        position: static !important;
    }
}

@media (max-width: 767px) {
    .inspection-detail-hero {
        min-height: 520px;
    }
    .inspection-hero-title {
        font-size: 40px;
    }
    .inspection-hero-description {
        font-size: 16px;
    }
    .inspection-journey {
        padding-left: 10px;
    }
    .inspection-step {
        grid-template-columns: 65px 1fr;
        column-gap: 20px;
        padding-bottom: 55px;
    }
    .inspection-step-number {
        width: 58px;
        height: 58px;
        font-size: 14px;
    }
    .inspection-step-line {
        left: 38px;
        top: 58px;
    }
    .inspection-step-content h3 {
        font-size: 21px;
    }
    .why-altair-statement .section-title {
        font-size: 27px;
    }
    .inspection-detail-cta {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .inspection-step,
    .inspection-hero-content {
        animation: none;
    }
}


/* =========================================================
   CAREERS HERO
========================================================= */

.careers-hero {
    position: relative;
    overflow: hidden;
    padding: 100px 0 110px;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/careers-banner.png') center/cover no-repeat;
    /* background: radial-gradient( circle at 8% 20%, rgba(32, 51, 107, .09), transparent 30%), radial-gradient( circle at 90% 75%, rgba(186, 32, 40, .08), transparent 32%), var(--bg-warm); */
}

.careers-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: -280px;
    bottom: -300px;
    border: 1px solid rgba(32, 51, 107, .06);
    border-radius: 50%;
}

.careers-hero::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -180px;
    top: -180px;
    border: 1px solid rgba(186, 32, 40, .10);
    border-radius: 50%;
}

.careers-eyebrow,
.section-kicker {
    display: inline-block;
    color: var(--second);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.careers-hero h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(36px, 5vw, 50px);
    line-height: 1.08;
    font-weight: 700;
    color: #fff;
    max-width: 760px;
}

.careers-hero h1 span,
.section-heading h2 span,
.career-section h2 span {
    color: var(--second);
}

.hero-text {
    max-width: 680px;
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-muted);
    margin: 25px 0 32px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}


/* =========================================================
   CAREER BUTTONS
========================================================= */

.btn-career-primary,
.btn-career-outline,
.btn-career-white {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 13px 23px;
    border-radius: 7px;
    text-decoration: none;
    font-weight: 600;
    transition: .25s ease;
}

.btn-career-primary {
    background: var(--second);
    color: #fff;
    box-shadow: 0 8px 22px rgba(186, 32, 40, .20);
}

.btn-career-primary:hover {
    background: #9f1b22;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(186, 32, 40, .25);
}

.btn-career-outline {
    border: 1px solid var(--first);
    color: #fff;
    background: transparent;
}

.btn-career-outline:hover {
    background: #fff;
    color: var(--first);
    transform: translateY(-2px);
}


/* =========================================================
   HERO CARD
========================================================= */

.career-hero-card {
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: blur(15px);
    padding: 40px;
    border-radius: 22px;
    border: 1px solid rgba(32, 51, 107, .08);
    box-shadow: 0 25px 70px rgba(32, 51, 107, .12);
}

.career-hero-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 35px;
    right: 35px;
    height: 3px;
    background: var(--second);
    border-radius: 0 0 4px 4px;
}

.hero-card-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy-soft);
    color: var(--first);
    border-radius: 14px;
    font-size: 22px;
    margin-bottom: 25px;
}

.career-hero-card>span {
    color: var(--second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.career-hero-card h3 {
    font-size: 28px;
    line-height: 1.35;
    margin: 12px 0;
    color: var(--text-heading);
}

.career-hero-card p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* =========================================================
   SECTIONS
========================================================= */

.career-section {
    padding: 95px 0;
}

.career-light-section {
    background: var(--bg-white);
}

.career-blue-section {
    background: var(--navy-soft);
}

.section-heading {
    max-width: 760px;
    margin: auto;
}

.section-heading h2,
.career-section h2 {
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 18px;
}

.section-heading p {
    color: var(--text-muted);
    line-height: 1.8;
    font-size: 16px;
}


/* =========================================================
   VALUE CARDS
========================================================= */

.career-value-card {
    height: 100%;
    padding: 35px;
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    transition: .3s ease;
}

.career-value-card:hover {
    transform: translateY(-6px);
    border-color: rgba(32, 51, 107, .16);
    box-shadow: 0 18px 45px rgba(32, 51, 107, .10);
}

.value-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--red-soft);
    color: var(--second);
    font-size: 20px;
    margin-bottom: 22px;
}

.career-value-card h3 {
    font-size: 21px;
    margin-bottom: 12px;
    color: var(--text-heading);
}

.career-value-card p {
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}


/* =========================================================
   TRAITS
========================================================= */

.career-traits {
    margin-top: 10px;
}

.trait-item {
    display: flex;
    gap: 25px;
    padding: 22px 0;
    border-bottom: 1px solid rgba(32, 51, 107, .12);
}

.trait-item>span {
    font-size: 13px;
    font-weight: 700;
    color: var(--second);
}

.trait-item h4 {
    font-size: 20px;
    margin-bottom: 6px;
    color: var(--text-heading);
}

.trait-item p {
    margin: 0;
    color: var(--text-muted);
}


/* =========================================================
   CULTURE
========================================================= */

.culture-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.culture-card {
    position: relative;
    padding: 30px;
    border-radius: 18px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    transition: .25s ease;
}

.culture-card:hover {
    background: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(32, 51, 107, .08);
}

.culture-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 30px;
    width: 35px;
    height: 3px;
    background: var(--second);
    border-radius: 0 0 4px 4px;
}

.culture-card span {
    font-size: 12px;
    font-weight: 700;
    color: var(--second);
}

.culture-card h3 {
    margin: 20px 0 10px;
    font-size: 21px;
    color: var(--text-heading);
}

.culture-card p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.7;
}


/* =========================================================
   ECOSYSTEM
========================================================= */

.career-ecosystem-section {
    padding: 100px 0;
    background: linear-gradient( 120deg, #f4f5f9, #faf9f6);
}

.ecosystem-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.ecosystem-card {
    min-height: 260px;
    padding: 32px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid var(--border-light);
    transition: .3s ease;
}

.ecosystem-card:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 51, 107, .18);
    box-shadow: 0 20px 45px rgba(32, 51, 107, .10);
}

.ecosystem-card span {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.4px;
    color: var(--second);
}

.ecosystem-card h3 {
    margin: 25px 0 12px;
    font-size: 30px;
    font-weight: 800;
    color: var(--first);
}

.ecosystem-card p {
    color: var(--text-muted);
    line-height: 1.7;
}


/* =========================================================
   JOBS
========================================================= */

.open-positions {
    background: var(--bg-white);
}

.open-positions>.container>.d-flex p {
    margin: 0;
    color: var(--text-light);
}

.view-all-jobs {
    color: var(--first);
    text-decoration: none;
    font-weight: 600;
    transition: .2s ease;
}

.view-all-jobs:hover {
    color: var(--second);
}


/* =========================================================
   JOB CARD
========================================================= */

.career-job-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px 28px;
    margin-bottom: 15px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    transition: .25s ease;
}

.career-job-card:hover {
    border-color: rgba(186, 32, 40, .28);
    box-shadow: 0 12px 35px rgba(32, 51, 107, .08);
    transform: translateY(-2px);
}

.job-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--navy-soft);
    color: var(--first);
}

.job-main h3 {
    margin: 0 0 10px;
    font-size: 19px;
    color: var(--text-heading);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    color: var(--text-light);
    font-size: 13px;
}

.job-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.job-meta i {
    color: var(--second);
}


/* =========================================================
   JOB ACTION
========================================================= */

.job-action {
    display: flex;
    align-items: center;
    gap: 20px;
}

.job-details-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: .2s ease;
}

.job-details-link:hover {
    color: var(--first);
}

.btn-apply {
    border: 0;
    padding: 11px 18px;
    border-radius: 7px;
    background: var(--second);
    color: #fff;
    font-weight: 600;
    box-shadow: 0 7px 18px rgba(186, 32, 40, .18);
    transition: .25s ease;
}

.btn-apply:hover {
    background: #9f1b22;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(186, 32, 40, .24);
}


/* =========================================================
   EMPTY STATE
========================================================= */

.career-empty-state {
    text-align: center;
    padding: 70px 20px;
    background: var(--bg-light);
    border-radius: 18px;
    border: 1px solid var(--border-light);
}

.career-empty-state i {
    font-size: 35px;
    color: var(--second);
    margin-bottom: 15px;
}

.career-empty-state p {
    color: var(--text-light);
}


/* =========================================================
   CTA
========================================================= */

.career-final-cta {
    padding: 80px 0;
    background: var(--bg-warm);
}

.career-cta-box {
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 70px 30px;
    border-radius: 25px;
    background: linear-gradient( 120deg, var(--first), #293f7d);
    color: #fff;
    box-shadow: 0 25px 60px rgba(32, 51, 107, .16);
}

.career-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    right: -130px;
    top: -160px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
}

.career-cta-box>span {
    position: relative;
    z-index: 1;
    font-size: 11px;
    letter-spacing: 2px;
    font-weight: 700;
    color: rgba(255, 255, 255, .75);
}

.career-cta-box h2 {
    position: relative;
    z-index: 1;
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 800;
    margin: 15px 0;
    color: #fff;
}

.career-cta-box p {
    position: relative;
    z-index: 1;
    max-width: 650px;
    margin: 0 auto 30px;
    line-height: 1.8;
    color: rgba(255, 255, 255, .82);
}

.btn-career-white {
    position: relative;
    z-index: 1;
    background: #fff;
    color: var(--first);
    box-shadow: 0 8px 20px rgba(0, 0, 0, .10);
}

.btn-career-white:hover {
    color: var(--second);
    transform: translateY(-2px);
}


/* =========================================================
   APPLICATION MODAL
========================================================= */

.career-modal {
    border: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(32, 51, 107, .20);
}

.career-modal .modal-header {
    position: relative;
    padding: 30px 32px 20px;
    border-bottom: 1px solid var(--border-light);
}

.career-modal .modal-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 32px;
    right: 32px;
    height: 3px;
    background: var(--second);
}

.modal-kicker {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: var(--second);
}

.career-modal .modal-title {
    margin: 7px 0;
    font-size: 26px;
    font-weight: 800;
    color: var(--text-heading);
}

.career-modal .modal-header p {
    margin: 0;
    color: var(--text-muted);
}

.career-modal .modal-body {
    padding: 30px 32px;
}

.career-modal label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.career-modal label span {
    color: var(--second);
}

.career-modal .form-control {
    min-height: 46px;
    border: 1px solid var(--border-medium);
    border-radius: 8px;
    padding: 10px 13px;
    color: var(--text-dark);
    background: #fff;
    transition: .2s ease;
}

.career-modal .form-control:focus {
    border-color: var(--first);
    box-shadow: 0 0 0 3px rgba(32, 51, 107, .10);
}

.career-modal small {
    display: block;
    color: var(--text-light);
    margin-top: 7px;
}

.career-modal .modal-footer {
    padding: 20px 32px 30px;
    border-top: 1px solid var(--border-light);
}

.btn-modal-cancel {
    border: 1px solid var(--border-medium);
    background: #fff;
    color: var(--text-muted);
    padding: 11px 20px;
    border-radius: 7px;
    transition: .2s ease;
}

.btn-modal-cancel:hover {
    border-color: var(--first);
    color: var(--first);
}

.btn-modal-submit {
    border: 0;
    background: var(--second);
    color: #fff;
    padding: 11px 20px;
    border-radius: 7px;
    font-weight: 600;
    box-shadow: 0 7px 18px rgba(186, 32, 40, .18);
    transition: .25s ease;
}

.btn-modal-submit:hover {
    background: #9f1b22;
    color: #fff;
    transform: translateY(-1px);
}


/* =========================================================
   JOBS PAGE
========================================================= */

.jobs-page-hero {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/joblisting.png') center/cover no-repeat;
}

.job-detail-hero {
    padding: 80px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.1)), url('../images/jobrole.png') center/cover no-repeat;
}

.jobs-page-hero h1 {
    font-size: clamp(40px, 5vw, 58px);
    font-weight: 800;
    color: var(--text-heading);
}

.jobs-page-hero h1 span {
    color: var(--second);
}

.jobs-page-hero p {
    max-width: 650px;
    line-height: 1.8;
}

.jobs-count {
    color: var(--text-light);
    font-size: 14px;
}

.back-to-jobs {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 40px;
    transition: .2s ease;
}

.back-to-jobs:hover {
    color: var(--second);
}


/* =========================================================
   JOB DETAIL
========================================================= */

.job-detail-header {
    max-width: 900px;
}

.job-detail-header h1 {
    font-size: clamp(38px, 5vw, 60px);
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 25px;
}

.job-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.job-detail-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
}

.job-detail-meta i {
    color: var(--second);
}

.job-detail-section {
    background: #fff;
}

.job-content-block {
    margin-bottom: 55px;
}

.job-content-block h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text-heading);
    margin-bottom: 25px;
}

.job-rich-content {
    color: var(--text-muted);
    line-height: 1.9;
    font-size: 16px;
}

.job-rich-content ul,
.job-rich-content ol {
    padding-left: 22px;
}

.job-rich-content li {
    margin-bottom: 10px;
}


/* =========================================================
   JOB APPLY SIDEBAR
========================================================= */

.job-apply-sidebar {
    position: sticky;
    top: 110px;
    padding: 35px;
    border-radius: 20px;
    background: linear-gradient( 145deg, var(--navy-soft), #f8f8fa);
    border: 1px solid rgba(32, 51, 107, .10);
}

.job-apply-sidebar>span {
    color: var(--second);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.job-apply-sidebar h3 {
    font-size: 27px;
    line-height: 1.35;
    font-weight: 800;
    margin: 12px 0;
    color: var(--first);
}

.job-apply-sidebar p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 25px;
}

.job-sidebar-divider {
    height: 1px;
    background: var(--border-medium);
    margin: 28px 0;
}

.sidebar-detail {
    display: flex;
    gap: 14px;
    margin-bottom: 22px;
}

.sidebar-detail>i {
    color: var(--second);
    width: 18px;
    margin-top: 4px;
}

.sidebar-detail small {
    display: block;
    color: var(--text-light);
    margin-bottom: 3px;
}

.sidebar-detail strong {
    color: var(--text-dark);
    font-size: 14px;
}


/* =========================================================
   STATUS / SMALL ACCENTS
========================================================= */

.career-accent-red {
    color: var(--second) !important;
}

.career-accent-navy {
    color: var(--first) !important;
}

.career-accent-gold {
    color: var(--accent-gold) !important;
}

.career-bg-navy {
    background: var(--first) !important;
}

.career-bg-red {
    background: var(--second) !important;
}

.career-bg-gold {
    background: var(--gold-soft) !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {
    .careers-hero {
        padding: 75px 0;
    }
    .career-hero-card {
        margin-top: 45px;
    }
    .culture-grid,
    .ecosystem-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .job-apply-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .career-section,
    .career-ecosystem-section {
        padding: 65px 0;
    }
    .careers-hero h1 {
        font-size: 42px;
    }
    .hero-text {
        font-size: 16px;
    }
    .culture-grid,
    .ecosystem-grid {
        grid-template-columns: 1fr;
    }
    .career-job-card {
        align-items: flex-start;
        flex-direction: column;
    }
    .job-action {
        width: 100%;
        justify-content: space-between;
    }
    .open-positions>.container>.d-flex {
        align-items: flex-start !important;
        flex-direction: column;
        gap: 15px;
    }
    .career-modal .modal-header,
    .career-modal .modal-body,
    .career-modal .modal-footer {
        padding-left: 20px;
        padding-right: 20px;
    }
    .career-modal .modal-header::before {
        left: 20px;
        right: 20px;
    }
}