:root {
    /* Core Brand Tones */
    --navy-primary: #34566F;
    /* Main Dark Blue */
    --navy-light: #F4FAFD;
    /* Main Light Background */
    /* --navy-mid: #6B95B6; */
    --navy-mid: #407094;
    /* Medium Blue */
    /* Accent */
    --gold-accent: #4F81A8;
    /* Blue Accent (Replaces Orange) */
    --gold-light: #EEF6FB;
    /* Soft Blue Tint */
    /* Layout & Accessibility Neutrals */
    --white: #FFFFFF;
    --dark-text: #33485C;
    --light-bg: #FBFDFE;
    --border-color: #DCE7EF;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Typography Hierarchy */
body {
    font-family: 'Inter', sans-serif;
    color: var(--dark-text);
    background-color: var(--white);
    overflow-x: hidden;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand,
.footer-logo,
.logo-svg text {
    font-family: 'Outfit', sans-serif;
}

.fw-extrabold {
    font-weight: 800;
}

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

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

.text-navy {
    color: var(--navy-primary) !important;
}

.text-gold {
    color: var(--gold-accent) !important;
}

.bg-navy {
    background-color: var(--navy-primary) !important;
}

.bg-navy-light {
    background-color: var(--navy-light) !important;
}

.bg-gold-light {
    background-color: var(--gold-light) !important;
}

.bg-white-10 {
    background-color: rgba(255, 255, 255, 0.12);
}

.border-white-10 {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.max-w-600 {
    max-width: 600px;
}

/* Custom Alert Backgrounds */
.bg-danger-light {
    background-color: #F6FBFD;
}

/* Micro-animations and Transitions */
.transition-all {
    transition: var(--transition);
}

/* Top Utility Bar */
.top-bar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--dark-text);
}

.top-bar a {
    color: var(--navy-primary);
}

.top-bar a:hover {
    color: var(--gold-accent) !important;
}

.bg-gold {
    background-color: var(--gold-accent) !important;
}

/* ===========================
   Top Header
=========================== */
.top-bar {
    background: #FFFFFF;
    font-size: .9rem;
    /* 1. Made the border bolder (changed from 3px to 6px) */
    border-bottom: 3.5px solid #4F81A8;
    /* 2. Added the flashing animation loop */
    animation: borderFlash 1.5s infinite alternate;
}

/* 3. The flashing animation logic */
@keyframes borderFlash {
    0% {
        border-bottom-color: #4F81A8;
        /* Original blue */
    }

    100% {
        border-bottom-color: #0d6efd;
        /* Flashes to a vibrant orange/red */
    }
}

.top-bar a {
    color: var(--dark-text);
    font-weight: 500;
    transition: var(--transition);
}

.top-bar a:hover {
    color: var(--navy-mid);
}

/* Icons */
.whatsapp-icon {
    color: #407094;
    font-size: 1rem;
}

.phone-icon {
    color: var(--navy-mid);
}

.mail-icon {
    color: var(--navy-mid);
}

/* ===========================
   Badges
=========================== */
.top-badges .badge {
    border-radius: 30px;
    padding: .45rem .95rem;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .3px;
    transition: var(--transition);
}

.badge-main {
    background: var(--navy-mid);
    color: #fff;
}

.badge-light {
    background: var(--navy-light);
    color: var(--navy-primary);
    border: 1px solid var(--border-color);
}

.top-badges .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(52, 86, 111, .12);
}

/* The flashing animation class */
.badge-flash {
    animation: badgePulse 1.5s infinite alternate;
}

/* The animation logic changing the background color */
@keyframes badgePulse {
    0% {
        background-color: #4F81A8;
        /* Original top-bar blue */
        box-shadow: 0 0 0 rgba(79, 129, 168, 0);
    }

    100% {
        background-color: #FF5722;
        /* Vibrant accent color */
        box-shadow: 0 0 10px rgba(255, 87, 34, 0.6);
        /* Optional glow effect */
    }
}

