/* =========================================================
   GLOBAL RESETS & COMMON UX FIXES
========================================================= */

html {
    scroll-behavior: smooth;
}

html {
    overflow-x: hidden;
    width: 100%;
}


/* * {
    outline: 1px solid red;
} */

body {
    width: 100%;
}

body {
    margin: 0;
    padding: 0;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c41e2f;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #c41e2f;
}

.table-responsive::-webkit-scrollbar {
    height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb {
    background: var(--first);
    border-radius: 10px;
}

.table-responsive::-webkit-scrollbar-thumb:hover {
    background: var(--second);
}

[data-aos] {
    overflow: hidden;
}

img,
iframe,
video {
    max-width: 100%;
    height: auto;
    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;
}


/* =========================================================
   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;
}


/* =========================================================
   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: rgba(var(--first-rgb), 0.85);
}

.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 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;
    }
}

.min-w-300 {
    min-width: 300px !important;
}

.min-w-350 {
    min-width: 350px !important;
}

.min-w-400 {
    min-width: 400px !important;
}

.max-w-800 {
    max-width: 800px !important;
}

.max-w-900 {
    max-width: 900px !important;
}

.max-w-1000 {
    max-width: 1000px !important;
}

.min-h-150 {
    min-height: 150px !important;
}

.min-h-180 {
    min-height: 180px !important;
}

.min-h-200 {
    min-height: 200px !important;
}

.min-h-250 {
    min-height: 250px !important;
}

.min-h-300 {
    min-height: 300px !important;
}

.min-h-320 {
    min-height: 320px !important;
}

.min-h-350 {
    min-height: 350px !important;
}

.min-h-380 {
    min-height: 380px !important;
}

.min-h-400 {
    min-height: 400px !important;
}


/* =========================================================
   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;
}


/* 
.navbar-nav .nav-link:hover {
    color: var(--first);
} */

.cus-nav-item.active,
.cus-nav-item:hover,
.cus-nav-item:focus {
    background-color: var(--first);
    color: #fff;
}

.btn.rounded-pill {
    padding: 10px 22px;
}

.dropdown>.dropdown-menu {
    width: auto !important;
}

.dropdown-menu {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 0px;
    padding: 0;
}

.dropdown-menu li a {
    padding: 10px;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    position: absolute;
    top: 0;
    left: 100%;
    margin-left: -1px;
    min-width: 260px;
    display: block;
    overflow: 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);
}

.submenu-toggle::after {
    content: "›";
    float: right;
    font-size: 14px;
    color: #666;
}

.dropdown-submenu.show>.dropdown-menu {
    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;
}

.rotate {
    transform: rotate(180deg);
    transition: 0.3s ease;
}


/* =========================================================
   HERO CAROUSEL STYLES
========================================================= */

.hero-carousel .carousel-item {
    height: 85vh;
    min-height: 500px;
}

.hero-carousel img {
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    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;
    }
}

.carousel-control-next,
.carousel-control-prev {
    width: 40px;
    height: 40px;
    top: 50%;
    transform: translateY(-50%);
}


/* =========================================================
   MODERN ABOUT SECTION (GRID VERSION)
========================================================= */

.about-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.about-image-wrapper .img2 {
    min-height: 400px !important;
}

.about-image-wrapper:hover {
    transform: translateY(-6px);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left;
    transition: transform 0.6s ease;
    will-change: transform;
}

.about-image-wrapper:hover img {
    transform: scale(1.1);
}

.about-image-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0));
    opacity: 0;
    transition: 0.4s ease;
}

.about-image-wrapper:hover::after {
    opacity: 1;
}

.about-modern {
    background: #f4f4f4;
}

.about-heading {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
}

.about-text {
    color: #6c757d;
    font-size: 1.05rem;
    max-width: 500px;
}

.about-badge {
    background: linear-gradient(135deg, var(--first), var(--second));
    color: #fff;
    padding: 30px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
    /*min-height: 200px;*/
}

.about-badge::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.about-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
}

.about-badge span {
    font-size: 0.9rem;
    opacity: 0.9;
}

@media (max-width: 600px) {
    .about-image-wrapper {
        height: auto !important;
        min-height: unset !important;
    }
    .about-image-wrapper img {
        width: 100%;
        height: auto;
        object-fit: contain;
    }
    .about-image-wrapper .img2 {
        object-position: left;
        object-fit: contain;
    }
    .about-modern .row {
        flex-direction: column;
    }
    .about-modern .col-5,
    .about-modern .col-7 {
        width: 100%;
    }
    .about-modern .col-5>div {
        display: block !important;
    }
    .col-5 {
        order: 2;
    }
    .col-7 {
        order: 1;
    }
    .about-badge {
        margin-bottom: 20px;
    }
}

@media (min-width: 601px) and (max-width: 991px) {
    .about-modern .row {
        flex-direction: row;
    }
    .about-image-wrapper {
        max-height: 400px;
        overflow: hidden;
    }
    .about-image-wrapper .img2 {
        min-height: 200px !important;
        overflow: hidden;
    }
    .about-image-wrapper img {
        object-fit: fill;
    }
}


/* =========================================================
   SYSTEM GRID SECTION
========================================================= */

.systems-grid-section {
    background: #fff;
}

.system-grid-card {
    background: #f5f7fa;
    border-radius: 12px;
    overflow: visible;
    transition: all 0.3s ease;
    clip-path: inset(0 round 12px);
}

.system-grid-card:hover {
    transform: translateY(-6px);
}

.system-image {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.system-image::before {
    position: absolute;
    top: 0;
    left: -100%;
    z-index: 2;
    content: '';
    width: 30%;
    height: 100%;
    background: linear-gradient( to right, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.4));
    transform: skewX(-25deg);
    transition: left 0.8s ease;
}

.system-grid-card:hover .system-image::before {
    left: 120%;
}

.system-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.system-grid-card:hover .system-image img {
    transform: scale(1.05);
}

.system-grid-card:hover h4,
.system-grid-card:hover a {
    color: var(--second);
}

.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);
}


/* =========================================================
   INDUSTRIES SECTION
========================================================= */

.industries-section {
    background: #f5f7fa;
}

.industry-card {
    border: 1px solid #e9ecef;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.industry-image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.industry-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;
}

.industry-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;
}

.industry-card:hover .industry-overlay {
    opacity: 1;
}

.industry-card:hover .industry-overlay i {
    transform: scale(1);
}

.industry-card:hover img {
    transform: scale(1.05);
}

.industry-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.industry-card-body {
    padding: 20px;
}

.industry-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.industry-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.industry-card:hover a {
    color: var(--second);
}


/*Technology cards*/

.technology-card {
    border: 1px solid #e9ecef;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 12px;
}

.technology-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.technology-image-wrapper {
    position: relative;
    overflow: hidden;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.technology-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;
}

.technology-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;
}

.technology-card:hover .technology-overlay {
    opacity: 1;
}

.technology-card:hover .technology-overlay i {
    transform: scale(1);
}

.technology-card:hover img {
    transform: scale(1.05);
}

.technology-card:hover a {
    color: var(--second);
}

.technology-card-body {
    padding: 20px;
}

.technology-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.technology-card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.technology-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}


/* =========================================================
   Architecture SECTION
========================================================= */

.architecture-section {
    background: #f5f7fa;
}

.architecture-card {
    background: #f5f7fa;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.architecture-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    background-color: #fff;
}

.architecture-card-body {
    padding: 20px;
}

.architecture-card h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.architecture-card-body p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 0;
}

.architecture-card:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-4px);
}

.architecture-card:hover img {
    transform: scale(1.05);
    transition: transform 0.6s ease;
}

.architecture-card:hover {
    background: var(--first);
    color: #fff;
    transition: background 0.4s ease;
}

.architecture-card:hover p {
    color: rgba(255, 255, 255, 0.9);
}


/* =========================================================
   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);
    margin-bottom: 10px;
}

.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;
}


/* ==========================================
   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;
}

.saudi {
    top: 48%;
    left: 57%;
}

.thailand {
    top: 51%;
    left: 69%;
}

.indonesia {
    top: 62%;
    left: 71%;
}

.malaysia {
    top: 58%;
    left: 68%;
}

.singapore {
    top: 60%;
    left: 72%;
}

.kazakhstan {
    top: 42%;
    left: 62%;
}


/* ==========================================
   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;
    }
}


/* =========================================================
   CLIENTS SECTION
========================================================= */