/* ==========================================
   Responsive Top Header
========================================== */
/* Tablets */
@media (max-width: 991.98px) {
    .top-bar {
        padding: 10px 0;
    }

    .top-bar .container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .top-contacts {
        justify-content: center;
        width: 100%;
    }

    .top-badges {
        justify-content: center;
        width: 100%;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .top-bar {
        font-size: .82rem;
        padding: 10px 0;
    }

    .top-bar .container {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .top-contacts {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .top-contacts span {
        flex-wrap: wrap;
        justify-content: center;
        row-gap: 6px;
    }

    .top-contacts a {
        font-size: .82rem;
    }

    .phone-icon,
    .mail-icon,
    .whatsapp-icon {
        font-size: .95rem;
    }

    .top-badges {
        width: 100%;
        justify-content: center;
        gap: 8px;
    }

    .top-badges .badge {
        font-size: .72rem;
        padding: .4rem .75rem;
    }
}

/* Extra Small Phones */
@media (max-width: 480px) {
    .top-bar {
        font-size: .78rem;
    }

    .top-contacts {
        flex-direction: column;
        gap: 8px;
    }

    .top-contacts span {
        width: 100%;
        justify-content: center;
        border: none !important;
        padding-left: 0 !important;
    }

    .top-badges {
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .top-badges .badge {
        width: auto;
        min-width: 180px;
        text-align: center;
    }
}

/* ==========================================
   Responsive Nav Bar
========================================== */
/* Sticky Navbar Overrides */
.navbar {
    background: var(--white);
    border-bottom: 3.5px solid #34566f;
    box-shadow: 0 4px 20px rgba(52, 86, 111, 0.08);
    animation: borderFlash 1.5s infinite alternate;
}

/* 3. The flashing animation logic */
@keyframes borderFlash {
    0% {
        border-bottom-color: #4F81A8;
        /* Original blue */
    }

    100% {
        border-bottom-color: #0d6efd;
        /* Flashes to a vibrant orange/red */
    }
}

.logo-img,
.logo-img-footer {
    height: 70px;
    width: auto;
    object-fit: contain;
    border-radius: 50%;
}

.brand-text-wrapper,
.brand-text-wrapper-footer {
    line-height: 1.1;
    display: flex;
    flex-direction: column;
}

.brand-title,
.brand-title-footer {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--navy-primary);
}

.brand-subtitle,
.brand-subtitle-footer {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 1px;
    color: var(--navy-mid);
}

.navbar-nav .nav-link {
    color: var(--navy-primary);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 3px;
    background-color: var(--gold-accent);
    transform: scaleX(0);
    transition: var(--transition);
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link:hover {
    color: var(--gold-accent) !important;
}

.navbar-nav .nav-link.active::after,
.navbar-nav .nav-link:hover::after {
    transform: scaleX(1);
}

.navbar .container {
    position: relative;
}

/* The animation class */
.subtitle-animate {
    display: inline-block;
    /* Required for the scale transform to work properly */
    animation: premiumPulse 1.2s infinite ease-in-out;
}

/* The animation logic */
@keyframes premiumPulse {
    0% {
        transform: scale(1);
        opacity: 0.85;
    }

    50% {
        transform: scale(1.03);
        /* Subtle, upscale growth */
        opacity: 1;
        /* Full brightness */
    }

    100% {
        transform: scale(1);
        opacity: 0.85;
    }
}

/* Quote/Enquiry Button */
.btn-quote {
    background-color: var(--navy-mid);
    color: var(--white) !important;
    border: 2px solid var(--navy-mid);
    font-weight: 700;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.btn-quote:hover {
    background-color: var(--gold-accent);
    color: var(--white) !important;
    border-color: var(--gold-accent);
    box-shadow: 0 4px 18px rgba(79, 129, 168, 0.22);
}

/* Hero Section & Slider */
.hero-section {
    overflow: hidden;
    background: linear-gradient(180deg, #F4FAFD 0%, #FFFFFF 100%);
}

.hero-banner {
    width: 100%;
    height: auto;
}

/* Flex layout strips residual block line-height spaces */
.carousel-inner {
    display: flex;
    align-items: stretch;
}

.carousel-item {
    height: auto;
    display: block;
}

.carousel-item img {
    width: 100%;
    height: auto;
    display: block;
    /* Eliminates the default baseline text gap underneath */
    object-fit: contain;
    transition: transform 6s ease;
}

.carousel-item.active img {
    transform: scale(1.05);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 50px;
    height: 50px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 6px;
    background-color: var(--navy-mid);
}

.carousel-indicators .active {
    background-color: var(--navy-primary);
}

/* Clean responsive overrides with zero forced heights */
@media (max-width: 991px) {

    .hero-banner,
    .carousel-inner,
    .carousel-item {
        height: auto !important;
    }
}

@media (max-width: 768px) {

    .hero-banner,
    .carousel-inner,
    .carousel-item {
        height: auto !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {

    .hero-banner,
    .carousel-inner,
    .carousel-item {
        height: auto !important;
    }

    .carousel-indicators button {
        width: 10px;
        height: 10px;
        margin: 0 4px;
    }
}

/* ==========================================================
   Trust Stats & Client Marquee
========================================================== */
.trust-row {
    background-color: var(--white);
}

.client-logo {
    font-weight: 700;
    color: #7B8FA3;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    padding: 0.4rem 1rem;
    border-radius: 4px;
    background-color: var(--light-bg);
    transition: var(--transition);
}

.client-logo:hover {
    color: var(--navy-primary);
    border-color: var(--navy-mid);
    background-color: var(--navy-light);
}

/* ==========================================================
   Section Titles
========================================================== */
.section-title {
    position: relative;
    color: var(--navy-primary);
}

.title-divider {
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background-color: var(--navy-mid);
}

/* ==========================================================
   Service Cards
========================================================== */
.service-card {
    border: 2px solid var(--navy-mid, #34566f) !important;
    cursor: pointer;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

/* Base style for the laser underline track */
.service-card {
    border: 2px solid var(--navy-mid, #34566f) !important;
    cursor: pointer;
    background: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================
   CONTINUOUS GLASS GLINT
========================================================== */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -180%;
    width: 45%;
    height: 100%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .08) 35%,
            rgba(255, 255, 255, .65) 50%,
            rgba(255, 255, 255, .08) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    z-index: 2;
    animation: glassSweep 4s linear infinite;
}

@keyframes glassSweep {
    0% {
        left: -180%;
    }

    20% {
        left: 180%;
    }

    100% {
        left: 180%;
    }
}

/* ==========================================================
   BOTTOM LASER LINE
========================================================== */
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #00f2fe,
            #4facfe,
            #ff0844,
            #ffb199);
    transition: all 0.4s ease;
    z-index: 3;
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width:991.98px) {
    .service-card {
        box-shadow: 0 10px 25px rgba(79, 172, 254, .15) !important;
        border-color: #4facfe !important;
    }

    .service-card::after {
        width: 100% !important;
    }

    .icon-box {
        background: linear-gradient(135deg,
                #00f2fe 0%,
                #4facfe 100%) !important;
        box-shadow: 0 0 10px rgba(0, 242, 254, .4);
    }

    .icon-box i {
        color: #fff !important;
    }

    .bi-clipboard-data,
    .bi-tools,
    .bi-shield-lock {
        border-color: #fff !important;
    }
}

/* ==========================================================
   DESKTOP HOVER
========================================================== */
@media (min-width:992px) {
    .service-card::after {
        left: 50%;
    }

    .service-card:hover {
        transform: translateY(-10px);
        border-color: #4facfe !important;
        box-shadow:
            0 20px 40px rgba(79, 172, 254, .18),
            0 0 30px rgba(79, 172, 254, .30) !important;
    }

    .service-card:hover::after {
        width: 100%;
        left: 0;
    }

    .service-card:hover .icon-box {
        background: linear-gradient(135deg,
                #00f2fe 0%,
                #4facfe 100%) !important;
        transform: scale(1.15) rotate(360deg);
        box-shadow: 0 0 15px rgba(0, 242, 254, .5);
    }

    .service-card:hover .icon-box i {
        color: #fff !important;
    }

    .service-card:hover .bi-clipboard-data,
    .service-card:hover .bi-tools,
    .service-card:hover .bi-shield-lock {
        border-color: #fff !important;
    }
}

/* ==========================================================
   ICONS
========================================================== */
.icon-box {
    transition: all .4s cubic-bezier(.175, .885, .32, 1.275);
    background: var(--navy-light);
    position: relative;
    z-index: 4;
}

.icon-box i {
    color: var(--navy-mid);
    transition: all .4s ease;
}

.bi-clipboard-data,
.bi-tools,
.bi-shield-lock {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border: 2px solid var(--border-color, #e0e0e0);
    border-radius: 10px;
    transition: border-color .4s ease;
}

/* ==========================================================
   About Image
========================================================== */
.about-image-wrapper {
    /* height: 100%; */
    width: 100%;
    display: flex;
    align-items: stretch;
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(52, 86, 111, 0.10);
    transition: var(--transition);
}

.about-image-wrapper img:hover {
    transform: scale(1.02);
}

/* ==========================================================
   Custom Switcher
========================================================== */
.custom-switcher {
    border: 1px solid var(--border-color);
    background: var(--white);
}

.custom-switcher .nav-link {
    color: var(--navy-primary);
    font-weight: 700;
    font-size: 0.95rem;
    background: transparent;
    transition: var(--transition);
}

.custom-switcher .nav-link.active {
    background-color: var(--navy-mid) !important;
    color: var(--white) !important;
}

/* ==========================================================
   PRODUCT CARD - PREMIUM FOUNDATION
========================================================== */
.product-card {
    border: 2px solid var(--navy-mid, #34566f) !important;
    background: var(--white);
    overflow: hidden;
    position: relative;
    cursor: pointer;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform .45s cubic-bezier(.175, .885, .32, 1.275),
        box-shadow .45s ease,
        border-color .45s ease;
}

/* ==========================================================
   CONTINUOUS GLASS GLINT
========================================================== */
.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .08) 35%,
            rgba(255, 255, 255, .65) 50%,
            rgba(255, 255, 255, .08) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg) translateX(-320%);
    pointer-events: none;
    z-index: 2;
    animation: productGlass 7s linear infinite;
}

/* ==========================================================
   BOTTOM LASER ACCENT
========================================================== */
.product-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #00f2fe,
            #4facfe,
            #ff0844,
            #ffb199);
    transition: all .45s ease;
    z-index: 3;
}

/* ==========================================================
   PRODUCT IMAGE CONTAINER
========================================================== */
.product-card .img-container {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    position: relative;
    overflow: hidden;
    border-bottom: 2px solid var(--navy-mid, #34566f);
    background:
        radial-gradient(circle at 50% 35%,
            #5EA7FF 0%,
            #2f84f4 35%,
            #1567D8 65%,
            #0d63ec 100%);
    transition:
        background .45s ease,
        border-color .45s ease;
}

/* ==========================================================
   SPOTLIGHT
========================================================== */
.product-card .img-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 180px;
    height: 180px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    filter: blur(35px);
    opacity: .85;
    transition: all .45s ease;
    z-index: 1;
}

/* ==========================================================
   PRODUCT IMAGE
========================================================== */
.product-card .img-container img {
    max-height: 160px;
    width: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition:
        transform .55s cubic-bezier(.175, .885, .32, 1.275),
        filter .45s ease;
    will-change: transform;
}

/* ==========================================================
   GLASS ANIMATION
========================================================== */
@keyframes productGlass {
    0% {
        transform: skewX(-25deg) translateX(-320%);
    }

    20% {
        transform: skewX(-25deg) translateX(450%);
    }

    100% {
        transform: skewX(-25deg) translateX(450%);
    }
}

/* ==========================================================
   MOBILE EXPERIENCE
========================================================== */
@media (max-width:991.98px) {
    .product-card {
        border-color: #4facfe !important;
        box-shadow:
            0 10px 25px rgba(79, 172, 254, .15);
    }

    /* Laser is always visible on mobile */
    .product-card::after {
        width: 100%;
        left: 0;
    }

    /* Press feedback */
    .product-card:active {
        transform: scale(.98);
        box-shadow:
            0 8px 18px rgba(0, 0, 0, .10),
            0 0 18px rgba(79, 172, 254, .35);
    }

    .product-card:active .img-container img {
        transform: scale(1.05);
    }
}

/* ==========================================================
   DESKTOP HOVER EFFECTS
========================================================== */
@media (min-width:992px) {
    .product-card:hover {
        transform:
            translateY(-10px) scale(1.02);
        border-color: #4facfe !important;
        box-shadow:
            0 20px 45px rgba(79, 172, 254, .18),
            0 0 28px rgba(79, 172, 254, .28);
    }

    /* Laser underline grows */
    .product-card:hover::after {
        width: 100%;
        left: 0;
    }

    /* Brighter blue background */
    .product-card:hover .img-container {
        border-bottom-color: #4facfe;
        background:
            radial-gradient(circle at 50% 35%,
                #74B3FF 0%,
                #4194FF 35%,
                #1F76E8 65%,
                #0A4AAE 100%);
    }

    /* Spotlight becomes larger */
    .product-card:hover .img-container::before {
        width: 220px;
        height: 220px;
        opacity: 1;
        filter: blur(45px);
    }

    /* Product image animation */
    .product-card:hover .img-container img {
        transform:
            scale(1.08) translateY(-4px);
        filter:
            drop-shadow(0 12px 20px rgba(0, 0, 0, .18)) drop-shadow(0 0 12px rgba(255, 255, 255, .25));
    }
}

/* ==========================================================
   OPTIONAL FLOATING PRODUCT
========================================================== */
@keyframes imageFloat {
    0% {
        transform: translateY(0);
    }

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

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

/* Uncomment if you want products to float slightly */
/*
.product-card .img-container img{
                    animation:imageFloat 5s ease-in-out infinite;
}
*/
/* ==========================================================
   PERFORMANCE
========================================================== */
.product-card,
.product-card::before,
.product-card::after,
.product-card .img-container,
.product-card .img-container::before,
.product-card .img-container img {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

/* ==========================================================
   Outline Button
========================================================== */
.btn-navy-outline {
    background-color: transparent;
    color: var(--navy-primary);
    border: 2px solid var(--navy-mid);
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-navy-outline:hover {
    background-color: var(--navy-mid);
    color: var(--white);
    border-color: var(--navy-mid);
}

/* ==========================================================
   System Integration Flowchart
========================================================== */
.flow-box {
    background-color: var(--white);
    border: 1px solid var(--border-color) !important;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(52, 86, 111, 0.06);
}

.flow-box:hover {
    background-color: var(--navy-light);
    border-color: var(--navy-mid) !important;
    box-shadow: 0 12px 28px rgba(52, 86, 111, 0.12);
}

.step-num {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    background: var(--navy-mid);
    color: var(--white);
    border-radius: 50%;
}

.flow-arrow {
    position: absolute;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 2rem;
    color: var(--navy-mid);
}

/* ==========================================================
   INDUSTRY CARD
========================================================== */
.industry-card {
    position: relative;
    overflow: hidden;
    background: var(--white);
    border: 2px solid var(--navy-mid, #34566f) !important;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 5px 18px rgba(0, 0, 0, .06);
    transition: all .45s cubic-bezier(.175, .885, .32, 1.275);
    -webkit-tap-highlight-color: transparent;
    z-index: 1;
}

/* ==========================================================
   CONTINUOUS GLASS SHINE
========================================================== */
.industry-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -180%;
    width: 45%;
    height: 100%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .08) 35%,
            rgba(255, 255, 255, .65) 50%,
            rgba(255, 255, 255, .08) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: glassSweep 4s linear infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes glassSweep {
    0% {
        left: -180%;
    }

    20% {
        left: 180%;
    }

    100% {
        left: 180%;
    }
}

/* ==========================================================
   BOTTOM LASER LINE
========================================================== */
.industry-card::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #00f2fe,
            #4facfe,
            #ff0844,
            #ffb199);
    transition: all .4s ease;
    z-index: 3;
}

/* ==========================================================
   IMAGE
========================================================== */
.industry-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition:
        transform .7s cubic-bezier(.25, 1, .5, 1),
        filter .35s ease;
}

/* ==========================================================
   CONTENT
========================================================== */
.industry-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    position: relative;
    z-index: 5;
}

/* ==========================================================
   TITLE
========================================================== */
.industry-content h5 {
    position: relative;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: .6px;
    line-height: 1.45;
    color: #333;
    text-align: center;
    transition: all .35s ease;
}

/* ==========================================================
   TITLE UNDERLINE
========================================================== */
.industry-content h5::after {
    content: "";
    display: block;
    width: 36px;
    height: 3px;
    margin: 12px auto 0;
    border-radius: 50px;
    background: linear-gradient(90deg,
            #ffc107,
            #ffd95a);
    transition: width .35s ease;
}

/* ==========================================================
   ICON
========================================================== */
.industry-content i {
    width: 68px;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
    font-size: 1.9rem;
    color: var(--navy-mid, #34566f);
    border: 2px solid rgba(79, 172, 254, .25);
    border-radius: 50%;
    background: var(--navy-light);
    transition: all .45s cubic-bezier(.175, .885, .32, 1.275);
}

/* ==========================================================
   DESKTOP HOVER EFFECTS
========================================================== */
@media (min-width:992px) {
    .industry-card:hover {
        transform:
            translateY(-10px) scale(1.01);
        border-color: #4facfe !important;
        box-shadow:
            0 20px 40px rgba(79, 172, 254, .18),
            0 0 30px rgba(79, 172, 254, .28);
    }

    /* Laser Line */
    .industry-card:hover::after {
        width: 100%;
        left: 0;
    }

    /* Image */
    .industry-card:hover img {
        transform: scale(1.10);
        filter:
            brightness(1.05) contrast(1.04);
    }

    /* Icon */
    .industry-card:hover .industry-content i {
        transform:
            scale(1.15) rotate(360deg);
        background: linear-gradient(135deg,
                #00f2fe 0%,
                #4facfe 100%);
        color: #fff;
        border-color: #fff;
        box-shadow:
            0 0 18px rgba(0, 242, 254, .45),
            0 10px 25px rgba(79, 172, 254, .20);
    }

    /* Heading */
    .industry-card:hover .industry-content h5 {
        color: #0d6efd;
        transform: translateY(-3px);
    }

    /* Underline */
    .industry-card:hover .industry-content h5::after {
        width: 75px;
    }
}

/* ==========================================================
   MOBILE
========================================================== */
@media (max-width:991.98px) {
    .industry-card {
        border-color: #4facfe !important;
        box-shadow:
            0 10px 25px rgba(79, 172, 254, .15);
    }

    .industry-card::after {
        width: 100%;
        left: 0;
    }

    .industry-content i {
        background: linear-gradient(135deg,
                #00f2fe,
                #4facfe);
        color: #fff;
        border-color: #fff;
        box-shadow:
            0 0 12px rgba(0, 242, 254, .35);
    }

    .industry-content h5 {
        color: #0d6efd;
    }

    .industry-card:active {
        transform: scale(.97);
    }
}

/* ==========================================================
   SMOOTH CONTENT ANIMATION
========================================================== */
.industry-content>* {
    transition:
        transform .35s ease,
        color .35s ease,
        background .35s ease,
        box-shadow .35s ease;
}

/* ==========================================================
   IMAGE GPU OPTIMIZATION
========================================================== */
.industry-card img {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

/* ==========================================================
   ICON GPU OPTIMIZATION
========================================================== */
.industry-content i {
    will-change:
        transform,
        box-shadow;
}

/* ==========================================================
   KEYBOARD ACCESSIBILITY
========================================================== */
.industry-card:focus-visible {
    outline: none;
    border-color: #4facfe !important;
    box-shadow:
        0 0 0 4px rgba(79, 172, 254, .20),
        0 15px 35px rgba(79, 172, 254, .18);
}

/* ==========================================================
   IMAGE OVERLAY
========================================================== */
.industry-card .industry-image {
    position: relative;
    overflow: hidden;
}

.industry-card .industry-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, .18),
            rgba(0, 0, 0, 0));
    opacity: .65;
    transition: opacity .4s ease;
    pointer-events: none;
}

@media(min-width:992px) {
    .industry-card:hover .industry-image::after {
        opacity: .25;
    }
}

/* ==========================================================
   ICON SHADOW
========================================================== */
.industry-content i {
    box-shadow:
        0 8px 18px rgba(0, 0, 0, .08);
}

/* ==========================================================
   TITLE SMOOTHNESS
========================================================== */
.industry-content h5 {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================
   REDUCED MOTION SUPPORT
========================================================== */
@media (prefers-reduced-motion:reduce) {

    .industry-card,
    .industry-card::before,
    .industry-card::after,
    .industry-card img,
    .industry-content i,
    .industry-content h5,
    .industry-content h5::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* ==========================================================
   SMALL MOBILE IMPROVEMENTS
========================================================== */
@media(max-width:575.98px) {
    .industry-card {
        border-radius: 8px;
    }

    .industry-card img {
        height: 190px;
    }

    .industry-content {
        padding: 18px;
    }

    .industry-content i {
        width: 58px;
        height: 58px;
        font-size: 1.55rem;
        margin-bottom: 16px;
    }

    .industry-content h5 {
        font-size: 1rem;
        line-height: 1.4;
    }
}

/* ==========================================================
   TABLET IMPROVEMENTS
========================================================== */
@media(min-width:576px) and (max-width:991.98px) {
    .industry-card img {
        height: 210px;
    }
}

/* ==========================================================
   GPU OPTIMIZATION
========================================================== */
.industry-card,
.industry-card img,
.industry-content i {
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* ==========================================================
   IMAGE RENDERING
========================================================== */
.industry-card img {
    image-rendering: auto;
    display: block;
}

/* ==========================================================
   Forms
========================================================== */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--navy-mid) !important;
    box-shadow: 0 0 0 .25rem rgba(107, 149, 182, .18) !important;
}

.btn-navy-solid {
    background-color: var(--navy-mid);
    color: var(--white);
    border: none;
    font-weight: 700;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-navy-solid:hover {
    background-color: var(--navy-primary);
    color: var(--white);
}

/* ==========================================================
   Footer
========================================================== */
.footer {
    background: linear-gradient(135deg, #183548 0%, #23485f 45%, #102736 100%);
    color: #ffffff;
}

/* Footer Headings */
.footer-title {
    position: relative;
    color: #ffffff !important;
    font-weight: 700;
}

.footer-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 40px;
    height: 3px;
    background: #7DD3FC;
    border-radius: 5px;
}

/* All Text - MODIFIED: removed .footer list item hooks to allow flexible states */
.footer p,
.footer span,
.footer li,
.footer address,
.footer small,
.footer strong {
    color: #F5FAFD !important;
}

/* Links */
.footer a {
    color: #F5FAFD !important;
    text-decoration: none;
    transition: all .3s ease;
}

.footer a:hover {
    color: #8FD8FF !important;
    padding-left: 5px;
}

/* Icons */
.footer i {
    color: #8FD8FF;
}

/* Social Icons */
.social-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-size: 1.1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff !important;
    transition: all .3s ease;
}

.social-icon:hover {
    background: #7DD3FC;
    color: #183548 !important;
    transform: translateY(-3px);
}

/* ==========================================================================
   🔒 ENLARGED SINGLE-ROW CERTIFICATION TILES (FORCED 1-LINE HOVER SWIPER)
   ========================================================================== */
.footer-cert-container {
    max-width: 100%;
}

.footer-cert-container h6 {
    color: rgba(245, 250, 253, 0.6) !important;
}

/* Container forcing single-line overflow logic */
.cert-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    /* Forces a horizontal scroll track exclusively on small viewports */
    overflow-y: hidden;
    padding-bottom: 8px;
    /* Extra room so the layout doesn't clip your drop shadow aura */
    -webkit-overflow-scrolling: touch;
    /* Maximizes smooth fluid momentum swiping on mobile iOS */
}

/* Elegant scrollbar cleaning for mobile screens (Makes track disappear) */
.cert-scroll-wrapper::-webkit-scrollbar {
    height: 4px;
}

.cert-scroll-wrapper::-webkit-scrollbar-thumb {
    background: rgba(125, 211, 252, 0.2);
    border-radius: 10px;
}

.footer-cert-item {
    background: #ffffff !important;
    /* Permanent clean white square tile fill */
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* ENLARGED: Set to a generous 90px square size for perfect readability without zoom */
    width: 90px !important;
    height: 90px !important;
    aspect-ratio: 1 / 1 !important;
    /* CRITICAL: Prevents tiles from shrinking or crumpling when space is tight */
    flex-shrink: 0 !important;
    transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.25s ease;
}

.footer-cert-img {
    max-width: 100%;
    height: auto;
    max-height: 60px;
    /* Expanded limit so detailed logos (like ATEX/ISO) are pristine */
    object-fit: contain;
    filter: brightness(0.95) contrast(1.05);
    transition: transform 0.25s ease;
}

/* Active Hover & Smartphone Touch Responses */
.footer-cert-item:hover,
.footer-cert-item:active {
    border-color: #7DD3FC !important;
    /* Highlights using your sky-blue palette link token */
    box-shadow: 0 10px 25px rgba(125, 211, 252, 0.3);
    /* Premium cyan color-cast aura */
    transform: translateY(-4px) scale(1.05);
}

.footer-cert-item:hover .footer-cert-img,
.footer-cert-item:active .footer-cert-img {
    transform: scale(1.06);
    /* Clean interior micro zoom */
}

/*==================================================
CERTIFICATION + MINI CEO
==================================================*/
.footer-bottom-info {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.footer-cert-container {
    flex: 1;
    min-width: 0;
}

/* Small CEO */
.footer-mini-ceo {
    width: 180px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    transition: .35s;
    flex-shrink: 0;
}

.footer-mini-ceo:hover {
    transform: translateY(-3px);
    border-color: #7DD3FC;
}

.footer-mini-ceo-img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #7DD3FC;
}

.footer-mini-content {
    flex: 1;
}

.footer-mini-content h6 {
    color: #fff;
    font-size: .8rem;
    margin: 0 0 4px;
}

.footer-mini-content p {
    font-size: .72rem;
    color: rgba(255, 255, 255, .75) !important;
    margin-bottom: 5px;
    line-height: 1.4;
}

.footer-mini-content span {
    color: #7DD3FC;
    font-size: .72rem;
    font-weight: 600;
}

@media(max-width:991px) {
    .footer-bottom-info {
        flex-direction: column;
    }

    .footer-mini-ceo {
        width: 100%;
    }
}

/* ==========================================================
   Responsive Overrides
========================================================== */
@media (max-width: 1199.98px) {
    .carousel-item {
        height: 500px;
    }
}

@media (max-width: 991.98px) {
    .carousel-item {
        height: 440px;
    }

    .flow-arrow {
        display: none !important;
    }

    .hex-row {
        gap: 1.5rem !important;
    }
}

@media (max-width: 767.98px) {
    .carousel-item {
        height: 380px;
    }

    .display-4 {
        font-size: 2.2rem;
    }

    .client-logo {
        font-size: .95rem;
    }
}

/* ==========================================================
   Mega Menu
========================================================== */
.mega-menu {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    margin-top: .75rem;
    border-radius: 10px;
    background: var(--white);
    border: 1px solid var(--border-color);
    box-shadow: 0 15px 40px rgba(52, 86, 111, .10);
}

.mega-links li a {
    color: var(--dark-text);
    transition: var(--transition);
}

.mega-links li a:hover {
    color: var(--navy-mid) !important;
    padding-left: 4px;
}

.border-end-lg {
    border-right: 1px solid var(--border-color);
}

@media(max-width:991.98px) {
    .border-end-lg {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 1.5rem;
        margin-bottom: 1rem;
    }
}

@media(min-width:1200px) {
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(15px);
        transition: var(--transition);
    }
}

@media(max-width:1199.98px) {
    .navbar-nav .dropdown-menu {
        background: var(--light-bg) !important;
        border: 1px solid var(--border-color) !important;
        box-shadow: none !important;
        padding: 1.5rem !important;
        width: 100% !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
}

/* ==========================================================
   CERTIFICATION CARD - PREMIUM FOUNDATION
========================================================== */
.cert-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: var(--white, #ffffff);
    border: 2px solid var(--navy-mid, #34566f) !important;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
    transition:
        transform .45s cubic-bezier(.175, .885, .32, 1.275),
        box-shadow .45s ease,
        border-color .45s ease,
        background-color .35s ease;
}

/* ==========================================================
   CONTINUOUS GLASS GLINT
========================================================== */
.cert-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 42%;
    height: 100%;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, .08) 35%,
            rgba(255, 255, 255, .65) 50%,
            rgba(255, 255, 255, .08) 65%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg) translateX(-320%);
    pointer-events: none;
    z-index: 2;
    animation: certGlass 7s linear infinite;
}

/* ==========================================================
   BOTTOM LASER ACCENT
========================================================== */
.cert-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg,
            #00f2fe,
            #4facfe,
            #ff0844,
            #ffb199);
    transition: all .45s ease;
    z-index: 3;
}

/* ==========================================================
   CERTIFICATION BADGE
========================================================== */
.cert-badge-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            #00d4ff 0%,
            #4194FF 55%,
            #0d63ec 100%) !important;
    color: #fff !important;
    font-size: 1.8rem;
    position: relative;
    z-index: 4;
    box-shadow:
        0 8px 18px rgba(7, 255, 222, 0.28);
    transition:
        transform .45s cubic-bezier(.175, .885, .32, 1.275),
        box-shadow .45s ease;
}

.cert-badge-circle i {
    color: #fff !important;
    transition:
        transform .45s ease;
}

/* ==========================================================
   GLASS ANIMATION
========================================================== */
@keyframes certGlass {
    0% {
        transform:
            skewX(-25deg) translateX(-320%);
    }

    20% {
        transform:
            skewX(-25deg) translateX(450%);
    }

    100% {
        transform:
            skewX(-25deg) translateX(450%);
    }
}

/* ==========================================================
   MOBILE EXPERIENCE
========================================================== */
@media (max-width:991.98px) {
    .cert-card {
        border-color: #4facfe !important;
        box-shadow:
            0 10px 25px rgba(79, 172, 254, .15);
        opacity: 0;
        animation:
            mobile3DFlip .75s cubic-bezier(.16, 1, .30, 1) forwards;
        transform-origin: top center;
        backface-visibility: hidden;
    }

    /* Keep laser visible */
    .cert-card::after {
        width: 100%;
        left: 0;
    }

    /* Mobile press feedback */
    .cert-card:active {
        transform: scale(.97);
        box-shadow:
            0 8px 18px rgba(0, 0, 0, .10),
            0 0 18px rgba(79, 172, 254, .35);
    }

    .cert-card:active .cert-badge-circle {
        transform: scale(1.10);
    }

    /* Keep your staggered entrance */
    .wrapper-3d:nth-child(1) .cert-card {
        animation-delay: .10s;
    }

    .wrapper-3d:nth-child(2) .cert-card {
        animation-delay: .25s;
    }

    .wrapper-3d:nth-child(3) .cert-card {
        animation-delay: .40s;
    }
}

/* ==========================================================
   MOBILE 3D ENTRANCE
========================================================== */
@keyframes mobile3DFlip {
    0% {
        opacity: 0;
        transform:
            rotateX(-55deg) scale(.90);
    }

    100% {
        opacity: 1;
        transform:
            rotateX(0) scale(1);
    }
}

/* ==========================================================
   DESKTOP HOVER
========================================================== */
@media (min-width:992px) {
    .cert-card {
        box-shadow:
            0 5px 15px rgba(52, 86, 111, .05);
    }

    .cert-card:hover {
        transform:
            translateY(-10px) scale(1.02);
        border-color: #4facfe !important;
        box-shadow:
            0 20px 45px rgba(79, 172, 254, .18),
            0 0 28px rgba(79, 172, 254, .28);
    }

    /* Laser grows */
    .cert-card:hover::after {
        width: 100%;
        left: 0;
    }

    /* Badge animation */
    .cert-card:hover .cert-badge-circle {
        transform:
            scale(1.18) rotate(360deg);
        box-shadow:
            0 12px 28px rgba(7, 255, 201, 0.749),
            0 0 18px rgba(7, 48, 255, 0.852);
    }

    .cert-card:hover .cert-badge-circle i {
        transform: scale(1.08);
    }
}

/* ==========================================================
   PERFORMANCE
========================================================== */
.cert-card,
.cert-card::before,
.cert-card::after,
.cert-badge-circle,
.cert-badge-circle i {
    backface-visibility: hidden;
    transform-style: preserve-3d;
    will-change: transform;
}

/*======================================================
            PREMIUM CLIENT COVERFLOW
=======================================================*/
.clientSwiper {
    width: 100%;
    padding: 70px 0;
    overflow: visible;
}

.clientSwiper .swiper-wrapper {
    align-items: center;
}

.clientSwiper .swiper-slide {
    width: 260px;
    height: 190px;
    border-radius: 22px;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: .45s;
    box-shadow:
        0 15px 35px rgba(0, 0, 0, .10);
}

.clientSwiper .swiper-slide img {
    width: 78%;
    height: 78%;
    object-fit: contain;
    image-rendering: auto;
    image-rendering: -webkit-optimize-contrast;
    transition: .45s;
    filter: grayscale(10%);
}

/* Active Logo */
.clientSwiper .swiper-slide-active {
    box-shadow:
        0 25px 60px rgba(0, 0, 0, .20),
        0 0 35px rgba(212, 175, 55, .45);
}

.clientSwiper .swiper-slide-active img {
    transform: scale(1.12);
    filter: none;
}

/* Adjacent */
.clientSwiper .swiper-slide-prev,
.clientSwiper .swiper-slide-next {
    opacity: .82;
}

/* Far Slides */
.clientSwiper .swiper-slide:not(.swiper-slide-active) {
    opacity: .55;
}

/* Hover */
.clientSwiper .swiper-slide:hover {
    transform: translateY(-8px);
}

/* Reflection */
.clientSwiper .swiper-slide::after {
    content: "";
    position: absolute;
    left: 15%;
    width: 70%;
    height: 24px;
    bottom: -30px;
    background:
        radial-gradient(circle,
            rgba(0, 0, 0, .18),
            transparent 70%);
    filter: blur(10px);
}

/* Mobile */
@media(max-width:768px) {
    .clientSwiper {
        padding: 35px 0;
    }

    .clientSwiper .swiper-slide {
        width: 180px;
        height: 130px;
    }

    .clientSwiper .swiper-slide img {
        width: 72%;
    }
}

/* .client-logo-only img {
                                    max-width: 100px;
                                    max-height: 100px;
                                    object-fit: contain;
                                    transition: var(--transition);
}
.client-logo-only:hover img {
                                    transform: scale(1.08);
} */
/* ==========================================================
   Schematic
========================================================== */
.schematic-container {
    background: #F8FBFD;
    border: 1px solid var(--border-color) !important;
}

.schematic-container::before {
    content: '';
    position: absolute;
    top: 60%;
    left: 40px;
    right: 40px;
    height: 2px;
    background: repeating-linear-gradient(to right,
            var(--navy-mid) 0,
            var(--navy-mid) 4px,
            transparent 4px,
            transparent 8px);
}

.bg-navy-mid {
    background: var(--navy-mid) !important;
    position: relative;
    z-index: 2;
}

.safe-zone {
    background: #EAF6F0 !important;
    border-color: #6FAF8D !important;
    position: relative;
    z-index: 2;
}

.hazard-zone {
    background: #EEF6FB !important;
    border-color: #6B95B6 !important;
    position: relative;
    z-index: 2;
}

.panel-box-visual {
    position: relative;
    z-index: 2;
}

.xxs-text {
    font-size: .72rem;
    font-weight: 500;
}

.output-item-visual {
    border: 1px solid rgba(52, 86, 111, .10);
    transition: var(--transition);
}

.output-item-visual:hover {
    background: var(--navy-mid) !important;
    border-color: var(--navy-mid) !important;
    color: var(--white) !important;
    transform: translateX(4px);
}

.step-badge {
    background: var(--navy-mid);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(107, 149, 182, .30);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ==========================================================
   WhatsApp
========================================================== */
.whatsapp-pulse {
    display: inline-block;
    animation: waGlowPulse 2.5s infinite ease-in-out;
}

@keyframes waGlowPulse {
    0% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(107, 149, 182, 0);
    }

    50% {
        transform: scale(1.15);
        text-shadow: 0 0 8px rgba(107, 149, 182, .55);
    }

    100% {
        transform: scale(1);
        text-shadow: 0 0 0 rgba(107, 149, 182, 0);
    }
}

/* ==========================================================
   Raise Query Button
========================================================== */
.btn-animate-query {
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: var(--transition);
}

.premium-flash-text {
    display: block;
    width: 100%;
    color: #0a192f;
    transition: color 0.5s ease;
    /* Slightly faster 3-second cycle makes the pulse more visible */
    animation: distinctGlowPulse 3s ease-in-out infinite;
}

@keyframes distinctGlowPulse {

    0%,
    100% {
        color: #0a192f;
        /* Deep Navy */
        text-shadow: 0 0 0px rgba(212, 175, 55, 0);
    }

    50% {
        color: #aa8416;
        /* Muted Gold color shift */
        /* Increased blur radius and opacity for a more defined flash */
        text-shadow: 0 0 14px rgba(212, 175, 55, 0.6), 0 0 2px rgba(212, 175, 55, 0.4);
    }
}

.btn-animate-query:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 149, 182, .25);
}

.btn-animate-query i {
    transition: transform .3s;
}

.btn-animate-query:hover i {
    transform: translateX(4px);
}

.btn-animate-query::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 40%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0),
            rgba(255, 255, 255, .25),
            rgba(255, 255, 255, 0));
    transform: skewX(-25deg);
    z-index: -1;
    animation: buttonSheenLoop 4.5s infinite ease-in-out;
}

@keyframes buttonSheenLoop {

    0%,
    75% {
        left: -100%;
    }

    90%,
    100% {
        left: 160%;
    }
}

/* Entry Animation Keyframes */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

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

.brand-header-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    /* Animation implementation */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.brand-title {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    /* Responsive: scales smoothly down on mobile */
    font-weight: 800;
    text-transform: uppercase;
    color: var(--navy-primary);
    letter-spacing: -0.03em;
    margin: 0;
    line-height: 1.1;
    /* Hover effect using your brand transition variable */
    transition: var(--transition);
    cursor: default;
}

/* Subtle premium hover effect for the title */
.brand-title:hover {
    color: var(--gold-accent);
}

.brand-accent {
    font-weight: 800;
    color: var(--navy-mid);
    transition: var(--transition);
}

.brand-title:hover .brand-accent {
    color: var(--navy-primary);
}

.safety-badge {
    font-family: 'Montserrat', 'Inter', sans-serif;
    font-size: clamp(0.625rem, 2vw, 0.72rem);
    /* Keeps badge text readable on mobile */
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--dark-text);
    background: var(--gold-light);
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    display: inline-block;
    width: max-content;
    box-shadow: 0 2px 4px rgba(52, 86, 111, 0.04);
    /* Staggers badge animation slightly after title */
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) 0.2s forwards;
    transition: var(--transition);
}

/* Hover effect for the safety badge */
.safety-badge:hover {
    background: var(--white);
    border-color: var(--navy-mid);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(52, 86, 111, 0.08);
}

/* Mobile Tweak for very small screens */
@media (max-width: 480px) {
    .brand-header-group {
        gap: 6px;
    }

    .safety-badge {
        padding: 4px 10px;
        letter-spacing: 0.18em;
        /* Slightly tighter tracking so it stays on one line */
    }
}

@keyframes floatIcon {

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

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

@media (hover: none) and (pointer: coarse) {
    .industry-content i {
        animation: floatIcon 3s ease-in-out infinite;
    }
}

/* ==========================================================
   CEO SECTION
========================================================== */
.ceo-section {
    position: relative;
    padding: 110px 0;
    background: linear-gradient(180deg,
            #f8fbfd 0%,
            #f3f8fc 100%);
    overflow: hidden;
}

/* soft background */
.ceo-section::before {
    content: '';
    position: absolute;
    width: 520px;
    height: 520px;
    top: -180px;
    right: -180px;
    border-radius: 50%;
    background: radial-gradient(rgba(79, 129, 168, .12),
            transparent 70%);
}

.ceo-section::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    bottom: -170px;
    left: -170px;
    border-radius: 50%;
    background: radial-gradient(rgba(64, 112, 148, .08),
            transparent 70%);
}

/* ==========================================================
   IMAGE COLUMN
========================================================== */
.ceo-image-column {
    position: relative;
    display: flex;
    justify-content: center;
}

/* ==========================================================
   IMAGE CARD
========================================================== */
.ceo-image-card {
    position: relative;
    width: 100%;
    max-width: 420px;
    padding: 16px;
    background: #fff;
    border-radius: 34px;
    overflow: visible;
    box-shadow:
        0 18px 45px rgba(52, 86, 111, .12);
    transition: all .45s ease;
}

/* Floating frame */
.ceo-image-card::before {
    content: '';
    position: absolute;
    inset: -12px;
    border: 2px solid rgba(79, 129, 168, .12);
    border-radius: 42px;
    z-index: -1;
}

/* Organic Corner Frame */
.ceo-image {
    width: 100%;
    display: block;
    border-radius: 34px;
    /* clip-path: polygon(0 0,
            88% 0,
            100% 12%,
            100% 100%,
            12% 100%,
            0 88%); */
    transition: .55s ease;
}

/* ==========================================================
   FLOATING BADGE
========================================================== */
.ceo-badge {
    position: absolute;
    bottom: 75px;
    right: 150px;
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border-radius: 18px;
    padding: 16px 22px;
    box-shadow:
        0 12px 30px rgba(52, 86, 111, .18);
    z-index: 5;
}

.ceo-badge i {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg,
            var(--navy-light),
            var(--navy-primary));
    color: #fff;
    font-size: 1.3rem;
}

.ceo-badge strong {
    display: block;
    color: var(--navy-primary);
    font-size: 1.15rem;
}

.ceo-badge span {
    color: #6b7d8d;
    font-size: .9rem;
}

/* ==========================================================
   MESSAGE CARD
========================================================== */
.ceo-card {
    position: relative;
    background: #fff;
    border-radius: 32px;
    padding: 60px;
    box-shadow:
        0 20px 45px rgba(52, 86, 111, .10);
    margin-left: -60px;
    z-index: 2;
}

/* Quote */
.quote-watermark {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 7rem;
    color: rgba(79, 129, 168, .07);
    line-height: 1;
}

/* Accent */
.ceo-accent-line {
    position: absolute;
    left: 0;
    top: 60px;
    width: 5px;
    height: 140px;
    border-radius: 10px;
    background: linear-gradient(to bottom,
            var(--navy-primary),
            var(--navy-light));
}

/* ==========================================================
   CONTENT
========================================================== */
.ceo-content h3 {
    color: var(--navy-primary);
    font-size: 2rem;
    margin-bottom: 28px;
    font-weight: 700;
}

.ceo-content p {
    color: #647484;
    font-size: 1.03rem;
    line-height: 1.95;
    margin-bottom: 22px;
}

/* ==========================================================
   SIGNATURE
========================================================== */
.ceo-signature {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(52, 86, 111, .10);
}

.signature-line {
    width: 70px;
    height: 4px;
    border-radius: 30px;
    margin-bottom: 18px;
    background: linear-gradient(90deg,
            var(--navy-primary),
            var(--navy-light));
}

.ceo-signature h4 {
    font-family: "Outfit", sans-serif;
    color: var(--navy-primary);
    font-size: 1.55rem;
    margin-bottom: 6px;
}

.ceo-signature span {
    display: block;
    color: var(--navy-mid);
    font-weight: 600;
    margin-bottom: 6px;
}

.ceo-signature small {
    color: #8191a0;
}

/* ==========================================
   IMAGE CARD
========================================== */
.ceo-image-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 30px 60px rgba(52, 86, 111, .18);
}

.ceo-image-card:hover .ceo-image {
    transform: scale(1.04);
}

/* Floating Frame */
.ceo-image-card::after {
    content: '';
    position: absolute;
    inset: 8px;
    border-radius: 30px;
    border: 1px solid rgba(79, 129, 168, .08);
    pointer-events: none;
}

/* ==========================================
   SOFT HALO
========================================== */
.ceo-image-column::before {
    content: '';
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(rgba(79, 129, 168, .18),
            transparent 72%);
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(35px);
    z-index: -1;
    animation: haloFloat 8s ease-in-out infinite;
}

@keyframes haloFloat {

    0%,
    100% {
        transform:
            translateX(-50%) scale(1);
    }

    50% {
        transform:
            translateX(-50%) scale(1.08);
    }
}

/* ==========================================
   LIGHT SWEEP
========================================== */
.ceo-image-card {
    overflow: hidden;
}

.ceo-image-card::before {
    animation: borderPulse 5s infinite;
}

.ceo-image-card .ceo-image {
    position: relative;
}

.ceo-image-card .ceo-image::after {
    display: none;
}

/* Sweep Layer */
.ceo-image-card .light-sweep {
    display: none;
}

/* Image Reflection */
.ceo-image-card:after {
    animation: imageSweep 6s infinite;
}

@keyframes imageSweep {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

/* ==========================================
   BADGE
========================================== */
.ceo-badge {
    transition: .4s ease;
}

.ceo-image-card:hover .ceo-badge {
    transform:
        translateY(-6px);
    box-shadow:
        0 18px 40px rgba(52, 86, 111, .18);
}

.ceo-badge i {
    transition: .35s ease;
}

.ceo-image-card:hover .ceo-badge i {
    transform: rotate(-8deg) scale(1.08);
}

/* ==========================================
   MESSAGE CARD
========================================== */
.ceo-card {
    transition: .45s ease;
}

.ceo-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 28px 60px rgba(52, 86, 111, .15);
}

/* ==========================================
   ACCENT LINE
========================================== */
.ceo-accent-line {
    animation: lineGrow 4s ease-in-out infinite;
}

@keyframes lineGrow {

    0%,
    100% {
        height: 140px;
    }

    50% {
        height: 165px;
    }
}

/* ==========================================
   QUOTE
========================================== */
.quote-watermark {
    transition: .5s ease;
}

.ceo-card:hover .quote-watermark {
    transform:
        rotate(-10deg) scale(1.08);
    color: rgba(79, 129, 168, .11);
}

/* ==========================================
   CONTENT
========================================== */
.ceo-content h3 {
    transition: .35s ease;
}

/* .ceo-card:hover h3 {
    color: var(--navy-light);
} */

.ceo-content p {
    transition: .35s ease;
}

.ceo-card:hover p {
    color: #4e6071;
}

/* ==========================================
   SIGNATURE
========================================== */
.signature-line {
    position: relative;
    overflow: hidden;
}

.signature-line::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 40%;
    height: 100%;
    background: #fff;
    opacity: .8;
    filter: blur(2px);
    animation: signatureSweep 5s infinite;
}