.clients-section {
    background: #fff;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    /*padding: 20px;*/
}

.client-logo img {
    max-height: 240px;
    max-width: 400px;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.client-logo img:hover {
    filter: grayscale(100%);
    opacity: 1;
}

.clients-carousel .owl-dots,
.clients-carousel .owl-nav {
    display: none;
}


/* =========================================================
   TESTIMONIAL SECTION
========================================================= */

.testimonial-section {
    background: #062b5c;
    color: #fff;
    overflow: hidden;
}

.testimonial-title {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #fff;
}

.quote-icon img {
    width: 60px !important;
}

.testimonial-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    max-width: 800px;
}

.author-name {
    font-weight: 600;
    color: #fff;
}

.author-role {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.testimonial-carousel {
    position: relative;
    padding: 40px;
    border-radius: 20px;
    background: rgba(var(--first-rgb), 0.75);
}


/* Owl nav positioning */

.testimonial-carousel .owl-nav {
    position: absolute;
    right: 20px;
    bottom: 20px;
}

.testimonial-carousel .owl-nav button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    color: #fff !important;
    margin-left: 10px;
}

.testimonial-carousel .owl-nav button:hover {
    background: var(--second) !important;
    border-color: var(--second) !important;
}

.testimonial-carousel .owl-dots {
    display: none;
}


/* =========================================================
   BLOGS HIGHLIGHT SECTION
========================================================= */

.blogs-highlight-section {
    background: url("../images/systems-bg.png") center / cover no-repeat;
    /* min-height: 500px; */
}

.blogs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.blog-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    color: #000;
    transition: all 0.3s ease;
}

.blog-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.blog-card-body {
    padding: 20px;
}

.blog-date {
    font-size: 0.8rem;
    color: #777;
    display: block;
    margin-bottom: 8px;
}

.blog-card h5 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.blogs-carousel .owl-nav {
    display: none;
}

.blogs-carousel .owl-dots {
    margin-top: 15px;
}


/* =========================================================
   CONTACT CTA SECTION
========================================================= */

.contact-cta-section {
    background: url("../images/contact-bg.png") center / cover no-repeat;
    overflow: hidden;
}

.contact-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
}

.contact-form .form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
}

.contact-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--second);
    box-shadow: none;
    color: #fff;
}

.contact-image {
    max-height: 540px;
    object-fit: contain;
}

.contact-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: 0.3s;
}

.contact-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    background: rgba(110, 110, 110, 0.056);
    top: -60px;
    right: -40px;
}

.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, var(--first), var(--second));
    color: #fff;
}

.contact-card:hover::before {
    background: rgba(255, 255, 255, 0.15);
}


/* ======================================
   FOOTER SECTION
====================================== */

.footer-section {
    background: linear-gradient(135deg, #0f1f3d, #142b55);
    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: 20px 0 40px;
}

.footer-main {
    padding-bottom: 40px;
}

.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;
    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
========================================== */

#backToTopWrapper {
    display: none;
}

.back-to-top-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    z-index: 9999;
}

.back-to-top {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--second);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none !important;
    transition: all 0.3s ease;
    border: none;
}

.back-to-top:focus,
.back-to-top:active {
    outline: none !important;
    box-shadow: none !important;
}

.progress-ring {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
}

.progress-ring-fill {
    fill: none;
    opacity: 0;
    stroke: var(--first);
    stroke-width: 4;
    stroke-linecap: circle;
    transition: stroke-dashoffset 0.2s linear;
}


/* .back-to-top:hover {
    transform: scale(1.05);
} */


/* ==========================================
   EDITOR COLUMNS (CUSTOM TEXT EDITOR)
========================================== */

.editor-columns {
    display: flex;
    gap: 20px;
    /* optional spacing */
}

.editor-column {
    flex: 1;
    /* equal width columns */
}


/* ==========================================
   INNER PAGE HEADER
========================================== */

.page-header {
    padding: 60px 0 60px;
    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-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
}

.page-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    background: var(--second);
    margin-top: 10px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin: 0;
}

.breadcrumb-item {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.breadcrumb-item a {
    color: #fff;
    text-decoration: none;
    transition: 0.3s;
}

.breadcrumb-item a:hover {
    color: var(--second);
}

.breadcrumb-item+.breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.8);
}

@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;
    }
}


/* ABOUT HERO */

.about-hero {
    background: linear-gradient(rgba(13, 40, 80, 0.85), rgba(13, 40, 80, 0.85)), url("../images/about-banner.jpg") center/cover no-repeat;
}


/* VALUE CARDS */

.value-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.value-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(110, 110, 110, 0.056);
    border-radius: 50%;
    top: -40px;
    right: -40px;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, var(--first), var(--second));
    color: #fff;
}

.value-card:hover::before {
    background: rgba(255, 255, 255, 0.15);
}

.value-card h5 {
    font-weight: 600;
    margin-bottom: 10px;
}

.value-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(var(--first-rgb), 0.1);
    color: var(--first);
    border-radius: 50%;
    font-size: 22px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.value-card:hover .value-icon {
    background: var(--first);
    color: #fff;
    transform: rotateY(180deg);
}


/* CERTIFICATION BLOCKS */

.cert-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.cert-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    background: rgba(110, 110, 110, 0.056);
    border-radius: 50%;
    top: -60px;
    right: -40px;
}

.cert-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    background: linear-gradient(135deg, var(--first), var(--second));
    color: #fff;
}

.cert-card:hover::before {
    background: rgba(255, 255, 255, 0.15);
}


/* GLOBAL HERO */

.global-hero {
    background: linear-gradient(rgba(13, 40, 80, 0.85), rgba(13, 40, 80, 0.85)), url("../images/global-map.jpg") center/cover no-repeat;
}


/* LOCATION CARDS */

.location-card {
    background: #fff;
    padding: 25px;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: 0.3s;
    position: relative;
    overflow: visible;
}

.location-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.location-card ul {
    padding-left: 18px;
    margin-top: 10px;
}

.location-card ul li {
    font-size: 14px;
    margin-bottom: 4px;
}

.location-hover-icon {
    position: absolute;
    right: 15px;
    bottom: -40px;
    font-size: 80px;
    color: var(--first);
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.7s ease;
    pointer-events: none;
}

.location-hover-icon::after {
    content: "";
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(var(--second-rgb), 0.25);
    border-radius: 50%;
    left: 50%;
    top: 75%;
    transform: translate(-50%, -50%);
    animation: pulse 1.5s infinite;
    z-index: -1;
}

.location-card:hover .location-hover-icon {
    animation: pinPop 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes pinPop {
    0% {
        bottom: -40px;
        opacity: 0;
        transform: scale(0.5);
    }
    60% {
        bottom: 20px;
        /* overshoot */
        opacity: 0.7;
        transform: scale(1.1);
    }
    100% {
        bottom: 15px;
        /* final settle */
        transform: scale(1);
        opacity: 0.5;
    }
}

.partner-logo {
    max-height: 80px;
    object-fit: contain;
    opacity: 0.8;
    transition: 0.3s;
}

.partner-logo:hover {
    opacity: 1;
    transform: scale(1.05);
}

.service-detail-section {
    background: #f8f9fb;
}

.service-content-card {
    background: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
}

.service-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2c54;
}

.tag-pill {
    display: inline-block;
    background: #eef3f9;
    color: #0e2c54;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin: 4px;
    font-weight: 500;
}

.service-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.service-hero-image:hover {
    transform: translateY(-6px);
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.service-hero-image:hover img {
    transform: scale(1.1);
}

.service-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.35), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.service-hero-image:hover::after {
    opacity: 1;
}

.service-description h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0e2c54;
}

.service-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.service-description ul {
    padding-left: 18px;
    margin-bottom: 20px;
}

.service-description ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.service-description a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--first);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
    font-weight: 500;
}

.service-description a:hover {
    background-color: #000;
    /* or darker shade of var(--first) */
    color: #fff;
    text-decoration: none;
}

.service-description img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 12px;
}

.aos-image-wrapper {
    width: 100%;
    display: block;
}


/* IMAGE CARD */

.service-image-card {
    position: sticky;
    top: 120px;
}

.service-image-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}