@keyframes signatureSweep {
    0% {
        left: -100%;
    }

    45% {
        left: 180%;
    }

    100% {
        left: 180%;
    }
}

.ceo-signature h4 {
    transition: .35s ease;
}

.ceo-card:hover h4 {
    letter-spacing: .5px;
}

/* ==========================================
   SECTION TITLE
========================================== */
.section-title {
    position: relative;
    display: inline-block;
    z-index: -1;
}

.section-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    z-index: 1;
    background: linear-gradient(110deg,
            transparent,
            rgba(255, 255, 255, .75),
            transparent);
    transform: skewX(-20deg);
    animation: titleSweep 6s infinite;
}

@keyframes titleSweep {
    0% {
        left: -120%;
    }

    45% {
        left: 180%;
    }

    100% {
        left: 180%;
    }
}

/* ==========================================
   FLOATING IMAGE
========================================== */
.ceo-image-card {
    animation: imageFloat 6s ease-in-out infinite;
}

@keyframes imageFloat {

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

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

/* Prevent animation conflict while hovering */
.ceo-image-card:hover {
    animation: none;
}

/* ==========================================
   CARD APPEARANCE
========================================== */
.ceo-image-card,
.ceo-card {
    opacity: 0;
    transform: translateY(40px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.ceo-image-card.show,
.ceo-card.show {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   REDUCED MOTION
========================================== */
@media (prefers-reduced-motion: reduce) {

    .ceo-image-card,
    .ceo-card,
    .section-title::after,
    .signature-line::after {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   BLUEPRINT DECORATION
========================================== */
.ceo-section .blueprint-line {
    position: absolute;
    background: rgba(79, 129, 168, .08);
    pointer-events: none;
}

.ceo-section .line-top {
    width: 140px;
    height: 2px;
    top: 90px;
    left: 8%;
}

.ceo-section .line-left {
    width: 2px;
    height: 140px;
    top: 90px;
    left: 8%;
}

.ceo-section .line-bottom {
    width: 180px;
    height: 2px;
    right: 8%;
    bottom: 90px;
}

.ceo-section .line-right {
    width: 2px;
    height: 140px;
    right: 8%;
    bottom: 90px;
}

/* ==========================================
   DECORATIVE CIRCLES
========================================== */
.ceo-section .circle-outline {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(79, 129, 168, .08);
    pointer-events: none;
}

.ceo-section .circle-one {
    width: 80px;
    height: 80px;
    top: 160px;
    right: 12%;
}

.ceo-section .circle-two {
    width: 45px;
    height: 45px;
    bottom: 130px;
    left: 15%;
}

/* ==========================================
   IMAGE SHADOW
========================================== */
.ceo-image {
    filter: drop-shadow(0 12px 28px rgba(52, 86, 111, .12));
}

/* ==========================================
   BADGE GLASS EFFECT
========================================== */
.ceo-badge {
    backdrop-filter: blur(12px);
    border: 1px solid rgba(79, 129, 168, .08);
}

/* ==========================================
   CARD BORDER
========================================== */
.ceo-card {
    border: 1px solid rgba(79, 129, 168, .08);
}

/* ==========================================
   TITLE UNDERLINE
========================================== */
.ceo-content h3 {
    position: relative;
    padding-bottom: 16px;
}

.ceo-content h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70px;
    height: 3px;
    border-radius: 20px;
    background: linear-gradient(90deg,
            var(--navy-primary),
            var(--navy-light));
}

/* ==========================================
   PARAGRAPH SPACING
========================================== */
.ceo-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================
   SIGNATURE
========================================== */
.ceo-signature {
    display: flex;
    flex-direction: column;
}

.ceo-signature small {
    margin-top: 4px;
}

/* ==========================================
   IMAGE TRANSITION
========================================== */
.ceo-image {
    transition:
        transform .55s ease,
        filter .55s ease;
}

/* ==========================================
   BUTTON STYLE
========================================== */
.ceo-readmore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 28px;
    font-weight: 600;
    color: var(--navy-primary);
    transition: .35s;
}

.ceo-readmore i {
    transition: .35s;
}

.ceo-readmore:hover {
    color: var(--navy-light);
}

.ceo-readmore:hover i {
    transform: translateX(6px);
}

/* ==========================================
   RESPONSIVE
========================================== */
@media (max-width:1199px) {
    .ceo-card {
        margin-left: -30px;
        padding: 50px;
    }
}

@media (max-width:991px) {
    .ceo-section {
        padding: 90px 0;
    }

    .ceo-card {
        margin-left: 0;
        margin-top: -40px;
        padding: 45px;
    }

    .ceo-image-card {
        max-width: 420px;
        margin: auto;
    }

    .ceo-badge {
        right: 20px;
        bottom: 20px;
    }

    .ceo-accent-line {
        height: 120px;
    }
}

@media (max-width:767px) {
    .ceo-section {
        padding: 70px 0;
    }

    .ceo-card {
        padding: 35px 30px;
        border-radius: 24px;
    }

    .ceo-image-card {
        border-radius: 26px;
    }

    .ceo-image {
        border-radius: 24px;
    }

    .ceo-content h3 {
        font-size: 1.65rem;
    }

    .ceo-content p {
        font-size: .97rem;
        line-height: 1.85;
    }

    .ceo-badge {
        position: relative;
        right: auto;
        bottom: auto;
        margin-top: 20px;
        width: fit-content;
    }

    .quote-watermark {
        font-size: 5rem;
    }
}

@media (max-width:576px) {
    .ceo-card {
        padding: 28px 24px;
    }

    .ceo-content h3 {
        font-size: 1.45rem;
    }

    .signature-line {
        width: 55px;
    }

    .ceo-signature h4 {
        font-size: 1.3rem;
    }

    .ceo-accent-line {
        display: none;
    }

    .quote-watermark {
        right: 18px;
        top: 18px;
    }
}

/* ==========================================
   ACCESSIBILITY
========================================== */
.ceo-image-card:focus-within {
    outline: 3px solid rgba(79, 129, 168, .25);
    outline-offset: 4px;
}

/* ==========================================
   PERFORMANCE
========================================== */
.ceo-card,
.ceo-image-card,
.ceo-image {
    will-change: transform;
}

/* ==========================================
   REDUCE MOTION
========================================== */
@media (prefers-reduced-motion: reduce) {

    .ceo-image-card,
    .ceo-card,
    .quote-watermark,
    .ceo-badge {
        animation: none !important;
        transition: none !important;
    }
}

/* ==========================================
   JS Reveal
========================================== */
.ceo-image-card,
.ceo-card {
    opacity: 0;
    transform: translateY(60px);
    transition:
        opacity .8s ease,
        transform .8s ease;
}

.ceo-image-card.show,
.ceo-card.show {
    opacity: 1;
    transform: translateY(0);
}