/* BUTTON */


/* .btn-first {
    background: #0e2c54;
    color: #fff;
    font-weight: 500;
    padding: 12px 28px;
    transition: 0.3s;
}

.btn-first:hover {
    background: #e62c2c;
    color: #fff;
} */


/* MOBILE */

@media(max-width:991px) {
    .service-image-card {
        position: relative;
        top: auto;
        margin-top: 20px;
    }
    .service-content-card {
        padding: 25px;
    }
}


/* SERVICE PAGE */

.service-detail-section {
    background: #f8f9fb;
}


/* TITLE */

.service-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2c54;
}


/* TAGS */

.tag-pill {
    display: inline-block;
    background: #eef3f9;
    color: #0e2c54;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin: 4px;
    font-weight: 500;
}


/* CONTENT */

.service-description h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0e2c54;
}

.service-description p {
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 15px;
    color: #444;
}

.service-description ul {
    padding-left: 18px;
    margin-bottom: 20px;
}

.service-description ul li {
    margin-bottom: 8px;
}


/* STICKY IMAGE */

.service-sticky {
    position: sticky;
    top: 120px;
}


/* IMAGE CARD */

.service-image-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}


/* MOBILE */

@media(max-width:991px) {
    .service-sticky {
        position: relative;
        top: auto;
        margin-top: 20px;
    }
}


/* INDUSTRY DETAIL PAGE */

.industry-detail-section {
    background: #f8f9fb;
}


/* TITLE */

.industry-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #0e2c54;
}


/* TAG PILLS */

.tag-pill {
    display: inline-block;
    background: #eef3f9;
    color: #0e2c54;
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 13px;
    margin: 4px;
    font-weight: 500;
}


/* DESCRIPTION */

.industry-description h2 {
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 700;
    color: #0e2c54;
}

.industry-description p {
    font-size: 15px;
    line-height: 1.8;
    color: #444;
    margin-bottom: 15px;
}

.industry-description ul {
    padding-left: 18px;
    margin-bottom: 20px;
}

.industry-description ul li {
    margin-bottom: 8px;
    font-size: 15px;
}

.industry-description a {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--first);
    color: #fff;
    text-decoration: none;
    border-radius: 6px;
    transition: 0.3s ease;
    font-weight: 500;
}

.industry-description a:hover {
    background-color: #000;
    /* or darker shade of var(--first) */
    color: #fff;
    text-decoration: none;
}


/* STICKY IMAGE */

.industry-sticky {
    position: sticky;
    top: 120px;
}


/* IMAGE STYLE */

.industry-image-card img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.industry-hero-image {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    transition: transform 0.4s ease;
}

.industry-hero-image:hover {
    transform: translateY(-6px);
}

.industry-hero-image img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.industry-hero-image:hover img {
    transform: scale(1.1);
}

.industry-hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient( to top, rgba(0, 0, 0, 0.35), transparent);
    opacity: 0;
    transition: 0.4s ease;
}

.industry-hero-image:hover::after {
    opacity: 1;
}


/* MOBILE */

@media(max-width:991px) {
    .industry-sticky {
        position: relative;
        top: auto;
        margin-top: 20px;
    }
}

.feature-list li {
    margin-bottom: 10px;
    font-size: 15px;
    color: #444;
}

.feature-list i {
    font-size: 14px;
}

.tech-sidebar-card {
    background: var(--first);
    color: #fff;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-weight: 600;
    margin-bottom: 20px;
}

.tech-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tech-list li {
    margin-bottom: 10px;
}

.tech-list li a {
    display: block;
    padding: 12px 16px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}


/* hover */

.tech-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
}


/* active */

.tech-list li.active a {
    background: var(--second);
}

.dynamic-content {
    overflow-x: hidden;
    max-width: 100%;
}


/* Wrapper ONLY for table */

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}


/* Table stays natural */

.dynamic-content table {
    width: 100%;
    min-width: 700px;
    /* 🔥 forces scroll */
    border-collapse: collapse;
}


/* Cells */

.dynamic-content th,
.dynamic-content td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

@media (max-width: 768px) {
    .dynamic-content img {
        max-width: 100%;
        height: auto;
        border-radius: 8px;
    }
}