@import url('https://fonts.googleapis.com/css2?family=Epilogue:wght@400;500;600;700;800&display=swap');

:root {
    --kms-dark-blue: #1A3E72;
    --kms-yellow: #F7A72C;
    --kms-light-blue: #6BA6DD;
    --kms-light-yellow: #EFC44B;
    --primary: var(--kms-dark-blue);
    --accent: var(--kms-yellow);
}

body {
    margin: 0;
    font-family: 'Epilogue', sans-serif;
    color: #333;
    overflow-x: hidden;
}

.font-sans {
    font-family: 'Epilogue', sans-serif;
}

body.modal-open {
    overflow: hidden;
}

.main-navbar {
    backdrop-filter: saturate(140%) blur(4px);
}

.main-navbar.nav-scrolled {
    background: rgba(255, 255, 255, 0.97);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.12);
}

.main-navbar a img[alt="Kanha Manpower Services Logo"] {
    height: 64px;
    width: auto;
}

@media (max-width: 768px) {
    .main-navbar a img[alt="Kanha Manpower Services Logo"] {
        height: 56px;
    }
}

.top-contact-strip {
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.top-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.top-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 34px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 0;
    background: transparent;
    font-size: inherit;
    font-weight: 600;
    line-height: 1;
    color: #ffffff;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.top-action-btn svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    display: block;
}

.top-action-btn span {
    line-height: 1.1;
}

.top-action-btn-email span {
    display: inline-block;
    max-width: 230px;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: bottom;
}

.top-action-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.top-contact-inner {
    gap: 10px;
    align-items: center;
    min-height: 40px;
}

.top-contact-strip .top-actions {
    align-items: center;
}

.top-contact-strip .top-action-btn svg {
    margin-top: 0;
    margin-bottom: 0;
}

.top-address {
    min-width: 0;
}

.top-address svg {
    flex-shrink: 0;
}

.address-text {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

body {
    top: 0 !important;
}

.nav-link {
    position: relative;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    border-radius: 6px;
    background: #F7A72C;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.28s ease;
}

.nav-link:hover::after {
    transform: scaleX(1);
}

.nav-link.active {
    color: #F7A72C !important;
}

.services-link {
    background: transparent;
    border: 0;
    padding: 0;
}

.nav-dropdown a {
    transform: translateX(0);
    transition: transform 0.25s ease, color 0.25s ease, background-color 0.25s ease;
}

.nav-dropdown a:hover {
    transform: translateX(4px);
    color: #F7A72C;
    background-color: #fff7e6;
}

.services-submenu a {
    display: block;
    padding: 12px 16px;
    font-weight: 600;
    line-height: 1.5;
    color: #1A3E72;
    white-space: normal;
}

.services-submenu a + a {
    border-top: 1px solid #eef2f7;
}

.services-submenu {
    min-width: 280px;
    padding: 6px 0;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
    z-index: 50;
    transform: translateY(10px);
    pointer-events: none;
}

.services-menu:hover .services-submenu {
    transform: translateY(0);
    pointer-events: auto;
}

.btn-primary {
    display: inline-block;
    padding: 14px 35px;
    background: rgb(245 158 11 / var(--tw-bg-opacity, 1)); 
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #1A3E72; 
    transform: translateY(-3px);
}


.hero {
    position: relative;
    min-height: 82vh;
    height: auto;
    padding: 28px 16px;
    background: url("../img/Rental\ Equipment\ Services.jpeg") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.52);
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    animation: heroRise 1s ease both;
    text-align: center;
    margin: 0 auto;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 15px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 25px;
}

.home-banner-carousel {
    position: relative;
    background: #1A3E72;
}

.home-banner-swiper {
    width: 100%;
    overflow: hidden;
    background: #1A3E72;
}

.home-banner-slide {
    background: #1A3E72;
}

.home-banner-media {
    width: 100%;
    aspect-ratio: 16 / 5.75;
    background: #1A3E72;
}

.home-banner-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.home-banner-pagination {
    display: none !important;
}

.home-banner-pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 62, 114, 0.2);
    opacity: 1;
}

.home-banner-pagination .swiper-pagination-bullet-active {
    background: #f7a72c;
    border-color: #f7a72c;
}

.home-banner-nav {
    position: absolute;
    top: 50%;
    z-index: 6;
    width: auto;
    height: auto;
    padding: 6px;
    border-radius: 0;
    border: 0;
    background: transparent;
    color: #1a3e72;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-50%);
    box-shadow: none;
    backdrop-filter: none;
    transition: transform 0.25s ease, color 0.25s ease;
}

.home-banner-nav:hover {
    transform: translateY(-50%) scale(1.04);
    color: #0f2747;
}

.home-banner-nav svg {
    width: 28px;
    height: 28px;
    stroke-width: 2.4;
    filter: drop-shadow(0 3px 10px rgba(255, 255, 255, 0.7));
}

.home-banner-prev {
    left: clamp(12px, 1.8vw, 36px);
}

.home-banner-next {
    right: clamp(24px, 3vw, 56px);
}

@media (max-width: 900px) {
    .home-banner-media {
        aspect-ratio: 16 / 7.1;
    }

    .home-banner-nav {
        padding: 4px;
    }
}

@media (max-width: 640px) {
    .home-banner-media {
        aspect-ratio: 16 / 8.6;
    }

    .home-banner-nav svg {
        width: 24px;
        height: 24px;
    }

    .home-banner-prev {
        left: 10px;
    }

    .home-banner-next {
        right: 20px;
    }
}


.hero1{
    position: relative;
    min-height: 84vh;
    height: auto;
    padding: 36px 16px;
    background: url("../img/about-us.png") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero1-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background:
        linear-gradient(90deg, rgba(8, 15, 30, 0.82) 0%, rgba(10, 20, 38, 0.66) 48%, rgba(8, 15, 30, 0.48) 100%);
    top: 0;
    left: 0;
}

.hero1-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 36px;
}

.hero1-content {
    max-width: 720px;
    animation: heroRise 1s ease both;
    text-align: left;
}

.hero1 h1 {
    font-size: clamp(42px, 5vw, 62px);
    margin-bottom: 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
}

.hero1 p {
    font-size: 20px;
    margin-bottom: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.hero1-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.14);
    border: 1px solid rgba(247, 167, 44, 0.32);
    color: #f8c66f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero1-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero1-note {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.6;
}

.hero1-visual {
    display: grid;
    gap: 16px;
}

.hero1-stat-main {
    min-height: 180px;
    justify-content: flex-end;
}

.hero1-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero1-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 148px;
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 36px rgba(8, 15, 30, 0.2);
    backdrop-filter: blur(10px);
}

.hero1-stat-card strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero1-stat-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .hero1-shell {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero1-content {
        max-width: 100%;
    }

    .hero1-visual {
        width: 100%;
    }
}

@media (max-width: 640px) {
    .hero1 {
        padding: 100px 14px 44px;
    }

    .hero1-content {
        text-align: center;
    }

    .hero1-actions {
        justify-content: center;
    }

    .hero1-note {
        max-width: 100%;
    }

    .hero1-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero1-stat-card,
    .hero1-stat-main {
        min-height: 132px;
        padding: 18px;
        border-radius: 18px;
    }
}



.btn-primary {
    display: inline-block;
    padding: 12px 30px;
    background: rgb(245 158 11 / var(--tw-bg-opacity, 1));
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary:hover {
    background: #e65c00;
}

.about-leadership-section .section-header {
    margin-bottom: 30px;
}

.about-leadership-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.about-leadership-card {
    background:
        radial-gradient(circle at top right, rgba(247, 167, 44, 0.12), transparent 34%),
        linear-gradient(165deg, #ffffff 0%, #f3f7ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.14);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    position: relative;
    overflow: hidden;
}

.about-leadership-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 96px;
    height: 5px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
    border-radius: 22px 22px 8px 0;
}

.about-leadership-card::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -120%;
    width: 90%;
    height: 180%;
    background: linear-gradient(115deg, transparent 28%, rgba(255, 255, 255, 0.5) 50%, transparent 72%);
    transform: rotate(12deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.about-leadership-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 28px 58px rgba(15, 23, 42, 0.16);
    border-color: rgba(247, 167, 44, 0.45);
}

.about-leadership-card:hover::after {
    left: 135%;
}

.about-leadership-media {
    position: relative;
    margin-bottom: 16px;
}

.about-leadership-card img {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
    object-position: center 22%;
    border: 1px solid rgba(26, 62, 114, 0.15);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14);
    transition: transform 0.45s ease, filter 0.45s ease;
}

.about-leadership-card:hover img {
    transform: scale(1.04);
    filter: saturate(1.04);
}

.about-leadership-role-chip {
    position: absolute;
    left: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(8px);
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    max-width: calc(100% - 28px);
}

.about-leadership-nilay img {
    object-position: center 18%;
}

.about-leadership-rdy img {
    object-position: center 19%;
}

.about-leadership-deepak img {
    object-position: center 16%;
}

.about-leadership-card h3 {
    margin: 0 0 6px;
    font-size: 24px;
    color: #1A3E72;
}

.about-leadership-card p {
    margin: 0;
    color: #475569;
    line-height: 1.65;
}

.about-leadership-card p + p {
    margin-top: 8px;
}

.about-leadership-card-body {
    position: relative;
}

.about-leadership-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.about-leadership-role {
    color: #F7A72C !important;
    font-weight: 700;
}

.about-leadership-footer {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.about-leadership-footer span {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff, #eef4ff);
    border: 1px solid rgba(26, 62, 114, 0.1);
    color: #1A3E72;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

@media (max-width: 992px) {
    .about-leadership-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-leadership-grid {
        grid-template-columns: 1fr;
    }

    .about-leadership-card img {
        height: 270px;
    }

    .about-leadership-card {
        padding: 14px;
        border-radius: 20px;
    }

    .about-leadership-card h3 {
        font-size: 22px;
    }

    .about-leadership-role-chip {
        font-size: 11px;
    }
}

.about-modern {
    padding: 100px 20px;
    background:
        radial-gradient(circle at 8% 12%, rgba(245, 158, 11, 0.08), transparent 40%),
        radial-gradient(circle at 92% 82%, rgba(31, 58, 138, 0.08), transparent 42%),
        #ffffff;
    overflow: hidden;
}

.btn-secondary {
    display: inline-block;
    padding: 14px 26px;
    background: rgba(255, 255, 255, 0.1);
    color: #1A3E72;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    border: 1px solid rgba(26, 62, 114, 0.22);
    text-decoration: none;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(26, 62, 114, 0.06);
    border-color: rgba(247, 167, 44, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}
.about-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: auto;
    flex-wrap: wrap;
}

.about-intro-v2 .about-wrapper {
    display: none;
}

.about-intro-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 44px;
    align-items: center;
}

.about-intro-media {
    position: relative;
    min-width: 0;
}

.about-intro-photo {
    position: relative;
    border-radius: 26px 26px 96px 26px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.16);
    background:
        radial-gradient(circle at 18% 18%, rgba(247, 167, 44, 0.18), transparent 42%),
        linear-gradient(135deg, #0f2747, #1A3E72);
}

.about-intro-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.12), rgba(247, 167, 44, 0.08));
    pointer-events: none;
}

.about-intro-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    filter: saturate(1.06) contrast(1.02);
}

.about-intro-float {
    position: absolute;
    padding: 12px 14px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 44px rgba(12, 18, 32, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    max-width: 210px;
}

.about-intro-float strong {
    display: block;
    font-size: 14px;
    font-weight: 900;
    color: #1A3E72;
    letter-spacing: 0.02em;
}

.about-intro-float span {
    display: block;
    margin-top: 2px;
    color: rgba(15, 23, 42, 0.68);
    font-size: 12px;
    font-weight: 700;
}

.about-intro-float-top {
    top: 18px;
    left: 18px;
}

.about-intro-float-bottom {
    right: 18px;
    bottom: 18px;
}

.about-intro-copy h2 {
    margin-top: 10px;
}

.about-intro-lead {
    margin-top: 16px;
    padding-left: 16px;
    border-left: 4px solid #F7A72C;
    color: #1f2937;
    font-size: 18px;
    line-height: 1.75;
    font-weight: 650;
}

.about-intro-services {
    list-style: none;
    margin: 18px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 16px;
}

.about-intro-services li {
    position: relative;
    padding-left: 28px;
    font-weight: 800;
    color: #0b1833;
    line-height: 1.5;
}

.about-intro-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 46%),
        linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 12px 24px rgba(26, 62, 114, 0.18);
}

.about-intro-services li::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 12px;
    width: 7px;
    height: 4px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
}

.about-intro-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
    align-items: center;
}

@media (max-width: 980px) {
    .about-intro-grid {
        grid-template-columns: 1fr;
        gap: 22px;
        text-align: center;
    }

    .about-intro-lead {
        border-left: none;
        padding-left: 0;
    }

    .about-intro-services {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-left: auto;
        margin-right: auto;
        text-align: left;
    }

    .about-intro-actions {
        justify-content: center;
    }
}

.about-image {
    position: relative;
    flex: 1;
    isolation: isolate;
    overflow: visible;
}

.about-image::before {
    content: "";
    position: absolute;
    top: 8%;
    left: -8%;
    width: 48%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.45), rgba(245, 158, 11, 0.08) 65%, transparent 72%);
    filter: blur(7px);
    opacity: 0.75;
    z-index: -2;
    pointer-events: none;
    animation: photoGlowDrift 8s ease-in-out infinite;
}

.about-image::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 20px;
    background: conic-gradient(from 180deg, rgba(245, 158, 11, 0.38), rgba(31, 58, 138, 0.2), rgba(245, 158, 11, 0.38));
    filter: blur(9px);
    opacity: 0.45;
    z-index: -1;
    pointer-events: none;
    animation: ringSpin 20s linear infinite;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    transition: transform 0.45s ease, box-shadow 0.45s ease;
    position: relative;
    z-index: 1;
}

.about-image:hover img {
    transform: scale(1.03);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.2);
}

.home-about-image {
    max-width: 720px;
    width: 100%;
    height: 100%;
    margin: 0 auto;
    position: relative;  
    isolation: isolate;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.home-about-image::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 16px;
    background: conic-gradient(from 180deg, rgba(245, 158, 11, 0.32), rgba(31, 58, 138, 0.22), rgba(245, 158, 11, 0.32));
    filter: blur(9px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.home-about-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    max-height: 640px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: none;
}

.payroll-about-image {
    position: relative;
    isolation: isolate;
}

.payroll-about-image::after {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 16px;
    background: conic-gradient(from 180deg, rgba(245, 158, 11, 0.32), rgba(31, 58, 138, 0.22), rgba(245, 158, 11, 0.32));
    filter: blur(9px);
    opacity: 0.4;
    z-index: -1;
    pointer-events: none;
}

.payroll-about-image img {
    border-radius: 16px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.14);
}

.home-about-premium {
    padding: 96px 20px;
    background:
        radial-gradient(circle at 8% 18%, rgba(247, 167, 44, 0.12), transparent 28%),
        radial-gradient(circle at 76% 22%, rgba(26, 62, 114, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, #eef3f9 100%);
}

.home-about-premium-shell {
    max-width: 1180px;
    margin: 0 auto;
    padding-right: 138px;
}

.home-about-premium-grid {
    display: grid;
    grid-template-columns: minmax(320px, 0.9fr) minmax(0, 0.9fr);
    gap: 34px;
    align-items: center;
    justify-content: center;
}

.home-about-visual {
    position: relative;
    min-width: 0;
    max-width: 460px;
    width: 100%;
    margin: 0 auto;
}

.home-about-kicker {
    display: inline-flex;
    margin-bottom: 18px;
    padding: 9px 16px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    justify-self: center;
}

.home-about-photo-frame {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    min-height: 460px;
    background: linear-gradient(145deg, #173866, #2b4f87);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
}

.home-about-photo-frame::before {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
    z-index: 1;
    pointer-events: none;
}

.home-about-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    transition: transform 0.45s ease;
}

.home-about-visual:hover .home-about-photo-frame img {
    transform: scale(1.04);
}

.home-about-stat-card {
    position: absolute;
    right: -12px;
    bottom: 22px;
    display: grid;
    gap: 6px;
    max-width: 220px;
    padding: 20px 22px;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(26, 62, 114, 0.08);
}

.home-about-stat-value {
    color: #1A3E72;
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.home-about-stat-label {
    color: #475569;
    font-size: 14px;
    line-height: 1.55;
}

.home-about-copy {
    position: relative;
    min-width: 0;
    max-width: 560px;
    margin: 0 auto;
    padding: 42px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(255, 255, 255, 0.75);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(10px);
    text-align: center;
}

.home-about-eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #F7A72C;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.home-about-copy h2 {
    margin: 0 0 18px;
    color: #1A3E72;
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1.04;
    letter-spacing: -0.04em;
}

.home-about-lead {
    margin: 0 0 16px;
    color: #1f2937;
    font-size: 19px;
    line-height: 1.7;
    font-weight: 600;
}

.home-about-body {
    margin: 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.9;
}

.home-about-feature-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 30px;
    text-align: left;
}

.home-about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    min-height: 100%;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(203, 213, 225, 0.8);
    color: #1f2937;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.55;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.05);
}

.home-about-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.16);
    color: #1A3E72;
}

.home-about-feature-icon svg {
    width: 18px;
    height: 18px;
}

.home-about-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
}

@media (max-width: 1200px) {
    .home-about-premium-shell {
        padding-right: 108px;
    }

    .home-about-premium-grid {
        grid-template-columns: minmax(280px, 0.86fr) minmax(0, 0.92fr);
        gap: 30px;
    }

    .home-about-copy {
        padding: 34px;
    }

    .home-about-photo-frame {
        min-height: 410px;
    }
}

.home-clients-section {
    background: #ffffff;
}

.home-band {
    padding-top: 92px;
    padding-bottom: 92px;
}

.home-band-white {
    background: #f3f4f6 !important;
}

.home-core-section {
    background: #ffffff !important;
}

.home-band-gray {
    background: #f3f4f6 !important;
}

.home-trust-strip {
    background: linear-gradient(90deg, #1A3E72 0%, #274d87 100%);
    color: #ffffff;
    padding: 16px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-trust-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 50%, rgba(247, 167, 44, 0.24), transparent 22%),
        radial-gradient(circle at 82% 50%, rgba(255, 255, 255, 0.1), transparent 18%);
    pointer-events: none;
}

.home-trust-strip p {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
}

.home-section-kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.12);
    border: 1px solid rgba(247, 167, 44, 0.28);
    color: #a96505;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.home-problem-section {
    background: #ffffff;
}

.home-industries-section {
    position: relative;
    background:
       
        url("../img/KMS_HomePage_Industries_.jpg.jpeg") center center / cover no-repeat !important;
    background-color: #0b1f3a !important;
    color: #ffffff;
}

.home-industries-section .container {
    max-width: min(1380px, calc(100vw - 36px));
    position: relative;
    z-index: 1;
}

.home-problem-layout{
    display: grid;
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.3fr) minmax(0, 0.85fr);
    gap: 24px;
    align-items: center;
    margin-top: 28px;
    justify-items: stretch;
}

@media (max-width: 900px){
    .home-problem-layout{
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .home-problem-side{
        justify-self: center;
    }
    .home-problem-side-left{ order: 1; }
    .home-problem-stairs{ order: 2; }
    .home-problem-side-right{ order: 3; }
}

.home-problem-side{
    width: 100%;
    max-width: 360px;
    justify-self: center;
    margin-top: 0;
    border-radius: 18px;
    overflow: hidden;
    background: transparent;
    border: none;
    box-shadow: none;
    aspect-ratio: 4 / 3;
}

.home-problem-side img{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-problem-side-left img{
    transform: scaleX(-1);
}

.home-problem-stairs{
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    padding: 10px 0 10px;
}

.home-problem-stair-list{
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    width: 100%;
    max-width: 560px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.home-problem-stair-list li{
    font-weight: 800;
    color: #0b1833;
    font-size: clamp(16px, 1.7vw, 20px);
    line-height: 1.35;
    position: relative;
    transform-origin: left center;
    white-space: normal;
    padding: 6px 0 6px 34px;
    background: none;
    border: none;
    border-radius: 0;
    box-shadow: none;
    letter-spacing: 0.01em;
}

.problem-divider{
    border:0;
    height:2px;
    background:linear-gradient(90deg,rgba(26,62,114,0.18),rgba(247,167,44,0.4),rgba(26,62,114,0.18));
    margin:12px 0;
    border-radius:999px;
}

.home-problem-stair-list li::before{
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    transform: translateY(-50%);
    border-radius: 999px;
    background: #F7A72C;
    box-shadow: 0 10px 20px rgba(247, 167, 44, 0.28);
}

.home-problem-stair-list li::after{
    content: "";
    position: absolute;
    left: 16px;
    top: 50%;
    width: 12px;
    height: 2px;
    transform: translateY(-50%);
    background: linear-gradient(90deg, rgba(26,62,114,0.55), rgba(247,167,44,0.55));
    border-radius: 999px;
}

.home-problem-stairs::before{
    content: none;
}

/* Orbit style pain point layout */
.home-problem-orbit{
    position:relative;
    display:grid;
    grid-template-columns:1fr 1fr 1fr;
    grid-template-rows:auto auto auto;
    gap:18px 22px;
    align-items:center;
    justify-items:center;
    margin-top:10px;
}
.home-problem-orbit::before{
    content:"";
    position:absolute;
    inset:8% 15%;
    border:2px dashed rgba(26,62,114,0.15);
    border-radius:40%;
    filter:blur(0.3px);
    pointer-events:none;
}
.problem-center img{
    width:180px;
    max-width:220px;
}
.problem-q{
    position:relative;
    background:linear-gradient(145deg,#ffffff,#f7f9ff);
    border:1px solid rgba(26,62,114,0.12);
    border-radius:14px;
    box-shadow:0 12px 24px rgba(15,23,42,0.08);
    padding:12px 14px;
    font-weight:800;
    color:#0f2747;
    text-align:center;
    min-width:180px;
}
.problem-q.q1{grid-column:2;grid-row:1;}
.problem-q.q2{grid-column:1;grid-row:2;}
.problem-q.q3{grid-column:3;grid-row:2;}
.problem-q.q4{grid-column:1;grid-row:3;}
.problem-q.q5{grid-column:3;grid-row:3;}
.problem-center{grid-column:2;grid-row:2;}
.home-problem-orbit .problem-q::after{
    content:"";
    position:absolute;
    width:34px;
    height:2px;
    background:linear-gradient(90deg,#1A3E72,#F7A72C);
    top:50%;
    left:-38px;
    transform:translateY(-50%);
    opacity:0.7;
}
.problem-q.q1::after{display:none;}
.problem-q.q2::after{left:100%;transform:translateY(-50%) translateX(8px);}
.problem-q.q3::after{display:none;}
.problem-q.q4::after{left:100%;transform:translateY(-50%) translateX(8px);}
.problem-q.q5::after{display:none;}

@media(max-width:768px){
    .home-problem-orbit{
        grid-template-columns:1fr;
        grid-template-rows:auto;
        gap:12px;
    }
    .home-problem-orbit::before{display:none;}
    .problem-center{grid-column:1;grid-row:1;}
    .problem-q{grid-column:1;min-width:auto;width:100%;}
    .home-problem-orbit .problem-q::after{display:none;}
}

/* Minimal staggered problem list */
.home-problem-simple{
    display:flex;
    flex-direction:column;
    gap:14px;
    max-width:620px;
    margin:0 auto;
}
.home-problem-simple .problem-row{
    display:flex;
    align-items:center;
    gap:10px;
    font-weight:800;
    color:#0f2747;
    font-size:18px;
}
.home-problem-simple .problem-row .offset{
    padding-left:28px;
}
.problem-simple-dot{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#F7A72C;
    box-shadow:0 10px 18px rgba(247,167,44,0.3);
    display:inline-block;
}

/* Floating petals (no boxes) for pain points */
/* Linear question strip */
.problem-line{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:14px;
    margin:12px auto 0;
    max-width:1100px;
}
.problem-line-dot{
    width:140px;
    height:140px;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 14px 24px rgba(15,23,42,0.12);
    display:flex;
    align-items:center;
    justify-content:center;
}
.problem-line-dot img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:50%;
}
.problem-line-items{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:10px 16px;
}
.problem-line-items span{
    font-weight:800;
    color:#0f2747;
    padding:6px 12px;
    border-radius:12px;
    background:linear-gradient(135deg,rgba(26,62,114,0.08),rgba(247,167,44,0.14));
    box-shadow:0 6px 14px rgba(15,23,42,0.08);
}
@media(max-width:700px){
    .problem-line-dot{width:120px;height:120px;}
    .problem-line-items span{display:block;}
}

/* Static radial question layout */
.problem-static{
    position:relative;
    max-width:920px;
    height:360px;
    margin:12px auto 0;
}

.home-problem-section {
    background: #f3f4f6;
    padding-bottom: 64px;
}
.problem-static-lines{
    position:absolute;
    inset:0;
    z-index:1;
    display:block;
}
.problem-static-lines line{
    display:block;
    stroke-opacity:0.5;
    stroke-dasharray:6 6;
}
.problem-static-lines line{
    stroke:url(#problemStaticGradient);
    stroke-width:2.2;
    stroke-linecap:round;
    opacity:0.55;
}
.problem-static::before{
    content:\"\";position:absolute;inset:10% 8%;border:2px dashed rgba(26,62,114,0.25);border-radius:50%;filter:blur(0.3px);
}
.problem-static-center{
    position:absolute;
    top:50%;left:50%;
    transform:translate(-50%,-50%);
    width:150px;height:150px;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 16px 26px rgba(15,23,42,0.12);
    overflow:hidden;
    z-index:3;
}
.problem-static-center img{width:100%;height:100%;object-fit:cover;}
.problem-static-label{
    position:absolute;
    padding:2px 0;
    background:transparent;
    color:#0f2747;
    font-weight:700;
    border-radius:0;
    box-shadow:none;
    max-width:220px;
    text-align:center;
    white-space:normal;
    line-height:1.4;
    font-size:14px;
    z-index:2;
    letter-spacing:0.01em;
}
.problem-static-label::after{
    content:"";
    display:block;
    height:2px;
    width:100%;
    margin-top:6px;
    background:linear-gradient(90deg, rgba(26,62,114,0.2), rgba(26,62,114,0.9), rgba(247,167,44,0.9));
    border-radius:999px;
}
.problem-static-label::before{
    content:"";
    position:absolute;
    top:-8px;
    left:50%;
    width:8px;
    height:8px;
    border-radius:50%;
    transform:translateX(-50%);
    background:#1A3E72;
    box-shadow:0 0 0 4px rgba(26,62,114,0.12);
}
.problem-static-label.l1{top:8px;left:50%;transform:translateX(-50%);}
.problem-static-label.l2{top:42%;left:2%;}
.problem-static-label.l3{top:42%;right:2%;}
.problem-static-label.l4{bottom:8px;left:12%;}
.problem-static-label.l5{bottom:8px;right:12%;}

@media(max-width:700px){
    .problem-static{height:380px;}
    .problem-static::before{display:none;}
    .problem-static-lines{display:none;}
    .problem-static-label{position:static;display:block;margin:6px auto;text-align:center;white-space:normal;}
    .problem-static{display:flex;flex-direction:column;align-items:center;}
    .problem-static-center{order:-1;margin-bottom:8px;}
}

/* Question stream redesign */
.problem-stream{
    position:relative;
    max-width:960px;
    margin:10px auto 0;
    padding: 10px 0 6px;
}
.problem-stream-center{
    width:150px;
    height:150px;
    margin:0 auto 14px;
    border-radius:50%;
    background:#ffffff;
    box-shadow:0 16px 26px rgba(15,23,42,0.12);
    overflow:hidden;
}
.problem-stream-center img{width:100%;height:100%;object-fit:cover;}
.problem-stream-list{
    list-style:none;
    padding:0;
    margin:0;
    display:grid;
    gap:14px;
    justify-items:center;
}
.problem-stream-list li{
    font-weight:700;
    color:#0f2747;
    letter-spacing:0.01em;
    text-align:center;
    position:relative;
    padding-bottom:10px;
    max-width:520px;
    line-height:1.5;
}
.problem-stream-list li::after{
    content:"";
    display:block;
    height:2px;
    width:100%;
    margin-top:6px;
    background:linear-gradient(90deg, rgba(26,62,114,0.2), rgba(26,62,114,0.9), rgba(247,167,44,0.9));
    border-radius:999px;
}
@media(max-width:700px){
    .problem-stream-center{width:120px;height:120px;}
    .problem-stream-list li{font-size:14px;max-width:100%;}
}

/* Simple FAQ (question section) */
/* Question alternate layout */
.questions-alt {
    margin: 12px auto 0;
    padding: 8px 10px;
    max-width: 820px;
    text-align: left;
    font-family: 'Epilogue', sans-serif;
}

.questions-alt h2 {
    color: #0f2747;
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 8px;
}

.home-problem-section .section-header p {
    color: #1A3E72;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.questions-lead {
    margin: 0 0 18px;
    color: #4b5563;
    font-size: 16px;
}

.questions-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 12px;
}

.q-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed rgba(26, 62, 114, 0.2);
}

.q-index {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #1A3E72;
    border: 2px solid rgba(247, 167, 44, 0.55);
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(247, 167, 44, 0.18));
    letter-spacing: 0.02em;
}

.q-text {
    font-size: 18px;
    font-weight: 700;
    color: #1A3E72;
    line-height: 1.5;
}

@media (max-width: 640px) {
    .questions-alt h2 {
        font-size: 21px;
    }
    .q-text {
        font-size: 16px;
    }
    .q-index {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}

/* Problem tree (D3) */
.problem-tree{
    width:100%;
    max-width:1100px;
    margin:12px auto 0;
}
.problem-node circle.problem-root{
    fill:#1A3E72;
    stroke:#1A3E72;
    stroke-width:2px;
}
.problem-node circle.problem-leaf{
    fill:#fff;
    stroke:#1A3E72;
    stroke-width:1.5px;
    filter:drop-shadow(0 10px 18px rgba(15,23,42,0.08));
}
.problem-root-text{
    fill:#fff;
    font-weight:800;
    font-size:14px;
}
.problem-leaf-text{
    fill:#0f2747;
    font-weight:800;
    font-size:13px;
}
.problem-link{
    stroke-width:2px;
}
.home-solution-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 26px 34px;
    border-radius: 18px;
    background: #1A3E72;
    color: #ffffff;
    margin-top: 36px;
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.16);
    position: relative;
    overflow: hidden;
    flex-wrap: nowrap;
    min-height: 78px;
}

.home-solution-banner::after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 68%);
    pointer-events: none;
}

.home-solution-banner p {
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.6;
    max-width: 760px;
    position: relative;
    z-index: 1;
    color: #ffffff;
}

@media (min-width: 1200px) {
    .home-solution-banner p {
        max-width: none;
        white-space: nowrap;
    }
}

.home-solution-banner .btn-primary {
    position: relative;
    z-index: 1;
    box-shadow: 0 14px 26px rgba(8, 15, 30, 0.24);
    padding: 11px 22px;
    font-size: 16px;
    border-radius: 12px;
    min-height: 40px;
    white-space: nowrap;
    flex-shrink: 0;
    margin-left: 30px;
}

@media (max-width: 1024px) {
    .home-solution-banner {
        flex-wrap: wrap;
    }
    .home-solution-banner p {
        max-width: none;
        white-space: normal;
    }
}

.home-chip-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.home-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 58px;
    padding: 14px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    color: #1A3E72;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
    text-align: center;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.home-chip:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.35);
}

.home-industry-grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    margin-top: 26px;
    align-items: stretch;
}

.home-industry-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    gap: 28px;
    align-items: center;
    margin-top: 10px;
}

.home-industry-visual-card {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    background:
        radial-gradient(circle at 18% 18%, rgba(247, 167, 44, 0.25), transparent 42%),
        radial-gradient(circle at 80% 18%, rgba(26, 62, 114, 0.18), transparent 44%),
        linear-gradient(135deg, #0f2747, #1A3E72);
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 28px 70px rgba(12, 18, 32, 0.22);
}

.home-industry-visual-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 39, 71, 0.18), rgba(247, 167, 44, 0.12));
    pointer-events: none;
}

.home-industry-visual-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    filter: saturate(1.05) contrast(1.02);
    transform: scale(1.02);
}

.home-industry-cloud {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, auto));
    gap: 18px;
    align-items: start;
}

.home-industry-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-industry-divider-vertical {
    width: 1px;
    background: linear-gradient(180deg, rgba(26, 62, 114, 0.32), rgba(247, 167, 44, 0.14));
    min-height: 100%;
    align-self: stretch;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .industrial-why-grid,
    .services-theme .industrial-why-grid,
    .mechanized-advantage-section .industrial-why-grid,
    .rental-industry-section .industrial-why-grid,
    .fire-benefit-section .industrial-why-grid,
    .payroll-benefits-section .industrial-why-grid {
        grid-template-columns: 1fr !important;
    }

    .industrial-why-card {
        width: 100%;
    }

    .industrial-showcase-grid,
    .mechanized-scope-grid,
    .fire-benefits-grid,
    .rental-benefits-grid {
        grid-template-columns: 1fr !important;
    }

    .industrial-showcase-media img,
    .fire-benefits-media img,
    .rental-benefits-media img {
        height: auto !important;
        width: 100%;
    }

    .industrial-showcase-media,
    .fire-benefits-media,
    .rental-benefits-media {
        margin-top: 16px;
    }
    .home-industry-cloud {
        grid-template-columns: 1fr;
    }
    .home-industry-divider-vertical {
        display: none;
    }
}

.home-industry-pill {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 999px;
    border: 1px solid transparent;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(26, 62, 114, 0.85), rgba(247, 167, 44, 0.9)) border-box;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    transition: transform 0.26s ease, box-shadow 0.26s ease, filter 0.26s ease;
    max-width: 100%;
}

.home-industry-pill:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.14);
    filter: brightness(1.02);
}

.home-industry-pill .home-industry-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    border-radius: 999px;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.28), transparent 44%),
        linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 12px 22px rgba(26, 62, 114, 0.18);
}

.home-industry-pill .home-industry-icon svg {
    width: 20px;
    height: 20px;
}

.home-industry-pill h3 {
    margin: 0;
    color: #0b1833;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 800;
}

.home-industry-pill:nth-child(2n) {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(247, 167, 44, 0.95), rgba(26, 62, 114, 0.85)) border-box;
}

@media (max-width: 980px) {
    .home-industry-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-industry-cloud {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .home-industry-pill {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 16px;
    }
}

.home-industry-card {
    position: relative;
    grid-column: auto;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 252, 0.98));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.home-industry-card:nth-child(5) {
    grid-column: auto;
}

.home-industry-card:nth-child(6) {
    grid-column: auto;
}

.home-industry-card:nth-child(7) {
    grid-column: auto;
}

.home-industry-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 0%, rgba(247, 167, 44, 0.18), transparent 45%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.home-industry-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.home-industry-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.34);
}

.home-industry-card:hover::before {
    opacity: 1;
}

.home-industry-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 34%), linear-gradient(135deg, #1A3E72, #274d87);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(26, 62, 114, 0.22);
}

.home-industry-icon svg {
    width: 22px;
    height: 22px;
}

.home-industry-card h3 {
    margin: 0;
    padding: 12px 10px 14px;
    color: #1A3E72;
    font-size: clamp(12px, 0.95vw, 14px);
    line-height: 1.32;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    font-weight: 800;
}

/* Home industries: match hero-style background + clean white tiles */
.home-industries-section .section-header {
    text-align: center;
}

.home-industries-section .section-header .home-section-kicker,
.home-industries-section .section-header h2,
.home-industries-section .section-header p {
    color: #ffffff !important;
}

.home-industries-section .section-header p {
    opacity: 0.9;
     font-size: 17px;
}

.home-industries-section .underline {
    margin-left: auto;
    margin-right: auto;
    background: #F7A72C;
}

.home-industries-section .home-industry-grid {
    margin-top: 34px;
    gap: 18px;
    max-width: 1220px;
    margin-left: auto;
    margin-right: auto;
}

.home-industries-section .home-industry-card {
    background: #ffffff;
    border: 0;
    border-radius: 6px;
    box-shadow: 0 16px 30px rgba(8, 18, 35, 0.25);
    padding: 22px 16px 18px;
    aspect-ratio: auto;
    min-height: 190px;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.home-industries-section .home-industry-card::before,
.home-industries-section .home-industry-card::after {
    content: none;
}

.home-industries-section .home-industry-photo {
    width: 90px;
    height: 90px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-radius: 24px;
    background: linear-gradient(180deg, #f8fbff 0%, #eef5ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.home-industries-section .home-industry-photo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    max-width: 56px;
    max-height: 56px;
    transform: none;
}

.home-industries-section .home-industry-photo::before,
.home-industries-section .home-industry-photo::after {
    content: none;
}

.home-industries-section .home-industry-card h3 {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    min-height: 0;
    font-size: 15px;
    line-height: 1.45;
    text-align: center;
}

.home-industries-section .home-industry-card:hover .home-industry-photo img {
    transform: none;
}

.home-mini-card,
.home-development-card {
    padding: 24px;
}

.home-mini-card h3,
.home-development-card h3 {
    margin: 0 0 12px;
    font-size: 21px;
    color: #1A3E72;
}

.home-mini-card p,
.home-development-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

/* Home People & Safety: Vertical Left-Right Timeline (KMS theme) */
.home-development-section .kms-vertical-timeline {
    margin: clamp(28px, 4vw, 44px) auto 0;
    background: #ffffff;
    color: #1a3e72;
    border-radius: 24px;
    padding: clamp(22px, 4vw, 34px) clamp(16px, 4vw, 36px);
    
}

.home-development-section .kms-vertical-timeline .kms-timeline-container {
    max-width: 980px;
    margin: 0 auto;
}

.home-development-section .kms-vertical-timeline .row {
    display: flex;
    margin: 0;
    width: 100%;
}

.home-development-section .kms-vertical-timeline .align-items-center {
    align-items: center;
}

.home-development-section .kms-vertical-timeline .justify-content-end {
    justify-content: flex-end;
}

.home-development-section .kms-vertical-timeline .text-center {
    text-align: center;
}

.home-development-section .kms-vertical-timeline .text-right {
    text-align: right;
}

.home-development-section .kms-vertical-timeline .col-2 {
    flex: 0 0 16.666%;
    max-width: 16.666%;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-development-section .kms-vertical-timeline .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.home-development-section .kms-vertical-timeline .col-8 {
    flex: 0 0 66.666%;
    max-width: 66.666%;
}

.home-development-section .kms-vertical-timeline .how-it-works {
    padding: 10px 0;
}

.home-development-section .kms-vertical-timeline .how-it-works .col-6 {
    background: #f3f4f6;
    border-radius: 18px;
    padding: 16px 20px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

.home-development-section .kms-vertical-timeline .how-it-works:not(.justify-content-end) .col-6 {
    text-align: left;
}

.home-development-section .kms-vertical-timeline .how-it-works.justify-content-end .col-6 {
    text-align: right;
}

.home-development-section .kms-vertical-timeline .how-it-works h5 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #1a3e72;
}

.home-development-section .kms-vertical-timeline .how-it-works p {
    margin: 0;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.7;
     font-size: 17px;
}

.home-development-section .kms-vertical-timeline .circle {
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 50%;
    background-color: #f7a72c;
    color: #1a3e72;
    max-height: 50px;
    min-width: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 6px rgba(245, 180, 0, 0.16);
    z-index: 2;
}

.home-development-section .kms-vertical-timeline .how-it-works .col-2::after {
    content: "";
    position: absolute;
    border-left: 3px solid rgba(26, 62, 114, 0.2);
    z-index: 1;
}

.home-development-section .kms-vertical-timeline .col-2.bottom::after {
    height: 50%;
    left: 50%;
    top: 50%;
    transform: translateX(-50%);
}

.home-development-section .kms-vertical-timeline .col-2.full::after {
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.home-development-section .kms-vertical-timeline .col-2.top::after {
    height: 50%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.home-development-section .kms-vertical-timeline .timeline div {
    padding: 0;
    height: 40px;
}

.home-development-section .kms-vertical-timeline .timeline hr {
    border-top: 3px solid rgba(26, 62, 114, 0.2);
    margin: 0;
    top: 17px;
    position: relative;
}

.home-development-section .kms-vertical-timeline .timeline .col-2 {
    display: flex;
    overflow: hidden;
}

.home-development-section .kms-vertical-timeline .timeline .corner {
    border: 3px solid rgba(26, 62, 114, 0.2);
    width: 100%;
    position: relative;
    border-radius: 15px;
}

.home-development-section .kms-vertical-timeline .timeline .top-right {
    left: 50%;
    top: -50%;
}

.home-development-section .kms-vertical-timeline .timeline .left-bottom {
    left: -50%;
    top: calc(50% - 3px);
}

.home-development-section .kms-vertical-timeline .timeline .top-left {
    left: -50%;
    top: -50%;
}

.home-development-section .kms-vertical-timeline .timeline .right-bottom {
    left: 50%;
    top: calc(50% - 3px);
}

@media (max-width: 900px) {
    .home-development-section .kms-vertical-timeline .row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .home-development-section .kms-vertical-timeline .col-2,
    .home-development-section .kms-vertical-timeline .col-6,
    .home-development-section .kms-vertical-timeline .col-8 {
        max-width: 100%;
        flex: 0 0 100%;
        justify-content: flex-start;
    }

    .home-development-section .kms-vertical-timeline .how-it-works .col-6 {
        text-align: left;
    }

    .home-development-section .kms-vertical-timeline .timeline,
    .home-development-section .kms-vertical-timeline .how-it-works .col-2::after {
        display: none;
    }
}

.compliance-cert-row {
    display: none;
}

.compliance-accordion {
    display: grid;
    gap: 16px;
    margin: 20px auto 12px;
    max-width: 760px;
}

.compliance-tab-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin: 8px 0 14px;
}

.home-compliance-section .compliance-tab-row {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .compliance-tab-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .compliance-tab-row {
        grid-template-columns: 1fr;
    }
}

.home-compliance-section .compliance-accordion .compliance-tab {
    display: none;
}

.home-compliance-section .compliance-item {
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.compliance-accordion-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

.home-compliance-section .compliance-accordion-grid {
    grid-template-columns: 1fr;
}

.home-compliance-section .compliance-accordion {
    margin-top: 24px;
}

.about-brand-section .about-brand-lead {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 900px) {
    .compliance-accordion-grid {
        grid-template-columns: 1fr;
    }
}

.compliance-item {
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    border-radius: 20px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.compliance-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    row-gap: 6px;
    padding: 10px 14px;
    border-radius: 12px;
    border: 1px solid rgba(26, 62, 114, 0.25);
    background: #ffffff;
    color: #1A3E72;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    width: 100%;
    justify-content: flex-start;
    text-align: left;
    line-height: 1.4;
    flex-wrap: wrap;
    font-size: 15px;
}

.compliance-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(26, 62, 114, 0.12);
    color: #1A3E72;
    font-size: 10px;
    font-weight: 800;
}

.compliance-tab::after {
    content: "";
    margin-left: auto;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    align-self: center;
}

.compliance-tab.is-active {
    color: #1A3E72;
    background: rgba(26, 62, 114, 0.12);
    border-color: rgba(26, 62, 114, 0.5);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.14);
}

.compliance-tab.is-active .compliance-pill-icon {
    background: rgba(26, 62, 114, 0.14);
    color: #1A3E72;
}

.compliance-tab.is-active::after {
    transform: rotate(225deg);
}

.compliance-tab:focus-visible {
    outline: 2px solid #4e6391;
    outline-offset: 3px;
}

.compliance-panel {
    padding: 0 20px 18px;
    border-top: 1px solid rgba(26, 62, 114, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.compliance-panel-inner {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    align-items: start;
    padding-top: 16px;
}

.compliance-panel h3 {
    margin: 0 0 4px;
    color: #1A3E72;
    font-size: 19px;
}

.compliance-panel p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
}

.home-compliance-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    margin-top: 10px;
}

.home-compliance-section {
    position: relative;
    background: #ffffff !important;
}

.home-compliance-section::after {
    content: none;
}

.home-compliance-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    position: relative;
    padding: 24px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
    text-align: center;
}

.home-compliance-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.home-compliance-card::before {
    content: "";
    position: absolute;
    width: 140%;
    height: 140%;
    top: -130%;
    left: -130%;
    transform: rotate(-45deg);
    transition: top 0.35s ease, left 0.35s ease, opacity 0.35s ease;
    z-index: 0;
    background: linear-gradient(135deg, #1A3E72, #285796);
    opacity: 0.1;
}

.home-compliance-card:nth-child(even)::before {
    background: linear-gradient(135deg, #F7A72C, #f9c45c);
}

.home-compliance-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.home-compliance-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.13);
    border-color: rgba(247, 167, 44, 0.34);
}

.home-compliance-card:hover::before {
    top: -20%;
    left: -20%;
    opacity: 0.18;
}

.home-compliance-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 8px;
    border-radius: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.3), transparent 34%), linear-gradient(135deg, #1A3E72, #274d87);
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(26, 62, 114, 0.22);
}

.home-compliance-icon svg {
    width: 22px;
    height: 22px;
}

.home-compliance-card h3 {
    margin: 0;
    color: #1A3E72;
    font-size: 20px;
    line-height: 1.35;
    min-height: 48px;
    display: flex;
    align-items: center;
    text-align: center;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.28s ease, transform 0.28s ease, color 0.28s ease;
}

.home-compliance-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.7;
    min-height: 72px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.32s ease, transform 0.32s ease;
}

.home-compliance-card:hover h3,
.home-compliance-card:hover p {
    opacity: 1;
    transform: translateY(0);
}

/* Home brand ring */
.home-brand-stage {
    width: 100%;
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background:
        radial-gradient(circle at 15% 20%, rgba(26, 62, 114, 0.08), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(247, 167, 44, 0.12), transparent 42%),
        linear-gradient(145deg, #f8fbff 0%, #ffffff 52%, #fff8eb 100%);
}

.home-brand-container {
    position: relative;
    width: 420px;
    height: 420px;
    perspective: 1900px;
    overflow: visible;
}

.home-brand-ring {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
    will-change: transform;
}

.home-brand-ring .img {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 150px;
    height: 96px;
    border-radius: 16px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
    filter: grayscale(60%);
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
    opacity: 0.9;
    backface-visibility: hidden;
}

.home-brand-ring .img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Home brand hover cards */
.home-brand-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    padding: 12px 8px;
}

.home-brand-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 16px;
    justify-content: center;
}

.home-brand-card {
    width: 170px;
    min-height: 170px;
    border-radius: 18px;
    padding: 18px 14px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    color: #0f172a;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.16);
    transition: transform 0.28s ease, filter 0.28s ease, box-shadow 0.28s ease, opacity 0.28s ease;
    background: #ffffff;
    opacity: 0;
    transform: translateY(22px) scale(0.96);
    animation: brand-card-in 0.6s ease forwards;
    animation-delay: calc(0.05s * var(--i, 1));
}

.home-brand-card img {
    width: 86px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 10px rgba(255, 255, 255, 0.26));
}

.home-brand-card .tip {
    font-size: 17px;
    font-weight: 700;
    margin: 2px 0 6px;
    color: #ffffff;
}

.home-brand-card .second-text {
    font-size: 13px;
    line-height: 1.5;
    color: #ffffff;
    opacity: 0.92;
}

.home-brand-card.brand-blue {
    background: linear-gradient(150deg, #1A3E72 0%, #2f5f9e 100%) !important;
    border: 1px solid #6BA6DD !important;
}

.home-brand-card.brand-yellow {
    background: linear-gradient(150deg, #F7A72C 0%, #EFC44B 100%) !important;
    border: 1px solid #F7A72C !important;
}

.home-brand-card:hover {
    transform: scale(1.08);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22);
    z-index: 2;
}

.home-brand-cards:hover > .home-brand-row > .home-brand-card:not(:hover) {
    filter: none;
    transform: scale(0.94);
    opacity: 0.65;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

@keyframes brand-card-in {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.96);
    }
    70% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.kms-logo-slider {
    position: relative;
    max-width: 1180px;
    margin: 20px auto 0;
    padding: 8px 6px 12px;
    --slide-width: 240px;
    --slide-count: 9;
}

.kms-logo-slider::before,
.kms-logo-slider::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 160px;
    z-index: 2;
    pointer-events: none;
}

.kms-logo-slider::before {
    left: 0;
    background: linear-gradient(90deg, rgba(243, 244, 246, 1), rgba(243, 244, 246, 0));
}

.kms-logo-slider::after {
    right: 0;
    background: linear-gradient(270deg, rgba(243, 244, 246, 1), rgba(243, 244, 246, 0));
}

.c-slider {
    overflow: hidden;
}

@keyframes kmsLogoScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-1 * var(--slide-width) * var(--slide-count)));
    }
}

.c-slide-track {
    display: flex;
    width: calc(var(--slide-width) * var(--slide-count) * 2);
    animation: kmsLogoScroll 36s linear infinite;
}

.c-slide {
    width: var(--slide-width);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    box-sizing: border-box;
}

.kms-logo-tile {
    width: 100%;
    height: 92px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(26, 62, 114, 0.12);
    border-radius: 18px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.kms-logo-tile img {
    --logo-scale: 1;
    --logo-hover-scale: calc(var(--logo-scale) + 0.08);
    width: min(170px, 100%);
    max-height: 60px;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: center;
    opacity: 0.82;
    transform: scale(var(--logo-scale));
    filter: grayscale(20%);
    transition: opacity 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.kms-logo-img--sunpharma {
    --logo-scale: 1.42;
}

.kms-logo-img--merino,
.kms-logo-img--elmex {
    --logo-scale: 1.3;
}

.home-clients-section .kms-logo-img--apollo,
.home-clients-section .kms-logo-img--ultratech {
    --logo-scale: 1.42;
}

.kms-logo-img--pi {
    --logo-scale: 1.28;
}

.kms-logo-img--allcargo,
.kms-logo-img--kajaria {
    --logo-scale: 1.18;
}

.kms-logo-img--farmson {
    --logo-scale: 1.18;
}

.kms-logo-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.38);
}

.kms-logo-tile:hover img {
    opacity: 1;
    transform: scale(var(--logo-hover-scale));
    filter: grayscale(0%);
}

@media (max-width: 640px) {
    .kms-logo-slider::before,
    .kms-logo-slider::after {
        width: 56px;
    }

    .kms-logo-tile {
        height: 80px;
        padding: 12px 14px;
        border-radius: 16px;
    }

    .kms-logo-tile img {
        width: min(132px, 100%);
        max-height: 42px;
    }
}

.about-page-intro {
    background:
        radial-gradient(circle at 14% 18%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #ffffff !important;
}


.about-page-intro .about-image img {
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.35);
    border: 3px solid #0b1220;
    transition: box-shadow 200ms ease, transform 200ms ease;
}

.about-page-intro .about-image img:hover {
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
    transform: translateY(-2px);
}

.about-impact-strip {
    margin-top: -40px;
    position: relative;
    z-index: 3;
}

.about-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.card-top-accent {
    border: 3px solid #1A3E72;
    border-top-width: 6px;
    border-radius: 18px;
    padding: 22px 20px 20px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
}

/* Fire page bento (Importance of Fire & Safety Management) original gradient style */
.fire-bento-scope{
padding:100px 0;
background:#ffffff;
}

.fire-bento-scope .bento-grid{
display:grid;
grid-template-columns:repeat(12,1fr);
gap:22px;
margin-top:55px;
}

.fire-bento-scope .bento-image{
grid-column:1 / span 6;
grid-row:span 2;
border-radius:28px;
overflow:hidden;
box-shadow:0 22px 60px rgba(15,23,42,.18);
border:1px solid rgba(26,62,114,.12);
}

.fire-bento-scope .bento-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:28px;
border:1px solid rgba(26,62,114,0.14);
}

.fire-bento-scope .bento-card{
grid-column:span 3;
padding:24px 16px;
border-radius:14px;
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
border:1px solid #e5e7eb;
box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
transition: none;
position:relative;
overflow:hidden;
color:#0b1833;
}


.fire-bento-scope .bento-card:nth-child(odd) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) padding-box,
                linear-gradient(135deg, rgba(247, 167, 44, 0.45), rgba(26, 62, 114, .36)) border-box;
    border-color: rgba(26,62,114,.16);
}

.fire-bento-scope .bento-card:nth-child(even) {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%) padding-box,
                linear-gradient(135deg, rgba(247, 167, 44, 0.45), rgba(26, 62, 114, .36)) border-box;
    border-color: rgba(247,167,44,.18);
}

.fire-bento-scope .bento-card.large{
grid-column:7 / span 6;
}

.fire-bento-scope .bento-card.highlight{
background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
color:#0b1220;
box-shadow:0 22px 60px rgba(15,23,42,.22);
border-color:#1A3E72;
/* animation:none; */
}

.fire-bento-scope .bento-card:hover{
transform:none;
box-shadow:0 14px 30px rgba(15,23,42,.08);
border-color:#e5e7eb;
filter:none;
}

.fire-bento-scope .bento-card h3{
margin:12px 0 8px;
font-size:20px;
line-height:1.3;
color:#0b1833;
font-weight:700;
}

.fire-bento-scope .bento-card p{
margin:0;
color:#1f2937;
line-height:1.65;
}

.fire-bento-scope .scope-chip{
display:inline-flex;
align-items:center;
gap:8px;
padding:9px 14px;
border-radius:999px;
border:1px solid rgba(26,62,114,.16);
background:rgba(26,62,114,0.06);
color:#0f2d5c;
font-weight:800;
letter-spacing:0.12em;
text-transform:uppercase;
font-size:12px;
}

.fire-bento-scope .bento-card.highlight h3,
.fire-bento-scope .bento-card.highlight p{
color:#0b1220;
}

.fire-bento-scope .bento-card.fire-wide-left{
    grid-column: 1 / span 6;
}

.fire-bento-scope .bento-card.fire-wide-right{
    grid-column: 7 / span 6;
}

@media (max-width: 992px){
    .fire-bento-scope .bento-card.fire-wide-left,
    .fire-bento-scope .bento-card.fire-wide-right{
        grid-column: 1 / span 12;
    }
}

.fire-bento-scope .bento-card.highlight .scope-chip{
    border:1px solid rgba(26,62,114,.16);
background:rgba(26,62,114,0.06);
color:#0f2d5c;
}

/* Shared bento layout  housekeeping section */
.service-bento-scope{
padding:100px 0;
background:
#ffffff;
}

.service-bento-scope .bento-grid{
display:grid;
grid-template-columns:repeat(12,1fr);
gap:22px;
margin-top:55px;
}

.service-bento-scope .bento-image{
grid-column:1 / span 6;
grid-row:span 2;
border-radius:28px;
overflow:hidden;
box-shadow:0 25px 70px rgba(15,23,42,.18);
border:1px solid rgba(26,62,114,.12);
}

.service-bento-scope .bento-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:28px;
border:1px solid rgba(26,62,114,0.14);
}

.service-bento-scope .bento-card{
grid-column:span 3;
padding:26px;
border-radius:22px;
background:
white;
border:1px solid transparent;
box-shadow:0 20px 48px rgba(15,23,42,.12);
transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
position:relative;
overflow:hidden;
backdrop-filter: blur(5px);
}



.service-bento-scope .bento-card.large{
grid-column:7 / span 6;
}

.service-bento-scope .bento-card.highlight{
background:white;
color:#1a1f2f;
box-shadow:0 22px 70px rgba(15,23,42,.18);
border-color:rgba(247,167,44,.38);
animation: scope-glow 2.8s ease-in-out infinite;
}

.service-bento-scope .bento-card:hover{
transform:translateY(-10px);
box-shadow:0 24px 44px rgba(15,23,42,.13);
border-color:#cbd5e1;
filter:saturate(1.05);
}

/* Mechanized housekeeping bento aligned to fire-page styling */
.mechanized-bento .bento-grid{
    grid-template-columns: repeat(12, 1fr);
    gap: 22px;
    margin-top: 45px;
}

.mechanized-bento .bento-card{
    grid-column: span 12;
    text-align: center;
}

.mechanized-bento .bento-card.wide{
    grid-column: 7 / span 6;
}

.mechanized-bento .bento-card.half-left{
    grid-column: 7 / span 3;
}

.mechanized-bento .bento-card.half-right{
    grid-column: 10 / span 3;
}

.mechanized-bento .bento-card.below-image-left{
    grid-column: 1 / span 6;
}

.mechanized-bento .bento-card.below-image-right{
    grid-column: 7 / span 6;
}

.mechanized-bento .bento-card.wide-bottom-left{
    grid-column: 1 / span 6;
}

.mechanized-bento .bento-card.wide-bottom-right{
    grid-column: 7 / span 6;
}

@media (max-width: 992px){
    .mechanized-bento .bento-card.wide,
    .mechanized-bento .bento-card.half-left,
    .mechanized-bento .bento-card.half-right,
    .mechanized-bento .bento-card.below-image-left,
    .mechanized-bento .bento-card.below-image-right,
    .mechanized-bento .bento-card.wide-bottom-left,
    .mechanized-bento .bento-card.wide-bottom-right{
        grid-column: 1 / span 12;
    }
}




/* Rental bento */
.rental-scope{
padding:100px 0;
background: #f8fafc;
}

.rental-scope .bento-grid{
display:grid;
grid-template-columns:repeat(12,1fr);
gap:22px;
margin-top:55px;
}

.rental-scope .bento-image{
    grid-column:1 / span 6;
    grid-row:1 / span 4;
    border-radius:28px;
    overflow:hidden;
    box-shadow:0 25px 70px rgba(15,23,42,.18);
    border:1px solid rgba(26,62,114,.12);
}

.rental-scope .bento-image img{
width:100%;
height:100%;
object-fit:cover;
border-radius:28px;
border:1px solid rgba(26,62,114,0.14);
}

.rental-scope .bento-card{
grid-column:span 3;
padding:26px;
border-radius:22px;
background:
white;
border:1px solid transparent;
box-shadow:0 20px 48px rgba(15,23,42,.12);
transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease, filter .35s ease;
position:relative;
overflow:hidden;
backdrop-filter: blur(5px);
}

.rental-scope .bento-card:nth-child(odd) {
    background:
    white;
    border-color: rgba(26,62,114,.16);
}

.rental-scope .bento-card:nth-child(even) {
    background: white;
    border-color: rgba(26,62,114,.12);
}

.rental-scope .bento-card.large{
grid-column:7 / span 6;
}

.rental-scope .bento-card.highlight{
background:
white;
color:#1a1f2f;
box-shadow:0 22px 70px rgba(15,23,42,.18);
border-color:rgba(26,62,114,.16);
animation: scope-glow 2.8s ease-in-out infinite;
}

.rental-scope .bento-card:hover{
transform:translateY(-10px);
box-shadow:0 24px 44px rgba(15,23,42,.13);
border-color:#cbd5e1;
filter:saturate(1.05);
}

.rental-bento .bento-card{
    text-align: center;
    padding: 24px 18px;
}

.rental-bento .bento-card.large{
    padding: 28px 22px;
}

.rental-bento .bento-card h3{
    margin: 10px 0 8px;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;
    color: #0b1833;
}

.rental-bento .bento-card p{
    margin: 0;
    color: #1f2937;
    line-height: 1.65;
}

.rental-bento .bento-card.large h3{
    font-size: 22px;
}

.rental-bento .bento-card.large p{
    max-width: 560px;
    margin: 0 auto;
}

.rental-bento .scope-chip{
    background: rgba(26,62,114,0.08);
    border: 1px solid rgba(26,62,114,0.16);
    color: #0f2d5c;
}

/* Align rental bento layout to fire-style grid */
.rental-bento .bento-card.large{
    grid-column: 7 / span 6;
    grid-row: 1;
}

.rental-bento .bento-card.rental-half-1{
    grid-column: 7 / span 3;
    grid-row: 2;
}

.rental-bento .bento-card.rental-half-2{
    grid-column: 10 / span 3;
    grid-row: 2;
}

.rental-bento .bento-card.rental-half-3{
    grid-column: 7 / span 3;
    grid-row: 3;
}

.rental-bento .bento-card.rental-half-4{
    grid-column: 10 / span 3;
    grid-row: 3;
}

.rental-bento .bento-card.rental-half-5{
    grid-column: 7 / span 6;
    grid-row: 4;
}

@media (max-width: 992px){
    .rental-bento .bento-card.large,
    .rental-bento .bento-card.rental-half-1,
    .rental-bento .bento-card.rental-half-2,
    .rental-bento .bento-card.rental-half-3,
    .rental-bento .bento-card.rental-half-4,
    .rental-bento .bento-card.rental-half-5{
        grid-column: 1 / span 12;
        grid-row: auto;
    }
    .rental-scope .bento-image{
        grid-row: auto;
    }
}





/* Fire & Safety services card styling */
.fire-service-section {
    background:
     white;
    padding-bottom: 70px;
    padding-top: 70px;
}

/* Align card look across fire, rental, and housekeeping pages */
.fire-service-section .industrial-service-card,
.rental-equipment-section .industrial-service-card,
.mechanized-area-section .industrial-service-card {
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fire-service-section .industrial-service-card:hover,
.rental-equipment-section .industrial-service-card:hover,
.mechanized-area-section .industrial-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.16);
    border-color: #1A3E72;
}

.fire-about-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)) padding-box,
        linear-gradient(135deg, rgba(26, 62, 114, 0.16), rgba(247, 167, 44, 0.18)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.14);
    border-radius: 18px;
    padding: 22px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.fire-about-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    border-color: rgba(26, 62, 114, 0.22);
}

.about-impact-card {
    padding: 22px 20px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    text-align: center;
    backdrop-filter: blur(6px);
}

.about-impact-value {
    display: block;
    color: #1A3E72;
    font-size: 28px;
    font-weight: 800;
    line-height: 1.1;
}

.about-impact-label {
    display: block;
    margin-top: 6px;
    color: #5b6474;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.about-image-badge {
    position: absolute;
    right: 18px;
    bottom: 18px;
    max-width: 240px;
    padding: 16px 18px;
    border-radius: 18px;
    background: rgba(15, 39, 71, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(8, 15, 30, 0.2);
}

.about-image-badge strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.about-image-badge span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    font-size: 13px;
    line-height: 1.55;
}

.about-intro-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.about-intro-points span {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.06);
    border: 1px solid rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-weight: 600;
    font-size: 14px;
}

.about-service-pillars {
    background:
       
        #ffffff !important;
}

.about-service-pillars .service-pillar-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 20px 0 16px 56px;
    position: relative;
    border-bottom: 1px solid rgba(26, 62, 114, 0.12);
    min-height: auto;
}

.about-service-pillars .container {
    max-width: 1000px;
}

.about-service-pillars .service-pillar-tag {
    display: none;
}

.about-service-pillars .service-pillar-index {
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 62, 114, 0.12);
}

.about-service-pillars .service-pillar-card h3 {
    margin: 0 0 6px;
    color: #1A3E72;
    font-size: 22px;
    line-height: 1.2;
}

.about-service-pillars .service-pillar-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

.about-service-pillars .service-pillar-footer {
    margin-top: 12px;
    display: flex;
    justify-content: center;
}

.about-service-pillars .service-pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1A3E72;
    text-decoration: none;
    font-weight: 600;
    padding: 0;
    min-width: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    background: rgba(26, 62, 114, 0.08);
    border: 1px solid rgba(26, 62, 114, 0.2);
    border-radius: 999px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.about-service-pillars .service-pillar-link::after {
    content: "→";
    font-size: 14px;
}

@media (max-width: 900px) {
    .about-service-pillars .service-pillar-card {
        padding-left: 56px;
    }
}

@media (max-width: 640px) {
    .about-service-pillars .service-pillar-card {
        padding-left: 48px;
    }
    .about-service-pillars .service-pillar-index {
        font-size: 48px;
    }
}

.service-pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    grid-auto-rows: 1fr;
    gap: 18px;
    align-items: stretch;
}

.service-pillars-list {
    display: grid;
    gap: 16px;
}

.service-pillars-list .service-pillar-card {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
    padding: 28px 0 22px 64px;
    position: relative;
    border-bottom: 1px solid rgba(26, 62, 114, 0.12);
}

.service-pillars-list .service-pillar-index {
    position: absolute;
    left: 0;
    top: 6px;
    font-size: 64px;
    font-weight: 800;
    line-height: 1;
    color: rgba(26, 62, 114, 0.12);
}

.service-pillars-list .service-pillar-tag {
    display: none;
}

.service-pillars-list .service-pillar-footer {
    margin: 10px 0 0;
}

.service-pillars-list .service-pillar-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    color: #1A3E72;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px solid rgba(26, 62, 114, 0.3);
    padding-bottom: 2px;
}

.service-pillars-list .service-pillar-link::after {
    content: "→";
    font-size: 14px;
}

.service-pillars-list .service-pillar-card h3 {
    margin: 0 0 6px;
    color: #1A3E72;
    font-size: 22px;
    line-height: 1.2;
}

.service-pillars-list .service-pillar-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.6;
}

@media (max-width: 900px) {
    .service-pillars-list .service-pillar-card {
        padding-left: 56px;
    }
    .service-pillars-list .service-pillar-link {
        margin-top: 8px;
    }
}

@media (max-width: 640px) {
    .service-pillars-list .service-pillar-card {
        padding-left: 48px;
    }
    .service-pillars-list .service-pillar-index {
        font-size: 48px;
    }
}

.service-pillar-card {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-height: 280px;
    height: 100%;
    padding: 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.service-pillar-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.service-pillar-card:hover {
    transform: translateY(-8px);
    
    border-color: rgba(26, 62, 114, 0.22);
}

.service-pillar-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-size: 11px;
}

.service-pillar-tag::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 0 0 5px rgba(26, 62, 114, 0.12);
}

.service-pillar-card h3 {
    margin: 0;
    color: #0f2747;
    font-size: 22px;
    line-height: 1.3;
}

.service-pillar-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.service-pillar-quote {
    color: #F7A72C;
    font-weight: 800;
    font-style: italic;
}

.service-pillar-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.service-pillar-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 16px;
    min-width: 150px;
    border-radius: 12px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #1A3E72, #F7A72C) border-box;
    border: 1px solid transparent;
    font-weight: 800;
    color: #1A3E72;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.service-pillar-link::after {
    content: "?";
    font-size: 14px;
    transition: transform 0.25s ease;
}

.service-pillar-link:hover::after {
    transform: translateX(4px);
}

.service-pillar-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
    color: #0f2747;
}

.about-strength-section {
    background:
        radial-gradient(circle at 8% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 86% 84%, rgba(247, 167, 44, 0.12), transparent 36%),
        #f3f4f6 !important;
}

.about-strength-grid,
.about-brand-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

@media (min-width: 993px) {
    .about-strength-grid {
        grid-template-columns: repeat(12, minmax(0, 1fr));
        justify-content: center;
    }

    .about-strength-grid > .about-strength-card {
        grid-column: span 4;
    }

    .about-strength-grid > .about-strength-card:nth-child(4) {
        grid-column: 3 / span 4;
    }

    .about-strength-grid > .about-strength-card:nth-child(5) {
        grid-column: 7 / span 4;
    }
}

.about-strength-card,
.about-purpose-card,
.about-compliance-copy,
.about-compliance-panel,
.about-brand-logo {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    border-radius: 22px;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.about-strength-card {
    padding: 26px;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease, filter 0.28s ease;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

.about-strength-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 22px;
    background:
        radial-gradient(circle at 18% 18%, rgba(247, 167, 44, 0.18), transparent 45%),
        radial-gradient(circle at 86% 22%, rgba(26, 62, 114, 0.14), transparent 46%);
    opacity: 0;
    transition: opacity 0.28s ease;
    pointer-events: none;
}

.about-strength-card:hover::before {
    opacity: 1;
}

.about-strength-card:hover::after {
    height: 6px;
    opacity: 1;
}

.about-strength-card:hover h3 {
    color: #0f2747;
}

.about-strength-card:hover p {
    color: #374151;
}

.about-strength-card::after,
.about-purpose-card::after,
.about-compliance-copy::after,
.about-compliance-panel::after,
.about-brand-logo::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: -1px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1A3E72 0%, #F7A72C 100%);
}

.about-strength-card:hover,
.about-purpose-card:hover,
.about-compliance-copy:hover,
.about-compliance-panel:hover,
.about-brand-logo:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    border-color: rgba(26, 62, 114, 0.26);
    filter: saturate(1.03);
}

.about-strength-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1A3E72, #21487f);
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(26, 62, 114, 0.22);
}

.about-strength-card h3,
.about-purpose-card h3,
.about-compliance-panel h3 {
    margin: 0 0 12px;
    color: #1A3E72;
    font-size: 23px;
    line-height: 1.3;
}

.about-strength-card p,
.about-purpose-card p,
.about-compliance-copy p,
.about-compliance-panel p {
    margin: 0;
    color: #4b5563;
    line-height: 1.75;
}

.about-strength-summary {
    margin-top: 26px;
    padding: 22px 26px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f2747 0%, #1A3E72 68%, #305690 100%);
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

@media (max-width: 640px) {
    body .about-strength-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    body .about-strength-section .section-header h2 {
        font-size: clamp(24px, 6.8vw, 32px);
    }

    body .about-strength-section .section-header p {
        font-size: 14px;
    }

    body .about-strength-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body .about-strength-grid > .about-strength-card {
        grid-column: auto;
    }

    body .about-strength-card {
        padding: 20px;
        border-radius: 18px;
        text-align: left;
    }

    body .about-strength-card h3 {
        font-size: 18px;
    }

    body .about-strength-card p {
        font-size: 14px;
        line-height: 1.65;
    }

    body .about-strength-summary {
        font-size: 16px;
        padding: 18px 20px;
        border-radius: 16px;
    }
}

.about-purpose-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(247, 167, 44, 0.08), transparent 24%),
        #ffffff !important;
}

.about-purpose-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.about-purpose-shell {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 14% 16%, rgba(247, 167, 44, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.about-purpose-intro {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f2747 0%, #1A3E72 68%, #305690 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.about-purpose-intro-icon,
.about-compliance-highlight-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    flex: 0 0 auto;
}

.about-purpose-intro-icon svg,
.about-compliance-highlight-icon svg {
    width: 22px;
    height: 22px;
}

.about-purpose-intro p {
    margin: 0;
    color: rgba(255, 255, 255, 0.86);
    font-size: 16px;
    line-height: 1.75;
    font-weight: 600;
}

.about-purpose-stream {
    margin-top: 26px;
    display: grid;
    gap: 18px;
}

.about-purpose-line {
    position: relative;
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 28px;
    padding: 22px 0;
    border-top: 1px solid rgba(26, 62, 114, 0.12);
    transition: transform 0.25s ease;
}

.about-purpose-line:last-child {
    border-bottom: 1px solid rgba(26, 62, 114, 0.12);
}

.about-purpose-side {
    position: relative;
    min-width: 0;
}

.about-purpose-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.06);
    border: 1px solid rgba(26, 62, 114, 0.14);
    color: #1A3E72;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: border-color 0.25s ease;
}

.about-purpose-watermark {
    position: absolute;
    left: 0;
    top: 42px;
    font-size: 48px;
    font-weight: 900;
    letter-spacing: -0.04em;
    color: rgba(26, 62, 114, 0.08);
    line-height: 1;
    user-select: none;
    white-space: nowrap;
}

.about-purpose-main {
    position: relative;
    padding-left: 18px;
}

.about-purpose-main::before {
    content: "";
    position: absolute;
    left: 0;
    top: 4px;
    bottom: 4px;
    width: 3px;
    border-radius: 999px;
    opacity: 0.65;
    transition: opacity 0.25s ease;
    background: linear-gradient(180deg, rgba(26, 62, 114, 0.8), rgba(247, 167, 44, 0.8));
}

.about-purpose-line-vision .about-purpose-main::before {
    background: linear-gradient(180deg, rgba(26, 62, 114, 0.85), rgba(26, 62, 114, 0.25));
}

.about-purpose-line-mission .about-purpose-main::before {
    background: linear-gradient(180deg, rgba(247, 167, 44, 0.95), rgba(247, 167, 44, 0.25));
}

.about-purpose-main h3 {
    margin: 0 0 10px;
    font-size: 26px;
    line-height: 1.25;
    color: #0b1833;
}

.about-purpose-main p {
    margin: 0;
    color: #4b5563;
    line-height: 1.85;
    font-weight: 600;
}

.about-purpose-line:hover {
    transform: translateY(-2px);
}

.about-purpose-line:hover .about-purpose-main::before {
    opacity: 1;
}

.about-purpose-line:hover .about-purpose-tag {
    border-color: rgba(247, 167, 44, 0.45);
}

@media (min-width: 992px) {
    .about-page .about-purpose-stream {
        max-width: 100%;
        margin-inline: auto;
        padding-inline: clamp(40px, 4vw, 82px);
    }
}

@media (max-width: 768px) {
    .about-purpose-line {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .about-purpose-watermark {
        position: static;
        display: block;
        margin-top: 10px;
        font-size: 38px;
    }

    .about-purpose-main {
        padding-left: 14px;
    }
}

.about-purpose-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-purpose-label {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-purpose-body {
    flex: 1;
    display: flex;
    align-items: flex-start;
}

.about-purpose-text-block {
    width: 100%;
    min-height: 100%;
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(26, 62, 114, 0.05);
    border: 1px solid rgba(26, 62, 114, 0.08);
}

.about-purpose-list {
    margin: 0;
    padding-left: 22px;
    color: #4b5563;
    line-height: 1.9;
}

.about-purpose-card p,
.about-purpose-list {
    width: 100%;
}

.about-purpose-card p {
    margin: 0;
    color: #4b5563;
    line-height: 1.9;
}

.about-purpose-list li + li {
    margin-top: 6px;
}

.about-purpose-list li::marker {
    color: #F7A72C;
}

.about-compliance-section {
    background:
        radial-gradient(circle at 12% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 78%, rgba(247, 167, 44, 0.14), transparent 36%),
        #f3f4f6 !important;
}

.about-compliance-stream {
    margin-top: 22px;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 34px;
    align-items: start;
}

.about-compliance-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.06);
    border: 1px solid rgba(26, 62, 114, 0.14);
    color: #1A3E72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.about-compliance-title {
    margin: 0 0 12px;
    font-size: clamp(22px, 2.6vw, 30px);
    line-height: 1.25;
    color: #0b1833;
    font-weight: 600;
}

.about-compliance-leadline {
    margin: 0 0 12px;
    padding-left: 16px;
    border-left: 4px solid #F7A72C;
    color: #1f2937;
    font-weight: 650;
    line-height: 1.8;
}

.about-compliance-copy p + p {
    margin-top: 14px;
}

.about-compliance-rail-title {
    margin: 0 0 12px;
    font-size: 18px;
    color: #1A3E72;
    font-weight: 600;
}

.about-compliance-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    gap: 0;
}

.about-compliance-steps::before {
    content: "";
    position: absolute;
    left: 18px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(180deg, rgba(26, 62, 114, 0.45), rgba(247, 167, 44, 0.35));
    border-radius: 999px;
    opacity: 0.6;
}

.about-compliance-step {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 14px 0;
}

.about-compliance-step + .about-compliance-step {
    border-top: 1px dashed rgba(26, 62, 114, 0.14);
}

.about-compliance-step-icon {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), transparent 46%),
        linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 14px 28px rgba(26, 62, 114, 0.16);
    position: relative;
    z-index: 1;
}

.about-compliance-step-icon::after {
    content: "";
    width: 10px;
    height: 6px;
    border-left: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: rotate(-45deg);
    margin-top: -1px;
}

.about-compliance-step-text {
    display: block;
    font-weight: 500;
    color: #0b1833;
    line-height: 1.55;
}

.about-compliance-step {
    transition: transform 0.25s ease;
}

.about-compliance-step:hover {
    transform: translateX(6px);
}

@media (max-width: 980px) {
    .about-compliance-stream {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .about-compliance-section .about-compliance-panel {
        padding-left: 0;
        border-left: 0;
    }
}

.about-compliance-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 26px;
    align-items: stretch;
}

.about-compliance-section .about-compliance-copy,
.about-compliance-section .about-compliance-panel {
    background: transparent;
    border: 0;
    box-shadow: none;
    border-radius: 0;
}

.about-compliance-section .about-compliance-panel {
    padding-left: 24px;
    border-left: 1px dashed rgba(26, 62, 114, 0.2);
}

.about-compliance-section .about-compliance-panel h3 {
    font-size: 20px;
    font-weight: 600;
}

.about-compliance-section .about-compliance-copy::after,
.about-compliance-section .about-compliance-panel::after {
    content: none;
}

.about-compliance-section .about-compliance-copy:hover,
.about-compliance-section .about-compliance-panel:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
    filter: none;
}

.about-compliance-summary {
    padding: 6px 0 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.about-compliance-summary p {
    color: #42526b;
    line-height: 1.75;
}

@media (max-width: 640px) {
    body .about-compliance-section {
        padding-top: 56px;
        padding-bottom: 56px;
    }

    body .about-compliance-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    body .about-compliance-summary {
        padding: 0;
    }

    body .about-compliance-title {
        font-size: clamp(20px, 6.2vw, 26px);
    }

    body .about-compliance-leadline {
        font-size: 14px;
        padding-left: 12px;
    }

    body .about-compliance-points {
        justify-content: flex-start;
        gap: 8px;
    }

    body .about-compliance-points span {
        font-size: 12px;
        padding: 6px 10px;
    }

    body .about-compliance-panel {
        padding-left: 0;
        border-left: 0;
    }

    body .about-compliance-rail-title {
        font-size: 16px;
    }

    body .about-compliance-steps {
        gap: 4px;
    }

    body .about-compliance-steps::before {
        left: 15px;
        top: 8px;
        bottom: 8px;
    }

    body .about-compliance-step {
        grid-template-columns: 32px minmax(0, 1fr);
        gap: 10px;
        padding: 12px 0;
    }

    body .about-compliance-step-icon {
        width: 32px;
        height: 32px;
    }

    body .about-compliance-step-text {
        font-size: 14px;
    }
}

.about-compliance-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
    justify-content: center;
}

.about-compliance-points span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.06);
    border: 1px solid rgba(26, 62, 114, 0.1);
    color: #1A3E72;
    font-size: 13px;
    font-weight: 600;
}

.about-compliance-list {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.about-compliance-shell {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 88% 16%, rgba(247, 167, 44, 0.12), transparent 20%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1);
}

.about-compliance-highlight {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    padding: 18px 20px;
    margin-bottom: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f2747 0%, #1A3E72 68%, #305690 100%);
    color: #ffffff;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
}

.about-compliance-highlight strong {
    display: block;
    margin-bottom: 6px;
    font-size: 18px;
}

.about-compliance-highlight p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.about-compliance-copy,
.about-compliance-panel {
    padding: 6px 0 0;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.about-compliance-copy p + p {
    margin-top: 16px;
}

.about-compliance-lead {
    margin-bottom: 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.08), rgba(247, 167, 44, 0.08));
    color: #1A3E72;
    font-weight: 700;
    line-height: 1.6;
}

.about-compliance-list {
    display: grid;
    gap: 14px;
    margin-top: 18px;
}

.about-compliance-list span {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(26, 62, 114, 0.05);
    border: 1px solid rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-weight: 600;
}

.about-compliance-list span::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F7A72C, #f4be67);
    box-shadow: 0 0 0 5px rgba(247, 167, 44, 0.14);
    flex: 0 0 auto;
}

.about-brand-section {
    background:
        radial-gradient(circle at 50% 0%, rgba(247, 167, 44, 0.08), transparent 24%),
        #ffffff !important;
}

.about-brand-intro {
    max-width: 840px;
    margin: 0 auto 26px;
    padding: 18px 22px;
    border-radius: 18px;
    background: rgba(26, 62, 114, 0.05);
    border: 1px solid rgba(26, 62, 114, 0.08);
    text-align: center;
    color: #1A3E72;
    font-weight: 600;
    line-height: 1.7;
}

.about-brand-shell {
    padding: 28px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 14% 16%, rgba(247, 167, 44, 0.16), transparent 22%),
        linear-gradient(135deg, #0f2747 0%, #1A3E72 58%, #274d87 100%);
    box-shadow: 0 28px 54px rgba(15, 23, 42, 0.18);
    overflow: hidden;
}

.about-brand-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    text-align: center;
}

.about-brand-head-copy {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.about-brand-head-copy h3 {
    margin: 8px 0 0;
    color: #ffffff;
    font-size: clamp(24px, 3.2vw, 34px);
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.about-brand-head-copy p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.about-brand-head-kicker {
    display: inline-flex;
    align-items: center;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.14);
    border: 1px solid rgba(247, 167, 44, 0.3);
    color: #f8c66f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.about-brand-head-badge {
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.84);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
    margin: 0 auto;
}

.about-brand-stage {
    position: relative;
}

.about-brand-carousel {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.about-brand-viewport {
    overflow: hidden;
    padding: 14px 0;
}

.about-brand-slider-track {
    display: flex;
    gap: 24px;
    transition: transform 0.65s cubic-bezier(0.2, 0.7, 0.2, 1);
    will-change: transform;
}

.about-brand-slide {
    flex: 0 0 calc((100% - 48px) / 3);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    transform: scale(0.92);
    opacity: 0.64;
    transition: transform 0.45s ease, opacity 0.45s ease;
}

.about-brand-slide.is-active {
    transform: scale(1);
    opacity: 1;
}

.about-brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 170px;
    padding: 28px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
    border: 1px solid rgba(26, 62, 114, 0.1);
    border-radius: 24px;
    box-shadow: 0 18px 36px rgba(8, 15, 30, 0.16);
}

.about-brand-slide span {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.about-brand-logo img {
    max-width: 180px;
    max-height: 78px;
    width: 100%;
    object-fit: contain;
    filter: saturate(1.02);
}

.about-brand-nav {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 26px rgba(8, 15, 30, 0.16);
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.about-brand-nav:hover {
    transform: translateY(-2px);
    background: rgba(247, 167, 44, 0.16);
    border-color: rgba(247, 167, 44, 0.34);
}

.about-brand-nav svg {
    width: 18px;
    height: 18px;
}

.about-brand-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.about-brand-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: 0;
    background: rgba(255, 255, 255, 0.28);
    transition: transform 0.25s ease, background 0.25s ease;
}

.about-brand-dot.is-active {
    background: #F7A72C;
    transform: scale(1.25);
}

.about-cta-section:not(.cta-full) .cta-container {
    background:
        radial-gradient(circle at 12% 18%, rgba(247, 167, 44, 0.16), transparent 24%),
        linear-gradient(135deg, #0f2747 0%, #1A3E72 60%, #2d5793 100%);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.18);
}

.service-card-home {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
}

.service-card-home::before {
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.service-card-home .icon {
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.5), transparent 30%),
        linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 12px 24px rgba(26, 62, 114, 0.22);
}

.home-card-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.home-compliance-section .home-mini-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-development-section {
    background: #ffffff !important;
}

.home-development-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    align-items: center;
    margin-top: 18px;
}

.home-development-header {
    text-align: center;
}

.home-development-header .underline {
    margin-left: auto;
    margin-right: auto;
}


.home-development-visual {
    display: none;
}

.home-development-overlay {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 12px;
    border-radius: 16px;
    background: rgba(9, 22, 46, 0.68);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(8, 15, 30, 0.26);
}

.home-development-hero-img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.08) contrast(1.02);
    transform: scale(1.02);
}

.home-development-visual-caption {
    position: static;
    padding: 6px 10px 0;
    border-radius: 10px;
    background: transparent;
    border: 0;
    color: #f8fbff;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 0.02em;
    text-align: center;
}

.home-development-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 62, 114, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
    justify-content: center;
    font-family: 'Epilogue', sans-serif;
}

.home-dev-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 12px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffffff, #f3f6fb);
    border: 1px solid rgba(26, 62, 114, 0.14);
    color: #0f2747;
    font-weight: 600;
    font-size: 12px;
    box-shadow: 0 6px 12px rgba(15, 23, 42, 0.08);
    min-height: 34px;
    text-align: center;
    font-family: 'Epilogue', sans-serif;
}

.home-dev-timeline {
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    display: grid;
    gap: 14px;
}

.home-dev-item {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ffffff, #f5f8ff);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.home-dev-item + .home-dev-item {
    border-top: none;
}

.home-dev-node {
    width: 46px;
    height: 46px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.26), transparent 46%),
        linear-gradient(135deg, #1A3E72, #274d87);
    box-shadow: 0 14px 28px rgba(26, 62, 114, 0.18);
    position: relative;
    z-index: 1;
}

.home-dev-node svg {
    width: 22px;
    height: 22px;
}

.home-dev-copy h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.25;
    color: #1A3E72;
}

.home-dev-copy p {
    margin: 6px 0 0;
    color: #4b5563;
    line-height: 1.7;
}

.home-dev-item:hover {
    transform: translateY(-2px);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.12);
}

@media (max-width: 980px) {
    .home-development-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .home-development-header {
        text-align: center;
    }

    .home-development-header .underline {
        margin-left: auto;
        margin-right: auto;
    }

    .home-development-visual {
        position: relative;
        top: auto;
        border-radius: 24px;
    }

    .home-dev-timeline::before {
        left: 21px;
    }
}

.home-clients-section.home-band-gray {
    background: #f3f4f6 !important;
}

.why-choose-theme.home-band-white {
    background:#ffffff !important;
}

.home-client-carousel-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    padding: 0 28px;
    background:
        radial-gradient(circle at 14% 18%, rgba(247, 167, 44, 0.16), transparent 24%),
        radial-gradient(circle at 84% 22%, rgba(255, 255, 255, 0.08), transparent 18%),
        linear-gradient(135deg, #0f2747 0%, #1A3E72 58%, #274d87 100%);
    border-radius: 28px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.28);
}

.home-client-carousel-head {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 140px;
    align-items: start;
    gap: 24px;
    padding: 38px 10px 0;
}

.home-client-carousel-head .section-header h2,
.home-client-carousel-head .section-header p {
    color: #ffffff;
}

.home-client-carousel-head .underline {
    background: rgba(255, 255, 255, 0.4);
}

.home-client-carousel-copy {
    position: relative;
    min-height: 180px;
}

.home-client-carousel-copy::before {
    content: "";
    position: absolute;
    top: -38px;
    left: 58px;
    width: 10px;
    height: calc(100% + 76px);
    border-left: 1px solid rgba(247, 167, 44, 0.26);
    border-right: 1px solid rgba(247, 167, 44, 0.26);
}

.home-client-carousel-copy-box {
    position: absolute;
    left: -6px;
    bottom: 10px;
    transform-origin: 0 100%;
    transform: rotate(-90deg);
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    line-height: 1.55;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    width: 220px;
}

.home-client-carousel {
    position: relative;
    z-index: 1;
    height: calc(100vh - 180px);
    min-height: 560px;
    overflow: hidden;
    pointer-events: none;
}

.home-client-carousel-item {
    --items: 9;
    --width: clamp(132px, 18vw, 210px);
    --height: clamp(188px, 27vw, 292px);
    --x: calc(var(--active) * 620%);
    --y: calc(var(--active) * 170%);
    --rot: calc(var(--active) * 118deg);
    --opacity: calc(var(--zIndex) / var(--items) * 3 - 2);
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: var(--zIndex);
    width: var(--width);
    height: var(--height);
    margin: calc(var(--height) * -0.5) 0 0 calc(var(--width) * -0.5);
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(20, 49, 88, 0.98), rgba(14, 33, 60, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 40px rgba(8, 15, 30, 0.34);
    transform-origin: 0 100%;
    transform: translate(var(--x), var(--y)) rotate(var(--rot));
    transition: transform 0.8s cubic-bezier(0, 0.02, 0, 1);
    text-decoration: none;
    pointer-events: all;
    user-select: none;
}

.home-client-carousel-box {
    position: absolute;
    inset: 0;
    opacity: var(--opacity);
    transition: opacity 0.8s cubic-bezier(0, 0.02, 0, 1);
    border-radius: inherit;
    overflow: hidden;
}

.home-client-carousel-box::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0) 26%),
        linear-gradient(to bottom, rgba(10, 18, 35, 0.22), rgba(0, 0, 0, 0) 34%, rgba(0, 0, 0, 0) 58%, rgba(10, 18, 35, 0.72));
}

.home-client-carousel-box::after {
    content: "";
    position: absolute;
    inset: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1;
    pointer-events: none;
}

.home-client-carousel-title,
.home-client-carousel-num {
    position: absolute;
    z-index: 2;
    color: #ffffff;
    text-shadow: 0 4px 18px rgba(8, 15, 30, 0.4);
}

.home-client-carousel-title {
    left: 16px;
    bottom: 14px;
    font-size: clamp(15px, 1.9vw, 22px);
    font-weight: 600;
    letter-spacing: -0.03em;
}

.home-client-carousel-num {
    top: 12px;
    left: 14px;
    font-size: clamp(20px, 5.2vw, 48px);
    font-weight: 700;
    line-height: 1;
    color: rgba(247, 167, 44, 0.96);
}

.home-client-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: radial-gradient(circle at 50% 38%, rgba(255, 255, 255, 0.14), rgba(247, 167, 44, 0.04) 58%, transparent 76%);
    padding: 48px 28px;
    filter: drop-shadow(0 10px 18px rgba(8, 15, 30, 0.16));
}

.home-client-carousel-cursor {
    position: fixed;
    z-index: 90;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin: -20px 0 0 -20px;
    border: 1px solid rgba(247, 167, 44, 0.34);
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.85s cubic-bezier(0, 0.02, 0, 1);
    display: none;
    opacity: 0;
    transition: transform 0.85s cubic-bezier(0, 0.02, 0, 1), opacity 0.25s ease;
}

.home-client-carousel-cursor-small {
    width: 2px;
    height: 2px;
    margin: -1px 0 0 -1px;
    background: rgba(247, 167, 44, 0.92);
    border: 0;
    transition-duration: 0.7s;
}

body.home-cursor-enabled {
    cursor: none;
}

body.home-cursor-enabled * {
    cursor: none !important;
}

body.home-cursor-active .home-client-carousel-cursor {
    opacity: 1;
}

@media (pointer: fine) {
    .home-client-carousel-cursor {
        display: block;
    }
}

#services,
#clients {
    scroll-margin-top: 130px;
}

.about-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(203, 213, 225, 0.55);
    border-radius: 18px;
    padding: 30px;
    backdrop-filter: blur(3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    border-top: 5px solid #1A3E72
}

.about-content h2 {
    font-size: 38px;
    margin-bottom: 15px;
    color: #1A3E72;
}


/* Payroll compliance section refresh */
.payroll-compliance-section {
    background:
        radial-gradient(circle at 14% 20%, rgba(26, 62, 114, 0.08), transparent 40%),
        radial-gradient(circle at 82% 78%, rgba(247, 167, 44, 0.12), transparent 38%),
        #f8fafc;
    padding: 80px 0;
    border-top: 1px solid rgba(15, 23, 42, 0.04);
    border-bottom: 1px solid rgba(15, 23, 42, 0.04);
}

.payroll-compliance-section .industrial-why-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)) padding-box,
        linear-gradient(135deg, rgba(26, 62, 114, 0.18), rgba(247, 167, 44, 0.20)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.payroll-compliance-section .industrial-why-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
    border-color: rgba(26, 62, 114, 0.20);
}

.payroll-compliance-section .industrial-why-number {
    color: #1A3E72;
    background: rgba(247, 167, 44, 0.12);
    border: 1px solid rgba(247, 167, 44, 0.28);
}

.payroll-compliance-section ul {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.payroll-compliance-section ul li:nth-child(odd) {
    background: rgba(26, 62, 114, 0.02);
}

.payroll-compliance-section ul li {
    transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    border-left: 3px solid transparent;
}

.payroll-compliance-section ul li:hover {
    background: rgba(247, 167, 44, 0.08);
    border-left-color: #1A3E72;
    transform: translateX(4px);
}

.payroll-compliance-section ul li svg {
    color: #1A3E72;
}

/* Industrial Service Scope - match housekeeping color treatment */
.industrial-showcase {
    background:
        radial-gradient(circle at 14% 18%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #f8fafc;
}

.industrial-showcase .industrial-showcase-service-grid .industrial-service-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.96)) padding-box,
        linear-gradient(145deg, rgba(26, 62, 114, 0.18), rgba(247, 167, 44, 0.24)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.industrial-showcase .industrial-showcase-service-grid .industrial-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.16);
    border-color: rgba(26, 62, 114, 0.22);
}

.about-highlight {
    font-weight: 600;
    color: #F7A72C; 
    margin-bottom: 15px;
    font-size: 18px;
}

.about-content p {
    color: #555;
    line-height: 1.7;
}

.about-features {
    margin: 25px 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    font-weight: 500;
}

.about-features div {
    background: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 4px solid #F7A72C;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.about-features div::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(245, 158, 11, 0.12) 55%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.about-features div:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.about-features div:hover::after {
    transform: translateX(120%);
}

.about-feature-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 1.35;
}

.about-feature-item svg {
    flex-shrink: 0;
    margin: 0;
}

.about-story-wrapper {
    align-items: flex-start;
    gap: 42px;
}

.about-story-image {
    flex: 0 0 31%;
    max-width: 360px;
}

.about-story-photo {
    height: 240px;
    object-fit: cover;
}

.about-story-content {
    flex: 0 1 52%;
    margin-right: 176px;
}

/* About intro refresh */
.about-intro-refresh {
    background: #f3f4f6 !important;
}

.about-intro-refresh .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: center;
}

.about-intro-refresh .about-intro-media {
    display: none;
}

.about-intro-refresh .about-intro-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transform: none;
}

.about-intro-refresh .about-intro-copy {
    background: transparent;
    border-radius: 0;
    padding: 6px 0 0;
    border: 0;
    box-shadow: none;
    text-align: left;
    max-width: 880px;
    margin: 0 auto;
}

.about-intro-refresh .about-intro-copy h2 {
    font-size: 32px;
    color: #1A3E72;
    letter-spacing: -0.02em;
}

.about-intro-refresh .about-intro-lead {
    font-size: 18px;
    color: #334155;
    line-height: 1.8;
    padding-left: 0;
    border-left: 0;
}

.about-intro-refresh .about-intro-copy p {
    max-width: 720px;
}

.about-intro-refresh .about-intro-services {
    display: grid;
    gap: 12px;
    margin: 14px 0 0;
    list-style: none;
    padding: 0;
}

.about-intro-refresh .about-intro-services li {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0 0 10px;
    font-weight: 600;
    color: #1A3E72;
    position: relative;
    border-bottom: 1px dashed rgba(26, 62, 114, 0.2);
    padding-left: 18px;
}

.about-intro-refresh .about-intro-services li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1A3E72, #2f5aa3);
}

.about-intro-refresh .about-intro-actions {
    gap: 12px;
    justify-content: flex-start;
}

.about-intro-alt {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.85fr);
    gap: 28px;
    align-items: start;
}

.about-intro-side-title {
    margin: 0 0 10px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(26, 62, 114, 0.75);
}

@media (max-width: 900px) {
    .about-intro-refresh .about-intro-grid {
        grid-template-columns: 1fr;
    }
    .about-intro-refresh .about-intro-copy {
        text-align: left;
    }
    .about-intro-refresh .about-intro-services {
        justify-content: flex-start;
    }
    .about-intro-alt {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .about-story-content {
        margin-right: 112px;
    }
}

/* Responsive */
@media(max-width: 768px){
    .about-wrapper {
        flex-direction: column;
    }

    .about-image::before,
    .about-image::after {
        display: none;
    }

    .about-content {
        padding: 24px 18px;
    }

    .about-story-image,
    .about-story-content {
        max-width: 100%;
        flex: 1 1 100%;
        margin-right: 0;
    }

    .about-story-photo {
        height: 240px;
    }

    .home-about-image {
        max-width: 100%;
    }

    .home-about-premium {
        padding: 68px 16px;
    }

    .home-about-premium-shell {
        padding-right: 0;
    }

    .home-about-premium-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-about-photo-frame {
        min-height: 320px;
        border-radius: 22px;
    }

    .home-about-photo-frame img {
        padding: 12px;
    }

    .home-about-copy {
        padding: 24px 18px;
        border-radius: 24px;
        text-align: left;
    }

    .home-about-copy h2 {
        font-size: 32px;
    }

    .home-about-lead {
        font-size: 17px;
        line-height: 1.6;
    }

    .home-about-body {
        font-size: 15px;
        line-height: 1.8;
    }

    .home-about-feature-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        margin-top: 22px;
        text-align: left;
    }

    .home-about-feature-item {
        padding: 16px;
    }

    .home-about-stat-card {
        position: static;
        max-width: 100%;
        margin-top: 16px;
        padding: 18px;
    }

    .home-about-actions {
        justify-content: flex-start;
    }

    .home-about-image img {
        height: 250px;
    }

    .home-band {
        padding-top: 68px;
        padding-bottom: 68px;
    }

    .home-client-carousel-shell {
        min-height: auto;
        padding: 0 16px 28px;
        border-radius: 22px;
    }

    .home-client-carousel-head {
        grid-template-columns: 1fr;
        padding-top: 26px;
    }

    .home-client-carousel-copy {
        min-height: 0;
    }

    .home-client-carousel-copy::before,
    .home-client-carousel-copy-box,
    .home-client-carousel-cursor {
        display: none;
    }

    .home-client-carousel {
        min-height: 430px;
        height: 520px;
    }

    .home-client-carousel-item {
        --width: clamp(126px, 38vw, 188px);
        --height: clamp(178px, 48vw, 252px);
        --x: calc(var(--active) * 460%);
        --y: calc(var(--active) * 122%);
        --rot: calc(var(--active) * 92deg);
    }

    .home-client-carousel-title {
        font-size: 18px;
    }

    .home-client-carousel-num {
        font-size: 32px;
    }

    .home-client-carousel-item img {
        padding: 40px 22px;
    }
}

@media (max-width: 520px) {
    .home-client-carousel {
        min-height: 360px;
        height: 430px;
    }

    .home-client-carousel-item {
        --width: 124px;
        --height: 182px;
    }

    .home-client-carousel-title {
        left: 12px;
        bottom: 12px;
        font-size: 15px;
    }

    .home-client-carousel-num {
        left: 12px;
        top: 12px;
        font-size: 28px;
    }

    .home-client-carousel-item img {
        padding: 36px 18px;
    }
}

section {
    position: relative;
}

section::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: rgba(0,0,0,0.05);
}

.container {
    max-width: 1100px;
    margin: auto;
}

/* Services Section */
.services-theme {
    padding: 100px 20px;
    background: #F3F4F6;
}

#services.services-theme {
    padding-top: 72px;
}

.section-header {
    text-align: center;
    margin-bottom: 28px;
}

.section-header h2 {
    font-size: 38px;
    color: #1A3E72;
}

.section-header p {
    color: #555;
    margin-top: 10px;
}

.underline {
    width: 70px;
    height: 4px;
    background: #F7A72C;
    margin: 15px auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    max-width: 1100px;
    margin: auto;
}

/* Top 3 Cards */
.services-grid .service-card:nth-child(1) {
    grid-column: span 2;
}
.services-grid .service-card:nth-child(2) {
    grid-column: span 2;
}
.services-grid .service-card:nth-child(3) {
    grid-column: span 2;
}

/* Bottom 2 Cards Centered */
.services-grid .service-card:nth-child(4) {
    grid-column: 2 / span 2;
}
.services-grid .service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

@media(max-width: 992px){
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .services-grid .service-card {
        grid-column: auto !important;
    }
}

@media(max-width: 600px){
    .services-grid {
        grid-template-columns: 1fr;
    }
}
/* Card */
.service-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 24px 16px;
    border-radius: 14px;
    text-align: center;
    border: 1px solid #e5e7eb;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

/* Top Gradient Hover Effect */
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
    transition: 0.35s ease;
    z-index: 0;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, transparent 30%, rgba(245, 158, 11, 0.14) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    z-index: 1;
}

.service-card * {
    position: relative;
    z-index: 2;
}

/* Icon */
.service-card .icon {
    font-size: 45px;
    margin-bottom: 15px;
    color: #F7A72C;
    width: 74px;
    height: 74px;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #FFF8E8;
    border: 1px solid #fed7aa;
    transition: 0.3s;
}

/* Title */
.service-card h3 {
    color: #1A3E72;
    margin-bottom: 12px;
    transition: 0.3s;
}

/* Text */
.service-card p {
    color: #555;
    font-size: 15px;
    margin-bottom: 10px;
    transition: 0.3s;
     font-size: 16px;
}

/* Button */
.service-btn {
    display: inline-block;
    padding: 10px 25px;
    background: #F7A72C;
    color: #fff;
    font-size: 14px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    margin-top: auto;
}

/* Hover Effects */
.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.13);
    border-color: #cbd5e1;
}

.service-card:hover::after {
    transform: translateX(130%);
}

.service-card:hover h3,
.service-card:hover p {
    color: inherit;
}

.service-card:hover .icon {
    color: #1A3E72;
    background: #FFF2CC;
    transform: scale(1.08);
}

.service-card:hover .service-btn {
    background: #1A3E72;
    color: #ffffff;
}

.why-choose-theme {
    padding: 100px 20px;
    background: #ffffff; 
}

.container {
    max-width: 1200px;
    margin: auto;
    text-align: center;
}

.section-header h2 {
    font-size: 38px;
    color: #1A3E72;
    margin-bottom: 10px;
}

.section-header p {
    color: #555;
    margin-bottom: 50px;
     font-size: 17px;
}

.underline {
    width: 70px;
    height: 4px;
    background: #F7A72C;
    margin: 15px auto 25px;
}

/* CTA Section - Theme Match */
.cta-theme {
    position: relative;
    padding: 0;
    background: transparent !important;
    text-align: left;
    overflow: hidden;
    margin: 0 !important;
    isolation: isolate;
}

.cta-theme::before,
.cta-theme::after,
section.cta-theme::after,
.cta-container::before,
.cta-container::after {
    display: none !important;
    content: none !important;
}

@supports selector(section:has(+ .cta-theme)) {
    section:has(+ .cta-theme)::after {
        display: none !important;
        content: none !important;
    }
}

.home-cta-banner::before,
.home-cta-banner::after {
    display: none !important;
    content: none !important;
}

.cta-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: clamp(176px, 12.2vw, 204px);
    padding: clamp(22px, 1.8vw, 28px) clamp(80px, 6.3vw, 94px) clamp(22px, 1.8vw, 28px) clamp(88px, 6.9vw, 96px);
    border-radius: 0;
    background: url("../img/KMS_Footer_Cta.jpg.jpeg") center center / cover no-repeat;
    box-shadow: none;
    color: #111827;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(344px, 27vw, 372px);
    grid-template-areas:
        "title action"
        "text action";
    align-content: center;
    align-items: center;
    justify-content: space-between;
    row-gap: 8px;
    column-gap: clamp(24px, 2.6vw, 34px);
    overflow: hidden;
}

.cta-theme.cta-full {
    padding: 0;
    background: transparent !important;
}

.cta-theme.cta-full .cta-container {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    padding: clamp(22px, 1.8vw, 28px) clamp(80px, 6.3vw, 94px) clamp(22px, 1.8vw, 28px) clamp(88px, 6.9vw, 96px);
}

.cta-theme.cta-full .cta-container h2,
.cta-theme.cta-full .cta-container p {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.home-cta-banner .cta-container {
    background: url("../img/KMS_Footer_Cta.jpg.jpeg") center center / cover no-repeat;
}

.home-cta-banner .cta-container::before,
.home-cta-banner .cta-container::after {
    display: none !important;
    content: none !important;
}

.cta-container > * {
    position: relative;
    z-index: 2;
}

/* Heading */
.cta-container h2 {
    grid-area: title;
    font-size: clamp(28px, 2.2vw, 34px);
    font-weight: 800;
    line-height: 1.08;
    margin: 0;
    max-width: min(100%, 690px);
    color: #111827;
    text-align: left;
    letter-spacing: -0.03em;
}

/* Text */
.cta-container p {
    grid-area: text;
    font-size: clamp(16px, 1.12vw, 18px);
    line-height: 1.48;
    color: #ffffff;
    margin: 0;
    max-width: min(100%, 540px);
    text-align: left;
    font-weight: 400;
}

.cta-copy-break {
    display: block;
}

.cta-container .btn-primary {
    grid-area: action;
    justify-self: center;
    align-self: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(274px, 21vw, 286px);
    min-height: clamp(46px, 3.3vw, 48px);
    padding: 10px 28px;
    border-radius: 999px;
    background: #ffffff;
    color: #111827;
    font-size: clamp(16px, 1.02vw, 17px);
    font-weight: 800;
    line-height: 1.1;
    border: 0;
    text-decoration: none;
    margin: 2px 0 0;
    white-space: nowrap;
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.2);
}

.home-cta-banner .cta-container .btn-primary {
    margin-top: 0;
}

@media (min-width: 901px) {
    .home-cta-banner .cta-container {
        min-height: 178px;
        padding: 27px 78px 27px 92px;
        grid-template-columns: minmax(0, 706px) 372px;
        column-gap: 26px;
        row-gap: 8px;
    }

    .home-cta-banner .cta-container h2 {
        font-size: 28px;
        line-height: 1.1;
        max-width: 690px;
    }

    .home-cta-banner .cta-container p {
        font-size: 17px;
        line-height: 1.46;
        max-width: 540px;
    }

    .home-cta-banner .cta-container .btn-primary {
        min-width: 258px;
        max-width: 258px;
        min-height: 48px;
        padding: 10px 24px;
        font-size: 16px;
        transform: translateX(-108px);
        margin-left: 100px;
        margin-top: 15px;
    }

    .home-cta-banner .cta-container .btn-primary:hover {
        transform: translateX(-108px) translateY(-1px);
    }
}

.cta-container .btn-primary:hover {
    background: #fffdf7;
    color: #111827;
    transform: translateY(-1px);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.18);
}


/* Responsive */
@media (min-width: 1100px) {
    .cta-container h2 {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .cta-container {
        min-height: 0;
        padding: 22px 18px;
        padding-right: clamp(136px, 32vw, 190px);
        grid-template-columns: 1fr;
        grid-template-areas:
            "title"
            "text"
            "action";
        row-gap: 12px;
        column-gap: 0;
        align-items: start;
        justify-items: start;
        background: url("../img/KMS_Footer_Cta.jpg.jpeg") center center / cover no-repeat;
        border-radius: 18px;
    }

    .cta-container h2 {
        font-size: clamp(22px, 4vw, 28px);
        max-width: 100%;
        white-space: normal;
        text-align: left;
    }

    .cta-container p {
        font-size: clamp(14px, 2.2vw, 16px);
        max-width: 100%;
        line-height: 1.5;
    }

    .cta-copy-break {
        display: none;
    }

    .cta-container .btn-primary {
        justify-self: start;
        align-self: start;
        margin-left: 0;
        margin-right: 0;
        margin-top: 0;
        min-width: 0;
        min-height: 0;
        font-size: clamp(16px, 2.8vw, 19px);
        padding: 11px 20px;
        width: auto;
        max-width: 100%;
        white-space: normal;
    }

    .cta-theme.cta-full .cta-container {
        padding: 22px 18px;
        padding-right: clamp(136px, 32vw, 190px);
        border-radius: 18px;
    }

    .cta-theme.cta-full .cta-container h2,
    .cta-theme.cta-full .cta-container p {
        margin-left: 0 !important;
    }
}

@media (max-width: 640px) {
    .home-cta-banner::before,
    .home-cta-banner::after {
        display: none !important;
        content: none !important;
    }

    .cta-theme {
        padding: 0 12px 18px;
    }

    .cta-container {
        padding: 18px 16px 20px;
        padding-right: clamp(124px, 38vw, 170px);
        background: url("../img/KMS_Footer_Cta.jpg.jpeg") center center / cover no-repeat;
        row-gap: 10px;
        border-radius: 16px;
    }

    .cta-container h2 {
        font-size: clamp(18px, 5.4vw, 22px);
        line-height: 1.1;
    }

    .cta-container p {
        font-size: 12px;
        line-height: 1.45;
    }

    .cta-container .btn-primary {
        width: auto;
        max-width: 100%;
        font-size: 14px;
        min-height: 40px;
        padding: 10px 18px;
        border-radius: 999px;
    }

    .cta-theme.cta-full .cta-container {
        padding: 18px 16px 20px;
        padding-right: clamp(124px, 38vw, 170px);
    }

    .cta-theme.cta-full .cta-container h2,
    .cta-theme.cta-full .cta-container p {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

.animate-fadeInUp {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.animate-fadeInUp.show {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.05s;
}

.stagger-2 {
    transition-delay: 0.14s;
}

.stagger-3 {
    transition-delay: 0.22s;
}

.stagger-4 {
    transition-delay: 0.3s;
}

.stagger-5 {
    transition-delay: 0.38s;
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    height: 56px;
    min-width: 56px;
    padding: 0 16px;
    border-radius: 999px;
    background: #25d366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    z-index: 60;
    border: 2px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    animation: floatPulse 2.2s infinite;
}

.contact-float-desktop {
    position: fixed;
    top: 50%;
    right: -18px;
    transform: translateY(-50%);
    z-index: 59;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.enquiry-float-tab {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 62;
    display: none;
    border: none;
    border-radius: 0 12px 12px 0;
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    color: #ffffff;
    font-family: 'Epilogue', sans-serif
    ;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.2px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    padding: 14px 10px;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.25);
    cursor: pointer;
    transition: transform 0.25s ease, filter 0.25s ease, box-shadow 0.25s ease;
}

.enquiry-float-tab:hover {
    transform: translateY(-50%) translateX(4px);
    filter: brightness(1.04);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.3);
}

.mobile-nav-links {
    display: none;
}

.mobile-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #cbd5e1;
    background: #ffffff;
    color: #1A3E72;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.1);
}

.mobile-submenu-toggle {
    font-size: 14px;
    font-weight: 700;
    color: #1A3E72;
    background: #ffffff;
    width: 100%;
    min-height: 48px;
    padding: 10px 40px 10px 12px;
    border-radius: 9px;
    border: 1px solid #e5e7eb;
    text-align: center;
    display: block;
    position: relative;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.mobile-submenu-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 26px;
    font-weight: 500;
    line-height: 1;
}

.mobile-submenu {
    display: none;
    padding: 8px 6px 4px;
}

.mobile-submenu.open {
    display: grid;
    gap: 6px;
}

.mobile-submenu a {
    display: block;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    color: #1A3E72;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 8px 10px;
}

.contact-float-item {
    width: 216px;
    margin-right: -152px;
    min-height: 54px;
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    border-radius: 14px 0 0 14px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    transition: margin-right 0.3s ease, filter 0.3s ease;
}

.contact-float-item:hover {
    margin-right: 0;
    filter: brightness(1.03);
}

.contact-float-icon {
    width: 56px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.contact-float-icon svg {
    width: 22px;
    height: 22px;
    color: #ffffff;
    display: block;
}

.contact-float-text {
    padding: 0 12px;
    font-size: 14px;
    font-weight: 600;
}

.contact-call {
    background: linear-gradient(135deg, #1A3E72, #30469a);
}

.contact-call .contact-float-icon {
    background: rgba(0, 0, 0, 0.14);
}

.contact-enquiry {
    border: none;
    padding: 0;
    cursor: pointer;
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
}

.contact-enquiry .contact-float-icon {
    background: rgba(0, 0, 0, 0.12);
}

.contact-enquiry:focus-visible {
    outline: 3px solid rgba(247, 167, 44, 0.55);
    outline-offset: 3px;
}

.mobile-contact-bar {
    display: none;
}

body.mobile-menu-open .enquiry-float-tab,
body.mobile-menu-open .floating-whatsapp,
body.mobile-menu-open .scroll-top-btn,
body.mobile-menu-open .mobile-contact-bar {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.floating-whatsapp svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.floating-whatsapp:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.32);
    filter: brightness(1.03);
}

.scroll-top-btn {
    position: fixed;
    right: 20px;
    bottom: 96px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #1A3E72, #273a80);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s ease;
    z-index: 60;
}

.scroll-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    transform: translateY(-2px);
}

.scroll-top-btn svg {
    width: 18px;
    height: 18px;
}

.footer-link {
    transition: color 0.25s ease, transform 0.25s ease;
    color: #d5dfef;
    text-decoration: none;
}

.footer-link:hover {
    color: #F7A72C;
    transform: translateX(4px);
}
section {
    margin-bottom: 0;
}

footer {
    margin-top: 0;
}

.footer-simple {
    background: var(--kms-dark-blue);
    color: #e8eef9;
    position: relative;
    overflow: hidden;
}

.footer-simple::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0));
    pointer-events: none;
}

.footer-simple h4 {
    margin: 0 0 12px;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #d5def4;
}

.footer-simple ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.footer-simple a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-simple a:hover {
    color: #f7a72c;
}

.footer-simple-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 28px;
}

.footer-simple ul li,
.footer-simple ul a,
.footer-contact-text strong,
.footer-contact-text span {
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand img {
    height: clamp(60px, 5.2vw, 74px) !important;
    width: auto;
    object-fit: contain;
}

.footer-brand-copy {
    margin: 14px 0;
    color: #dfe7f7;
    line-height: 1.6;
}

.footer-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 35px;
    min-width: 220px;
    width: 220px;
    white-space: nowrap;
    justify-content: center;
    background: rgb(245 158 11);
    color: #ffffff !important;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    transition: all 0.3s ease;
}

.footer-cta:hover {
    background: #e65c00;
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.22);
}

.footer-social {
    margin-top: 14px;
    display: inline-flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #ffffff;
    background: rgb(245 158 11);;
    border: 1px solid rgba(255,255,255,0.16);
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.footer-social a:hover {
    transform: translateY(-2px);
    background: #e65c00;
    color: #0c1a33;
    border-color: rgba(255,255,255,0.22);
    box-shadow: 0 14px 28px rgba(0,0,0,0.28);
}

.footer-social i {
    font-size: 16px;
    color: #0c1a33;
}

.footer-social a:hover i {
    color: #0c1a33;
}

.footer-simple-bottom {
    border-top: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    background: #163665;
    color: #dfe7f7;
}

.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 14px;
}

.footer-contact-item {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start;
    column-gap: 12px;
}

.footer-contact-item-link {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: start !important;
    column-gap: 12px !important;
    width: 100%;
}

.footer-contact-text {
    display: grid;
    gap: 6px;
}

.footer-contact-text strong {
    font-weight: 800;
    color: #ffffff;
}

.footer-contact-text span {
    color: #dfe7f7;
    line-height: 1.6;
    display: block;
}

.footer-contact-list a {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    text-decoration: none;
    line-height: 1.5;
}

.footer-contact-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0;
    color: #f7a72c;
    flex: 0 0 24px;
}

.footer-contact-item .footer-contact-icon {
    margin-top: 0;
}

.footer-contact-item-link:hover .footer-contact-text strong,
.footer-contact-item-link:hover .footer-contact-text span {
    color: #f7a72c;
}

.footer-contact-icon svg {
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    display: block;
}

.footer-contact-item-link .footer-contact-icon svg {
    width: 18px;
    height: 18px;
    min-width: 18px;
    min-height: 18px;
}

.footer-footnote {
    margin: 0;
}

.footer-bottom-links {
    display: inline-flex;
    gap: 14px;
    flex-wrap: wrap;
}
.footer-bottom-links a {
    position: relative;
    padding: 6px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.12), rgba(247, 167, 44, 0.16));
    color: #eef2ff;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.footer-bottom-links a:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.18);
    background: linear-gradient(135deg, #F7A72C, #1A3E72);
    color: #ffffff;
}

.footer-simple-bottom .max-w-7xl {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 18px !important;
    text-align: left !important;
}

.footer-simple-bottom .footer-footnote {
    flex: 0 1 auto;
    text-align: left !important;
}

.footer-simple-bottom .footer-bottom-links {
    margin-left: auto !important;
    justify-content: flex-end !important;
    text-align: right !important;
}

@media (max-width: 768px) {
    .footer-simple-bottom .max-w-7xl {
        flex-wrap: wrap !important;
        row-gap: 12px !important;
    }

    .footer-simple-bottom .footer-bottom-links {
        width: auto !important;
    }
}

.compose-modal {
    position: fixed;
    inset: 0;
    z-index: 70;
    display: flex;
    align-items: center;
    justify-content: center;
}

.compose-modal.hidden {
    display: none;
}

.compose-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(13, 25, 58, 0.6);
}

.compose-content {
    position: relative;
    width: min(92vw, 520px);
    max-height: 88vh;
    overflow: auto;
    background: #ffffff;
    border-radius: 14px;
    padding: 24px 22px;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.28);
    border-top: 5px solid #1A3E72;
    animation: modalRise 0.25s ease;
}

.compose-content h3 {
    margin: 0;
    color: #1A3E72;
}

.compose-content p {
    margin: 8px 0 16px;
    color: #555;
    font-size: 14px;
}

.compose-close {
    position: absolute;
    right: 14px;
    top: 8px;
    border: none;
    background: transparent;
    font-size: 26px;
    line-height: 1;
    color: #1A3E72;
    cursor: pointer;
}

.compose-form {
    display: none;
}

.compose-form.active {
    display: grid;
    gap: 8px;
}

.compose-form label {
    color: #1f2937;
    font-size: 14px;
    font-weight: 600;
    margin-top: 6px;
}

.compose-form input,
.compose-form textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 10px 12px;
    font-family:'Epilogue', sans-serif;
    font-size: 14px;
    outline: none;
}

.compose-form input:focus,
.compose-form textarea:focus {
    border-color: #1A3E72;
    box-shadow: 0 0 0 3px rgba(31, 58, 138, 0.15);
}

.compose-submit {
    margin-top: 10px;
    border: none;
    background: #F7A72C;
    color: #ffffff;
    font-weight: 700;
    padding: 12px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.compose-submit:hover {
    background: #1A3E72;
}

@keyframes modalRise {
    from {
        transform: translateY(14px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes floatPulse {
    0%,
    100% {
        box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 0 16px 34px rgba(0, 0, 0, 0.33);
    }
}

@keyframes heroRise {
    0% {
        transform: translateY(25px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes ringSpin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes photoGlowDrift {
    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(14px, 10px) scale(1.08);
    }
}

@media (max-width: 640px) {
    .home-brand-cards {
        align-items: stretch;
        gap: 12px;
    }

    .home-brand-row {
        flex-wrap: wrap;
        gap: 12px;
    }

    .home-brand-card {
        flex: 1 1 calc(50% - 12px);
        min-width: 150px;
        max-width: 100%;
        width: auto;
    }
    .enquiry-float-tab {
        display: inline-flex;
        left: 14px !important;
        right: auto !important;
        top: auto;
        bottom: 110px;
        transform: none;
        writing-mode: horizontal-tb;
        border-radius: 14px;
        padding: 11px 16px;
        font-size: 14px;
        max-width: 190px;
        z-index: 70;
        box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
    }

    .floating-whatsapp {
        width: 52px;
        height: 52px;
        min-width: 52px;
        padding: 0;
        border-radius: 50%;
        right: 16px;
        left: auto;
        bottom: 70px;
    }

    .floating-whatsapp span {
        display: none;
    }

    .scroll-top-btn {
        width: 38px;
        height: 38px;
        right: 16px;
        bottom: 128px;
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: 52vh;
        max-height: 420px;
        padding: 22px 16px;
        background-position: center top;
    }

    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }

    .hero p {
        font-size: 16px;
    }

    body {
        padding-bottom: 0;
    }

    .top-contact-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 8px;
        align-items: center;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .top-address {
        font-size: 11px;
    }

    .top-actions {
        display: flex;
        justify-content: flex-end;
        gap: 8px;
    }

    .top-action-btn {
        gap: 6px;
        min-height: 30px;
        padding: 3px 8px;
        font-size: 11px;
        font-weight: 600;
    }

    .top-action-btn-email span {
        max-width: 124px;
    }

    .address-prefix {
        display: none;
    }

    .address-text {
        letter-spacing: 0.1px;
    }

    .contact-float-desktop {
        display: flex !important;
        position: fixed;
        top: auto;
        left: 10px;
        right: auto;
        bottom: 92px;
        z-index: 80;
        flex-direction: column;
        gap: 10px;
    }

    .contact-float-item {
        width: 52px;
        min-width: 52px;
        height: 52px;
        margin-right: 0;
        border-radius: 16px;
        justify-content: center;
        padding: 0;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    }

    .contact-float-text {
        display: none;
    }

    .floating-whatsapp {
        top: 102px;
        bottom: auto;
        right: 12px;
        left: auto;
    }

    .enquiry-float-tab,
    .mobile-contact-bar {
        display: none !important;
    }

    .mobile-nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        border-top: 1px solid #e5e7eb;
        padding: 10px 8px;
        background: #ffffff;
    }

    .mobile-nav-links.open {
        display: flex;
    }

    .mobile-nav-links a {
        font-size: 14px;
        font-weight: 700;
        color: #1A3E72;
        text-decoration: none;
        min-height: 56px;
        padding: 10px 12px;
        border-radius: 12px;
        border: 1px solid #e5e7eb;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background-color 0.25s ease, color 0.25s ease;
    }

    .mobile-submenu-toggle {
        min-height: 56px;
        border-radius: 12px;
        font-size: 15px;
    }

    .mobile-submenu {
        padding: 6px 2px 2px;
    }

    .mobile-submenu.open {
        gap: 8px;
    }

    .mobile-submenu a {
        min-height: 46px;
        text-align: center;
        border-radius: 10px;
        padding: 9px 10px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .mobile-submenu-toggle:hover,
    .mobile-submenu a:hover {
        background: #1A3E72;
        color: #ffffff;
    }

    .mobile-nav-links a:hover {
        background: #1A3E72;
        color: #ffffff;
    }

    .mobile-nav-toggle {
        display: inline-flex;
    }

    .about-image::after {
        display: none !important;
    }

    .contact-float-desktop {
        display: flex !important;
        position: fixed;
        left: 12px;
        right: auto;
        bottom: 18px;
        top: auto;
        z-index: 80;
        flex-direction: column;
        gap: 10px;
    }

    .contact-float-item {
        width: 54px;
        min-width: 54px;
        height: 54px;
        margin-right: 0;
        border-radius: 16px;
        justify-content: center;
        padding: 0;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    }

    .contact-float-text {
        display: none;
    }

    .enquiry-float-tab,
    .mobile-contact-bar {
        display: none !important;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {

    .contact-float-item {
        width: 188px;
        margin-right: -144px;
    }

    .contact-float-text {
        font-size: 13px;
    }

    .enquiry-float-tab {
        left: 0;
        right: auto;
        top: 50%;
        bottom: auto;
        transform: translateY(-50%);
        writing-mode: vertical-rl;
        text-orientation: mixed;
        border-radius: 0 12px 12px 0;
        min-height: 0;
        padding: 13px 10px;
    }
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
}

.contact-info-item strong {
    color: #1A3E72;
    display: block;
    margin-bottom: 3px;
}

.map-theme {
    padding: 80px 0;
    background: #f8f9fa; 
}

.map-wrapper {
    margin-top: 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border: 0;
    display: block;
}

/* Optional hover effect */
.map-wrapper:hover {
    transform: translateY(-5px);
    transition: 0.4s ease;
}

.contact-form {
    flex: 1;
    background: #fff;
    padding: 35px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.contact-form label {
    font-weight: 600;
    margin-top: 15px;
    display: block;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border: 1px solid #ddd;
    border-radius: 8px;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    border-color: #1A3E72;
    outline: none;
}

.contact-page-main .about-wrapper,
.contact-page-main .about-content,
.contact-page-main .contact-form,
.contact-page-main .contact-form label,
.contact-page-main .contact-form h2,
.contact-page-main .contact-form p {
    text-align: left;
}

.contact-framebox-shell {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 42px;
    align-items: start;
}

.contact-framebox-left {
    min-width: 0;
}

.contact-framebox-title {
    font-size: clamp(34px, 3.6vw, 54px);
    line-height: 1.02;
    letter-spacing: -0.03em;
    color: #0b1833;
    margin: 14px 0 10px;
}

.contact-framebox-subtitle {
    margin: 0 0 18px;
    color: rgba(15, 23, 42, 0.65);
    font-size: 18px;
    line-height: 1.75;
    max-width: 560px;
}

.contact-framebox-form {
    margin-top: 8px;
}

.contact-framebox-right {
    position: relative;
    top: auto;
    min-width: 0;
}

.contact-framebox-shell .contact-form-card {
    max-width: none;
    margin: 0;
}

.contact-map-card {
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.16);
    background: #ffffff;
}

.contact-map-card iframe {
    width: 100%;
    height: 560px;
    border: 0;
    display: block;
}

.contact-mini-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.contact-mini-card {
    text-decoration: none;
    display: grid;
    gap: 4px;
    padding: 14px 14px;
    border-radius: 18px;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(26, 62, 114, 0.7), rgba(247, 167, 44, 0.75)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-mini-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
    filter: brightness(1.01);
}

.contact-mini-k {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(26, 62, 114, 0.9);
}

.contact-mini-v {
    font-size: 14px;
    font-weight: 800;
    color: #0b1833;
    line-height: 1.4;
}

.contact-mini-card-whatsapp {
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(37, 211, 102, 0.8), rgba(26, 62, 114, 0.7)) border-box;
}

@media (max-width: 980px) {
    .contact-framebox-shell {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-framebox-right {
        position: relative;
        top: auto;
    }

    .contact-map-card iframe {
        height: 420px;
    }
}

.contact-v4 {
    padding: 55px 20px 55px;
    background: #ffffff;
}

.contact-v4-header {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.contact-v4-kicker {
    display: inline-flex;
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    color: #0b1833;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(247, 167, 44, 0.95), rgba(26, 62, 114, 0.9)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.contact-v4-kicker::before {
    content: none;
}

.contact-v4-kicker::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    opacity: 0.65;
    pointer-events: none;
}

.contact-v4-header:hover .contact-v4-kicker::after {
    transform: translateX(120%);
}

.contact-v4-title {
    margin: 16px auto 10px;
    font-size: clamp(30px, 3.3vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: #0b1833;
    max-width: 26ch;
}

.contact-v4-lead {
    margin: 18px auto 8px;
    max-width: 70ch;
    font-size: 18px;
    line-height: 1.75;
    color: #F59E0B;
    font-weight: 600;
}

.contact-v4-sub {
    margin: 0 auto;
    max-width: 74ch;
    color: rgba(15, 23, 42, 0.7);
    line-height: 1.8;
     font-size: 17px;
}

.contact-v4-actions {
    padding: 22px 20px 70px;
    background: #ffffff;
}

.contact-v4-action-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.contact-v4-action-card {
    text-decoration: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    align-items: start;
    padding: 18px 18px;
    border-radius: 22px;
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.1);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    height: 100%;
}

.contact-v4-action-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 62, 114, 0.26);
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.14);
}

.contact-v4-action-card:focus-visible {
    outline: 3px solid rgba(247, 167, 44, 0.85);
    outline-offset: 3px;
}

.contact-v4-action-ico {
    width: 48px;
    height: 48px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
}

.contact-v4-action-ico svg {
    width: 20px;
    height: 20px;
}

.contact-v4-action-body h3 {
    margin: 0 0 6px;
    color: #0b1833;
    font-size: 18px;
    font-weight: 950;
}

.contact-v4-action-body p {
    margin: 0 0 10px;
    color: rgba(15, 23, 42, 0.68);
    line-height: 1.7;
}

.contact-v4-action-meta {
    display: inline-flex;
    align-items: center;
    font-weight: 900;
    color: #1A3E72;
    letter-spacing: 0.01em;
    overflow-wrap: anywhere;
}

.contact-v4-action-card-primary {
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.96), rgba(17, 37, 74, 0.98));
    border-color: rgba(255, 255, 255, 0.12);
}

.contact-v4-action-card-primary:hover {
    border-color: rgba(255, 255, 255, 0.22);
}

.contact-v4-action-card-primary:focus-visible {
    outline: 3px solid rgba(247, 167, 44, 0.9);
    outline-offset: 3px;
}

.contact-v4-action-card-primary .contact-v4-action-ico {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.contact-v4-action-card-primary .contact-v4-action-body h3 {
    color: #ffffff;
}

.contact-v4-action-card-primary .contact-v4-action-body p {
    color: rgba(255, 255, 255, 0.82);
}

.contact-v4-action-card-primary .contact-v4-action-meta {
    color: #F7A72C;
}

.contact-v4-details {
    padding: 70px 20px 86px;
    background: #f3f4f6;
}

.contact-v4-detail-grid {
    max-width: 1180px;
    margin: 54px auto 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 72px 16px;
}

.contact-v4-detail-card {
    position: relative;
    padding: 26px 18px 18px;
    border-radius: 24px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    overflow: visible;
    height: 100%;
    grid-column: span 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 190px;
    height: 190px;
}

.contact-v4-detail-card::before {
    content: none;
}

.contact-v4-detail-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, #1A3E72 0%, #F7A72C 100%);
}

.contact-v4-detail-card:nth-child(4),
.contact-v4-detail-card:nth-child(5) {
    grid-column: span 2;
}

.contact-v4-detail-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.contact-v4-detail-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.contact-v4-detail-card:hover {
    transform: translateY(-5px);
    border-color: rgba(26, 62, 114, 0.24);
    box-shadow: 0 26px 62px rgba(15, 23, 42, 0.14);
}

.contact-v4-detail-card:focus-within {
    outline: 3px solid rgba(247, 167, 44, 0.5);
    outline-offset: 3px;
}

.contact-v4-detail-ico {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 56px;
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eef5ff;
    border: 1px solid rgba(26, 62, 114, 0.22);
    color: #1A3E72;
    box-shadow: none;
}


.contact-v4-detail-ico svg {
    width: 20px;
    height: 20px;
}

.contact-v4-detail-card h3 {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 17px;
    font-weight: 950;
}

.contact-v4-detail-card p {
    margin: 0;
    color: rgba(15, 23, 42, 0.68);
    line-height: 1.75;
    text-align: center;
    max-width: 360px;
}

.contact-v4-links {
    display: grid;
    gap: 6px;
    justify-items: center;
}

.contact-v4-links a {
    color: rgba(15, 23, 42, 0.68);
    font-weight: 600;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.contact-v4-links a:hover {
    color: #F7A72C;
}

.contact-v4-sep {
    margin: 0 8px;
    color: rgba(15, 23, 42, 0.35);
}

.contact-v4-links .contact-v4-sep {
    display: none;
}

.contact-v4-detail-wide {
    grid-column: span 4;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.contact-v4-detail-body {
    min-width: 0;
}

.contact-v4-hours {
    margin: 0;
}

.contact-v4-hours-line {
    display: block;
    line-height: 1.7;
}

.contact-v4-nowrap {
    white-space: nowrap;
}

.contact-v4-form {
    padding: 86px 20px 96px;
    background: #ffffff;
}

.contact-v4-form-head {
    max-width: 820px;
    margin: 0 auto;
}

.contact-v4-form-card {
    max-width: 980px;
    margin: 22px auto 0;
    border-radius: 26px;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.14);
}

.contact-v4-form #contactForm,
.contact-v4-map-form #contactForm {
    scroll-margin-top: 120px;
}

.contact-v4-map-form {
    position: relative;
    padding: 58px 20px 66px;
    background: #ffffff;
    overflow: hidden;
    isolation: isolate;
}

.contact-v4-map-stage {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.contact-v4-map-stage iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    filter: saturate(0.96) contrast(1.02);
}

.contact-v4-map-stage-scrim {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(7, 18, 36, 0.14) 0%, rgba(7, 18, 36, 0.03) 40%, rgba(7, 18, 36, 0.2) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.05));
}

.contact-v4-map-form .container {
    position: relative;
    z-index: 1;
}

.contact-v4-map-form-wrap {
    position: relative;
    min-height: 520px;
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 14px;
}

.contact-v4-form-card--overlay {
    width: 100%;
    max-width: 500px;
    margin: 0 0 0 auto;
    padding: 22px 20px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.72);
    box-shadow: 0 28px 80px rgba(8, 15, 30, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.contact-v4-form-card-copy {
    margin-bottom: 8px;
}

.contact-v4-form-card-copy h2 {
    margin: 10px 0 6px;
    color: #0b1833;
    font-size: clamp(26px, 2.6vw, 36px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.contact-v4-form-card-copy p {
    margin: 0;
    color: #42526b;
    font-size: 15px;
    line-height: 1.6;
}

.contact-v4-form-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(26, 62, 114, 0.08);
    border: 1px solid rgba(26, 62, 114, 0.14);
    color: #1A3E72;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.contact-v4-map-chip {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: none;
    color: #ffffff;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 11px;
}

.contact-v4-form-card .contact-form {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.contact-v4-form-card .contact-form::before,
.contact-v4-form-card .contact-form::after {
    display: none !important;
}

.contact-v4-form-card .contact-form label {
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.78);
    margin-top: 12px;
}

.contact-v4-form-card .contact-form input,
.contact-v4-form-card .contact-form select,
.contact-v4-form-card .contact-form textarea {
    margin-top: 8px;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-v4-form-card .contact-form input:focus,
.contact-v4-form-card .contact-form select:focus,
.contact-v4-form-card .contact-form textarea:focus {
    border-color: rgba(26, 62, 114, 0.7);
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.12), 0 16px 34px rgba(15, 23, 42, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.contact-v4-form-card .contact-form textarea {
    resize: vertical;
    min-height: 112px;
}

.contact-v4-form-card .contact-submit-btn {
    width: 100%;
    margin-top: 14px;
    min-height: 48px;
    padding: 12px 18px;
    border-radius: 16px;
}

.contact-v4-callout {
    padding: 0 20px 90px;
    background: #ffffff;
}

.contact-v4-callout-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 44px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, #1f3b83 0%, #19306b 55%, #14295c 100%);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-v4-callout-inner h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-v4-callout-inner p {
    margin: 0 auto 22px;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.7;
}

.contact-v4-callout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    background: #f59e0b;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact-v4-callout-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.contact-v4-callout-btn:focus-visible {
    outline: 3px solid rgba(255, 255, 255, 0.85);
    outline-offset: 4px;
}

.contact-v4-map {
    padding: 68px 20px 82px;
    background:
        radial-gradient(circle at 88% 20%, rgba(245, 158, 11, 0.08), transparent 40%),
        radial-gradient(circle at 12% 74%, rgba(31, 58, 138, 0.07), transparent 44%),
        #ffffff;
}

.contact-v4-map-card {
    position: relative;
    margin-top: 22px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.16);
    background: #ffffff;
}

.contact-v4-map-card iframe {
    width: 100%;
    height: 380px;
    border: 0;
    display: block;
}

.contact-v4-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.contact-v4-map-overlay .contact-v4-map-chip {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(26, 62, 114, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    color: #0b1833;
    font-weight: 900;
}

.contact-v4-map-link {
    margin: 0;
    display: flex;
    justify-content: flex-end;
    align-self: flex-end;
}

.contact-v4-map-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 11px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 62, 114, 0.16);
    box-shadow: 0 16px 34px rgba(12, 18, 32, 0.12);
    color: #1A3E72;
    font-weight: 800;
    text-decoration: none;
}

.contact-v4-map-link a:hover {
    color: #F7A72C;
}

@media (max-width: 1024px) {
    .contact-v4-action-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-v4-detail-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .contact-v4-detail-card,
    .contact-v4-detail-card:nth-child(4),
    .contact-v4-detail-card:nth-child(5) {
        grid-column: auto;
    }

    .contact-v4-detail-wide {
        grid-column: span 2;
    }

    .contact-v4-map-form-wrap {
        min-height: 500px;
    }

}

@media (max-width: 720px) {
    .contact-v4-action-grid {
        grid-template-columns: 1fr;
    }

    .contact-v4-map-form {
        padding: 72px 20px 84px;
    }

    .contact-v4-map-form-wrap {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .contact-v4-form-card--overlay {
        max-width: none;
        margin-left: 0;
    }

    .contact-v4-map-link {
        width: 100%;
    }

    .contact-v4-map-stage-scrim {
        background:
            linear-gradient(180deg, rgba(7, 18, 36, 0.08), rgba(7, 18, 36, 0.18)),
            linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.04));
    }
}

@media (max-width: 640px) {
    .contact-v4 {
        padding: 78px 20px 26px;
    }

    .contact-v4-details {
        padding: 64px 20px 72px;
    }

    .contact-v4-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-v4-detail-wide {
        grid-column: auto;
        grid-template-columns: 1fr;
        align-items: start;
    }

    .contact-v4-map-card iframe {
        height: 320px;
    }

    .contact-v4-map-form {
        padding: 56px 16px 64px;
    }

    .contact-v4-form-card--overlay {
        border-radius: 20px;
    }

    .contact-v4-form-card-copy h2 {
        font-size: clamp(24px, 7.6vw, 32px);
    }

    .contact-v4-map-link a {
        width: 100%;
    }
}

.contact-v3 {
    padding: 96px 20px;
    background: #ffffff;
}

.contact-v3-wrap {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    gap: 42px;
    align-items: start;
}

.contact-v3-title {
    font-size: clamp(30px, 3.1vw, 48px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    color: #0b1833;
    margin: 14px 0 10px;
    max-width: 22ch;
}

.contact-v3-info {
    min-width: 0;
}

.contact-v3-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.contact-v3-kicker {
    padding: 10px 16px;
    border-radius: 999px;
    font-weight: 950;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-size: 12px;
    color: #0b1833;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(90deg, rgba(247, 167, 44, 0.95), rgba(26, 62, 114, 0.9)) border-box;
    border: 1px solid transparent;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    position: relative;
    overflow: hidden;
}

.contact-v3-kicker::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    display: inline-block;
    margin-right: 10px;
    background: radial-gradient(circle at 30% 30%, #ffffff, rgba(255, 255, 255, 0.2) 55%),
        linear-gradient(135deg, rgba(247, 167, 44, 1), rgba(26, 62, 114, 1));
    box-shadow: 0 10px 18px rgba(26, 62, 114, 0.22);
    vertical-align: middle;
}

.contact-v3-kicker::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 15%, rgba(255, 255, 255, 0.65) 45%, transparent 70%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    opacity: 0.65;
    pointer-events: none;
}

.contact-v3-info:hover .contact-v3-kicker::after {
    transform: translateX(120%);
}

.contact-v3-info .home-section-kicker {
    display: inline-flex;
}

.contact-v3-info .about-highlight {
    text-align: left;
    margin-top: 18px;
    margin-bottom: 10px;
}

.contact-v3-info p {
    text-align: left;
    max-width: 70ch;
}

.contact-v3-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.01em;
    background: #1A3E72;
    color: #ffffff;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.contact-v3-action:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.2);
    filter: brightness(1.02);
}

.contact-v3-action-outline {
    background: rgba(255, 255, 255, 0.9);
    color: #1A3E72;
    border: 1px solid rgba(26, 62, 114, 0.18);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.contact-v3-action-outline:hover {
    border-color: rgba(247, 167, 44, 0.55);
}

.contact-v3-list {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    border-top: 0;
}

.contact-v3-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 14px;
    padding: 16px 16px;
    border-radius: 18px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 251, 255, 0.96));
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-v3-item:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 62, 114, 0.24);
    box-shadow: 0 22px 52px rgba(15, 23, 42, 0.12);
}

.contact-v3-item-wide {
    grid-column: span 2;
}

.contact-v3-ico {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
}

.contact-v3-ico svg {
    width: 18px;
    height: 18px;
}

.contact-v3-item-body h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 900;
    color: #0b1833;
}

.contact-v3-item-body p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.contact-v3-item-body a {
    color: #1A3E72;
    font-weight: 700;
    text-decoration: none;
}

.contact-v3-item-body a:hover {
    color: #F7A72C;
}

.contact-v3-form {
    min-width: 0;
}

.contact-v3-form-card {
    border-radius: 24px;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-v3-form-card::before {
    display: none;
}

.contact-v3-form-card > * {
    position: relative;
    z-index: 1;
}

.contact-v3-form-card .contact-form::before,
.contact-v3-form-card .contact-form::after {
    display: none !important;
}

.contact-v3-form-card .contact-form label {
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(15, 23, 42, 0.78);
    margin-top: 14px;
}

.contact-v3-form-card .contact-form input,
.contact-v3-form-card .contact-form select,
.contact-v3-form-card .contact-form textarea {
    margin-top: 8px;
    border-radius: 14px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.contact-v3-form-card .contact-form input:focus,
.contact-v3-form-card .contact-form select:focus,
.contact-v3-form-card .contact-form textarea:focus {
    border-color: rgba(26, 62, 114, 0.7);
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.12), 0 16px 34px rgba(15, 23, 42, 0.1);
    outline: none;
    transform: translateY(-1px);
}

.contact-v3-form-card .contact-form textarea {
    resize: vertical;
    min-height: 132px;
}

.contact-v3-form-card .contact-submit-btn {
    width: 100%;
    margin-top: 18px;
    border-radius: 16px;
}

.contact-v3-callout {
    padding: 0 20px 90px;
    background: #ffffff;
}

.contact-v3-callout-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 44px 26px;
    border-radius: 28px;
    background: linear-gradient(180deg, #1f3b83 0%, #19306b 55%, #14295c 100%);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-v3-callout-inner h2 {
    margin: 0 0 10px;
    color: #ffffff;
    font-size: clamp(28px, 3vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.contact-v3-callout-inner p {
    margin: 0 auto 22px;
    max-width: 820px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 17px;
    line-height: 1.7;
}

.contact-v3-callout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 22px;
    border-radius: 14px;
    background: #f59e0b;
    color: #111827;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, filter 0.2s ease, box-shadow 0.2s ease;
}

.contact-v3-callout-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.03);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.24);
}

.contact-v3-map {
    padding: 90px 20px 110px;
    background:
        radial-gradient(circle at 88% 20%, rgba(245, 158, 11, 0.08), transparent 40%),
        radial-gradient(circle at 12% 74%, rgba(31, 58, 138, 0.07), transparent 44%),
        #ffffff;
}

.contact-v3-map-card {
    position: relative;
    margin-top: 22px;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 26px 70px rgba(12, 18, 32, 0.16);
    background: #ffffff;
}

.contact-v3-map-card iframe {
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
}

.contact-v3-map-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 16px;
}

.contact-v3-map-chip {
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(26, 62, 114, 0.16);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
    color: #0b1833;
    font-weight: 900;
}

.contact-v3-map-link {
    margin-top: 14px;
    text-align: center;
}

.contact-v3-map-link a {
    color: #1A3E72;
    font-weight: 800;
    text-decoration: none;
}

.contact-v3-map-link a:hover {
    color: #F7A72C;
}

@media (max-width: 980px) {
    .contact-v3 {
        padding: 78px 20px;
    }

    .contact-v3-wrap {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .contact-v3-list {
        grid-template-columns: 1fr;
    }

    .contact-v3-item-wide {
        grid-column: auto;
    }

    .contact-v3-map-card iframe {
        height: 420px;
    }
}

.contact-split-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 24px;
    align-items: start;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 16%, rgba(247, 167, 44, 0.12), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(26, 62, 114, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.contact-stack-shell {
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 26px;
    border-radius: 28px;
    background:
        radial-gradient(circle at 12% 16%, rgba(247, 167, 44, 0.12), transparent 30%),
        radial-gradient(circle at 88% 78%, rgba(26, 62, 114, 0.10), transparent 36%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 249, 255, 0.96));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 24px 52px rgba(15, 23, 42, 0.12);
}

.contact-form-card {
    border-radius: 22px;
    padding: 26px 24px;
    background: #ffffff;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.1);
    position: relative;
    overflow: hidden;
    max-width: 920px;
    width: 100%;
    margin: 0 auto;
}

.contact-form-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 14% 18%, rgba(247, 167, 44, 0.14), transparent 38%);
    opacity: 0.6;
    pointer-events: none;
}

.contact-form-card > * {
    position: relative;
    z-index: 1;
}

.contact-page-main .contact-intro-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 22px;
}

.contact-page-main .contact-intro-card .contact-detail-grid {
    margin-top: 22px;
}

.contact-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.contact-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    letter-spacing: 0.2px;
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    color: #0b1833;
    border: 1px solid rgba(247, 167, 44, 0.45);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-quick-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.16);
    filter: brightness(1.02);
}

.contact-quick-btn:focus-visible {
    outline: 3px solid rgba(247, 167, 44, 0.45);
    outline-offset: 3px;
}

.contact-quick-btn-outline {
    background: rgba(26, 62, 114, 0.06);
    color: #1A3E72;
    border: 1px solid rgba(26, 62, 114, 0.22);
}

.contact-quick-btn-whatsapp {
    background: linear-gradient(135deg, #25d366, #1aa64f);
    color: #ffffff;
    border-color: rgba(37, 211, 102, 0.5);
}

.contact-page-main .contact-form {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.contact-page-main .contact-form-title {
    margin-top: 0;
}

@media (max-width: 980px) {
    .contact-split-shell {
        grid-template-columns: 1fr;
        padding: 18px;
    }

    .contact-stack-shell {
        padding: 18px;
    }

    .contact-form-card {
        padding: 22px 18px;
    }
}

.contact-page-main .contact-form label {
    color: #1f2937;
    font-weight: 700;
    letter-spacing: 0.1px;
}

.contact-page-main .contact-form .btn-primary {
    margin-top: 20px;
}

.contact-page-main .contact-intro-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dbe4f0;
    border-top: 5px solid #1A3E72;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.1);
}

.contact-page-main .contact-intro-card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(120deg, transparent 20%, rgba(245, 158, 11, 0.1) 52%, transparent 78%);
    transform: translateX(-120%);
    transition: transform 0.9s ease;
    pointer-events: none;
    z-index: 0;
}

.contact-page-main .contact-intro-card::after {
    content: "";
    position: absolute;
    top: -26%;
    right: -20%;
    width: 40%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(31, 58, 138, 0.2), rgba(31, 58, 138, 0.04) 62%, transparent 72%);
    filter: blur(7px);
    opacity: 0.45;
    z-index: 0;
    pointer-events: none;
    animation: photoGlowDrift 8s ease-in-out infinite;
}

.contact-page-main .contact-intro-card:hover::before {
    transform: translateX(120%);
}

.contact-page-main .contact-intro-card > * {
    position: relative;
    z-index: 1;
}

.contact-page-main .contact-intro-card h2 {
    margin-bottom: 8px;
}

.contact-page-main .contact-intro-card .underline {
    margin-left: 0;
}

.contact-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 22px;
}

.contact-detail-card {
    padding: 18px;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.contact-detail-card:hover {
    transform: translateY(-4px);
    border-color: rgba(26, 62, 114, 0.28);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.contact-detail-card.contact-detail-wide{
    grid-column: span 2;
    padding: 26px 28px;
    box-shadow: 0 22px 48px rgba(15,23,42,0.14);
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 14px 18px;
    background:
        radial-gradient(circle at 12% 20%, rgba(26,62,114,0.08), transparent 42%),
        radial-gradient(circle at 90% 80%, rgba(247,167,44,0.10), transparent 46%),
        linear-gradient(135deg, #ffffff 0%, #f7fbff 100%);
    border: 1px solid rgba(26,62,114,0.12);
    border-radius: 18px;
}

.contact-detail-card.contact-detail-wide h3{
    margin: 0;
    font-size: 21px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-align: right;
}

.contact-detail-card.contact-detail-wide p{
    margin: 0;
    font-size: 16px;
    color: #0f172a;
    line-height: 1.75;
    font-weight: 500;
    text-align: right;
}

.contact-detail-card.contact-detail-wide .kps-inline-icon{
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1A3E72, #285796);
    color: #fff;
    box-shadow: 0 10px 24px rgba(26,62,114,0.25);
}

@media (max-width: 720px){
    .contact-detail-card.contact-detail-wide{
        grid-column: span 1;
        grid-template-columns: 1fr;
        text-align: center;
    }
    .contact-detail-card.contact-detail-wide h3{
        justify-content: center;
        text-align: center;
    }
    .contact-detail-card.contact-detail-wide p{
        text-align: center;
    }
}

.kps-inline-icon,
.kps-label-icon,
.footer-icon-wrap,
.footer-bullet-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.kps-inline-icon svg,
.kps-label-icon svg,
.footer-icon-wrap svg,
.footer-bullet-icon svg {
    width: 16px;
    height: 16px;
}

.kps-inline-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    border-radius: 10px;
    background: rgba(26, 62, 114, 0.08);
    color: #1A3E72;
}

.kps-inline-icon-dark {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
}

.contact-detail-card h3 {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 18px;
    display: flex;
    align-items: center;
}

.contact-detail-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.contact-detail-card a {
    color: #1A3E72;
    font-weight: 600;
    text-decoration: none;
}

.contact-urgent-box {
    margin-top: 24px;
    padding: 24px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0f2747 0%, #1A3E72 68%, #305690 100%);
    color: #ffffff;
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.16);
}

.contact-urgent-box h3 {
    margin: 0 0 10px;
    font-size: 24px;
    display: flex;
    align-items: center;
}

.contact-urgent-box p {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.contact-urgent-box .btn-primary {
    box-shadow: 0 14px 26px rgba(8, 15, 30, 0.24);
}

.contact-form label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.kps-label-icon {
    color: #1A3E72;
}

.footer-title-icon {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
}

.footer-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #F7A72C;
}

.footer-link-icon {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.footer-bullet-icon {
    margin-top: 2px;
    color: #F7A72C;
}

.footer-contact-block {
    padding-top: 4px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact-block:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.footer-contact-title {
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 15px;
    letter-spacing: 0.02em;
}


.contact-page-main .contact-info-item {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 14px;
    background: #ffffff;
    margin-bottom: 12px;
}

.contact-page-main .contact-info-item svg {
    width: 22px;
    height: 22px;
    background: #eff6ff;
    border-radius: 999px;
    padding: 3px;
    flex-shrink: 0;
}

.contact-page-main .contact-info-item a {
    color: #1A3E72;
    font-weight: 600;
    text-decoration: none;
}

.contact-page-main .contact-info-item a:hover {
    color: #F7A72C;
}

.contact-page-main .contact-form {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.contact-page-main .contact-form::before {
    content: "";
    position: absolute;
    top: -26%;
    left: -20%;
    width: 38%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.04) 62%, transparent 72%);
    filter: blur(8px);
    opacity: 0.42;
    z-index: 0;
    pointer-events: none;
    animation: photoGlowDrift 9s ease-in-out infinite;
}

.contact-page-main .contact-form::after {
    content: "";
    position: absolute;
    right: -22%;
    bottom: -28%;
    width: 42%;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    background: radial-gradient(circle at 40% 40%, rgba(31, 58, 138, 0.18), rgba(31, 58, 138, 0.04) 60%, transparent 72%);
    filter: blur(8px);
    opacity: 0.38;
    z-index: 0;
    pointer-events: none;
    animation: photoGlowDrift 10s ease-in-out infinite;
}

.contact-page-main .contact-form > * {
    position: relative;
    z-index: 1;
}

.contact-page-main .contact-form input,
.contact-page-main .contact-form select,
.contact-page-main .contact-form textarea {
    background: #ffffff;
}

@media (max-width: 768px) {
    .contact-page-main .contact-info-item {
        padding: 11px 12px;
    }
}

  .hero-content,
    .contact-intro-card,
    .contact-page-main .about-image {
        transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
    }

    .contact-intro-card:hover,
    .contact-page-main .about-image:hover {
        transform: translateY(-4px);
        box-shadow: 0 16px 35px rgba(0, 0, 0, 0.12);
    }

    .contact-form input:focus,
    .contact-form select:focus,
    .contact-form textarea:focus {
        outline: none;
        border-color: #1A3E72;
        box-shadow: 0 0 0 3px rgba(31, 58, 138, 0.14);
    }

    .clients-page {
        --primary: #1A3E72;
        --accent: #F7A72C;
        --ink: #0f172a;
        --muted: #475569;
        --paper: #f8fafc;
    }

    .clients-hero {
        padding: 110px 20px 85px;
        background:
            rgba(0, 0, 0, 0.52)
            url("../img/clientpage.webp") center center/cover no-repeat;
        border-bottom: 1px solid #dbeafe;
    }

    .clients-hero-wrap {
        max-width: 1160px;
        margin: 0 auto;
        display: grid;
        grid-template-columns: 1.15fr 0.85fr;
        gap: 28px;
        align-items: center;
    }

    .clients-tag {
        display: inline-block;
        font-size: 12px;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        font-weight: 700;
        color: var(--primary);
        background: #dbeafe;
        border-radius: 999px;
        padding: 8px 14px;
        margin-bottom: 16px;
    }

    .clients-hero h1 {
        color: var(--ink);
        font-size: clamp(32px, 5vw, 52px);
        line-height: 1.15;
        margin: 0 0 14px;
    }

    .clients-hero p {
        color: var(--muted);
        font-size: 17px;
        line-height: 1.7;
        margin: 0;
        max-width: 620px;
    }

    .client-section {
        padding: 90px 20px;
        background: #ffffff;
    }

    .client-section.alt {
        background: var(--paper);
    }

    .client-wrap {
        max-width: 1160px;
        margin: 0 auto;
    }

    .client-head {
        text-align: center;
        margin-bottom: 44px;
    }

    .client-head h2 {
        color: var(--primary);
        font-size: clamp(30px, 4.5vw, 40px);
        margin: 0;
    }

    .client-head p {
        margin: 14px auto 0;
        color: var(--muted);
        max-width: 760px;
        font-size: 16px;
        line-height: 1.7;
    }

    .client-underline {
        width: 76px;
        height: 4px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--accent), #EFC44B);
        margin: 14px auto 0;
    }

    .client-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 22px;
    }

    .client-logo-card {
        background: #ffffff;
        border-radius: 16px;
        border: 1px solid #e2e8f0;
        min-height: 162px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 22px;
        box-shadow: 0 12px 26px rgba(15, 23, 42, 0.07);
        transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
        position: relative;
        overflow: hidden;
    }

    .client-logo-card::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(120deg, transparent 25%, rgba(245, 158, 11, 0.14) 50%, transparent 80%);
        transform: translateX(-140%);
        transition: transform 0.8s ease;
    }

    .client-logo-card:hover {
        transform: translateY(-8px);
        border-color: #bfdbfe;
        box-shadow: 0 20px 36px rgba(15, 23, 42, 0.13);
    }

    .client-logo-card:hover::before {
        transform: translateX(130%);
    }

    .client-logo-card img {
        max-width: 170px;
        width: 100%;
        height: auto;
        filter: grayscale(100%);
        opacity: 0.78;
        transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
        position: relative;
        z-index: 1;
    }

    .client-logo-card:hover img {
        filter: grayscale(0%);
        opacity: 1;
        transform: scale(1.04);
    }

    .industry-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .industry-card {
        border-radius: 14px;
        border: 1px solid #dbe4f0;
        background: #ffffff;
        padding: 20px;
        box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
        transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    }

    .industry-card:hover {
        transform: translateY(-6px);
        border-color: #93c5fd;
        box-shadow: 0 18px 32px rgba(15, 23, 42, 0.11);
    }

    .industry-card h3 {
        margin: 0 0 8px;
        color: var(--ink);
        font-size: 20px;
    }

    .industry-card p {
        margin: 0;
        color: var(--muted);
        font-size: 14px;
        line-height: 1.55;
    }

    .impact-bar {
        background: linear-gradient(125deg, #1A3E72 0%, #1e40af 65%, #1b2f6f 100%);
        border-radius: 20px;
        padding: 30px;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
        box-shadow: 0 22px 40px rgba(30, 64, 175, 0.28);
    }

    .impact-item {
        text-align: center;
        border-right: 1px solid rgba(255, 255, 255, 0.22);
        padding: 6px 10px;
    }

    .impact-item:last-child {
        border-right: none;
    }

    .impact-item h3 {
        color: #EFC44B;
        font-size: clamp(28px, 4vw, 40px);
        margin: 0 0 8px;
    }

    .impact-item p {
        color: #dbeafe;
        margin: 0;
        font-size: 14px;
        line-height: 1.5;
    }

    @media (max-width: 992px) {
        .clients-hero {
            padding-top: 92px;
        }

        .clients-hero-wrap {
            grid-template-columns: 1fr;
        }

        .client-grid,
        .industry-grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }

        .impact-bar {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 18px;
        }

        .impact-item {
            border-right: none;
            border-bottom: 1px solid rgba(255, 255, 255, 0.22);
            padding-bottom: 18px;
        }

        .impact-item:nth-last-child(-n+2) {
            border-bottom: none;
            padding-bottom: 6px;
        }
    }

    @media (max-width: 640px) {
        .clients-hero p {
            font-size: 15px;
        }

        .client-grid,
        .industry-grid,
        .impact-bar {
            grid-template-columns: 1fr;
        }

        .client-logo-card {
            min-height: 140px;
        }

        .impact-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        }

        .impact-item:last-child {
            border-bottom: none;
        }

    .client-section {
        padding: 72px 16px;
    }
}

.hero-hr {
    background: #f7f9fc;
}

.hero.hero-hr .hero-overlay {
    display: none;
}

.hero.hero-hr .hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 14px;
}

.hr-about-section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.hr-about-card {
    border-top: 5px solid #1A3E72;
    transition: transform 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease;
}

.hr-about-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.14);
    border-color: #F7A72C;
}

.hr-feature-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 0;
    list-style: none;
}

.hr-feature-list li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #1A3E72;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    color: #334155;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hr-feature-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
    border-left-color: #F7A72C;
}

.hr-about-image {
    max-width: 560px;
}

.hr-about-image img {
    width: 100%;
    max-width: 500px;
    height: 430px;
    object-fit: cover;
    object-position: center;
    border-radius: 12px;
}

.hr-why-section {
    background:
        #f3f4f6;
}

.hr-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.hr-why-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dbe4f0;
    border-top: 4px solid #1A3E72;
    border-radius: 14px;
    padding: 26px 22px;
    text-align: left;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.hr-why-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 18%, rgba(245, 158, 11, 0.16) 48%, transparent 82%);
    transform: translateX(-130%);
    transition: transform 0.8s ease;
}

.hr-why-card:hover {
    transform: translateY(-9px);
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
    border-color: #bfd7f7;
}

.hr-why-card:hover::before {
    transform: translateX(125%);
}

.hr-why-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 22px;
    position: relative;
    z-index: 1;
}

.hr-why-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .hr-feature-list {
        grid-template-columns: 1fr;
    }

    .hr-why-grid {
        grid-template-columns: 1fr;
    }
}

/* ===== Restored UI Overrides ===== */
.nav-link.active,
.nav-dropdown a.active,
.mobile-nav-links a.active {
    color: #F7A72C !important;
    font-weight: 700;
}

.nav-link.active::after {
    transform: scaleX(0);
}

.nav-dropdown a.active,
.mobile-nav-links a.active,
.mobile-submenu-toggle.active {
    text-decoration: none;
}

.contact-page-main .contact-form {
    margin: 50px auto 60px;
    position: relative;
    border: 1px solid #dbe4f0;
    border-top: 5px solid #F7A72C;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
}

.contact-page-main .contact-form::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 12px;
    border: 1px dashed rgba(31, 58, 138, 0.24);
    pointer-events: none;
}

.contact-page-main .contact-form-title {
    margin: 0;
    color: #1A3E72;
    font-size: 30px;
    line-height: 1.2;
}

.contact-page-main .contact-form-subtitle {
    margin: 8px 0 20px;
    color: #475569;
    font-size: 14px;
}

.contact-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.contact-page-main .contact-info-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.contact-page-main .contact-submit-btn {
    margin-top: 22px;
    width: 100%;
    border: none;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
}

.contact-page-main .g-recaptcha-wrap {
    margin-top: 10px;
}

.map-fallback-link {
    margin-top: 12px;
    text-align: center;
}

.map-fallback-link a {
    color: #1A3E72;
    font-weight: 600;
    text-decoration: none;
}

.map-fallback-link a:hover {
    color: #F7A72C;
}

.hero.hero-home-swap {
    min-height: 78vh;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 32px;
    padding: 120px 40px 80px;
    background:
        radial-gradient(circle at 12% 15%, rgba(245, 158, 11, 0.22), transparent 36%),
        radial-gradient(circle at 88% 82%, rgba(31, 58, 138, 0.26), transparent 40%),
        linear-gradient(125deg, #0f172a 0%, #1e293b 52%, #1A3E72 100%);
}

.hero.hero-home-swap .hero-content {
    max-width: 680px;
    text-align: left;
}

.hero.hero-home-swap h1 {
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.1;
}

.hero.hero-home-swap p {
    max-width: 560px;
}

.home-hero-visual {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 22px 40px rgba(2, 6, 23, 0.35);
}

.home-hero-visual img {
    width: 100%;
    height: 100%;
    min-height: 330px;
    object-fit: cover;
    display: block;
}

.hero.hero-industrial-classic {
    position: relative;
    min-height: 72vh;
    height: auto;
    padding: 140px 16px;
    background-image: url("../img/Industrial Manpower Service.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-industrial-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 36px;
}

.hero.hero-industrial-classic .hero-industrial-shell {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hero.hero-industrial-classic .hero-industrial-visual {
    display: none;
}

.hero.hero-industrial-classic .hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 15, 30, 0.82) 0%, rgba(10, 20, 38, 0.66) 48%, rgba(8, 15, 30, 0.48) 100%);
}

.hero.hero-industrial-classic .hero-content {
    max-width: none;
    text-align: center;
}

.hero-industrial-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    animation: heroRise 1s ease both;
}

.hero.hero-industrial-classic .hero-industrial-copy,
.hero.hero-industrial-classic .hero-industrial-copy > * {
    text-align: center;
}

.hero.hero-industrial-classic .hero-industrial-actions {
    justify-content: center;
    align-self: center;
}

.hero.hero-industrial-classic .hero-industrial-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-industrial-classic .hero-industrial-copy h1 {
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-industrial-classic .hero-industrial-kicker {
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-mechanized .hero-mechanized-shell {
    grid-template-columns: 1fr;
    justify-items: center;
}

.hero.hero-mechanized .hero-mechanized-visual {
    display: none;
}

.hero.hero-mechanized .hero-content {
    text-align: center;
}

.hero.hero-mechanized .hero-mechanized-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero.hero-mechanized .hero-mechanized-copy > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hero.hero-mechanized .hero-mechanized-kicker {
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-mechanized .hero-mechanized-actions {
    justify-content: center;
}

.hero.hero-fire-safety .hero-content,
.hero.hero-rental .hero-content {
    width: min(900px, 100%);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-industrial-copy h1 {
    font-size: clamp(42px, 5vw, 62px);
    margin-bottom: 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.hero-industrial-copy > p {
    font-size: 20px;
    margin-bottom: 0;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-wrap: balance;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
    text-align: center;
    align-self: center;
}

.hero.hero-industrial-classic .hero-industrial-copy > p,
.hero.hero-mechanized .hero-mechanized-copy > p,
.hero.hero-fire-safety .hero-content > p,
.hero.hero-rental .hero-content > p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
    text-wrap: balance;
}

.hero-lottie {
    max-width: 320px;
    width: 100%;
    height: auto;
    margin-bottom: 18px;
}

.hero-industrial-copy .hero-lottie {
    margin-left: -6px;
}

@media (max-width: 768px) {
    .hero-lottie {
        max-width: 220px;
        margin-bottom: 12px;
    }
}

.hero-centered {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 16px;
}

.hero-centered .hero-overlay {
    background: linear-gradient(90deg, rgba(10, 20, 38, 0.78) 0%, rgba(10, 20, 38, 0.65) 50%, rgba(10, 20, 38, 0.48) 100%);
}

.hero-centered .hero-content,
.hero-centered .hero1-shell,
.hero-centered .hero-industrial-shell,
.hero-centered .hero-mechanized-shell {
    width: min(960px, 100%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-centered h1 {
    font-size: clamp(34px, 4vw, 48px);
    margin: 0;
    color: #fff;
    white-space: nowrap;
}

.hero.hero-industrial-classic .hero-industrial-copy h1,
.hero.hero-mechanized .hero-mechanized-copy h1,
.hero.hero-payroll .hero-industrial-copy h1 {
    white-space: normal;
    text-align: center;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.hero1.hero-centered .hero1-content {
    text-align: center;
    align-items: center;
    max-width: 860px;
    margin: 0 auto;
}

.hero1.hero-centered .hero1-actions {
    justify-content: center;
}

.hero1.hero-centered h1 {
    line-height: 1.15;
}

.hero1.hero-centered p {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered p {
    max-width: 760px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.7;
    margin: 0;
}

.hero-centered .hero1-content p {
    white-space: normal;
}

@media (max-width: 900px) {
    .hero-centered .hero1-content p {
        white-space: normal;
    }
}

.hero-centered .btn-primary {
    margin-top: 6px;
}

.hero-centered .hero-industrial-actions,
.hero-centered .hero-mechanized-actions {
    justify-content: center;
}

.hero-centered .hero-industrial-chip-row,
.hero-centered .hero-mechanized-chip-row {
    justify-content: center;
}

.hero-centered .hero-industrial-note,
.hero-centered .hero-mechanized-note {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-centered .hero-industrial-copy > p,
.hero-centered .hero-mechanized-copy > p,
.hero-centered .hero-industrial-copy ul,
.hero-centered .hero-mechanized-copy ul {
    margin-left: auto;
    margin-right: auto;
}

 

.hr-cta-band {
    background: linear-gradient(135deg, #1A3E72, #0f264b);
    color: #f8fbff;
    padding: 32px 16px;
}

.hr-cta-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.hr-cta-inner h2 {
    margin: 0 0 8px;
    font-size: clamp(24px, 3vw, 32px);
}

.hr-cta-inner p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.6;
}

.hr-cta-inner .btn-primary {
    white-space: nowrap;
}

.hero-industrial-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.14);
    border: 1px solid rgba(247, 167, 44, 0.32);
    color: #f8c66f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-industrial-chip-row {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 10px;
    justify-content: flex-start;
}

.hero-industrial-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-industrial-note {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.6;
}

.hero-industrial-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-industrial-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-industrial-stat-main {
    min-height: 180px;
    justify-content: flex-end;
}

.hero-industrial-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.14);
    border: 1px solid rgba(247, 167, 44, 0.32);
    color: #f8c66f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-industrial-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-industrial-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 148px;
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 36px rgba(8, 15, 30, 0.2);
    backdrop-filter: blur(10px);
}

@media (max-width: 1024px) {
    .kms-logo-slider {
        --slide-width: 210px;
    }
}

@media (max-width: 640px) {
    .kms-logo-slider {
        --slide-width: 180px;
    }
}

.hero-industrial-stat-card strong {
    display: block;
    color: #ffffff;
    margin-bottom: 6px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-industrial-stat-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}


.industrial-about-section {
    padding-top: 88px;
    padding-bottom: 88px;
}

.industrial-about-card {
    border-top: 5px solid #1A3E72;
}

.industrial-proof-row {
    margin-top: 34px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.industrial-proof-card {
    position: relative;
    padding: 24px 22px;
    border-radius: 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.industrial-proof-card::after {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.industrial-proof-label {
    display: inline-block;
    margin-bottom: 10px;
    color: #F7A72C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.industrial-proof-card strong {
    display: block;
    margin-bottom: 10px;
    color: #1A3E72;
    font-size: 24px;
    line-height: 1.25;
}

.industrial-proof-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.industrial-feature-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
}

.industrial-feature-list li {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-left: 4px solid #F7A72C;
    border-radius: 10px;
    padding: 10px 12px;
    font-weight: 600;
    color: #334155;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.industrial-feature-list li::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(245, 158, 11, 0.14) 55%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.6s ease;
}

.industrial-feature-list li:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.1);
}

.industrial-feature-list li:hover::after {
    transform: translateX(120%);
}

.industrial-about-image {
    max-width: 560px;
}

.industrial-why-section {
    background:
        #f3f4f6;
}

/* Make payroll compliance band white */
.payroll-compliance-section {
    background: #ffffff;
}

.industrial-why-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

/* Services pages: 5-card layout (2 top + 3 bottom) */
body .services-theme.industrial-why-section .industrial-why-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

body .services-theme.industrial-why-section .industrial-why-card {
    grid-column: span 2;
}

body .services-theme.industrial-why-section .industrial-why-card:nth-child(-n + 2) {
    grid-column: span 3;
}

.industrial-why-card {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #dbe4f0;
    border-top: 4px solid #1A3E72;
    border-radius: 14px;
    padding: 26px 22px;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.industrial-why-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.12), rgba(247, 167, 44, 0.18));
    color: #1A3E72;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.industrial-why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(31, 58, 138, 0.14) 55%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

.industrial-why-card:hover {
    transform: translateY(-6px);
    border-color: rgba(26, 62, 114, 0.28);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.industrial-why-card:hover::after {
    transform: translateX(120%);
}

/* Payroll benefits layout */
.payroll-benefits-section .industrial-why-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 960px;
    margin: 0 auto;
}

.payroll-benefits-section .industrial-why-card{
    text-align: center;
    border-top: none;
    border: 1px solid rgba(26,62,114,0.12);
    border-radius: 18px;
    padding: 24px 20px;
    box-shadow: 0 18px 38px rgba(15,23,42,0.1);
}

.payroll-benefits-section .industrial-why-number{
    margin: 0 auto 14px;
    width: 52px;
    height: 52px;
    background: rgba(26,62,114,0.08);
    color: #0f2d5c;
}

.payroll-benefits-section .industrial-why-card h3{
    margin: 6px 0 8px;
    font-size: 20px;
    line-height: 1.3;
}

.payroll-benefits-section .industrial-why-card p{
    margin: 0;
    color: #1f2937;
    line-height: 1.65;
}

@media (max-width: 820px){
    .payroll-benefits-section .industrial-why-grid{
        grid-template-columns: 1fr;
    }
}

.industrial-why-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 22px;
    transition: color 0.25s ease;
}

.industrial-why-card p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
    transition: color 0.25s ease;
}

.standard-list {
    list-style: disc;
    padding-left: 20px;
    margin: 0;
    color: #1A3E72;
    line-height: 1.6;
    font-weight: 600;
}

.standard-list li {
    margin: 4px 0;
    color: #364152;
    font-weight: 600;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.faq-card {
    padding: 18px 18px 16px;
    border-radius: 16px;
    border: 1px solid rgba(26, 62, 114, 0.1);
    background: linear-gradient(180deg, #ffffff, #f7f9fd);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.1);
}

.faq-card h3 {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 18px;
}

.faq-card p {
    margin: 0;
    color: #475569;
    line-height: 1.6;
}

.industrial-why-card:hover h3 {
    color: #0f2d55;
}

.industrial-why-card:hover p {
    color: #334155;
}

/* Scoped enhancement for payroll page compliance cards */
.payroll-compliance-section .industrial-why-card {
    background:
        radial-gradient(circle at 12% 18%, rgba(26, 62, 114, 0.08), transparent 32%),
        radial-gradient(circle at 84% 78%, rgba(247, 167, 44, 0.12), transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(26, 62, 114, 0.14);
    border-top: 4px solid #1A3E72;
    box-shadow: 0 20px 36px rgba(15, 23, 42, 0.14);
}

.payroll-compliance-section .industrial-why-card::after {
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.16), rgba(247, 167, 44, 0.18));
    opacity: 0.45;
}

.payroll-compliance-section .industrial-why-number {
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.2), rgba(247, 167, 44, 0.24));
    color: #0f1f3a;
}

.payroll-compliance-section .industrial-why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 26px 44px rgba(15, 23, 42, 0.16);
    border-color: rgba(247, 167, 44, 0.45);
}

.industrial-showcase {
    padding: 88px 20px;
    background:
        radial-gradient(circle at 8% 14%, rgba(26, 62, 114, 0.08), transparent 26%),
        radial-gradient(circle at 92% 86%, rgba(247, 167, 44, 0.14), transparent 28%),
        #ffffff;
}

.industrial-showcase-grid {
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 36px;
    align-items: center;
}

.industrial-showcase-copy-wrap {
    display: grid;
    gap: 22px;
}

.industrial-showcase-content {
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
}

.industrial-showcase-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.12);
}

.industrial-showcase-image {
    position: relative;
    max-width: 500px;
    margin-left: auto;
}

.industrial-showcase-content h2 {
    margin: 0;
    color: #1A3E72;
    font-size: clamp(28px, 4vw, 38px);
    line-height: 1.2;
}

.industrial-showcase-content p {
    color: #475569;
    line-height: 1.75;
}

.industrial-showcase-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.industrial-service-card {
    padding: 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.industrial-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.32);
}

.industrial-service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1A3E72, #285796);
    color: #ffffff;
    box-shadow: 0 16px 26px rgba(26, 62, 114, 0.2);
}

.industrial-service-icon svg {
    width: 24px;
    height: 24px;
}

.industrial-service-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 21px;
    line-height: 1.32;
}

.industrial-service-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.industrial-showcase-floating {
    position: absolute;
    left: -24px;
    bottom: 28px;
    max-width: 280px;
    padding: 20px 20px 18px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.96), rgba(16, 43, 84, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.22);
}

.industrial-showcase-floating strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 18px;
}

.industrial-showcase-floating span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

.industrial-sector-section {
    background:
        radial-gradient(circle at 10% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #f3f4f6 !important;
}

.industrial-sector-section .industrial-sector-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 18px;
}

.industrial-sector-section .industrial-sector-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 18px 22px;
    justify-items: center;
    max-width: 980px;
    margin: 0 auto;
}

.industrial-sector-section .industrial-sector-item {
    text-align: center;
    max-width: 230px;
}

.industrial-sector-section .industrial-sector-icon {
    margin: 0 auto 10px;
}

.industrial-sector-section .industrial-sector-icon {
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.industrial-sector-section .industrial-sector-icon img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mechanized-area-section .mechanized-area-icon.mechanized-area-icon-image {
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.mechanized-area-section .mechanized-area-icon.mechanized-area-icon-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.payroll-services-section .payroll-service-icon.payroll-service-icon-image,
body .rental-available-section .rental-available-icon.rental-available-icon-image,
.fire-service-section .fire-service-icon.fire-service-icon-image {
    width: 58px !important;
    height: 58px !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
}

.payroll-services-section .payroll-service-icon.payroll-service-icon-image img,
body .rental-available-section .rental-available-icon.rental-available-icon-image img,
.fire-service-section .fire-service-icon.fire-service-icon-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.industrial-sector-grid {
    justify-content: center;
}

.industrial-sector-card-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
    margin-top: 8px;
}

.industrial-sector-card {
    position: relative;
    padding: 20px 18px;
    min-height: 200px;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.98) 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 12px;
}

.industrial-sector-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.34);
}

.industrial-sector-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, #1A3E72, #285796);
    color: #ffffff;
    box-shadow: none !important;
}

.industrial-sector-icon svg {
    width: 26px;
    height: 26px;
}

.industrial-sector-card h3 {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 19px;
    line-height: 1.3;
}

.industrial-sector-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
    opacity: 0;
    transform: translateY(12px);
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.35s ease, transform 0.35s ease, max-height 0.35s ease;
}

.industrial-sector-card h3 {
    margin: 0;
    color: #1A3E72;
    font-size: 21px;
    line-height: 1.3;
}

.industrial-sector-card:hover p {
    opacity: 1;
    transform: translateY(0);
    max-height: 160px;
}

.industrial-sector-card:hover .industrial-sector-icon {
    transform: translateY(-4px) scale(1.06);
    box-shadow: none !important;
}

.industrial-faq-section,
.fire-faq-section,
.rental-faq-section,
.payroll-faq-section {
    background: #f3f7fd !important;
}

.faq-accordion {
    display: grid;
    gap: 16px;
    max-width: 820px;
    margin: 0 auto;
}

.faq-accordion-item {
    border-radius: 20px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    background: #ffffff;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

.faq-accordion-header {
    width: 100%;
    border: 0;
    background:#f3f4f6 ;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
    color: #0f2747;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
}

.faq-accordion-question {
    flex: 1;
    line-height: 1.5;
}

.faq-accordion-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1A3E72;
    position: relative;
    flex-shrink: 0;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 12px;
    height: 2px;
    background: #ffffff;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
}

.faq-accordion-icon::after {
    width: 2px;
    height: 12px;
}

.faq-accordion-header[aria-expanded="true"] .faq-accordion-icon::after {
    opacity: 0;
}

.faq-accordion-content {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}

.faq-accordion-body {
    padding: 16px 22px 22px;
    color: #475569;
    line-height: 1.75;
    background: #ffffff;
    text-align: left;
}

.faq-accordion-body p {
    margin: 0;
    text-align: left;
}

body .industrial-faq-section .faq-accordion,
body .fire-faq-section .faq-accordion,
body .rental-faq-section .faq-accordion,
body .payroll-faq-section .faq-accordion {
    max-width: 980px;
    margin: 0 auto;
    gap: 16px;
}

body .industrial-faq-section .faq-accordion-item,
body .fire-faq-section .faq-accordion-item,
body .rental-faq-section .faq-accordion-item,
body .payroll-faq-section .faq-accordion-item {
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    box-shadow: none;
}

body .industrial-faq-section .faq-accordion-item::before,
body .fire-faq-section .faq-accordion-item::before,
body .rental-faq-section .faq-accordion-item::before,
body .payroll-faq-section .faq-accordion-item::before {
    display: none;
}

body .industrial-faq-section .faq-accordion-header,
body .fire-faq-section .faq-accordion-header,
body .rental-faq-section .faq-accordion-header,
body .payroll-faq-section .faq-accordion-header {
    padding: 18px 20px 18px 60px;
    position: relative;
    font-weight: 700;
    color: #1a3e72;
}

body .industrial-faq-section .faq-accordion-header::before,
body .fire-faq-section .faq-accordion-header::before,
body .rental-faq-section .faq-accordion-header::before,
body .payroll-faq-section .faq-accordion-header::before {
    content: attr(data-step);
    position: absolute;
    left: 18px;
    top: 18px;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #1a3e72;
    background: #f3f4f6;
    border: 1px solid rgba(26, 62, 114, 0.18);
}

body .industrial-faq-section .faq-accordion-body,
body .fire-faq-section .faq-accordion-body,
body .rental-faq-section .faq-accordion-body,
body .payroll-faq-section .faq-accordion-body {
    padding: 18px 20px 18px 60px;
}

/* Services FAQs: match reference pill/step style */
body .industrial-faq-section .faq-accordion,
body .fire-faq-section .faq-accordion,
body .rental-faq-section .faq-accordion,
body .payroll-faq-section .faq-accordion {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 16px !important;
}

body .industrial-faq-section .faq-accordion-item,
body .fire-faq-section .faq-accordion-item,
body .rental-faq-section .faq-accordion-item,
body .payroll-faq-section .faq-accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: #f3f4f6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body .industrial-faq-section .faq-accordion-item::before,
body .fire-faq-section .faq-accordion-item::before,
body .rental-faq-section .faq-accordion-item::before,
body .payroll-faq-section .faq-accordion-item::before {
    display: none !important;
}

body .industrial-faq-section .faq-accordion-header,
body .fire-faq-section .faq-accordion-header,
body .rental-faq-section .faq-accordion-header,
body .payroll-faq-section .faq-accordion-header {
    padding: 18px 22px 18px 68px !important;
    font-weight: 700 !important;
    color: #1A3E72 !important;
}

body .industrial-faq-section .faq-accordion-header::before,
body .fire-faq-section .faq-accordion-header::before,
body .rental-faq-section .faq-accordion-header::before,
body .payroll-faq-section .faq-accordion-header::before {
    left: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
    color: #1A3E72 !important;
    font-size: 12px !important;
    font-weight: 800 !important;
}

body .industrial-faq-section .faq-accordion-icon,
body .fire-faq-section .faq-accordion-icon,
body .rental-faq-section .faq-accordion-icon,
body .payroll-faq-section .faq-accordion-icon {
    width: 34px !important;
    height: 34px !important;
    background: #1A3E72 !important;
}

body .industrial-faq-section .faq-accordion-body,
body .fire-faq-section .faq-accordion-body,
body .rental-faq-section .faq-accordion-body,
body .payroll-faq-section .faq-accordion-body {
    padding: 12px 22px 22px 68px !important;
    text-align: left !important;
}

body .industrial-faq-section .faq-accordion-body p,
body .fire-faq-section .faq-accordion-body p,
body .rental-faq-section .faq-accordion-body p,
body .payroll-faq-section .faq-accordion-body p,
body .mechanized-faq-section .faq-accordion-body p {
    margin: 0 !important;
    text-align: left !important;
}

body .mechanized-faq-section {
    background: #ffffff !important;
}

body .industrial-faq-section,
body .fire-faq-section,
body .rental-faq-section,
body .payroll-faq-section {
    background: #ffffff !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion {
    max-width: 1100px !important;
    margin: 0 auto !important;
    display: grid !important;
    gap: 16px !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-item {
    border: 1px solid #e2e8f0 !important;
    border-radius: 18px !important;
    background: #f3f4f6 !important;
    box-shadow: none !important;
    overflow: hidden !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-item::before {
    display: none !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-header {
    padding: 18px 22px 18px 68px !important;
    position: relative !important;
    text-align: left !important;
    font-weight: 700 !important;
    color: #1A3E72 !important;
    background: #f3f4f6 !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-header::before {
    left: 22px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #1A3E72 !important;
    background: #f8fafc !important;
    border: 1px solid #cbd5e1 !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-icon {
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    border: 0 !important;
    background: #1A3E72 !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-content {
    background: #ffffff !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-body {
    padding: 12px 22px 22px 68px !important;
    color: rgba(15, 23, 42, 0.72) !important;
    line-height: 1.75 !important;
    background: #ffffff !important;
    text-align: left !important;
}

body :is(.industrial-faq-section, .mechanized-faq-section, .fire-faq-section, .rental-faq-section, .payroll-faq-section) .faq-accordion-body p {
    margin: 0 !important;
    max-width: none !important;
    text-align: left !important;
}

.industrial-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.industrial-faq-card {
    position: relative;
    padding: 24px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.industrial-faq-card::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
}

.industrial-faq-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.34);
}

.industrial-faq-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 21px;
    line-height: 1.35;
}

.industrial-faq-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.mechanized-area-section {
    background:
        radial-gradient(circle at 10% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #f3f4f6 !important;
}

.mechanized-area-section .industrial-showcase-service-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mechanized-area-grid {
    justify-content: center;
}

.mechanized-area-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mechanized-area-card {
    position: relative;
    padding: 26px 22px;
    min-height: 220px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.98));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.09);
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}

.mechanized-area-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.13);
    border-color: #cbd5e1;
}

.mechanized-area-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
    opacity: 0.8;
    transition: opacity 0.35s ease;
    z-index: 1;
}

.mechanized-area-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, transparent 30%, rgba(245, 158, 11, 0.14) 50%, transparent 70%);
    transform: translateX(-130%);
    transition: transform 0.7s ease;
    z-index: 1;
}

.mechanized-area-card * {
    position: relative;
    z-index: 2;
}

.mechanized-area-card:hover::after {
    transform: translateX(130%);
}

.mechanized-area-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1A3E72, #285796);
    color: #ffffff;
}

.mechanized-area-icon svg {
    width: 26px;
    height: 26px;
}

.mechanized-area-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 21px;
    line-height: 1.3;
}

.mechanized-area-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.mechanized-service-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-top: 8px;
}

.mechanized-showcase-section {
    background:
        radial-gradient(circle at 10% 18%, rgba(26, 62, 114, 0.06), transparent 26%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.1), transparent 28%),
        #ffffff;
}

.mechanized-showcase-wrapper {
    grid-template-columns: minmax(340px, 1.02fr) minmax(0, 0.98fr) !important;
    gap: 40px !important;
}

.mechanized-showcase-content {
    padding: 34px 34px 30px;
    border-radius: 26px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.scope-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
    margin-top: 10px;
}

.scope-tile {
    position: relative;
    padding: 14px 14px 16px;
    border-radius: 16px;
    background: linear-gradient(150deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 16px 32px rgba(12, 18, 32, 0.18);
    color: #0f1a2d;
    backdrop-filter: blur(4px);
}

.scope-tile h3 {
    margin: 8px 0 6px;
    color: #0f1a2d;
    font-size: 17px;
}

.scope-tile p {
    margin: 0;
    color: #334155;
    line-height: 1.6;
    font-size: 14px;
}

.scope-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 999px;
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    color: #0c1a33;
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.scope-tile.wide {
    grid-column: span 2;
}

.scope-tile.tall {
    grid-row: span 2;
}

.scope-tile.highlight {
    background: linear-gradient(135deg, rgba(247, 167, 44, 0.12), rgba(26, 62, 114, 0.08));
    border-color: rgba(247, 167, 44, 0.28);
}

.mechanized-showcase-section .service-main-photo {
    max-width: 680px;
    justify-self: start;
}

.mechanized-showcase-section .about-image::before,
.mechanized-showcase-section .about-image::after,
.mechanized-showcase-section .service-main-photo::before,
.mechanized-showcase-section .service-main-photo::after {
    display: none !important;
}

.mechanized-showcase-section .service-main-photo img {
    max-width: 640px;
    height: 460px;
    border-radius: 24px;
    box-shadow: 0 24px 46px rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(26, 62, 114, 0.14);
    object-fit: cover;
    object-position: center center;
}

.mechanized-service-card {
    padding: 24px 22px;
    border-radius: 22px;
    background: linear-gradient(180deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.08);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.mechanized-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 40px rgba(15, 23, 42, 0.12);
    border-color: rgba(247, 167, 44, 0.32);
}

.mechanized-service-card h3 {
    margin: 0 0 10px;
    color: #1A3E72;
    font-size: 21px;
    line-height: 1.32;
}

.mechanized-service-card p {
    margin: 0;
    color: #475569;
    line-height: 1.75;
}

.mechanized-showcase-badge {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 18px 18px 16px;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(26, 62, 114, 0.96), rgba(16, 43, 84, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.22);
}

.mechanized-showcase-badge strong {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 18px;
}

.mechanized-showcase-badge span {
    display: block;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.65;
}

.mechanized-service-note {
    margin-top: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(26, 62, 114, 0.05);
    border: 1px solid rgba(26, 62, 114, 0.08);
    color: #1A3E72;
    font-weight: 600;
    line-height: 1.7;
}

.rental-equipment-section {
    background:
        radial-gradient(circle at 10% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #f3f4f6 !important;
}

.rental-equipment-grid {
    justify-content: center;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rental-equipment-grid .industrial-service-card:last-child{
    grid-column: 2 / span 1;
}

@media (max-width: 900px){
    .rental-equipment-grid{
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .rental-equipment-grid .industrial-service-card:last-child{
        grid-column: auto;
    }
}

@media (max-width: 640px){
    .rental-equipment-grid{
        grid-template-columns: 1fr;
    }
}

.fire-service-section {
    background:
        radial-gradient(circle at 10% 14%, rgba(26, 62, 114, 0.08), transparent 28%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.12), transparent 34%),
        #f3f4f6 !important;
}

.fire-service-grid {
    justify-content: center;
}

.client-rotor-wrap {
    width: 100%;
    min-height: 420px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid #dbe4f0;
    background:
        radial-gradient(circle at 12% 18%, rgba(31, 58, 138, 0.12), transparent 40%),
        radial-gradient(circle at 88% 82%, rgba(245, 158, 11, 0.14), transparent 42%),
        linear-gradient(145deg, #f8fbff 0%, #ffffff 52%, #fff8eb 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 16px 30px rgba(15, 23, 42, 0.1);
}

.client-rotor-inner {
    --w: 160px;
    --h: 110px;
    --translateZ: 250px;
    --rotateX: -10deg;
    --perspective: 1300px;
    position: absolute;
    width: var(--w);
    height: var(--h);
    transform-style: preserve-3d;
    transform: perspective(var(--perspective));
    animation: clientRotorSpin 24s linear infinite;
    animation-play-state: running !important;
}

@keyframes clientRotorSpin {
    from {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(0);
    }
    to {
        transform: perspective(var(--perspective)) rotateX(var(--rotateX)) rotateY(1turn);
    }
}

.client-rotor-card {
    position: absolute;
    inset: 0;
    transform: rotateY(calc((360deg / var(--quantity)) * var(--index))) translateZ(var(--translateZ));
}

.client-rotor-face {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    border: 1px solid rgba(30, 64, 175, 0.22);
    background: linear-gradient(160deg, #ffffff 0%, #eef4ff 62%, #fff5e8 100%);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px;
}

.client-rotor-face img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.86;
    transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease;
}

.client-rotor-face:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.03);
}

.client-grid-fallback {
    display: none;
    margin-top: 18px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.client-grid-fallback .client-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.98));
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.client-grid-fallback .client-logo-card img {
    width: 100%;
    max-width: 140px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(40%);
    opacity: 0.9;
}

@media (max-width: 992px) {
    .client-rotor-wrap {
        min-height: 340px;
    }

    .client-rotor-inner {
        --w: 138px;
        --h: 96px;
        --translateZ: 205px;
    }
}

@media (max-width: 640px) {
    .about-brand-shell {
        padding: 20px;
        border-radius: 22px;
    }

    .about-brand-head {
        gap: 12px;
        margin-bottom: 18px;
    }

    .about-brand-head-copy h3 {
        font-size: clamp(20px, 6vw, 28px);
    }

    .about-brand-head-copy p {
        font-size: 14px;
        line-height: 1.6;
    }

    .about-brand-head-badge {
        font-size: 11px;
        padding: 10px 12px;
        white-space: normal;
        text-align: center;
    }

    .client-rotor-wrap {
        display: none;
    }

    .client-grid-fallback {
        display: grid;
    }
}

@media (max-width: 900px) {
    .hero.hero-home-swap {
        grid-template-columns: 1fr;
        padding: 105px 20px 60px;
    }

    .hero.hero-home-swap .hero-content {
        text-align: center;
        max-width: 100%;
    }

    .hero.hero-home-swap p {
        margin-left: auto;
        margin-right: auto;
    }

    .industrial-feature-list,
    .industrial-proof-row,
    .industrial-why-grid,
    .industrial-showcase-grid,
    .industrial-sector-card-grid,
    .industrial-showcase-service-grid,
    .industrial-faq-grid,
    .contact-inline-fields {
        grid-template-columns: 1fr;
    }

    body .services-theme.industrial-why-section .industrial-why-grid {
        grid-template-columns: 1fr;
    }

    body .services-theme.industrial-why-section .industrial-why-card {
        grid-column: span 1;
    }

    .hero-industrial-shell {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hero-industrial-visual {
        width: 100%;
    }

    .hero-mechanized-shell,
    .mechanized-area-card-grid,
    .mechanized-service-grid {
        grid-template-columns: 1fr;
    }

    .hero-mechanized-visual {
        width: 100%;
    }

    .mechanized-showcase-wrapper {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
    }

    .mechanized-showcase-section .service-main-photo {
        max-width: 620px;
        justify-self: center;
    }

    .industrial-showcase {
        padding: 72px 16px;
    }

    .industrial-showcase-image {
        max-width: 560px;
        margin: 0 auto;
    }

    .industrial-showcase-floating {
        left: 16px;
        right: 16px;
        bottom: 16px;
        max-width: none;
    }

    .hr-about-image img {
        height: auto;
        max-height: 420px;
    }
}

@media (max-width: 768px) {
    .hero.hero-industrial-classic {
        max-height: none;
        padding: 118px 14px 72px;

    }

    .hero.hero-industrial-classic .hero-content,
    .hero-industrial-copy {
        text-align: center;
    }

    .hero-industrial-actions {
        justify-content: center;
    }

    .hero-industrial-chip-row {
        gap: 8px;
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .hero-industrial-note {
        max-width: 100%;
    }

    .hero-industrial-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-industrial-copy > p {
        font-size: 16px;
    }

    .hero-industrial-stat-card,
    .hero-industrial-stat-main {
        min-height: 132px;
        padding: 18px;
        border-radius: 18px;
    }

    .hero.hero-mechanized {
        padding: 100px 14px 44px;
    }

    .hero.hero-mechanized .hero-content,
    .hero-mechanized-copy {
        text-align: center;
    }

    .hero-mechanized-actions {
        justify-content: center;
    }

    .hero-mechanized-chip-row {
        gap: 8px;
        grid-template-columns: 1fr;
        justify-content: center;
    }

    .hero-mechanized-note {
        max-width: 100%;
    }

    .hero-mechanized-copy > p {
        font-size: 16px;
    }

    .hero-mechanized-stat-grid {
        grid-template-columns: 1fr;
    }

    .hero-mechanized-stat-card,
    .hero-mechanized-stat-main {
        min-height: 132px;
        padding: 18px;
        border-radius: 18px;
    }

    .mechanized-showcase-content {
        padding: 24px 22px;
        border-radius: 20px;
    }

    .mechanized-showcase-section .service-main-photo img {
        max-width: 100%;
        height: 360px;
        border-radius: 20px;
    }

    .mechanized-area-card,
    .mechanized-service-card {
        min-height: auto;
    }

    .industrial-proof-card strong,
    .industrial-sector-card h3,
    .mechanized-area-card h3,
    .mechanized-service-card h3 {
        font-size: 20px;
    }

    .industrial-sector-card {
        min-height: auto;
    }

    .mobile-nav-links {
        box-shadow: 0 16px 32px rgba(15, 23, 42, 0.14);
        border-radius: 0 0 14px 14px;
        padding: 10px;
    }

    .contact-page-main .contact-form {
        padding: 24px 18px;
    }

    .contact-page-main .contact-form-title {
        font-size: 25px;
    }

    .contact-page-main .g-recaptcha-wrap > div {
        transform: scale(0.9);
        transform-origin: left center;
    }

    .client-rotor-wrap {
        display: none;
    }

    .client-grid-fallback {
        display: grid;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-rotor-inner {
        animation: none;
    }
}


h1, h2, h3, h4 {
    font-family: 'Epilogue', sans-serif;
}


/* KPS Skeleton Loader */
.kps-loading {
    overflow: hidden;
}

.kps-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 20% 20%, rgba(107, 166, 221, 0.22), transparent 35%),
                radial-gradient(circle at 82% 78%, rgba(239, 196, 75, 0.28), transparent 36%),
                #ffffff;
    transition: opacity 0.35s ease, visibility 0.35s ease;
}

.kps-loader-overlay.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.kps-loader-container {
    width: 300px;
    height: 150px;
    position: relative;
    overflow: hidden;
}

.kps-loader-ground {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, transparent, #1A3E72, transparent);
    animation: kps-ground-move 2s linear infinite;
}

@keyframes kps-ground-move {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.kps-loader-skeleton {
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 100px;
    height: 80px;
    animation: kps-crawl 2s linear infinite;
}

@keyframes kps-crawl {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(300px); }
}

.kps-loader-head {
    position: absolute;
    top: 0;
    left: 30px;
    width: 30px;
    height: 30px;
    background-color: #111111;
    border-radius: 50%;
    animation: kps-head-bob 0.5s ease-in-out infinite alternate;
    box-shadow: inset 0 -2px 0 #2f2f2f;
}

@keyframes kps-head-bob {
    0% { transform: translateY(0); }
    100% { transform: translateY(-5px); }
}

.kps-loader-eye {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #1A3E72;
    border-radius: 50%;
    top: 11px;
}

.kps-loader-eye.left { left: 10px; }
.kps-loader-eye.right { left: 20px; }

.kps-loader-mouth {
    position: absolute;
    width: 12px;
    height: 5px;
    background-color: #1A3E72;
    border-radius: 0 0 5px 5px;
    top: 18px;
    left: 11px;
    animation: kps-mouth-talk 0.5s ease-in-out infinite alternate;
}

@keyframes kps-mouth-talk {
    0% { height: 3px; }
    100% { height: 6px; }
}

.kps-loader-body {
    position: absolute;
    top: 30px;
    left: 35px;
    width: 20px;
    height: 35px;
    background-color: #111111;
    border-radius: 10px;
    box-shadow: inset 0 -2px 0 #2f2f2f;
}

.kps-loader-arm {
    position: absolute;
    width: 10px;
    height: 35px;
    background-color: #111111;
    top: 30px;
    border-radius: 50px;
    box-shadow: inset 0 -2px 0 #2f2f2f;
}

.kps-loader-arm.left {
    left: 25px;
    transform-origin: top center;
    animation: kps-arm-left 1s ease-in-out infinite;
}

.kps-loader-arm.right {
    left: 55px;
    transform-origin: top center;
    animation: kps-arm-right 1s ease-in-out infinite;
}

@keyframes kps-arm-left {
    0%, 100% { transform: rotate(30deg); }
    50% { transform: rotate(-20deg); }
}

@keyframes kps-arm-right {
    0%, 100% { transform: rotate(-20deg); }
    50% { transform: rotate(30deg); }
}

.kps-loader-leg {
    position: absolute;
    width: 10px;
    height: 40px;
    background-color: #111111;
    top: 60px;
    border-radius: 50px;
    box-shadow: inset 0 -2px 0 #2f2f2f;
}

.kps-loader-leg.left {
    left: 35px;
    transform-origin: top center;
    animation: kps-leg-left 1s ease-in-out infinite;
}

.kps-loader-leg.right {
    left: 45px;
    transform-origin: top center;
    animation: kps-leg-right 1s ease-in-out infinite;
}

@keyframes kps-leg-left {
    0%, 100% { transform: rotate(10deg); }
    50% { transform: rotate(-30deg); }
}

@keyframes kps-leg-right {
    0%, 100% { transform: rotate(-30deg); }
    50% { transform: rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
    .kps-loader-ground,
    .kps-loader-skeleton,
    .kps-loader-head,
    .kps-loader-mouth,
    .kps-loader-arm,
    .kps-loader-leg {
        animation: none !important;
    }
}

/* Services Dropdown - Uiverse Style */
.services-menu {
    position: relative;
}

.services-menu > .services-link {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 18px;
    border-radius: 0;
    overflow: visible;
    transition: color 0.48s cubic-bezier(0.23, 1, 0.32, 1), border-radius 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-menu > .services-link::before {
    display: none;
}

.services-menu > .services-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -7px;
    width: 100%;
    height: 2px;
    border-radius: 6px;
    background: #F7A72C;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.services-menu > .services-link svg {
    transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1), color 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-menu:hover > .services-link,
.services-menu > .services-link:focus-visible,
.services-menu > .services-link.active {
    color: #F7A72C !important;
    border-radius: 0;
}

.services-menu:hover > .services-link::before,
.services-menu > .services-link:focus-visible::before,
.services-menu > .services-link.active::before {
    transform: scaleX(0);
}

.services-menu:hover > .services-link::after,
.services-menu > .services-link:focus-visible::after,
.services-menu > .services-link.active::after {
    transform: scaleX(1);
}

.services-menu:hover > .services-link svg,
.services-menu > .services-link:focus-visible svg,
.services-menu > .services-link.active svg {
    transform: rotate(-180deg);
}

.services-menu .services-submenu {
    left: 0;
    top: calc(100% + 2px);
    margin-top: 0;
    min-width: 360px;
    width: max-content;
    max-width: 420px;
    border: 1px solid #dbe4f0;
    border-top: 0;
    border-radius: 0 0 14px 14px;
    overflow: hidden;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    pointer-events: none;
    transition: opacity 0.48s cubic-bezier(0.23, 1, 0.32, 1),
                transform 0.48s cubic-bezier(0.23, 1, 0.32, 1),
                visibility 0.48s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-menu:hover .services-submenu,
.services-menu:focus-within .services-submenu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    border-color: var(--kms-dark-blue);
}

.services-menu .services-submenu a {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    padding: 12px 22px;
    text-align: left;
    white-space: normal;
    color: var(--kms-dark-blue);
    font-weight: 600;
    line-height: 1.45;
    transform: none;
    transition: color 0.48s cubic-bezier(0.23, 1, 0.32, 1), background-color 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-menu .services-submenu a::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, var(--kms-dark-blue), #204f92);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.48s cubic-bezier(0.23, 1, 0.32, 1);
}

.services-menu .services-submenu a:hover,
.services-menu .services-submenu a:focus-visible,
.services-menu .services-submenu a.active {
    color: #ffffff !important;
}

.services-menu .services-submenu a:hover::before,
.services-menu .services-submenu a:focus-visible::before,
.services-menu .services-submenu a.active::before {
    transform: scaleX(1);
    transform-origin: right;
}



.hero-mechanized {
    position: relative;
    min-height: 84vh;
    height: auto;
    padding: 36px 16px;
    background: url("../img/House-keeping.png") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero.hero-mechanized .hero-overlay {
    background:
        linear-gradient(90deg, rgba(8, 15, 30, 0.84) 0%, rgba(10, 20, 38, 0.68) 50%, rgba(8, 15, 30, 0.5) 100%);
}

.hero-mechanized-shell {
    position: relative;
    z-index: 2;
    width: min(1180px, calc(100% - 32px));
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    align-items: center;
    gap: 36px;
}

.hero.hero-mechanized .hero-content {
    max-width: none;
    text-align: left;
}

.hero-mechanized-copy {
    max-width: 720px;
    animation: heroRise 1s ease both;
}

.hero-mechanized-copy h1 {
    font-size: clamp(42px, 5vw, 60px);
    margin-bottom: 16px;
    line-height: 1.08;
    letter-spacing: -0.03em;
    max-width: 760px;
}

.hero-mechanized-copy > p {
    font-size: 20px;
    margin-bottom: 0;
    max-width: 640px;
    color: rgba(255, 255, 255, 0.84);
    line-height: 1.75;
}

.hero-mechanized-kicker {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    margin-bottom: 18px;
    border-radius: 999px;
    background: rgba(247, 167, 44, 0.14);
    border: 1px solid rgba(247, 167, 44, 0.32);
    color: #f8c66f;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.hero-mechanized-chip-row {
    margin-top: 22px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, max-content));
    gap: 10px;
    justify-content: flex-start;
}

.hero-mechanized-chip {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}

.hero-mechanized-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 28px;
    flex-wrap: wrap;
}

.hero-mechanized-note {
    max-width: 320px;
    color: rgba(255, 255, 255, 0.74);
    font-size: 14px;
    line-height: 1.6;
}

.hero-mechanized-visual {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.hero-mechanized-stat-main {
    min-height: 180px;
}

.hero-mechanized-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.hero-mechanized-stat-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 148px;
    padding: 22px;
    border-radius: 22px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 36px rgba(8, 15, 30, 0.2);
    backdrop-filter: blur(10px);
}

.hero-mechanized-stat-card strong {
    display: block;
    color: #ffffff;
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 34px);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.hero-mechanized-stat-card span {
    color: rgba(255, 255, 255, 0.76);
    font-size: 14px;
    line-height: 1.6;
}

.hero-fire-safety {
    background: url("../img/Fire%20Safety.png") center center/cover no-repeat;
}

.hero-rental {
    background: url("../img/Rental%20Industrial%20Equipments.png") center center/cover no-repeat;
}

/* Rental hero: center content inside a small gray box */
.hero.hero-rental.hero-banner .hero-content {
    background: rgba(17, 24, 39, 0.55);
    border-radius: 18px;
    padding: clamp(18px, 3vw, 28px);
    max-width: min(760px, 92%);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(6px);
}

.hero.hero-rental.hero-banner .hero-content h1,
.hero.hero-rental.hero-banner .hero-content p {
    color: #f3f4f6;
}

/* Fire safety hero: use the built-in image box (no extra box) */
.hero.hero-fire-safety.hero-banner .hero-overlay {
    background: transparent;
}

.hero.hero-fire-safety.hero-banner .hero-content {
    max-width: min(760px, 92%);
    padding: 0;
}

.hero.hero-fire-safety.hero-banner .hero-content h1,
.hero.hero-fire-safety.hero-banner .hero-content p {
    color: #1a3e72;
}

/* Industries Card - Uiverse Inspired */
.clients-page .industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.clients-page .industry-card {
    position: relative;
    min-height: 190px;
    border-radius: 16px;
    border: 1px solid transparent;
    padding: 18px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    transform-origin: center;
    transition: transform 0.9s ease-in-out, box-shadow 0.9s ease-in-out, border-color 0.9s ease-in-out;
}

.clients-page .industry-card:nth-child(1),
.clients-page .industry-card:nth-child(4) {
    background: linear-gradient(155deg, #e9f3ff 0%, #d5e9ff 100%);
    border-color: #b7d6f5;
}

.clients-page .industry-card:nth-child(2),
.clients-page .industry-card:nth-child(5) {
    background: linear-gradient(155deg, #fff3df 0%, #ffe8c4 100%);
    border-color: #f6d5a0;
}

.clients-page .industry-card:nth-child(3),
.clients-page .industry-card:nth-child(6) {
    background: linear-gradient(155deg, #fff0f8 0%, #ffdff0 100%);
    border-color: #f2bddf;
}

.clients-page .industry-card::before {
    content: "";
    width: 42px;
    height: 42px;
    border-radius: 50%;
    margin-bottom: 10px;
    background: radial-gradient(circle at 30% 30%, #ffffff, rgba(255, 255, 255, 0));
    box-shadow: inset 0 0 0 2px rgba(26, 62, 114, 0.18);
}

.clients-page .industry-card h3 {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 19px;
    line-height: 1.2;
}

.clients-page .industry-card p {
    margin: 0;
    color: #234a85;
    font-size: 13px;
    line-height: 1.5;
    max-width: 240px;
}

.clients-page .industry-card:hover {
    transform: scale(1.07) rotate(1turn);
    box-shadow: 0 18px 30px rgba(15, 23, 42, 0.2);
    z-index: 2;
}

/* Contact page: remove rotating circular animation */
.contact-page-main .about-image::before,
.contact-page-main .about-image::after,
.contact-page-main .contact-intro-card::after,
.contact-page-main .contact-form::before,
.contact-page-main .contact-form::after {
    animation: none !important;
}

.contact-page-main .contact-phone-links {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.contact-page-main .contact-phone-links a {
    color: #1A3E72;
    font-weight: 700;
    text-decoration: none;
}

.contact-page-main .contact-phone-divider {
    color: #94a3b8;
    font-weight: 700;
}
/* Industries palette aligned with site theme */
.clients-page .industry-card:nth-child(1),
.clients-page .industry-card:nth-child(4) {
    background: linear-gradient(155deg, #edf4fc 0%, #dbe9f8 100%);
    border-color: #bfd3ea;
}

.clients-page .industry-card:nth-child(2),
.clients-page .industry-card:nth-child(5) {
    background: linear-gradient(155deg, #fff5e6 0%, #ffe6b9 100%);
    border-color: #f4d38f;
}

.clients-page .industry-card:nth-child(3),
.clients-page .industry-card:nth-child(6) {
    background: linear-gradient(155deg, #eef7ff 0%, #d9ecfd 100%);
    border-color: #b7d9f4;
}

.clients-page .industry-card h3 {
    color: #1A3E72;
}

.clients-page .industry-card p {
    color: #355b8e;
}


/* Clients industry equal-height + svg icons */
.clients-page .industry-card::before {
    content: none;
}

.clients-page .industry-icon {
    width: 44px;
    height: 44px;
    color: #1A3E72;
    margin-bottom: 10px;
    padding: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    box-shadow: inset 0 0 0 1px rgba(26, 62, 114, 0.15);
}

.clients-page .industry-card h3 {
    min-height: 2.6em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.clients-page .industry-card p {
    min-height: 4.6em;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* Industries Hover Reveal */
.clients-page .industry-card {
    position: relative;
    min-height: 210px;
    justify-content: flex-start;
    padding-top: 26px;
}

.clients-page .industry-card .industry-icon,
.clients-page .industry-card h3 {
    transition: transform 0.55s ease, opacity 0.45s ease;
}

.clients-page .industry-card h3 {
    min-height: auto;
    margin-bottom: 0;
}

.clients-page .industry-card p {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 50%;
    min-height: 0;
    margin: 0;
    opacity: 0;
    transform: translateY(35%);
    transition: transform 0.55s ease, opacity 0.45s ease;
    -webkit-line-clamp: unset;
    text-align: center;
}

.clients-page .industry-card:hover .industry-icon,
.clients-page .industry-card:hover h3 {
    transform: translateY(-34px);
    opacity: 0;
}

.clients-page .industry-card:hover p {
    opacity: 1;
    transform: translateY(-50%);
}

@media (hover: none) {
    .clients-page .industry-card .industry-icon,
    .clients-page .industry-card h3 {
        transform: none;
        opacity: 1;
    }

    .clients-page .industry-card p {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 8px;
    }
}

/* Clients Hero About Style Override */
.clients-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/menpowerservice2.webp") center center/cover no-repeat;
    border-bottom: none;
    overflow: hidden;
}

.clients-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52)
}

.clients-hero-wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
}

.clients-hero h1,
.clients-hero p {
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

.clients-hero p {
    max-width: 760px;
}

.clients-tag {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(2px);
}

/* Stop rotate animation in industries cards */
.clients-page .industry-card:hover {
    transform: translateY(-6px) scale(1.03);
}

@media (max-width: 992px) {
    .clients-hero {
        min-height: 68vh;
        padding: 96px 16px 56px;
    }
}

@media (max-width: 640px) {
    .clients-hero {
        min-height: 62vh;
        padding: 90px 14px 46px;
    }

    .clients-hero h1 {
        font-size: clamp(30px, 8vw, 40px);
    }
}


/* Clients Final Hero + Industry Readability */
.clients-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url("../img/clientpage.webp") center center/cover no-repeat;
    border-bottom: none;
    overflow: hidden;
}

.clients-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.clients-hero-wrap {
    position: relative;
    z-index: 1;
    max-width: 1080px;
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    text-align: center;
}

.clients-hero h1,
.clients-hero p {
    color: #ffffff;
    margin-left: auto;
    margin-right: auto;
}

.clients-hero p {
    max-width: 760px;
}

.clients-tag {
    color: #ffffff;
    background: rgba(26, 62, 114, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.35);
}

.clients-page .industry-grid {
    gap: 18px;
}

.clients-page .industry-card {
    position: relative;
    min-height: 232px;
    padding: 16px;
    overflow: hidden;
    justify-content: flex-start;
}

.clients-page .industry-icon {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 44px;
    height: 44px;
    margin-bottom: 0;
    transition: transform 0.5s ease, opacity 0.45s ease;
}

.clients-page .industry-card h3 {
    position: absolute;
    top: 86px;
    left: 14px;
    right: 14px;
    margin: 0;
    min-height: auto;
    display: block;
    -webkit-line-clamp: unset;
    transition: transform 0.5s ease, opacity 0.45s ease;
}

.clients-page .industry-card p {
    position: absolute;
    left: 14px;
    right: 14px;
    top: 50%;
    margin: 0;
    opacity: 0;
    transform: translateY(28%);
    display: block;
    -webkit-line-clamp: unset;
    text-align: center;
    line-height: 1.55;
    color: #1f365d;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(26, 62, 114, 0.12);
    border-radius: 10px;
    padding: 10px 10px;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.12);
    transition: transform 0.5s ease, opacity 0.45s ease;
}

.clients-page .industry-card:hover .industry-icon,
.clients-page .industry-card:hover h3 {
    opacity: 0;
    transform: translateY(-32px);
}

.clients-page .industry-card:hover p {
    opacity: 1;
    transform: translateY(-50%);
}

.clients-page .industry-card:hover {
    transform: translateY(-6px) scale(1.02);
}

@media (max-width: 992px) {
    .clients-hero {
        min-height: 68vh;
        padding: 96px 16px 56px;
    }
}

@media (max-width: 640px) {
    .clients-hero {
        min-height: 62vh;
        padding: 90px 14px 46px;
    }

    .clients-page .industry-card {
        min-height: 250px;
    }
}

@media (hover: none) {
    .clients-page .industry-icon,
    .clients-page .industry-card h3 {
        position: static;
        opacity: 1;
        transform: none;
    }

    .clients-page .industry-card p {
        position: static;
        opacity: 1;
        transform: none;
        margin-top: 8px;
        background: transparent;
        border: 0;
        box-shadow: none;
        padding: 0;
    }
}

/* Industries Final Readability Fix */
.clients-page .industry-grid {
    align-items: stretch;
}

.clients-page .industry-card {
    min-height: 250px !important;
    padding: 18px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    text-align: center !important;
    overflow: hidden;
}

.clients-page .industry-card .industry-icon {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 10px !important;
}

.clients-page .industry-card h3 {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 0 8px !important;
    min-height: 2.6em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.clients-page .industry-card p {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
    color: #1f365d !important;
    line-height: 1.55 !important;
    min-height: 4.8em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

.clients-page .industry-card:hover {
    transform: translateY(-4px) scale(1.01) !important;
}

.clients-page .industry-card:hover .industry-icon,
.clients-page .industry-card:hover h3,
.clients-page .industry-card:hover p {
    transform: none !important;
    opacity: 1 !important;
}

/* Industries Theme Motion */
.clients-page .industry-grid {
    transition: 0.35s ease;
}

.clients-page .industry-card {
    border-radius: 14px;
    transition: transform 0.42s cubic-bezier(0.23, 1, 0.32, 1),
                filter 0.42s cubic-bezier(0.23, 1, 0.32, 1),
                box-shadow 0.42s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.42s cubic-bezier(0.23, 1, 0.32, 1) !important;
}

.clients-page .industry-card:nth-child(1),
.clients-page .industry-card:nth-child(4) {
    background: linear-gradient(150deg, #1A3E72 0%, #2f5f9e 100%) !important;
    border-color: #6BA6DD !important;
}

.clients-page .industry-card:nth-child(2),
.clients-page .industry-card:nth-child(5) {
    background: linear-gradient(150deg, #F7A72C 0%, #EFC44B 100%) !important;
    border-color: #F7A72C !important;
}

.clients-page .industry-card:nth-child(3),
.clients-page .industry-card:nth-child(6) {
    background: linear-gradient(150deg, #6BA6DD 0%, #1A3E72 100%) !important;
    border-color: #6BA6DD !important;
}

.clients-page .industry-card .industry-icon,
.clients-page .industry-card h3,
.clients-page .industry-card p {
    color: #ffffff !important;
}

.clients-page .industry-card .industry-icon {
    background: rgba(255, 255, 255, 0.16) !important;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.3) !important;
}

.clients-page .industry-grid:hover > .industry-card:not(:hover) {
    filter: blur(2px) saturate(0.85);
    transform: scale(0.96) !important;
    opacity: 0.82;
}

.clients-page .industry-card:hover {
    transform: scale(1.05) translateY(-6px) !important;
    box-shadow: 0 18px 32px rgba(15, 23, 42, 0.28) !important;
    z-index: 2;
}

@media (max-width: 900px) {
    .clients-page .industry-grid:hover > .industry-card:not(:hover) {
        filter: none;
        transform: none !important;
        opacity: 1;
    }

    .clients-page .industry-card:hover {
        transform: translateY(-4px) scale(1.01) !important;
    }
}

/* Why Cards Stack - Theme Motion */

.contact-page-main .contact-info-item {
    align-items: flex-start;
    flex-wrap: nowrap;
}

.contact-page-main .contact-info-item svg {
    margin-top: 2px;
}

.contact-page-main .contact-address-text {
    display: block;
    line-height: 1.5;
}

.services-menu .services-submenu a {
    white-space: nowrap;
}

/* Why Glass Cards - Uiverse Adapted */
.why-glass-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0;
    max-width: 980px;
    margin: 0 auto;
    padding: 10px 0;
}

.why-glass-wrap .why-glass {
    position: relative;
    width: 200px;
    min-height: 220px;
    padding: 20px 14px 56px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0.08));
    border: 1px solid rgba(255, 255, 255, 0.34);
    box-shadow: 0 20px 28px rgba(2, 6, 23, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: 0.5s;
    border-radius: 12px;
    margin: 0 -34px;
    backdrop-filter: blur(10px);
    transform: rotate(calc(var(--r) * 1deg));
    color: #ffffff;
    overflow: hidden;
}

.why-glass-wrap:hover .why-glass {
    transform: rotate(0deg);
    margin: 0 10px;
}

.why-glass-wrap .why-glass::before {
    content: attr(data-text);
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 42px;
    background: rgba(255, 255, 255, 0.16);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.2px;
}

.why-glass-wrap .why-glass svg {
    width: 44px;
    height: 44px;
    margin-bottom: 10px;
    stroke: currentColor;
}

.why-glass-wrap .why-glass p {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.96);
}

.why-glass-wrap .why-glass-1 {
    background: linear-gradient(145deg, rgba(26, 62, 114, 0.95), rgba(40, 84, 145, 0.9));
}

.why-glass-wrap .why-glass-2 {
    background: linear-gradient(145deg, rgba(247, 167, 44, 0.95), rgba(239, 196, 75, 0.9));
    color: #1A3E72;
}

.why-glass-wrap .why-glass-2::before,
.why-glass-wrap .why-glass-2 p {
    color: #1A3E72;
}

.why-glass-wrap .why-glass-3 {
    background: linear-gradient(145deg, rgba(107, 166, 221, 0.95), rgba(55, 117, 180, 0.9));
}

.why-glass-wrap .why-glass-4 {
    background: linear-gradient(145deg, rgba(32, 78, 136, 0.96), rgba(80, 142, 201, 0.92));
}

@media (max-width: 992px) {
    .why-glass-wrap {
        gap: 12px;
    }

    .why-glass-wrap .why-glass,
    .why-glass-wrap:hover .why-glass {
        margin: 0;
        transform: none;
        width: min(48%, 260px);
    }
}

@media (max-width: 640px) {
    .why-glass-wrap .why-glass,
    .why-glass-wrap:hover .why-glass {
        width: 100%;
        min-height: 190px;
    }
}

/* Home Hero Mobile CTA Fix */
.hero.hero-home-swap .hero-content .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 46px;
    padding: 12px 26px;
    border-radius: 10px;
    box-shadow: 0 10px 22px rgba(247, 167, 44, 0.32);
}

@media (max-width: 900px) {
    .hero.hero-home-swap {
        gap: 18px;
    }

    .hero.hero-home-swap .hero-content {
        padding-inline: 4px;
    }

    .hero.hero-home-swap .hero-content .btn-primary {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 640px) {
    .hero.hero-home-swap {
        padding: 96px 14px 52px;
    }

    .hero.hero-home-swap h1 {
        font-size: clamp(28px, 8.4vw, 38px);
        line-height: 1.15;
    }

    .hero.hero-home-swap p {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 14px;
    }

    .hero.hero-home-swap .hero-content .btn-primary {
        width: 100%;
        max-width: 280px;
        min-height: 48px;
        font-size: 15px;
        padding: 12px 18px;
    }
}

/* KPS Connect Glass + Tilt */

/* Contact Social Tilt Buttons */
.contact-social-wrap {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px dashed rgba(26, 62, 114, 0.22);
}

.contact-social-title {
    margin: 0 0 8px;
    color: #1A3E72;
    font-size: 16px;
    font-weight: 700;
}

.contact-social-parent {
    width: 100%;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.contact-social-child {
    width: 46px;
    height: 46px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transform-style: preserve-3d;
    transition: all 0.3s cubic-bezier(0.68, 0.85, 0.265, 1.85);
    border-radius: 10px;
    text-decoration: none;
    box-shadow: inset 1px 1px 2px rgba(255,255,255,0.75), 0 0 5px rgba(68, 68, 68, 0.2);
}

.contact-social-button {
    width: 100%;
    height: 100%;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    transition: transform 0.5s cubic-bezier(0.68, -0.85, 0.265, 1.55);
}

.contact-social-child:hover {
    background-color: #ffffff;
    transform: perspective(180px) rotateX(60deg) translateY(2px);
}

.contact-social-child:hover > .contact-social-button {
    transform: translate3d(0px, 15px, 20px) perspective(80px) rotateX(-60deg) translateY(2px) translateZ(10px);
}

.contact-social-1 { background: rgba(26, 62, 114, 0.18); color: #1A3E72; }
.contact-social-2 { background: rgba(107, 166, 221, 0.22); color: #1A3E72; }
.contact-social-3 { background: rgba(247, 167, 44, 0.22); color: #8a5300; }
.contact-social-4 { background: rgba(26, 62, 114, 0.22); color: #1A3E72; }
.contact-social-5 { background: rgba(239, 196, 75, 0.28); color: #7e5a00; }

.contact-social-1:hover { box-shadow: 0 10px 10px rgba(26, 62, 114, 0.45); }
.contact-social-2:hover { box-shadow: 0 10px 10px rgba(59, 130, 246, 0.35); }
.contact-social-3:hover { box-shadow: 0 10px 10px rgba(247, 167, 44, 0.4); }
.contact-social-4:hover { box-shadow: 0 10px 10px rgba(66, 103, 178, 0.35); }
.contact-social-5:hover { box-shadow: 0 10px 10px rgba(210, 32, 32, 0.35); }

/* Mobile overlap safety */
@media (max-width: 768px) {
    .hero,
    .hero1,
    .clients-hero,
    .hero.hero-home-swap {
        overflow: hidden;
    }

    .about-wrapper,
    .clients-hero-wrap,
    .contact-inline-fields,
    .services-grid,
    .industry-grid,
    .impact-bar {
        gap: 12px;
    }

    .contact-social-parent {
        justify-content: center;
    }

    .contact-social-child {
        width: 42px;
        height: 42px;
    }

    .contact-social-button {
        font-size: 12px;
    }
}

/* Contact + Mobile Final Polish */
.contact-page-main .contact-intro-card::after,
.contact-page-main .contact-form::before,
.contact-page-main .contact-form::after {
    animation: none !important;
}

.contact-page-main .contact-social-wrap {
    margin-top: 10px;
}

.contact-page-main .contact-social-parent {
    gap: 10px;
}

.contact-page-main .contact-social-child {
    width: 50px;
    height: 50px;
}

.contact-page-main .contact-social-button {
    font-size: 14px;
    line-height: 1;
}

@media (max-width: 768px) {
    .top-contact-inner {
        gap: 8px;
        flex-wrap: wrap;
    }

    .top-address {
        min-width: 100%;
    }

    .hero .hero-content,
    .hero1 .hero-content,
    .clients-hero .hero-content {
        padding-left: 8px;
        padding-right: 8px;
    }

    .hero .btn-primary,
    .hero1 .btn-primary,
    .clients-hero .btn-primary {
        width: 100%;
        max-width: 290px;
        white-space: normal;
        text-align: center;
        justify-content: center;
    }

    .contact-page-main .about-wrapper {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .contact-page-main .contact-inline-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .contact-detail-grid {
        grid-template-columns: 1fr;
    }

    .contact-page-main .contact-social-parent {
        justify-content: center;
    }

    .contact-page-main .contact-social-child {
        width: 44px;
        height: 44px;
    }

    .contact-page-main .contact-social-button {
        font-size: 12px;
    }
}

/* Contact Social SVG + Attractive Map */
.contact-social-button svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    display: block;
}

.contact-social-child {
    border: 1px solid rgba(26, 62, 114, 0.12);
}

.contact-social-5 {
    color: #c41212;
}

.map-theme {
    position: relative;
    isolation: isolate;
    background: #ffffff;
    overflow: hidden;
}

.map-theme::before,
.map-theme::after {
    display: none;
}

.map-theme::before {
    width: 340px;
    height: 340px;
    top: -140px;
    left: -80px;
    background: #ffffff;
}

.map-theme::after {
    width: 300px;
    height: 300px;
    right: -90px;
    bottom: -130px;
    background: radial-gradient(circle, rgba(247, 167, 44, 0.24), rgba(247, 167, 44, 0.02) 68%, transparent 74%);
}

.map-theme .container {
    position: relative;
    z-index: 1;
}

.map-theme .section-header h2 {
    color: #1A3E72;
}

.map-theme .section-header p {
    color: #42526b;
    font-weight: 500;
}

.map-wrapper {
    margin-top: 26px;
    border-radius: 20px;
    border: 1px solid #d7e4f5;
    background: linear-gradient(140deg, rgba(255,255,255,0.98), rgba(243,248,255,0.96));
    box-shadow: 0 24px 40px rgba(20, 42, 74, 0.14);
    padding: 10px;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.map-wrapper iframe {
    border-radius: 14px;
}

.map-wrapper:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 48px rgba(20, 42, 74, 0.2);
}

.map-fallback-link {
    margin-top: 14px;
}

.map-fallback-link a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, #1A3E72, #2f5f99);
    color: #ffffff;
    font-weight: 700;
    box-shadow: 0 10px 18px rgba(26, 62, 114, 0.28);
}

.map-fallback-link a:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 14px 24px rgba(26, 62, 114, 0.35);
}

@media (max-width: 768px) {
    .contact-social-button svg {
        width: 18px;
        height: 18px;
    }

    .map-wrapper {
        padding: 8px;
        border-radius: 16px;
    }

    .map-wrapper iframe {
        height: 320px;
        border-radius: 12px;
    }
}

/* Uniform Navbar + Uiverse Social Final */
.desktop-nav-uniform {
    gap: 8px !important;
    align-items: center !important;
}

.desktop-nav-uniform > .nav-link,
.desktop-nav-uniform > .services-menu > .services-link {
    display: inline-flex;
    align-items: center;
    height: 40px;
    min-width: 112px;
    text-align: center;
    justify-content: center;
    padding: 10px 12px;
    border-radius: 0;
    line-height: 1;
}

.desktop-nav-uniform > .services-menu {
    display: flex;
    align-items: center;
}

.desktop-nav-uniform > .services-menu > .services-link svg {
    margin-top: 0 !important;
    position: relative;
    top: 1px;
}

.contact-page-main .contact-social-parent {
    justify-content: flex-start;
    gap: 10px;
}

.contact-page-main .contact-social-child {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: inset 1px 1px 2px #fff, 0 0 5px #4442;
}

.contact-page-main .contact-social-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-page-main .contact-social-button svg {
    width: 20px;
    height: 20px;
    display: block;
}

.contact-page-main .contact-social-1 {
    background: rgba(30, 144, 255, 0.12);
    color: #1e90ff;
}

.contact-page-main .contact-social-2 {
    background: rgba(255, 0, 255, 0.1);
    color: #d100d1;
}

.contact-page-main .contact-social-3 {
    background: rgba(17, 24, 39, 0.12);
    color: #111827;
}

.contact-page-main .contact-social-4 {
    background: rgba(66, 103, 178, 0.14);
    color: #4267B2;
}

.contact-page-main .contact-social-5 {
    background: rgba(255, 0, 0, 0.12);
    color: #d00000;
}

.contact-page-main .contact-social-1:hover { box-shadow: 0 10px 10px #1e90ff55; }
.contact-page-main .contact-social-2:hover { box-shadow: 0 10px 10px #ff00ff50; }
.contact-page-main .contact-social-3:hover { box-shadow: 0 10px 10px #00000055; }
.contact-page-main .contact-social-4:hover { box-shadow: 0 10px 10px #4267b255; }
.contact-page-main .contact-social-5:hover { box-shadow: 0 10px 10px #ff000055; }

@media (max-width: 1024px) {
    .desktop-nav-uniform > .nav-link,
    .desktop-nav-uniform > .services-menu > .services-link {
        min-width: 98px;
        padding: 9px 10px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .main-navbar .max-w-7xl > .flex.justify-between.items-center.h-20 {
        height: 64px;
    }

    .site-main-content {
        padding-top: 112px !important;
    }

    #mobileNavMenu {
        max-height: calc(100vh - 118px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-nav-links a,
    .mobile-submenu-toggle,
    .mobile-submenu a {
        word-break: break-word;
        white-space: normal;
    }

    .hero,
    .hero1,
    .clients-hero,
    .hero.hero-home-swap {
        min-height: auto;
    }

    .hero .hero-content,
    .hero1 .hero-content,
    .clients-hero .hero-content,
    .hero.hero-home-swap .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero h1,
    .hero1 h1,
    .clients-hero h1,
    .hero.hero-home-swap h1 {
        word-break: break-word;
    }

    .contact-page-main .contact-social-parent {
        justify-content: center;
    }

    .contact-page-main .contact-social-child {
        width: 44px;
        height: 44px;
    }

    .contact-page-main .contact-social-button svg {
        width: 18px;
        height: 18px;
    }
}

/* Social icon correction: LinkedIn + Instagram pink */
.contact-page-main .contact-social-3 {
    background: rgba(10, 102, 194, 0.14);
    color: #0A66C2;
}

.contact-page-main .contact-social-3:hover {
    box-shadow: 0 10px 10px rgba(10, 102, 194, 0.35);
}

.contact-page-main .contact-social-2 svg {
    fill: #ff00ff !important;
}
/* Instagram icon visual fix */
.contact-page-main .contact-social-2 {
    background: linear-gradient(135deg, #f58529 0%, #dd2a7b 45%, #8134af 75%, #515bd4 100%) !important;
    color: #ffffff !important;
    border-color: rgba(129, 52, 175, 0.4) !important;
}

.contact-page-main .contact-social-2 svg {
    fill: currentColor !important;
}

.contact-page-main .contact-social-2:hover {
    box-shadow: 0 12px 16px rgba(129, 52, 175, 0.45) !important;
}

/* Font Awesome social icon support */

/* Home Testimonials Auto Slider (Uiverse style, theme cards preserved) */

@keyframes homeTestimonialRun {
    from { left: 100%; }
    to { left: calc(var(--width) * -1); }
}

/* Contact Follow Us: Instagram tone + hover icon color */
.contact-page-main .contact-social-2 {
    background: linear-gradient(135deg, #ffd4b1 0%, #ff9acb 45%, #c99be4 75%, #a8b5ff 100%) !important;
    color: #ffffff !important;
}

.contact-page-main .contact-social-2:hover {
    box-shadow: 0 12px 16px rgba(129, 52, 175, 0.28) !important;
}

/* Only icon becomes black when tile pops out on hover */
.contact-page-main .contact-social-child:hover > .contact-social-button,
.contact-page-main .contact-social-child:hover > .contact-social-button svg {
    color: #000000 !important;
    fill: #000000 !important;
}

/* Testimonials responsive-only polish */

/* Contact form micro touch-up */
.contact-page-main .contact-form input::placeholder,
.contact-page-main .contact-form textarea::placeholder {
    color: #64748b;
    opacity: 1;
    font-size: 14px;
}

.contact-page-main .contact-form select {
    color: #1f2937;
}

.contact-page-main .contact-form option[disabled] {
    color: #94a3b8;
}

/* Mobile final fixes: top gap, footer gap, hero CTA overlap */
@media (max-width: 768px) {
    html, body {
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: hidden;
    }

    .top-contact-strip {
        display: none !important;
    }

    .main-navbar {
        top: 0 !important;
    }

    .main-navbar .max-w-7xl > .flex.justify-between.items-center.h-20 {
        height: 68px !important;
    }

    .site-main-content {
        padding-top: 74px !important;
    }

    body {
        padding-bottom: 64px !important;
    }

    .mobile-contact-bar {
        display: grid !important;
    }

    .hero.hero-home-swap {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 92px 12px 36px;
        min-height: auto !important;
    }

    .hero.hero-home-swap .home-hero-visual {
        display: none !important;
    }

    .hero.hero-home-swap .hero-content {
        width: 100%;
        max-width: 100%;
        padding-inline: 0;
    }

    .hero.hero-home-swap .hero-content .btn-primary {
        width: 100%;
        max-width: 280px;
        margin: 12px auto 0;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        white-space: normal;
    }

    footer {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
}

/* Footer vertical SVG social */
.footer-social-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-social-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #d1d5db;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.footer-social-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.footer-social-item:hover {
    color: #F7A72C;
}

/* Mobile header-gap + footer-bottom polish */
@media (max-width: 768px) {
    .site-main-content {
        padding-top: 68px !important;
    }

    .hero,
    .hero1,
    .clients-hero {
        padding-top: 76px !important;
    }

    .hero.hero-home-swap {
        padding-top: 82px !important;
    }

    footer .border-t .max-w-7xl {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 10px;
        padding-top: 14px;
        padding-bottom: 14px;
    }

    footer .border-t .max-w-7xl p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    footer .border-t .max-w-7xl > div {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
    }

    footer .border-t .max-w-7xl > div a {
        font-size: 14px;
        line-height: 1.3;
    }

}

/* Footer compact columns (Pages + Our Services closer) */
.footer-main-grid {
    align-items: flex-start;
}

@media (min-width: 1024px) {
    .footer-main-grid {
        grid-template-columns: minmax(220px, 1.15fr) minmax(130px, 0.72fr) minmax(190px, 0.88fr) minmax(220px, 1fr) !important;
        column-gap: 16px !important;
    }

    .footer-main-grid > div:nth-child(2),
    .footer-main-grid > div:nth-child(3) {
        max-width: max-content;
    }
}

/* Email modal: enquiry-style + stronger animation */
.email-compose-content {
    border-top-color: #F7A72C !important;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.28);
    animation: emailModalPop 0.42s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.email-compose-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    background: linear-gradient(135deg, rgba(247, 167, 44, 0.14), rgba(26, 62, 114, 0.08));
    border-radius: 14px 14px 0 0;
    pointer-events: none;
}

.email-compose-content h3,
.email-compose-content p,
.email-compose-content form,
.email-compose-content .compose-close {
    position: relative;
    z-index: 1;
}

.email-compose-content .compose-submit {
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    color: #ffffff;
    box-shadow: 0 10px 20px rgba(247, 167, 44, 0.28);
}

.email-compose-content .compose-submit:hover {
    background: linear-gradient(135deg, #1A3E72, #274796);
    transform: translateY(-1px);
}

.compose-backdrop {
    animation: modalBackdropFade 0.35s ease;
}

@keyframes emailModalPop {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes modalBackdropFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Modal form premium touch-up (Enquiry + Send Email) */
.compose-content.inquiry-content {
    border: 1px solid #d9e2f2;
    border-top-width: 5px;
    border-top-color: #F7A72C;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
}

.compose-content.inquiry-content h3 {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.2px;
}

.compose-content.inquiry-content p {
    font-size: 14px;
    color: #4b5563;
    line-height: 1.55;
}

.compose-content.inquiry-content .compose-form {
    gap: 10px;
}

.compose-content.inquiry-content .compose-form label {
    font-size: 13px;
    font-weight: 700;
    color: #1A3E72;
    margin-top: 4px;
}

.compose-content.inquiry-content .compose-form input,
.compose-content.inquiry-content .compose-form textarea {
    border-radius: 12px;
    border: 1px solid #cfd9ea;
    background: #ffffff;
    padding: 12px 14px;
    font-size: 14px;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;
}

.compose-content.inquiry-content .compose-form input::placeholder,
.compose-content.inquiry-content .compose-form textarea::placeholder {
    color: #8a98ad;
}

.compose-content.inquiry-content .compose-form input:focus,
.compose-content.inquiry-content .compose-form textarea:focus {
    border-color: #1A3E72;
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.12);
    transform: translateY(-1px);
}

.compose-content.inquiry-content .compose-submit {
    margin-top: 12px;
    border-radius: 12px;
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.3px;
    min-height: 46px;
    box-shadow: 0 12px 20px rgba(247, 167, 44, 0.3);
}

.compose-content.inquiry-content .compose-submit:hover {
    background: linear-gradient(135deg, #1A3E72, #2f4f9f);
    box-shadow: 0 14px 24px rgba(26, 62, 114, 0.35);
    transform: translateY(-1px);
}

.compose-content.modal-open-pop {
    animation: modalPopStrong 0.45s cubic-bezier(0.19, 0.9, 0.22, 1);
}

@keyframes modalPopStrong {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.94);
    }
    60% {
        opacity: 1;
        transform: translateY(-2px) scale(1.01);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 640px) {
    .compose-content.inquiry-content {
        width: min(94vw, 520px);
        padding: 20px 16px;
        border-radius: 12px;
    }

    .compose-content.inquiry-content h3 {
        font-size: 24px;
    }
}

/* Send Email close button fix */
.email-compose-content .compose-close {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(26, 62, 114, 0.18);
    background: #ffffff;
    color: #1A3E72;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    z-index: 5;
    top: 10px;
    right: 10px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.email-compose-content .compose-close:hover {
    background: #1A3E72;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Home hero strong animated slide look */
.hero.hero-home-swap {
    position: relative;
    overflow: hidden;
}

.hero.hero-home-swap::before {
    content: "";
    position: absolute;
    inset: -20% -10% auto -10%;
    height: 180px;
    background: linear-gradient(110deg, rgba(247, 167, 44, 0.24), rgba(107, 166, 221, 0.15), rgba(247, 167, 44, 0.22));
    filter: blur(16px);
    animation: heroGlowSlide 8s linear infinite;
    z-index: 1;
    pointer-events: none;
}

.hero.hero-home-swap .hero-content {
    z-index: 3;
}

.hero.hero-home-swap .hero-content h1 {
    animation: heroTextSlideIn 0.75s ease both;
}

.hero.hero-home-swap .hero-content p {
    animation: heroTextSlideIn 0.85s ease both;
}

.hero.hero-home-swap .hero-content .btn-primary {
    animation: heroTextSlideIn 0.95s ease both;
}

.home-hero-visual {
    animation: heroVisualSlideIn 0.95s ease both;
}


@keyframes heroGlowSlide {
    0% { transform: translateX(-12%); }
    50% { transform: translateX(12%); }
    100% { transform: translateX(-12%); }
}

@keyframes heroTicker {
    from { transform: translateX(0); }
    to { transform: translateX(-45%); }
}

@keyframes heroTextSlideIn {
    from { opacity: 0; transform: translateX(-28px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroVisualSlideIn {
    from { opacity: 0; transform: translateX(38px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes heroVisualFloat {
    from { transform: translateY(0) scale(1.01); }
    to { transform: translateY(-8px) scale(1.03); }
}

/* Final modal close button corner fix */
.email-compose-content .compose-close {
    left: auto !important;
    right: 12px !important;
    top: 12px !important;
    z-index: 10 !important;
}

.email-compose-content h3 {
    padding-right: 46px;
}

/* Hero book effect (theme adaptation of provided book animation) */

/* Hero book showcase: 1 brand + 2 photo cards */

/* Hero visual replaced: themed cyber card with image buttons */
.home-hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px) {
    .home-hero-visual {
        display: none !important;
    }
}

/* Force Send Email close button to right corner */

.compose-close-enquiry {
    left: auto !important;
    right: 10px !important;
    top: 10px !important;
    transform: none !important;
    z-index: 20 !important;
}

/* Contact hero image */
.service-hero--contact {
    background-image: url("../img/Contact%20Us.png");
}

.service-hero--contact .service-hero__content,
.service-hero--contact h1,
.service-hero--contact p {
    color: #1a3e72;
}

@media (min-width: 769px) {
    .service-hero--contact .service-hero__content {
        width: min(760px, 92%);
        gap: 14px;
    }

    .service-hero--contact .service-hero__kicker {
        font-size: 12px;
        padding: 7px 16px;
    }

    .service-hero--contact h1 {
        font-size: clamp(34px, 3.4vw, 46px);
        line-height: 1.12;
    }

    .service-hero--contact p {
        max-width: 720px;
        font-size: clamp(16px, 1.45vw, 20px);
        line-height: 1.6;
    }
}

/* Hero banner: fit 6000x1250 PNGs without cropping */
.hero.hero-banner {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    min-height: 390px;
    padding: clamp(16px, 3vw, 36px) 16px;
}

/* Service hero rebuild */
.service-hero {
    position: relative;
    min-height: 285px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    color: #1a3e72;
    text-align: center;
    overflow: hidden;
}

.service-hero .hero-overlay {
    background: transparent;
}

.service-hero__content {
    width: min(680px, 92%);
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.service-hero__kicker {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(26, 62, 114, 0.25);
    background: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1a3e72;
}

.service-hero h1 {
    margin: 0;
    font-size: clamp(22px, 2.8vw, 34px);
    line-height: 1.2;
    color: #1a3e72;
    text-wrap: balance;
}

.service-hero p {
    margin: 0;
    font-size: clamp(12px, 1.4vw, 16px);
    line-height: 1.55;
    color: #1a3e72;
    max-width: 640px;
    text-wrap: balance;
}

.service-hero__actions {
    display: flex;
    justify-content: center;
    margin-top: 4px;
}

.service-hero__chips {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 10px 0 0;
    color: inherit;
}

.service-hero__chips li {
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 12px;
    letter-spacing: 0.02em;
}

.service-hero--industrial {
    background-image: url("../img/Industrial%20Manpower%20Service.png");
}

.service-hero--payroll {
    background-image: url("../img/Payroll%20%26%20Labour%20Compliance.png");
}

.service-hero--housekeeping {
    background-image: url("../img/House-keeping.png");
}

.service-hero--rental {
    background-image: url("../img/Rental\ Equipment\ Services.jpeg");
}

.service-hero--fire {
    background-image: url("../img/Fire%20Safety.png");
}

.service-hero--fire .hero-overlay {
    background: transparent;
}

/* Remove overlays from all hero sections */
.hero .hero-overlay {
    background: transparent !important;
}

.service-hero--fire .service-hero__content {
    color: #1a3e72;
}

.service-hero--fire .service-hero__kicker {
    color: #1a3e72;
    border-color: rgba(26, 62, 114, 0.25);
    background: rgba(255, 255, 255, 0.7);
}

.service-hero--fire .service-hero__chips li {
    background: rgba(255, 255, 255, 0.7);
    border-color: rgba(26, 62, 114, 0.2);
}

@media (max-width: 640px) {
    .service-hero {
        min-height: 320px;
    }
}

.hero.hero-banner .hero-content,
.hero.hero-banner .hero-mechanized-shell {
    width: min(960px, 100%);
    margin-left: auto;
    margin-right: auto;
    gap: 12px;
    color: #e5e7eb;
}

.hero.hero-banner h1 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.15;
    white-space: normal;
    text-align: center;
    color: #f3f4f6;
}

.hero.hero-banner p {
    font-size: clamp(14px, 1.6vw, 18px);
    line-height: 1.6;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.hero.hero-banner .hero-mechanized-actions {
    margin-top: 6px;
}

@media (max-width: 640px) {
    .hero.hero-banner {
        min-height: 240px;
        padding: 40px 16px;
    }

    .hero.hero-banner h1 {
        font-size: clamp(24px, 7vw, 30px);
    }
}

.site-main-content {
    padding-top: 124px !important;
    display: flex;
    flex-direction: column;
}

.site-main-content > .cta-theme {
    order: 999;
    margin-top: clamp(-18px, -1.4vw, -10px) !important;
    margin-bottom: clamp(24px, 2.8vw, 36px) !important;
}

.site-main-content > .about-cta-section {
    margin-top: clamp(-18px, -1.4vw, -10px) !important;
    margin-bottom: clamp(24px, 2.8vw, 36px) !important;
}

.site-main-content > .about-page > .about-cta-section {
    margin-top: clamp(-18px, -1.4vw, -10px) !important;
    margin-bottom: clamp(24px, 2.8vw, 36px) !important;
}

.site-main-content > .contact-cta {
    margin-top: clamp(26px, 3vw, 46px) !important;
    margin-bottom: clamp(52px, 5vw, 84px) !important;
}

.site-main-content > .hero:first-child,
.site-main-content > .hero1:first-child,
.site-main-content > .clients-hero:first-child,
.site-main-content > .home-banner-carousel:first-child {
    margin-top: 0 !important;
}

@media (max-width: 768px) {
    .site-main-content {
        padding-top: 0 !important;
    }

    .site-main-content > .hero:first-child,
    .site-main-content > .hero1:first-child,
    .site-main-content > .clients-hero:first-child,
    .site-main-content > .home-banner-carousel:first-child {
        margin-top: 112px !important;
    }
}

/* Top address clickable map link */
.top-address-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.25s ease, opacity 0.25s ease;
}

.top-address-link:hover {
    color: #F7A72C;
    opacity: 1;
}

/* Home hero strong animation refresh */
.hero.hero-home-swap {
    background-size: 112% !important;
    animation: homeHeroPan 14s ease-in-out infinite alternate;
}

.hero.hero-home-swap .hero-overlay {
    background: radial-gradient(circle at 18% 22%, rgba(239, 196, 75, 0.22), transparent 36%),
                linear-gradient(120deg, rgba(8, 20, 46, 0.74), rgba(8, 20, 46, 0.56));
}

.hero.hero-home-swap .hero-content {
    animation: homeHeroContentIn 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hero.hero-home-swap .hero-content h1 {
    text-shadow: 0 10px 24px rgba(2, 8, 23, 0.45);
}

.hero.hero-home-swap .hero-content .btn-primary {
    box-shadow: 0 14px 28px rgba(247, 167, 44, 0.35);
    animation: homeHeroBtnPulse 2.4s ease-in-out infinite;
}

.home-hero-visual {
    position: relative;
    animation: homeHeroVisualIn 0.95s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-hero-visual::before {
    content: "";
    position: absolute;
    inset: -12px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(107, 166, 221, 0.28), rgba(247, 167, 44, 0.2));
    filter: blur(16px);
    z-index: -1;
}

.home-hero-visual img {
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.22);
}

@keyframes homeHeroPan {
    from { background-position: center top; }
    to { background-position: center 12%; }
}

@keyframes homeHeroContentIn {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes homeHeroVisualIn {
    from { opacity: 0; transform: translateX(30px) scale(0.98); }
    to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes homeHeroFloat {
    from { transform: translateY(0); }
    to { transform: translateY(-8px); }
}

@keyframes homeHeroBtnPulse {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

@media (max-width: 768px) {
    .hero.hero-home-swap {
        animation: none;
        background-size: cover !important;
    }

    .hero.hero-home-swap .hero-content .btn-primary {
        animation: none;
    }
}

/* Final mobile header + menu alignment override */
@media (max-width: 768px) {
    .top-contact-strip {
        display: block !important;
    }

    .top-contact-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 6px !important;
        justify-items: center;
        text-align: center;
        padding: 8px 10px !important;
    }

    .top-address {
        width: 100%;
        justify-content: center !important;
    }

    .top-address-link {
        display: inline-block;
        max-width: 100%;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: center;
        line-height: 1.35;
    }

    .top-actions {
        width: 100%;
        display: flex !important;
        justify-content: center !important;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
    }

    #openComposeEmailBtn,
    .top-action-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        gap: 6px;
        min-height: 30px;
        padding: 3px 8px;
        font-size: 12px;
        line-height: 1.2;
        white-space: nowrap;
    }

    #mobileNavMenu,
    .mobile-nav-links {
        padding: 10px !important;
    }

    .mobile-nav-links a,
    .mobile-submenu-toggle,
    .mobile-submenu a {
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 0 auto 24px !important;
    }

    .mobile-submenu-toggle {
        display: flex !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .mobile-submenu-arrow {
        position: static !important;
        transform: none !important;
        margin-left: 8px;
    }
}

/* Final mobile dropdown polish */
@media (max-width: 768px) {
    #mobileNavMenu.mobile-nav-links {
        background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
        border: 1px solid #dbe4f0;
        border-top: 0;
        border-radius: 0 0 16px 16px;
        box-shadow: 0 18px 30px rgba(15, 23, 42, 0.14);
        padding: 12px !important;
        gap: 8px !important;
    }

    #mobileNavMenu.mobile-nav-links a,
    #mobileNavMenu .mobile-submenu-toggle,
    #mobileNavMenu .mobile-submenu a {
        width: 100%;
        min-height: 52px;
        border-radius: 12px;
        border: 1px solid #d6dfed;
        background: #ffffff;
        font-size: 14px;
        font-weight: 700;
        color: #1A3E72;
        letter-spacing: 0.2px;
        box-shadow: 0 4px 10px rgba(15, 23, 42, 0.06);
        display: flex;
        align-items: center;
        justify-content: flex-start;
        text-align: left;
        padding: 12px 16px;
        white-space: normal;
        line-height: 1.45;
        transition: transform 0.2s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
    }

    #mobileNavMenu.mobile-nav-links a:hover,
    #mobileNavMenu .mobile-submenu-toggle:hover,
    #mobileNavMenu .mobile-submenu-toggle.active,
    #mobileNavMenu.mobile-nav-links a.active {
        background: #1A3E72;
        color: #ffffff !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 18px rgba(26, 62, 114, 0.28);
    }

    #mobileNavMenu .mobile-submenu {
        padding: 6px 0 2px;
        gap: 8px;
    }
}

/* Final modal theme unified: Send Email + Enquiry */
#composeContent.compose-content.inquiry-content,
#inquiryContent.compose-content.inquiry-content {
    border: 1px solid #d9e2f2 !important;
    border-top: 5px solid #F7A72C !important;
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%) !important;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.22) !important;
}

#composeContent.compose-content.inquiry-content::before,
#inquiryContent.compose-content.inquiry-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    border-radius: 14px 14px 0 0;
    background: linear-gradient(135deg, rgba(247, 167, 44, 0.14), rgba(26, 62, 114, 0.08));
    pointer-events: none;
}

#composeContent.compose-content.inquiry-content h3,
#inquiryContent.compose-content.inquiry-content h3,
#composeContent.compose-content.inquiry-content p,
#inquiryContent.compose-content.inquiry-content p,
#composeContent.compose-content.inquiry-content form,
#inquiryContent.compose-content.inquiry-content form {
    position: relative;
    z-index: 1;
}

#composeContent.compose-content.inquiry-content .compose-submit,
#inquiryContent.compose-content.inquiry-content .compose-submit {
    border-radius: 12px;
    background: linear-gradient(135deg, #F7A72C, #EFC44B) !important;
    color: #ffffff;
    font-weight: 800;
    letter-spacing: 0.3px;
    min-height: 46px;
    box-shadow: 0 12px 20px rgba(247, 167, 44, 0.3);
}

#composeContent.compose-content.inquiry-content .compose-submit:hover,
#inquiryContent.compose-content.inquiry-content .compose-submit:hover {
    background: linear-gradient(135deg, #1A3E72, #2f4f9f) !important;
    box-shadow: 0 14px 24px rgba(26, 62, 114, 0.35);
    transform: translateY(-1px);
}

#composeContent.compose-content.inquiry-content .compose-close,
#inquiryContent.compose-content.inquiry-content .compose-close {
    left: auto !important;
    right: 10px !important;
    top: 10px !important;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(26, 62, 114, 0.18);
    background: #ffffff;
    color: #1A3E72;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12);
}

#composeContent.compose-content.inquiry-content .compose-close:hover,
#inquiryContent.compose-content.inquiry-content .compose-close:hover {
    background: #1A3E72;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Send Email close button: cleaner look */
#composeContent.compose-content.inquiry-content .compose-close {
    position: absolute !important;
    left: auto !important;
    right: 10px !important;
    top: 10px !important;
    z-index: 30 !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(26, 62, 114, 0.18) !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.12) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    color: #1A3E72 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#composeContent.compose-content.inquiry-content .compose-close:hover {
    background: #1A3E72 !important;
    color: #ffffff !important;
    transform: rotate(90deg) !important;
}

.clients-page .cta-theme {
    background: #f3f4f6  !important;
}

/* Home testimonials compact spacing */

/* Final mobile hero visibility fix (all pages) */
@media (max-width: 768px) {
    .site-main-content {
        padding-top: 0 !important;
    }

    .hero:not(.hero-home-swap),
    .hero1,
    .clients-hero {
        min-height: 56vh !important;
        max-height: none !important;
        height: auto !important;
        padding: 60px 14px 44px !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
    }

    .hero:not(.hero-home-swap) .hero-content,
    .hero1 .hero1-content,
    .clients-hero .clients-hero-wrap {
        max-width: 100% !important;
        width: 100% !important;
        padding-inline: 6px !important;
        text-align: center !important;
    }

    .hero:not(.hero-home-swap) h1,
    .hero1 h1,
    .clients-hero h1 {
        font-size: clamp(28px, 8vw, 38px) !important;
        line-height: 1.2 !important;
    }

    .hero:not(.hero-home-swap) p,
    .hero1 p,
    .clients-hero p {
        font-size: 15px !important;
        line-height: 1.55 !important;
    }

    .hero:not(.hero-home-swap) .btn-primary,
    .hero1 .btn-primary,
    .clients-hero .btn-primary {
        max-width: 290px !important;
        width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Added gallery/photo card styles for newly inserted images */
.home-industry-photo {
    width: 100%;
    aspect-ratio: 1 / 0.92;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
    background: #eef2f7;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.home-industry-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    transition: transform 0.35s ease;
}

.home-industry-photo::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 39, 71, 0.05) 0%, rgba(15, 39, 71, 0.2) 100%);
    pointer-events: none;
}

.home-industry-photo::before {
    content: "";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.42);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(3px);
    pointer-events: none;
}

.home-industry-card:hover .home-industry-photo img {
    transform: scale(1.06);
}

.kps-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.kps-photo-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.kps-photo-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.service-main-photo {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
    background: #fff;
}

.service-main-photo img {
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center;
    border-radius: 24px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 28px 70px rgba(12, 18, 32, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    position: relative;
    isolation: isolate;
}

.service-gallery-band .kps-photo-card img {
    height: 250px;
    object-fit: cover;
    object-position: center;
}

.compliance-card-text {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 72px;
}

.service-split-section .about-wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    align-items: stretch;
    gap: 34px;
}

.service-tone-white {
    background: #ffffff !important;
}

.service-tone-gray {
    background: #f3f4f6 !important;
}

.service-split-section .about-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-split-section .service-main-photo {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    justify-self: center;
    align-self: center;
    border-radius: 28px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 34px 80px rgba(12, 18, 32, 0.28);
    background: radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.06), transparent 32%),
                radial-gradient(circle at 76% 72%, rgba(247, 167, 44, 0.08), transparent 38%),
                #0f1a2d;
    position: relative;
}

.service-split-section .service-main-photo::before,
.service-split-section .service-main-photo::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    pointer-events: none;
    z-index: 1;
}

.service-split-section .service-main-photo img {
    width: 100%;
    max-width: 640px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    object-position: center center;
    border-radius: 24px;
}

.service-split-section .service-main-photo:hover img {
    transform: none !important;
    box-shadow: 0 28px 60px rgba(12, 18, 32, 0.32);
}

@media (max-width: 768px) {
    .scope-tile.wide {
        grid-column: span 1;
    }
}

.kps-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 992px) {
    .about-impact-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-brand-head {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-brand-slide {
        flex-basis: calc((100% - 24px) / 2);
    }

    .about-purpose-intro,
    .about-compliance-highlight {
        grid-template-columns: 1fr;
    }

    .home-industry-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-industry-card {
        grid-column: auto;
    }


    .home-compliance-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-strength-grid,
    .about-brand-grid,
    .about-purpose-grid,
    .about-compliance-layout {
        grid-template-columns: 1fr 1fr;
    }

    .about-compliance-layout {
        grid-template-columns: 1fr;
    }

    .home-problem-grid,
    .home-mini-grid,
    .home-development-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-solution-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-compliance-section .home-mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .kps-photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .about-impact-strip {
        margin-top: -24px;
    }

    .about-purpose-shell,
    .about-compliance-shell {
        padding: 18px;
        border-radius: 20px;
    }

    .about-purpose-intro,
    .about-compliance-highlight {
        padding: 16px;
        border-radius: 18px;
    }

    .home-industry-grid {
        grid-template-columns: 1fr;
    }

    .home-industry-card {
        border-radius: 18px;
    }

    .home-industry-photo {
        border-radius: 18px 18px 0 0;
    }

    .home-compliance-grid {
        grid-template-columns: 1fr;
    }

    .home-compliance-card {
        padding: 20px 18px;
        border-radius: 18px;
    }

    .about-impact-grid {
        grid-template-columns: 1fr;
    }

    .about-image-badge {
        right: 12px;
        left: 12px;
        bottom: 12px;
        max-width: none;
    }

    .about-intro-points span {
        width: 100%;
        justify-content: center;
    }

    .about-brand-shell {
        padding: 18px;
        border-radius: 20px;
    }

    .about-brand-carousel {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .about-brand-nav {
        display: none;
    }

    .about-brand-slider-track {
        gap: 14px;
    }

    .about-brand-slide {
        flex-basis: 100%;
        gap: 10px;
    }

    .about-brand-logo {
        min-height: 140px;
        padding: 18px;
        border-radius: 18px;
    }

    .about-strength-grid,
    .about-brand-grid,
    .about-purpose-grid {
        grid-template-columns: 1fr;
    }

    .about-strength-card,
    .about-purpose-card,
    .about-compliance-copy,
    .about-compliance-panel,
    .about-brand-logo {
        border-radius: 18px;
    }

    .about-strength-card,
    .about-purpose-card,
    .about-compliance-copy,
    .about-compliance-panel {
        padding: 22px;
    }

    .about-strength-summary {
        padding: 20px;
        font-size: 16px;
    }

    .home-trust-strip p {
        font-size: 13px;
        letter-spacing: 0.03em;
    }

    .home-section-kicker {
        font-size: 11px;
        letter-spacing: 0.1em;
        padding: 6px 12px;
    }

    .home-problem-grid,
    .home-mini-grid,
    .home-development-grid {
        grid-template-columns: 1fr;
    }

    .home-problem-card,
    .home-mini-card,
    .home-development-card {
        padding: 20px;
    }

    .home-solution-banner {
        padding: 24px 20px;
    }

    .home-solution-banner p {
        font-size: 17px;
    }

    .home-chip-grid {
        gap: 12px;
    }

    .home-chip {
        width: 100%;
        border-radius: 18px;
        min-height: 52px;
        padding: 12px 16px;
    }

    .home-industry-photo {
        height: 140px;
    }

    .kps-photo-grid {
        grid-template-columns: 1fr;
    }

    .kps-photo-card img {
        height: 200px;
    }

    .service-main-photo img {
        height: 260px;
    }

    .service-gallery-band .kps-photo-card img {
        height: 220px;
    }
}

@media (max-width: 992px) {
    .service-split-section .about-wrapper {
        grid-template-columns: 1fr;
    }

    .service-split-section .service-main-photo img {
        min-height: 300px;
        max-height: 360px;
        height: 340px;
    }
}

/* Home testimonials v2 */
.home-testimonials-v2 {
    background:
        radial-gradient(circle at 8% 14%, rgba(26, 62, 114, 0.16), transparent 34%),
        radial-gradient(circle at 90% 84%, rgba(247, 167, 44, 0.24), transparent 40%),
        linear-gradient(180deg, #f6f9ff 0%, #eef4ff 100%);
}

.home-testimonials-v2-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.home-testimonials-v2-card {
    position: relative;
    padding: 22px;
    border-radius: 18px;
    background: linear-gradient(160deg, #ffffff 0%, #f5f9ff 100%);
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.home-testimonials-v2-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 88px;
    height: 5px;
    background: linear-gradient(90deg, #1A3E72, #F7A72C);
    border-radius: 18px 18px 6px 0;
}

.home-testimonials-v2-card::after {
    content: "";
    position: absolute;
    right: -28px;
    top: -28px;
    width: 88px;
    height: 88px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(247, 167, 44, 0.22), transparent 68%);
    pointer-events: none;
}

.home-testimonials-v2-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.18);
    border-color: rgba(247, 167, 44, 0.42);
}

.home-testimonials-v2-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.home-testimonials-v2-head img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(26, 62, 114, 0.18);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.16);
}

.home-testimonials-v2-head h4 {
    margin: 0;
    font-size: 17px;
    color: #1A3E72;
    line-height: 1.2;
}

.home-testimonials-v2-stars {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 10px;
    color: #f59e0b;
}

.home-testimonials-v2-stars svg {
    width: 15px;
    height: 15px;
    fill: currentColor;
    flex: 0 0 auto;
}

.home-testimonials-v2-card blockquote {
    margin: 0;
    color: #1e293b;
    font-size: 14px;
    line-height: 1.65;
    font-weight: 500;
}

.home-testimonials-v2-card-featured {
    background: linear-gradient(150deg, #1A3E72 0%, #264c8d 100%);
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 18px 40px rgba(26, 62, 114, 0.38);
}

.home-testimonials-v2-card-featured::before {
    background: linear-gradient(90deg, #F7A72C, #EFC44B);
}

.home-testimonials-v2-card-featured .home-testimonials-v2-head h4,
.home-testimonials-v2-card-featured blockquote {
    color: #ffffff;
}

.home-testimonials-v2-card-featured .home-testimonials-v2-head img {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: 0 10px 18px rgba(2, 6, 23, 0.3);
}

.home-testimonials-v2-card-featured .home-testimonials-v2-stars {
    color: #ffd166;
}

@media (max-width: 992px) {
    .home-testimonials-v2-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .home-testimonials-v2-grid {
        grid-template-columns: 1fr;
    }

    .home-testimonials-v2-card {
        padding: 16px;
        border-radius: 16px;
    }
}

/* Home Testimonials - Uiverse inspired cards */

/* Home testimonials 3D carousel - Uiverse inspired */
@keyframes autoRun3d {
  from {
    transform: perspective(1000px) rotateX(-8deg) rotateY(-360deg);
  }
  to {
    transform: perspective(1000px) rotateX(-8deg) rotateY(0deg);
  }
}

@keyframes animateBrightness {
  10% { filter: brightness(1); }
  50% { filter: brightness(0.45); }
  90% { filter: brightness(1); }
}

/* Services visuals enhancement (all service pages) */
.service-gallery-band {
    position: relative;
    overflow: hidden;
}

.service-gallery-band::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 12% 14%, rgba(26, 62, 114, 0.1), transparent 36%),
        radial-gradient(circle at 88% 84%, rgba(247, 167, 44, 0.18), transparent 40%);
    pointer-events: none;
}

.service-gallery-band .container {
    position: relative;
    z-index: 1;
}

.service-gallery-band .kps-photo-grid {
    gap: 16px;
    margin-top: 14px;
}

.service-gallery-band .kps-photo-card {
    position: relative;
    border-radius: 16px;
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.12);
    overflow: hidden;
    transform: translateY(0);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.service-gallery-band .kps-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 52%, rgba(15, 23, 42, 0.36) 100%);
    opacity: 0.75;
    pointer-events: none;
    z-index: 1;
}

.service-gallery-band .kps-photo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid rgba(247, 167, 44, 0.0);
    transition: border-color 0.35s ease;
    pointer-events: none;
    z-index: 2;
}

.service-gallery-band .kps-photo-card img {
    height: 260px;
    transition: transform 0.45s ease;
}

.service-gallery-band .kps-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 24px 44px rgba(15, 23, 42, 0.2);
    border-color: rgba(26, 62, 114, 0.3);
}

.service-gallery-band .kps-photo-card:hover::after {
    border-color: rgba(247, 167, 44, 0.8);
}

.service-gallery-band .kps-photo-card:hover img {
    transform: scale(1.08);
}

.service-main-photo img,
.service-split-section .service-main-photo img {
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.14);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.service-split-section .service-main-photo:hover img {
    transform: translateY(-6px) scale(1.015) !important;
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.2) !important;
}

@media (max-width: 640px) {
    .service-gallery-band .kps-photo-grid {
        gap: 12px;
    }

    .service-gallery-band .kps-photo-card img {
        height: 220px;
    }
}



.about-team-moments-grid {
    gap: 18px;
}

.about-team-moments-band .kps-photo-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(26, 62, 114, 0.16);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.about-team-moments-band .kps-photo-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 48%, rgba(15, 23, 42, 0.45) 100%);
    z-index: 1;
    pointer-events: none;
}

.about-team-moments-band .kps-photo-card img {
    height: 260px;
    transition: transform 0.5s ease;
}

.about-team-moments-band .kps-photo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.2);
    border-color: rgba(247, 167, 44, 0.6);
}

.about-team-moments-band .kps-photo-card:hover img {
    transform: scale(1.08);
}

@media (max-width: 640px) {
    .about-team-moments-band .kps-photo-card img {
        height: 220px;
    }

    .client-grid-fallback {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .client-grid-fallback .client-logo-card {
        min-height: 96px;
        padding: 12px;
        border-radius: 12px;
    }

    .client-grid-fallback .client-logo-card img {
        max-width: 110px;
    }
}

@media (max-width: 420px) {
    .client-grid-fallback {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .hr-about-image {
        max-width: 100%;
    }

    .hr-about-image img {
        width: 100%;
        max-width: none;
        height: clamp(280px, 58vw, 420px);
        object-fit: cover;
        object-position: center;
    }
}

@media (max-width: 540px) {
    .hr-about-image img {
        height: clamp(260px, 70vw, 340px);
    }
}

@media (max-width: 768px) {
    .clients-page .industry-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .clients-page .industry-card {
        min-height: auto !important;
        padding: 16px 14px !important;
        border-radius: 12px !important;
        transform: none !important;
    }

    .clients-page .industry-card .industry-icon {
        width: 38px !important;
        height: 38px !important;
        margin-bottom: 8px !important;
    }

    .clients-page .industry-card h3 {
        font-size: 18px !important;
        min-height: auto !important;
        -webkit-line-clamp: unset !important;
    }

    .clients-page .industry-card p {
        font-size: 13px !important;
        min-height: auto !important;
        -webkit-line-clamp: unset !important;
    }

    .clients-page .industry-grid:hover > .industry-card:not(:hover) {
        filter: none !important;
        transform: none !important;
        opacity: 1 !important;
    }

    .clients-page .industry-card:hover {
        transform: none !important;
    }
}

/* Restored lightweight classes after CSS cleanup */
.clients-theme {
    background: #f3f4f6;
}

.brand-gallery {
    position: relative;
    width: 100%;
    min-height: 480px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.06), transparent 28%),
                radial-gradient(circle at 80% 60%, rgba(247, 167, 44, 0.08), transparent 32%),
                #0b1220;
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 34px rgba(12, 18, 32, 0.28);
}

.brand-cards {
    position: absolute;
    width: 14rem;
    height: 18rem;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    margin: 0;
    list-style: none;
    pointer-events: none;
}

.brand-cards li {
    width: 14rem;
    aspect-ratio: 9/16;
    position: absolute;
    top: 0;
    left: 0;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 14px;
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.18);
    background-color: rgba(255, 255, 255, 0.04);
    animation: brandFloat 14s linear infinite;
    opacity: 0.9;
}

.brand-gallery:not(.gsap-enabled) .brand-cards li {
    opacity: 1;
    transform: translate(-50%, -50%);
    animation: none;
}

.brand-actions {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.brand-actions button {
    background: linear-gradient(135deg, #F7A72C, #EFC44B);
    border: none;
    color: #0c1a33;
    font-weight: 700;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 12px 26px rgba(247, 167, 44, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-actions button:hover {
    background: linear-gradient(135deg, #ffd27a, #f7a72c);
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(247, 167, 44, 0.38);
}

.brand-drag-proxy {
    visibility: hidden;
    position: absolute;
}

@keyframes brandFloat {
    0% { transform: translate(-50%, -50%) translateX(220%) scale(0.9); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translate(-50%, -50%) translateX(-50%) scale(1); opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translate(-50%, -50%) translateX(-220%) scale(0.9); opacity: 0; }
}

.gsap-enabled .brand-cards li {
    animation: none;
}

.compliance-card-title {
    margin-top: 10px;
    margin-bottom: 6px;
}

.contact-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.contact-anim-info,
.contact-anim-form-wrap,
.contact-anim-form,
.contact-anim-map,
.contact-anim-map-head {
    animation: fadeInUp 0.6s ease both;
}

.address-item {
    align-items: flex-start;
}

.alert {
    margin: 8px 0 12px;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    border: 1px solid transparent;
}

.alert.success {
    color: #166534;
    background: #ecfdf3;
    border-color: #86efac;
}

.alert.error {
    color: #991b1b;
    background: #fef2f2;
    border-color: #fca5a5;
}


\n.home-dev-node{display:none;}
/* People & Safety timeline override (alternating gradient steps) */
.home-development-layout{grid-template-columns:1fr;gap:16px;}
.home-development-header{text-align:center;}
.home-development-header .underline{margin-left:auto;margin-right:auto;}
.home-dev-node{display:none!important;}
.home-dev-timeline{list-style:none;margin:20px auto 0;padding:0;display:grid;gap:0;max-width:760px;counter-reset:devstep;}
.home-dev-item{position:relative;padding:30px 32px;border-top:3px solid;border-image:linear-gradient(to right,#1A3E72 0%,#F7A72C 100%) 1;background:#fff;}
.home-dev-item+.home-dev-item{border-top:none;}
.home-dev-item::before{content:counter(devstep);counter-increment:devstep;position:absolute;top:12px;width:34px;height:34px;border-radius:50%;background:linear-gradient(135deg,#1A3E72,#274d87);color:#fff;display:inline-flex;align-items:center;justify-content:center;font-weight:800;box-shadow:0 10px 18px rgba(26,62,114,0.18);}
.home-dev-item:nth-child(odd){border-right:3px solid;border-image:linear-gradient(to bottom,#1A3E72 0%,#F7A72C 100%) 1;padding-left:0;padding-right:32px;}
.home-dev-item:nth-child(odd)::before{left:100%;margin-left:-17px;}
.home-dev-item:nth-child(even){border-left:3px solid;border-image:linear-gradient(to bottom,#F7A72C 0%,#1A3E72 100%) 1;padding-right:0;padding-left:32px;}
.home-dev-item:nth-child(even)::before{right:100%;margin-right:-17px;}
.home-dev-copy h3{margin:0 0 8px;font-size:20px;line-height:1.3;color:#1A3E72;}
.home-dev-copy p{margin:6px 0 0;color:#4b5563;line-height:1.7;}
@media(max-width:640px){.home-dev-item{padding:24px 20px;} .home-dev-item:nth-child(odd),.home-dev-item:nth-child(even){padding-left:20px;padding-right:20px;border-left:3px solid;border-right:0;border-image:linear-gradient(to bottom,#F7A72C 0%,#1A3E72 100%) 1;} .home-dev-item::before{left:auto;right:100%;margin-right:-17px;}}
/* Restore People & Safety timeline (original stacked with vertical line) */
.home-dev-timeline{list-style:none;margin:10px 0 0;padding:0;position:relative;display:grid;gap:0;}
.home-dev-timeline::before{content:"";position:absolute;left:22px;top:10px;bottom:10px;width:2px;background:linear-gradient(180deg, rgba(26,62,114,0.4), rgba(247,167,44,0.35));border-radius:999px;opacity:0.6;}
.home-dev-item{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;padding:14px 0;}
.home-dev-item + .home-dev-item{border-top:1px dashed rgba(26,62,114,0.14);}
.home-dev-node{width:46px;height:46px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;color:#ffffff;background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 46%), linear-gradient(135deg, #1A3E72, #274d87);box-shadow:0 14px 28px rgba(26,62,114,0.18);position:relative;z-index:1;}
.home-dev-node svg{width:22px;height:22px;}
.home-dev-copy h3{margin:0;font-size:20px;line-height:1.25;color:#1A3E72;}
.home-dev-copy p{margin:6px 0 0;color:#4b5563;line-height:1.7;}
/* Revert People & Safety layout to original 2-column with vertical timeline */
.home-development-layout{grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);gap:28px;align-items:start;margin-top:18px;}
.home-development-header{text-align:left;}
.home-development-header .underline{margin-left:0;margin-right:auto;}
.home-development-visual{display:block;position:sticky;top:110px;border-radius:28px 28px 88px 28px;overflow:hidden;box-shadow:0 26px 70px rgba(12,18,32,0.16);border:1px solid rgba(26,62,114,0.12);background:radial-gradient(circle at 18% 18%, rgba(247, 167, 44, 0.12), transparent 40%),linear-gradient(135deg, #0f2747, #1A3E72);}

.home-dev-timeline{list-style:none;margin:10px 0 0;padding:0;position:relative;display:grid;gap:0;}
.home-dev-timeline::before{content:"";position:absolute;left:22px;top:10px;bottom:10px;width:2px;background:linear-gradient(180deg, rgba(26,62,114,0.4), rgba(247,167,44,0.35));border-radius:999px;opacity:0.6;}
.home-dev-item{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;padding:14px 0;}
.home-dev-item + .home-dev-item{border-top:1px dashed rgba(26,62,114,0.14);}
.home-dev-node{width:46px;height:46px;border-radius:999px;display:inline-flex !important;align-items:center;justify-content:center;color:#ffffff;background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 46%),linear-gradient(135deg, #1A3E72, #274d87);box-shadow:0 14px 28px rgba(26,62,114,0.18);position:relative;z-index:1;}
.home-dev-node svg{width:22px;height:22px;}
.home-dev-copy h3{margin:0;font-size:20px;line-height:1.25;color:#1A3E72;}
.home-dev-copy p{margin:6px 0 0;color:#4b5563;line-height:1.7;}
/* Restore original People & Safety timeline layout */
.home-development-layout{grid-template-columns:minmax(0,0.92fr) minmax(0,1.08fr);gap:18px;align-items:start;margin-top:18px!important;}
.home-development-header{text-align:left!important;}
.home-development-header .underline{margin-left:0!important;margin-right:auto!important;}
.home-development-visual{display:block!important;position:sticky;top:110px;border-radius:28px 28px 88px 28px;overflow:hidden;box-shadow:0 26px 70px rgba(12,18,32,0.16);border:1px solid rgba(26,62,114,0.12);background:radial-gradient(circle at 18% 18%, rgba(247, 167, 44, 0.12), transparent 40%),linear-gradient(135deg, #0f2747, #1A3E72);} 
.home-dev-timeline{list-style:none;margin:10px 0 0;padding:0;position:relative;display:grid;gap:0;counter-reset:devstep;}
.home-dev-timeline::before{content:"";position:absolute;left:22px;top:10px;bottom:10px;width:2px;background:linear-gradient(180deg, rgba(26,62,114,0.4), rgba(247,167,44,0.35));border-radius:999px;opacity:0.6;}
.home-dev-item{display:grid;grid-template-columns:46px minmax(0,1fr);gap:14px;align-items:start;padding:14px 0;border-top:1px dashed rgba(26,62,114,0.14);}
.home-dev-item:first-child{border-top:none;}
.home-dev-node{width:46px;height:46px;border-radius:999px;display:inline-flex!important;align-items:center;justify-content:center;color:#ffffff;background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.26), transparent 46%),linear-gradient(135deg, #1A3E72, #274d87);box-shadow:0 14px 28px rgba(26,62,114,0.18);position:relative;z-index:1;}
.home-dev-node svg{width:22px;height:22px;}
.home-dev-copy h3{margin:0;font-size:20px;line-height:1.25;color:#1A3E72;}
.home-dev-copy p{margin:6px 0 0;color:#4b5563;line-height:1.7;}
/* Orbit timeline (People & Safety) */
.orbit-timeline{position:relative;max-width:900px;margin:28px auto 12px;aspect-ratio: 16/9;}
.orbit-center{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:220px;height:220px;border-radius:50%;overflow:hidden;box-shadow:0 20px 50px rgba(12,18,32,0.25);display:flex;align-items:center;justify-content:center;background:#0f2747;color:#fff;font-weight:800;letter-spacing:0.08em;border:6px solid rgba(247,167,44,0.4);text-align:center;}
.orbit-center img{width:100%;height:100%;object-fit:cover;filter:saturate(1.05);}
.orbit-item{position:absolute;width:220px;display:flex;align-items:flex-start;gap:10px;color:#0f2747;}
.orbit-dot{min-width:40px;height:40px;border-radius:50%;background:linear-gradient(135deg,#1A3E72,#274d87);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;box-shadow:0 10px 18px rgba(26,62,114,0.18);}
.orbit-copy h3{margin:0 0 4px;font-size:16px;font-weight:800;color:#1A3E72;}
.orbit-copy p{margin:0;font-size:13px;line-height:1.5;color:#4b5563;}
.orbit-item-1{top:8%;left:12%;}
.orbit-item-2{top:28%;left:-4%;}
.orbit-item-3{top:55%;left:0;}
.orbit-item-4{top:8%;right:12%;text-align:left;}
.orbit-item-5{top:28%;right:-4%;text-align:left;}
.orbit-item-6{top:55%;right:0;text-align:left;}
@media(max-width:900px){.orbit-timeline{aspect-ratio:4/3;} .orbit-center{width:180px;height:180px;} .orbit-item{width:180px;font-size:13px;} .orbit-dot{min-width:36px;height:36px;} }
@media(max-width:640px){.orbit-timeline{max-width:100%;aspect-ratio:1/1.3;} .orbit-item{position:static;width:100%;margin-top:14px;} .orbit-dot{margin-right:6px;} .orbit-timeline{padding-top:200px;} .orbit-center{position:relative;top:0;left:50%;transform:translate(-50%,-0%);} }
.home-dev-timeline{display:none!important;}
/* People & Safety layout reset for centered orbit */
.home-development-layout{grid-template-columns:1fr!important;gap:18px;align-items:center;margin-top:18px!important;}
.home-development-header{text-align:center!important;}
.home-development-header .underline{margin-left:auto!important;margin-right:auto!important;}
.home-development-visual{display:none!important;}
/* Orbit timeline larger and centered */
.orbit-timeline{max-width:960px;margin:0 auto;aspect-ratio:16/9;}
.orbit-center{width:260px;height:260px;}
@media(max-width:900px){.orbit-center{width:200px;height:200px;}}
/* Orbit timeline ring and connectors */
.orbit-timeline::after{content:"";position:absolute;inset:6%;border:2px dashed rgba(26,62,114,0.25);border-radius:50%;pointer-events:none;}
.orbit-dot{z-index:2;}
.orbit-item{z-index:2;}
.orbit-item::before{content:"";position:absolute;width:70px;height:2px;background:linear-gradient(90deg,#1A3E72,#F7A72C);opacity:0.55;}
.orbit-item-1::before{top:20px;left:100%;transform:rotate(15deg);transform-origin:left center;}
.orbit-item-2::before{top:26px;left:95%;transform:rotate(35deg);transform-origin:left center;}
.orbit-item-3::before{top:26px;left:92%;transform:rotate(65deg);transform-origin:left center;}
.orbit-item-4::before{top:20px;right:100%;transform:rotate(-15deg);transform-origin:right center;}
.orbit-item-5::before{top:26px;right:95%;transform:rotate(-35deg);transform-origin:right center;}
.orbit-item-6::before{top:26px;right:92%;transform:rotate(-65deg);transform-origin:right center;}
@media(max-width:900px){.orbit-timeline::after{inset:10%;}}
/* Orbit arrows overlay */
.orbit-arrow{position:absolute;width:18px;height:18px;clip-path:polygon(0 0,100% 50%,0 100%);background:linear-gradient(135deg,#1A3E72,#F7A72C);z-index:3;opacity:0.9;}
.orbit-arrow-1{top:6%;left:48%;transform:rotate(-20deg);}
.orbit-arrow-2{top:22%;left:18%;transform:rotate(40deg);}
.orbit-arrow-3{top:55%;left:6%;transform:rotate(100deg);}
.orbit-arrow-4{top:6%;right:30%;transform:rotate(20deg);}
.orbit-arrow-5{top:22%;right:10%;transform:rotate(-40deg);}
.orbit-arrow-6{top:55%;right:2%;transform:rotate(-100deg);}
/* Orbit timeline cleanup: remove lines/arrows, center layout */
.orbit-timeline{max-width:920px;aspect-ratio:16/9;margin:0 auto;}
.orbit-center{width:240px;height:240px;border:6px solid rgba(247,167,44,0.35);} 
.orbit-timeline::after{display:none!important;}
.orbit-arrow{display:none!important;}
.orbit-item{z-index:2;}
.orbit-item-1{top:12%;left:10%;}
.orbit-item-2{top:32%;left:-2%;}
.orbit-item-3{top:60%;left:2%;}
.orbit-item-4{top:8%;right:8%;text-align:left;}
.orbit-item-5{top:28%;right:-2%;text-align:left;}
.orbit-item-6{top:58%;right:6%;text-align:left;}
@media(max-width:900px){.orbit-center{width:200px;height:200px;}}
@media(max-width:640px){.orbit-timeline{max-width:100%;aspect-ratio:4/5;} .orbit-center{position:relative;top:0;left:50%;transform:translate(-50%,0);} .orbit-item{position:static;width:100%;margin-top:12px;text-align:left;} }
/* Orbit timeline refined: no lines/arrows, pill cards around center */
.orbit-timeline::after{display:none!important;}
.orbit-arrow{display:none!important;}
.orbit-center{width:240px;height:240px;border:6px solid rgba(247,167,44,0.25);}
.orbit-center span{display:none;}
.orbit-item{width:210px;background:#ffffff;border:1px solid rgba(26,62,114,0.12);border-radius:14px;padding:12px 14px;box-shadow:0 12px 24px rgba(15,23,42,0.1);}
.orbit-copy h3{margin:0 0 4px;font-size:16px;font-weight:800;color:#1A3E72;}
.orbit-copy p{margin:0;font-size:13px;line-height:1.55;color:#4b5563;}
.orbit-item-1{top:8%;left:8%;}
.orbit-item-2{top:70%;left:4%;}
.orbit-item-3{top:82%;left:36%;}
.orbit-item-4{top:8%;right:8%;text-align:left;}
.orbit-item-5{top:30%;right:-4%;text-align:left;}
.orbit-item-6{top:75%;right:10%;text-align:left;}
@media(max-width:900px){.orbit-center{width:200px;height:200px;}.orbit-item{width:180px;}}
@media(max-width:640px){.orbit-timeline{max-width:100%;aspect-ratio:4/5;padding-top:10px;} .orbit-center{position:relative;top:0;left:50%;transform:translate(-50%,0);} .orbit-item{position:static;width:100%;margin-top:12px;text-align:left;} }
/* Orbit timeline minimal (no boxes/lines) */
.orbit-timeline::after{display:none!important;}
.orbit-arrow{display:none!important;}
.orbit-center{width:240px;height:240px;border:4px solid rgba(247,167,44,0.25);box-shadow:0 18px 38px rgba(15,23,42,0.18);} 
.orbit-center span{display:none;}
.orbit-item{background:transparent!important;border:none!important;box-shadow:none!important;width:200px;text-align:center;}
.orbit-dot{width:44px;height:44px;font-size:14px;font-weight:800;}
.orbit-copy h3{margin:6px 0 4px;font-size:16px;font-weight:800;color:#0f2747;}
.orbit-copy p{margin:0;font-size:13px;line-height:1.55;color:#4b5563;}
.orbit-item-1{top:10%;left:8%;}
.orbit-item-2{top:65%;left:4%;}
.orbit-item-3{top:80%;left:34%;}
.orbit-item-4{top:10%;right:8%;}
.orbit-item-5{top:32%;right:-2%;}
.orbit-item-6{top:70%;right:10%;}
@media(max-width:900px){.orbit-center{width:200px;height:200px;} .orbit-item{width:170px;}}
@media(max-width:640px){.orbit-timeline{max-width:100%;aspect-ratio:4/5;padding-top:10px;} .orbit-center{position:relative;top:0;left:50%;transform:translate(-50%,0);} .orbit-item{position:static;width:100%;margin-top:14px;text-align:center;} }
/* Sequence rail timeline (clean, no orbit) */
.sequence-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;margin-top:18px;align-items:start;}
.sequence-step{position:relative;padding:16px 14px 14px 18px;border-radius:14px;background:#ffffff;border:1px solid rgba(26,62,114,0.12);box-shadow:0 12px 24px rgba(15,23,42,0.08);display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:start;}
.sequence-step::after{content:"";position:absolute;left:12px;bottom:-10px;width:2px;height:12px;background:linear-gradient(180deg,#1A3E72,#F7A72C);opacity:0.6;}
.sequence-step:last-child::after{display:none;}
.sequence-dot{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#1A3E72,#274d87);color:#fff;font-weight:800;font-size:14px;box-shadow:0 10px 18px rgba(26,62,114,0.18);} 
.sequence-step h3{margin:0 0 6px;font-size:16px;font-weight:800;color:#0f2747;}
.sequence-step p{margin:0;font-size:13px;line-height:1.6;color:#4b5563;}
@media(max-width:640px){.sequence-step{grid-template-columns:auto 1fr;}}
/* People & Safety timeline – boxed card style */
.sequence-rail{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:18px;margin:20px auto 6px;align-items:start;position:relative;max-width:1100px;}
.sequence-rail::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:2px;background:linear-gradient(180deg,rgba(26,62,114,0.18),rgba(247,167,44,0.25));transform:translateX(-50%);border-radius:999px;opacity:.6;}
.sequence-step{position:relative;padding:18px 18px 16px 18px;border-radius:16px;background:linear-gradient(145deg,#ffffff,#f7f9ff);border:1px solid rgba(26,62,114,0.12);box-shadow:0 14px 28px rgba(15,23,42,0.08);display:grid;grid-template-columns:auto 1fr;gap:12px;align-items:flex-start;transition:transform .2s ease, box-shadow .2s ease,border-color .2s ease;}
.sequence-step:hover{transform:translateY(-4px);box-shadow:0 18px 34px rgba(15,23,42,0.14);border-color:rgba(247,167,44,0.35);}
.sequence-step::after{content:"";position:absolute;left:50%;bottom:-14px;width:2px;height:14px;background:linear-gradient(180deg,#1A3E72,#F7A72C);transform:translateX(-50%);opacity:.5;}
.sequence-step:last-child::after{display:none;}
.sequence-dot{display:inline-flex;align-items:center;justify-content:center;min-width:46px;height:46px;border-radius:14px;background:linear-gradient(135deg,#1A3E72,#274d87);color:#fff;font-weight:800;font-size:14px;box-shadow:0 10px 18px rgba(26,62,114,0.18);border:2px solid rgba(255,255,255,.4);} 
.sequence-step h3{margin:0 0 6px;font-size:17px;font-weight:800;color:#0f2747;letter-spacing:-0.01em;}
.sequence-step p{margin:0;font-size:13.5px;line-height:1.6;color:#4b5563;}
@media(max-width:900px){.sequence-rail::before{display:none;} .sequence-step{grid-template-columns:auto 1fr;}}
/* Vertical center timeline (boxed), replaces orbit/sequence visuals */
.sequence-rail{display:none!important;}
.kps-timeline{list-style:none;margin:22px auto 0;padding:0;max-width:820px;position:relative;}
.kps-timeline::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:3px;background:linear-gradient(180deg,#1A3E72 0%,#F7A72C 100%);transform:translateX(-50%);border-radius:999px;opacity:0.4;}
.kps-timeline-item{position:relative;padding:18px 0;}
.kps-timeline-item:nth-child(odd) .kps-timeline-card{margin-right:54%;text-align:left;}
.kps-timeline-item:nth-child(even) .kps-timeline-card{margin-left:54%;text-align:left;}
.kps-timeline-card{position:relative;background:linear-gradient(145deg,#ffffff,#f7f9ff);border:1px solid rgba(26,62,114,0.12);border-radius:14px;box-shadow:0 14px 28px rgba(15,23,42,0.1);padding:16px 18px;display:inline-block;min-width:260px;max-width:420px;text-align:center;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;}
.kps-timeline-card:hover{transform:translateY(-3px);box-shadow:0 18px 34px rgba(15,23,42,0.14);border-color:rgba(247,167,44,0.35);}
.kps-timeline-card h3{margin:0 0 6px;font-size:16px;font-weight:800;color:#0f2747;letter-spacing:-0.01em;}
.kps-timeline-card p{margin:0 auto;font-size:13.5px;line-height:1.6;color:#4b5563;max-width:360px;}
.kps-timeline-item::before{content:counter(kpsstep);counter-increment:kpsstep;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:42px;height:42px;border-radius:50%;background:linear-gradient(135deg,#1A3E72,#274d87);color:#fff;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 12px 22px rgba(26,62,114,0.2);}
@media(max-width:900px){.kps-timeline::before{left:6px;}.kps-timeline-item::before{left:6px;transform:translate(0,-50%);} .kps-timeline-item .kps-timeline-card{margin:0 0 0 46px!important;text-align:left!important;display:block;width:calc(100% - 60px);} }
/* Fix timeline counter and polish dots */
.kps-timeline{counter-reset:kpsstep!important;}
.kps-timeline-item::before{background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.25), transparent 45%), linear-gradient(135deg,#1A3E72,#274d87);border:2px solid rgba(255,255,255,0.5);}
@media (max-width: 640px){
    .kps-timeline{max-width:100%;margin-top:16px;}
    .kps-timeline::before{left:14px;top:6px;bottom:6px;}
    .kps-timeline-item{padding:14px 0;}
    .kps-timeline-item::before{left:14px;width:36px;height:36px;font-size:13px;}
    .kps-timeline-item .kps-timeline-card{
        margin:0 0 0 44px!important;
        width:calc(100% - 54px);
        min-width:0;
        max-width:none;
        padding:14px 16px;
        border-radius:12px;
    }
    .kps-timeline-card h3{font-size:15px;}
    .kps-timeline-card p{font-size:13px;line-height:1.55;}
}
/* Problem list line stronger */
.home-problem-stair-list li{padding:6px 0 6px 52px;}
.home-problem-stair-list li::after{left:16px;width:32px;height:3px;background:linear-gradient(90deg,#1A3E72,#F7A72C);}
/* Problem list underline beneath text */
.home-problem-stair-list li{padding:6px 0 14px 52px;margin-bottom:6px;}
.home-problem-stair-list li::after{left:52px;right:0;width:auto;height:2px;top:auto;bottom:6px;background:linear-gradient(90deg,#1A3E72,#F7A72C);} 

/* Service intro sections: match Industrial layout across all service pages */
body .service-split-section.mechanized-intro-section .about-wrapper,
body .service-split-section.fire-intro-section .about-wrapper,
body .service-split-section.rental-intro-section .about-wrapper,
body .service-split-section.payroll-intro-section .about-wrapper {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

body .service-split-section.mechanized-intro-section .about-content,
body .service-split-section.fire-intro-section .about-content,
body .service-split-section.rental-intro-section .about-content,
body .service-split-section.payroll-intro-section .about-content {
    text-align: center;
    align-items: center;
}

body .service-split-section.mechanized-intro-section .underline,
body .service-split-section.fire-intro-section .underline,
body .service-split-section.rental-intro-section .underline,
body .service-split-section.payroll-intro-section .underline {
    margin-left: auto !important;
    margin-right: auto !important;
}

body .service-split-section.mechanized-intro-section .about-content p,
body .service-split-section.fire-intro-section .about-content p,
body .service-split-section.rental-intro-section .about-content p,
body .service-split-section.payroll-intro-section .about-content p {
    text-align: center;
    font-size:17px;
}

body .service-split-section.mechanized-intro-section .about-content,
body .service-split-section.fire-intro-section .about-content,
body .service-split-section.rental-intro-section .about-content,
body .service-split-section.payroll-intro-section .about-content {
    background: transparent;
    border: 0;
    border-top: 0;
    box-shadow: none;
    backdrop-filter: none;
}

body .service-split-section.mechanized-intro-section .home-section-kicker,
body .service-split-section.fire-intro-section .home-section-kicker,
body .service-split-section.rental-intro-section .home-section-kicker,
body .service-split-section.payroll-intro-section .home-section-kicker {
    margin-left: auto;
    margin-right: auto;
}

/* Payroll proof row: match Industrial proof card styling */
body .payroll-intro-section .payroll-proof-row {
    margin-top: 34px;
    padding-top: 0;
}

body .payroll-intro-section .payroll-proof-row::before {
    display: none;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-card {
    position: relative;
    text-align: center;
    border-radius: 22px;
    padding: 44px 18px 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(248, 250, 252, 0.94) 100%);
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.12);
    overflow: visible;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at 50% 0%, rgba(245, 180, 0, 0.18) 0%, rgba(245, 180, 0, 0) 55%);
    pointer-events: none;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-card > * {
    position: relative;
    z-index: 1;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-icon {
    position: absolute;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border: 1px solid rgba(26, 62, 114, 0.16);
    box-shadow: none;
    z-index: 2;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-icon svg {
    width: 20px;
    height: 20px;
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-step {
    position: absolute;
    right: 16px;
    top: 14px;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(15, 23, 42, 0.18);
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-label {
    display: inline-block;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(26, 62, 114, 0.86);
    background: rgba(26, 62, 114, 0.06);
    border: 1px solid rgba(26, 62, 114, 0.12);
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-card strong {
    display: block;
    margin-top: 12px;
    font-size: 18px;
    color: rgba(15, 23, 42, 0.92);
}

body .payroll-intro-section .payroll-proof-row .industrial-proof-card p {
    margin-top: 10px;
    line-height: 1.65;
}

/* Services 5-card sections: soften hover lift */
body .services-theme.industrial-why-section .industrial-why-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.1);
    border-color: rgba(26, 62, 114, 0.2);
}

/* Service benefits cards: match the reference box style */
body .mechanized-advantage-section .industrial-why-card,
body .rental-industry-section .industrial-why-card,
body .fire-benefit-section .industrial-why-card {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-top: 0;
    border-radius: 22px;
    padding: 28px 24px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body .payroll-benefits-section .industrial-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .payroll-benefits-section .industrial-why-card h3 {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .payroll-benefits-section .industrial-why-card p {
    width: 100%;
    margin-top: 0;
}

body .mechanized-advantage-section .industrial-why-card {
    display: flex;
    flex-direction: column;
    align-items: center;
}

body .mechanized-advantage-section .industrial-why-card h3 {
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

body .mechanized-advantage-section .industrial-why-card p {
    width: 100%;
    margin-top: 0;
}

body .mechanized-advantage-section .industrial-why-number,
body .rental-industry-section .industrial-why-number,
body .fire-benefit-section .industrial-why-number {
    margin: 0 auto 14px;
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: #eef2f7;
    color: #1A3E72;
}

body .mechanized-advantage-section .industrial-why-card::after,
body .rental-industry-section .industrial-why-card::after,
body .fire-benefit-section .industrial-why-card::after,
body .payroll-benefits-section .industrial-why-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, rgba(31, 58, 138, 0.14) 55%, transparent 100%);
    transform: translateX(-120%);
    transition: transform 0.65s ease;
    pointer-events: none;
}

body .mechanized-advantage-section .industrial-why-card:hover,
body .mechanized-advantage-section .industrial-why-card:active,
body .mechanized-advantage-section .industrial-why-card:focus-within,
body .rental-industry-section .industrial-why-card:hover,
body .rental-industry-section .industrial-why-card:active,
body .rental-industry-section .industrial-why-card:focus-within,
body .fire-benefit-section .industrial-why-card:hover,
body .fire-benefit-section .industrial-why-card:active,
body .fire-benefit-section .industrial-why-card:focus-within,
body .payroll-benefits-section .industrial-why-card:hover,
body .payroll-benefits-section .industrial-why-card:active,
body .payroll-benefits-section .industrial-why-card:focus-within {
    transform: translateY(-6px);
    border-color: rgba(26, 62, 114, 0.28);
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.16);
}

body .mechanized-advantage-section .industrial-why-card:hover::after,
body .mechanized-advantage-section .industrial-why-card:active::after,
body .mechanized-advantage-section .industrial-why-card:focus-within::after,
body .rental-industry-section .industrial-why-card:hover::after,
body .rental-industry-section .industrial-why-card:active::after,
body .rental-industry-section .industrial-why-card:focus-within::after,
body .fire-benefit-section .industrial-why-card:hover::after,
body .fire-benefit-section .industrial-why-card:active::after,
body .fire-benefit-section .industrial-why-card:focus-within::after,
body .payroll-benefits-section .industrial-why-card:hover::after,
body .payroll-benefits-section .industrial-why-card:active::after,
body .payroll-benefits-section .industrial-why-card:focus-within::after {
    transform: translateX(120%);
}

/* Service image + text blocks: unify with Rental Benefits layout */
body .industrial-showcase .industrial-showcase-grid,
body .mechanized-scope-showcase .mechanized-scope-grid,
body .fire-benefits-showcase .fire-benefits-grid,
body .rental-benefits-showcase .rental-benefits-grid {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(22px, 3vw, 42px);
    align-items: center;
}

body .industrial-showcase .industrial-showcase-copy-wrap,
body .mechanized-scope-showcase .mechanized-scope-copy,
body .fire-benefits-showcase .fire-benefits-copy,
body .rental-benefits-showcase .rental-benefits-copy {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

body .industrial-showcase .industrial-showcase-copy-wrap {
    min-height: 0 !important;
    display: block !important;
}

body .industrial-showcase .underline,
body .mechanized-scope-showcase .mechanized-scope-underline,
body .fire-benefits-showcase .fire-benefits-underline,
body .rental-benefits-showcase .rental-benefits-underline {
    margin-left: auto !important;
    margin-right: auto !important;
}

body .industrial-showcase .industrial-showcase-copy-wrap,
body .industrial-showcase .industrial-showcase-content {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

body .industrial-showcase .underline {
    margin-left: 0 !important;
    margin-right: auto !important;
}

body .industrial-showcase .industrial-showcase-content h2 {
    margin: 14px 0 0;
    line-height: 1.15;
}

body .industrial-showcase .underline {
    margin-top: 12px;
}

body .industrial-showcase .industrial-showcase-content p {
    margin: 14px 0 0;
    line-height: 1.7;
}

body .industrial-showcase .industrial-showcase-lead,
body .mechanized-scope-showcase .mechanized-scope-lead,
body .fire-benefits-showcase .fire-benefits-copy > p,
body .rental-benefits-showcase .rental-benefits-copy > p {
    margin-top: 8px !important;
     font-size: 17px;
}

body .industrial-showcase .industrial-showcase-layout {
    margin-top: 18px;
}

body .mechanized-scope-showcase .mechanized-scope-copy,
body .fire-benefits-showcase .fire-benefits-copy,
body .rental-benefits-showcase .rental-benefits-copy {
    text-align: left;
    margin-left: 0;
    margin-right: auto;
}

body .mechanized-scope-showcase .mechanized-scope-underline,
body .fire-benefits-showcase .fire-benefits-underline,
body .rental-benefits-showcase .rental-benefits-underline {
    margin-left: 2px !important;
    margin-right: auto !important;
}

body .industrial-showcase .industrial-showcase-services,
body .mechanized-scope-showcase .mechanized-scope-services,
body .fire-benefits-showcase .fire-benefits-list,
body .rental-benefits-showcase .rental-benefits-list {
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 28px;
    text-align: left;
}

body .industrial-showcase .industrial-showcase-service,
body .mechanized-scope-showcase .mechanized-scope-service,
body .fire-benefits-showcase .fire-benefits-item,
body .rental-benefits-showcase .rental-benefits-item {
    position: relative;
    padding: 14px 0 12px !important;
    border-top: 0 !important;
    color: #1f2937;
    font-weight: 700;
    font-size: 14px;
}

body .industrial-showcase .industrial-showcase-service::before,
body .mechanized-scope-showcase .mechanized-scope-service::before,
body .fire-benefits-showcase .fire-benefits-item::before,
body .rental-benefits-showcase .rental-benefits-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px !important;
    height: 1px !important;
    background: #f5b400 !important;
    border-radius: 999px;
}

body .industrial-showcase .industrial-showcase-service::after,
body .mechanized-scope-showcase .mechanized-scope-service::after,
body .fire-benefits-showcase .fire-benefits-item::after,
body .rental-benefits-showcase .rental-benefits-item::after {
    content: "";
    position: absolute;
    left: 24px !important;
    right: auto !important;
    top: 0;
    width: 230px !important;
    height: 1px !important;
    background: #e3e8ef !important;
}

body .industrial-showcase .industrial-showcase-service::after {
    width: 90px !important;
    right: auto !important;
}

body .payroll-services-section .section-header p,
body .rental-equipment-section .section-header p,
body .fire-service-section .section-header p {
    margin-top: 6px !important;
}

@media (max-width: 980px) {
    body .industrial-showcase .industrial-showcase-grid,
    body .mechanized-scope-showcase .mechanized-scope-grid,
    body .fire-benefits-showcase .fire-benefits-grid,
    body .rental-benefits-showcase .rental-benefits-grid {
        grid-template-columns: 1fr !important;
    }

    body .industrial-showcase .industrial-showcase-services,
    body .mechanized-scope-showcase .mechanized-scope-services,
    body .fire-benefits-showcase .fire-benefits-list,
    body .rental-benefits-showcase .rental-benefits-list {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 1024px) {
    body .industrial-why-grid,
    body .services-theme .industrial-why-grid,
    body .mechanized-advantage-section .industrial-why-grid,
    body .rental-industry-section .industrial-why-grid,
    body .fire-benefit-section .industrial-why-grid,
    body .payroll-benefits-section .industrial-why-grid {
        grid-template-columns: 1fr !important;
        justify-items: stretch;
    }

    body .industrial-why-card {
        grid-column: auto !important;
        width: 100%;
        max-width: 100%;
    }

    body .industrial-showcase .industrial-showcase-grid,
    body .mechanized-scope-showcase .mechanized-scope-grid,
    body .fire-benefits-showcase .fire-benefits-grid,
    body .rental-benefits-showcase .rental-benefits-grid {
        grid-template-columns: 1fr !important;
    }

    body .industrial-showcase .industrial-showcase-services,
    body .mechanized-scope-showcase .mechanized-scope-services,
    body .fire-benefits-showcase .fire-benefits-list,
    body .rental-benefits-showcase .rental-benefits-list {
        grid-template-columns: 1fr !important;
    }

    body .industrial-showcase .industrial-showcase-copy-wrap,
    body .industrial-showcase .industrial-showcase-content,
    body .industrial-showcase .industrial-showcase-lead,
    body .fire-benefits-showcase .fire-benefits-copy,
    body .rental-benefits-showcase .rental-benefits-copy {
        max-width: 100% !important;
        width: 100%;
    }

    body .industrial-showcase .industrial-showcase-copy-wrap,
    body .industrial-showcase .industrial-showcase-media {
        grid-column: 1 / -1 !important;
    }

    body .industrial-showcase .industrial-showcase-media,
    body .fire-benefits-showcase .fire-benefits-media,
    body .rental-benefits-showcase .rental-benefits-media {
        width: 100%;
        margin-top: 16px;
    }

    body .industrial-showcase .industrial-showcase-media img,
    body .fire-benefits-showcase .fire-benefits-media img,
    body .rental-benefits-showcase .rental-benefits-media img {
        width: 100%;
        height: auto !important;
    }
}

/* Mobile hero: prevent nav overlap + cut text */
@media (max-width: 768px) {
    .top-contact-strip {
        display: none !important;
    }

    .site-main-content {
        padding-top: 74px !important;
    }

    .hero:not(.hero-home-swap),
    .hero1,
    .clients-hero {
        min-height: auto !important;
        height: auto !important;
        padding: 96px 14px 48px !important;
    }

    .hero.hero-home-swap {
        min-height: auto !important;
        height: auto !important;
        padding: 96px 12px 48px !important;
    }

    .hero-centered h1 {
        white-space: normal !important;
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.15;
        word-break: break-word;
    }
}

/* Mobile polish: service image + content blocks */
@media (max-width: 640px) {
    body .service-split-section .about-wrapper {
        gap: 14px;
    }

    body .service-split-section .service-main-photo {
        order: 2;
        width: min(100%, 152px);
        max-width: 152px;
        margin: 8px auto 0;
        border-radius: 0;
        box-shadow: none;
    }

    body .service-split-section .service-main-photo::before,
    body .service-split-section .service-main-photo::after {
        display: none !important;
    }

    body .service-split-section .service-main-photo img {
        aspect-ratio: 3 / 4;
        min-height: 0;
        height: clamp(206px, 62vw, 248px);
        max-height: none;
        border-radius: 0;
    }

    body .industrial-showcase .industrial-showcase-grid,
    body .mechanized-scope-showcase .mechanized-scope-grid,
    body .fire-benefits-showcase .fire-benefits-grid,
    body .rental-benefits-showcase .rental-benefits-grid {
        gap: 14px;
    }

    body .industrial-showcase .industrial-showcase-media,
    body .fire-benefits-showcase .fire-benefits-media,
    body .rental-benefits-showcase .rental-benefits-media,
    body .mechanized-scope-showcase .mechanized-scope-media {
        order: 2;
        width: min(100%, 152px) !important;
        max-width: 152px !important;
        margin: 8px auto 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body .industrial-showcase .industrial-showcase-media img,
    body .fire-benefits-showcase .fire-benefits-media img,
    body .rental-benefits-showcase .rental-benefits-media img,
    body .mechanized-scope-showcase .mechanized-scope-media img {
        border-radius: 0 !important;
        box-shadow: none !important;
        aspect-ratio: 3 / 4 !important;
        height: clamp(206px, 62vw, 248px) !important;
        object-fit: cover;
    }

    body .industrial-showcase .industrial-showcase-services,
    body .mechanized-scope-showcase .mechanized-scope-services,
    body .fire-benefits-showcase .fire-benefits-list,
    body .rental-benefits-showcase .rental-benefits-list {
        gap: 12px;
    }

    body .industrial-showcase .industrial-showcase-service,
    body .mechanized-scope-showcase .mechanized-scope-service,
    body .fire-benefits-showcase .fire-benefits-item,
    body .rental-benefits-showcase .rental-benefits-item {
        padding: 14px 14px 14px 48px !important;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 16px;
        box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
        font-size: 15px;
        line-height: 1.5;
    }

    body .industrial-showcase .industrial-showcase-service {
        padding-left: 58px !important;
    }

    body .industrial-showcase .industrial-showcase-service::before,
    body .mechanized-scope-showcase .mechanized-scope-service::before,
    body .fire-benefits-showcase .fire-benefits-item::before,
    body .rental-benefits-showcase .rental-benefits-item::before {
        width: 18px !important;
        height: 18px !important;
        left: 16px !important;
        top: 50% !important;
        transform: translateY(-50%);
        border-radius: 999px;
        background: #1a3e72 !important;
        box-shadow: 0 0 0 4px rgba(247, 167, 44, 0.18);
    }

    body .industrial-showcase .industrial-showcase-service::before {
        left: 14px !important;
    }

    body .industrial-showcase .industrial-showcase-service::after,
    body .mechanized-scope-showcase .mechanized-scope-service::after,
    body .fire-benefits-showcase .fire-benefits-item::after,
    body .rental-benefits-showcase .rental-benefits-item::after {
        display: none !important;
    }
}

/* Stronger but subtle watermarks (services + about purpose) */
body .payroll-intro-section::before,
body .rental-intro-section::before,
body .fire-intro-section::before,
body .mechanized-intro-section::before,
body .industrial-about-section::before {
    color: rgba(15, 23, 42, 0.08) !important;
}

body .about-purpose-watermark {
    color: rgba(26, 62, 114, 0.14) !important;
}

/* Service pages: match Industrial "Industries Covered" grid style */
:is(
    .industrial-sector-timeline,
    .mechanized-area-timeline,
    .payroll-services-list,
    .rental-available-list,
    .fire-service-list
) {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)) !important;
    gap: 18px 22px !important;
    justify-items: center;
    max-width: 980px;
    margin: 0 auto;
    padding-left: 0 !important;
    border-left: 0 !important;
}

:is(
    .industrial-sector-item,
    .mechanized-area-item,
    .payroll-service-item,
    .rental-available-item,
    .fire-service-item
) {
    position: relative;
    padding: 2px 0 24px !important;
    text-align: center !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

:is(
    .payroll-service-item::before,
    .rental-available-item::before,
    .fire-service-item::before
) {
    content: none !important;
}

:is(
    .industrial-sector-icon,
    .mechanized-area-icon,
    .payroll-service-icon,
    .rental-available-icon,
    .fire-service-icon
) {
    width: 34px !important;
    height: 34px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(26, 62, 114, 0.16) !important;
    color: #1a3e72 !important;
    margin: 0 auto 10px !important;
    box-shadow: none !important;
}

:is(
    .industrial-sector-item h3,
    .mechanized-area-item h3,
    .payroll-service-item h3,
    .rental-available-item h3,
    .fire-service-item h3
) {
    margin: 0 !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a3e72 !important;
    text-align: center !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

:is(
    .industrial-sector-item p,
    .mechanized-area-item p,
    .payroll-service-item p,
    .rental-available-item p,
    .fire-service-item p
) {
    margin: 6px auto 0 !important;
    color: rgba(15, 23, 42, 0.7) !important;
    line-height: 1.6 !important;
    text-align: center !important;
    max-width: 230px !important;
    min-height: 48px !important;
}

.mechanized-area-timeline::before {
    content: none !important;
}

.mechanized-area-dot {
    display: none !important;
}

/* Rental available section: match the clean service-scope grid style */
body .rental-available-section .rental-available-layout {
    max-width: 1040px !important;
    width: min(1040px, 100%) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

body .rental-available-section .rental-available-list {
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 20px 22px !important;
    max-width: 1040px !important;
    justify-items: stretch !important;
    align-items: start !important;
}

body .rental-available-section .rental-available-item {
    grid-column: span 2 !important;
    max-width: none !important;
    min-height: 0 !important;
    padding: 2px 0 24px !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

body .rental-available-section .rental-available-item::before,
body .rental-available-section .rental-available-item::after {
    content: none !important;
}

body .rental-available-section .rental-available-icon {
    position: static !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    margin: 0 auto 10px !important;
    border-radius: 12px !important;
    background: #f3f4f6 !important;
    border: 1px solid rgba(26, 62, 114, 0.16) !important;
    color: #1a3e72 !important;
    box-shadow: none !important;
}

body .rental-available-section .rental-available-icon svg {
    width: 18px !important;
    height: 18px !important;
}

body .rental-available-section .rental-available-item h3 {
    margin: 0 !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    color: #1a3e72 !important;
}

body .rental-available-section .rental-available-item p {
    margin: 6px auto 0 !important;
    max-width: 230px !important;
    min-height: 48px !important;
    line-height: 1.6 !important;
    color: rgba(15, 23, 42, 0.72) !important;
}

@media (max-width: 900px) {
    body .rental-available-section .rental-available-list {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 18px !important;
    }

    body .rental-available-section .rental-available-item {
        grid-column: span 1 !important;
        max-width: 100% !important;
    }

    body .rental-available-section .rental-available-item:nth-child(4),
    body .rental-available-section .rental-available-item:nth-child(5) {
        grid-column: auto !important;
    }
}

@media (max-width: 640px) {
    body .rental-available-section .rental-available-list {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
}

/* Service pages: keep section photos in a consistent visual frame */
body .industrial-showcase-media,
body .mechanized-scope-media,
body .fire-benefits-media,
body .rental-benefits-media {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 560px;
    min-height: 360px;
    margin-left: auto;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

body .industrial-showcase-media img,
body .mechanized-scope-media img,
body .fire-benefits-media img,
body .rental-benefits-media img {
    width: 100% !important;
    height: 360px !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block;
    border-radius: inherit;
}

@media (max-width: 640px) {
    body .industrial-showcase-media,
    body .mechanized-scope-media,
    body .fire-benefits-media,
    body .rental-benefits-media {
        min-height: 0;
        max-width: 100%;
        border-radius: 18px;
    }

    body .industrial-showcase-media img,
    body .mechanized-scope-media img,
    body .fire-benefits-media img,
    body .rental-benefits-media img {
        height: 260px !important;
        aspect-ratio: auto !important;
        max-height: none !important;
        object-fit: cover !important;
    }
}

/* Service page hero banners: show the full image without side cropping */
body .service-hero {
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
}

@media (min-width: 769px) {
    body .service-hero {
        min-height: 390px !important;
        height: 390px;
        background-size: cover !important;
        background-position: center center !important;
        background-color: transparent !important;
    }

    body .service-hero .service-hero__content {
        width: min(840px, 88%) !important;
        gap: 8px;
    }

    body .service-hero .service-hero__kicker {
        font-size: 10px;
        padding: 6px 12px;
        letter-spacing: 0.11em;
    }

    body .service-hero h1 {
        font-size: clamp(26px, 2.45vw, 32px);
        line-height: 1.16;
        max-width: 100%;
    }

    body .service-hero p {
        max-width: 820px;
        font-size: clamp(14px, 2.15vw, 18px);
        line-height: 1.5;
        white-space: normal;
    }

    body .service-hero .btn-primary {
        padding: 10px 24px;
        font-size: 14px;
    }

    body .service-hero .service-hero__chips {
        display: none;
    }

    body .service-hero--industrial p {
        max-width: none;
        font-size: clamp(13px, 2.05vw, 15px);
        line-height: 1.5;
        white-space: normal;
    }

    body .service-hero--payroll .service-hero__content,
    body .service-hero--rental .service-hero__content,
    body .service-hero--fire .service-hero__content,
    body .service-hero--contact .service-hero__content {
        width: min(980px, 92%) !important;
    }

    body .service-hero--payroll p,
    body .service-hero--rental p,
    body .service-hero--fire p {
        max-width: none;
        font-size: clamp(13px, 2.02vw, 18px);
        line-height: 1.48;
        white-space: normal;
    }
}

@media (max-width: 768px) {
    body .service-hero {
        min-height: clamp(300px, 76vw, 380px) !important;
        background-size: cover !important;
        background-position: center center !important;
        background-color: transparent !important;
        padding: 18px 12px !important;
    }

    body .service-hero .service-hero__content {
        width: min(94%, 430px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 5px !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .service-hero .service-hero__kicker {
        font-size: 10px !important;
        padding: 4px 12px !important;
        letter-spacing: 0.1em !important;
    }

    body .service-hero h1 {
        font-size: clamp(16px, 4.9vw, 21px) !important;
        line-height: 1.14 !important;
        max-width: 100% !important;
    }

    body .service-hero p {
        max-width: 100% !important;
        font-size: 13px !important;
        line-height: 1.48 !important;
        white-space: normal !important;
    }

    body .service-hero .service-hero__actions {
        margin-top: 4px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    body .service-hero .btn-primary {
        width: auto !important;
        max-width: min(100%, 220px) !important;
        padding: 8px 14px !important;
        font-size: 11px !important;
        min-height: 36px !important;
        border-radius: 10px !important;
    }
}

/* About page hero: keep the original photo more natural */
body .about-page .hero1 {
    min-height: clamp(320px, 35.94vw, 500px) !important;
    padding: clamp(22px, 2.2vw, 30px) 16px !important;
    background-position: center center !important;
    background-size: cover !important;
    background-repeat: no-repeat !important;
}

body .about-page .hero1-overlay {
    background: linear-gradient(
        90deg,
        rgba(8, 15, 30, 0.12) 0%,
        rgba(8, 15, 30, 0.04) 46%,
        rgba(8, 15, 30, 0.1) 100%
    ) !important;
}

body .about-page .hero1 h1,
body .about-page .hero1 p,
body .about-page .hero1 .btn-primary {
    text-shadow: 0 3px 14px rgba(15, 23, 42, 0.26);
}

body .about-page .hero1 p {
    color: rgba(255, 255, 255, 0.96) !important;
}

/* About page hero text: match the service hero text treatment */
body .about-page .hero1.hero-centered .hero1-content {
    max-width: min(680px, 92%) !important;
    gap: 10px !important;
}

body .about-page .hero1.hero-centered h1 {
    max-width: 640px !important;
    margin: 0 auto !important;
    font-size: clamp(22px, 2.8vw, 34px) !important;
    line-height: 1.2 !important;
    color: #1a3e72 !important;
    text-wrap: balance;
    text-shadow: none !important;
}

body .about-page .hero1.hero-centered p {
    max-width: 640px !important;
    margin: 0 auto !important;
    font-size: clamp(12px, 1.4vw, 16px) !important;
    line-height: 1.55 !important;
    color: #1a3e72 !important;
    text-wrap: balance;
    text-shadow: none !important;
}

body .about-page .hero1.hero-centered .hero1-actions {
    margin-top: 4px !important;
}

body .about-page .hero1.hero-centered .btn-primary {
    text-shadow: none !important;
}

@media (max-width: 991px) {
    body .about-page .hero1 {
        min-height: clamp(300px, 48vw, 400px) !important;
        padding: 28px 14px !important;
    }
}

@media (max-width: 640px) {
    body .about-page .hero1 {
        min-height: 320px !important;
        padding: 74px 14px 22px !important;
        align-items: flex-start !important;
    }

    body .about-page .hero1.hero-centered .hero1-shell {
        align-items: start !important;
    }

    body .about-page .hero1.hero-centered .hero1-content {
        max-width: min(86%, 336px) !important;
        gap: 8px !important;
        margin-top: 10px !important;
        transform: none !important;
    }

    body .about-page .hero1.hero-centered h1 {
        max-width: 300px !important;
        font-size: clamp(17px, 5.1vw, 21px) !important;
        line-height: 1.14 !important;
    }

    body .about-page .hero1.hero-centered p {
        max-width: 320px !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
    }

    body .about-page .hero1.hero-centered .hero1-actions {
        margin-top: 4px !important;
    }

    body .about-page .hero1.hero-centered .btn-primary {
        width: 100% !important;
        max-width: 210px !important;
        min-height: 38px !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 640px) {
    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 320px !important;
        padding: 74px 14px 22px !important;
        align-items: flex-start !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        max-width: min(86%, 336px) !important;
        width: min(86%, 336px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 8px !important;
        text-align: center !important;
        align-items: center !important;
        margin-top: 10px !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .hero.service-hero:not(.service-hero--contact) h1 {
        max-width: 300px !important;
        margin: 0 auto !important;
        font-size: clamp(17px, 5.1vw, 21px) !important;
        line-height: 1.14 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    body .hero.service-hero:not(.service-hero--contact) p {
        max-width: 320px !important;
        margin: 0 auto !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        white-space: normal !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__actions,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-actions,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-actions {
        margin-top: 4px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .btn-primary {
        width: 100% !important;
        max-width: 210px !important;
        min-height: 38px !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 10px !important;
    }

    body .hero.service-hero.service-hero--industrial h1 {
        max-width: 276px !important;
        font-size: clamp(12px, 3.9vw, 17px) !important;
        line-height: 1.08 !important;
    }

    body .hero.service-hero.service-hero--industrial .service-hero__actions {
        margin-top: 8px !important;
    }

    body .hero.service-hero.service-hero--industrial .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: min(100%, 242px) !important;
        max-width: 242px !important;
        min-height: 42px !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28) !important;
    }
}

@media (max-width: 768px) {
    body .hero.service-hero {
        min-height: 320px !important;
        padding: 74px 14px 22px !important;
        align-items: flex-start !important;
    }

    body .hero.service-hero .hero-content,
    body .hero.service-hero .service-hero__content,
    body .hero.service-hero .hero-industrial-shell,
    body .hero.service-hero .hero-mechanized-shell {
        max-width: min(86%, 336px) !important;
        width: min(86%, 336px) !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 8px !important;
        text-align: center !important;
        align-items: center !important;
        margin-top: 10px !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .hero.service-hero .service-hero__kicker {
        background: rgba(255, 255, 255, 0.92) !important;
        border-color: rgba(26, 62, 114, 0.16) !important;
    }

    body .hero.service-hero h1 {
        max-width: 300px !important;
        margin: 0 auto !important;
        font-size: clamp(17px, 5.1vw, 26px) !important;
        line-height: 1.14 !important;
        color: #1a3e72 !important;
        white-space: normal !important;
        word-break: break-word !important;
    }

    body .hero.service-hero p {
        max-width: 320px !important;
        margin: 0 auto !important;
        font-size: 20px !important;
        line-height: 1.45 !important;
        color: #1a3e72 !important;
        white-space: normal !important;
    }

    body .hero.service-hero .service-hero__actions,
    body .hero.service-hero .hero-industrial-actions,
    body .hero.service-hero .hero-mechanized-actions {
        margin-top: 4px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    body .hero.service-hero .btn-primary {
        width: 100% !important;
        max-width: 210px !important;
        min-height: 38px !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 10px !important;
    }

    body .hero.service-hero.service-hero--industrial h1 {
        max-width: 276px !important;
        font-size: clamp(12px, 3.7vw, 16px) !important;
        line-height: 1.08 !important;
    }

    body .hero.service-hero.service-hero--industrial .service-hero__actions {
        margin-top: 8px !important;
    }

    body .hero.service-hero.service-hero--industrial .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: min(100%, 242px) !important;
        max-width: 242px !important;
        min-height: 42px !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 28px rgba(245, 158, 11, 0.28) !important;
    }

    body .hero.service-hero.service-hero--rental {
        background-image: url("../img/Rental Equipment Services.jpeg") !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff !important;
    }
}

@media (max-width: 768px) {
    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 336px !important;
        padding: 30px 16px 24px !important;
        align-items: center !important;
        background-size: contain !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: #ffffff !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        max-width: min(88%, 352px) !important;
        width: min(88%, 352px) !important;
        margin: 0 auto !important;
        gap: 8px !important;
        margin-top: 0 !important;
    }

    body .hero.service-hero:not(.service-hero--contact) h1,
    body .hero.service-hero.service-hero--industrial h1 {
        max-width: 340px !important;
        margin: 0 auto !important;
        font-size: clamp(18px, 5.2vw, 22px) !important;
        line-height: 1.12 !important;
    }

    body .hero.service-hero:not(.service-hero--contact) p {
        max-width: 340px !important;
        margin: 0 auto !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__actions,
    body .hero.service-hero.service-hero--industrial .service-hero__actions {
        margin-top: 6px !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .btn-primary,
    body .hero.service-hero.service-hero--industrial .btn-primary {
        width: min(100%, 210px) !important;
        max-width: 210px !important;
        min-height: 38px !important;
        padding: 9px 16px !important;
        font-size: 12px !important;
        border-radius: 10px !important;
        box-shadow: none !important;
    }
}

@media (max-width: 768px) {
    .home-development-section .kms-vertical-timeline {
        padding: 18px 14px !important;
        border-radius: 20px !important;
    }

    .home-development-section .kms-vertical-timeline .kms-timeline-container {
        display: grid;
        gap: 12px;
    }

    .home-development-section .kms-vertical-timeline .row.how-it-works {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr);
        align-items: start !important;
        justify-content: flex-start !important;
        gap: 12px;
        padding: 0 !important;
    }

    .home-development-section .kms-vertical-timeline .row.how-it-works .col-2,
    .home-development-section .kms-vertical-timeline .row.how-it-works .col-6 {
        max-width: none !important;
        width: 100% !important;
        flex: none !important;
    }

    .home-development-section .kms-vertical-timeline .row.how-it-works .col-2 {
        order: 1;
        justify-content: center !important;
        align-items: flex-start !important;
        padding-top: 10px;
    }

    .home-development-section .kms-vertical-timeline .row.how-it-works .col-6 {
        order: 2;
        text-align: left !important;
        padding: 16px 16px 15px !important;
        border-radius: 18px !important;
    }

    .home-development-section .kms-vertical-timeline .text-right,
    .home-development-section .kms-vertical-timeline .how-it-works.justify-content-end .col-6,
    .home-development-section .kms-vertical-timeline .how-it-works:not(.justify-content-end) .col-6 {
        text-align: left !important;
    }

    .home-development-section .kms-vertical-timeline .timeline,
    .home-development-section .kms-vertical-timeline .how-it-works .col-2::after {
        display: none !important;
    }

    .home-development-section .kms-vertical-timeline .circle {
        min-width: 44px !important;
        width: 44px !important;
        height: 44px !important;
        padding: 0 !important;
        font-size: 18px;
        box-shadow: 0 0 0 5px rgba(245, 180, 0, 0.16) !important;
    }

    .home-development-section .kms-vertical-timeline .how-it-works h5 {
        font-size: 16px !important;
        line-height: 1.3 !important;
        margin-bottom: 8px !important;
    }

    .home-development-section .kms-vertical-timeline .how-it-works p {
        font-size: 14px !important;
        line-height: 1.65 !important;
    }
}

@media (max-width: 768px) {
    .site-main-content > .hero:first-child,
    .site-main-content > .hero1:first-child,
    .site-main-content > .clients-hero:first-child,
    .site-main-content > .home-banner-carousel:first-child {
        margin-top: 0 !important;
    }
}

/* 1. Container Settings */
body .industrial-sector-section .industrial-sector-timeline {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 40px 0px !important; /* Gap ko 0 rakha hai taaki dividers control ho sakein */
    max-width: 1200px !important;
    margin: 0 auto !important;
    position: relative;
}

/* 2. Item Settings: Width aur Spacing balance ki hai */
body .industrial-sector-section .industrial-sector-item {
    flex: 0 1 25% !important; /* Row mein 4 items */
    width: 25% !important;
    max-width: 25% !important;
    padding: 0 20px !important;
    position: relative; /* Divider position ke liye */
    box-sizing: border-box;
}

/* 3. Divider Design (The Vertical Line) */
body .industrial-sector-section .industrial-sector-item::after {
    content: "" !important;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 60px; /* Line ki lambai */
    background: #1a3e72;
    opacity: 0.2;
}

/* 4. Dividers ko hide karne ka Logic */

/* Row 1: Pehle 4 items hain, toh 4th item se line hatao */
body .industrial-sector-section .industrial-sector-item:nth-child(4)::after {
    content: none !important;
}

/* Row 2: 5th, 6th aur 7th items hain (last row), toh 7th (last-child) se line hatao */
body .industrial-sector-section .industrial-sector-item:last-child::after {
    content: none !important;
}

/* Dusri row ke items ki width adjust karna (agar 3 items hain toh) */
body .industrial-sector-section .industrial-sector-item:nth-child(n+5) {
    flex: 0 1 30% !important; /* Dusri row thodi wide taaki centered lage */
}

@media (max-width: 991px) {
    body .industrial-sector-section .industrial-sector-timeline {
        gap: 22px 18px !important;
    }

    body .industrial-sector-section .industrial-sector-item {
        max-width: calc(50% - 9px) !important;
        flex-basis: calc(50% - 9px) !important;
    }
}

@media (max-width: 640px) {
    body .industrial-sector-section .industrial-sector-timeline {
        gap: 18px !important;
    }

    body .industrial-sector-section .industrial-sector-item {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
}


@media (min-width: 992px) {
    :is(
        body .mechanized-area-section .mechanized-area-timeline,
        body .payroll-services-section .payroll-services-list,
        body .fire-service-section .fire-service-list,
        body .rental-available-section .rental-available-list
    ) {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 54px 0 !important;
        max-width: 1080px !important;
        width: min(840px, 100%) !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        border-left: 0 !important;
        justify-items: stretch !important;
        align-items: start !important;
        position: relative;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    ) {
        grid-column: auto !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 clamp(26px, 3.2vw, 42px) !important;
        position: relative !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: center !important;
        min-height: 0 !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    )::before {
        content: none !important;
        display: none !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    )::after {
        content: "" !important;
        position: absolute;
        top: 50%;
        right: 0;
        width: 1px;
        height: 76px;
        background: rgba(26, 62, 114, 0.18);
        transform: translateY(-50%);
        pointer-events: none;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    ):nth-child(3n)::after,
    :is(
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    ):last-child::after {
        content: none !important;
        display: none !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-timeline,
        body .payroll-services-section .payroll-services-list,
        body .fire-service-section .fire-service-list,
        body .rental-available-section .rental-available-list
    ) > *:nth-child(4):nth-last-child(2) {
        grid-column-start: 2 !important;
    }

    body .rental-available-section .rental-available-list {
        grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    }

    body .rental-available-section .rental-available-item {
        grid-column: span 2 !important;
    }

    body .rental-available-section .rental-available-item:nth-child(4):nth-last-child(2) {
        grid-column: 2 / span 2 !important;
    }

    body .rental-available-section .rental-available-item:nth-child(5):last-child {
        grid-column: 4 / span 2 !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-icon,
        body .payroll-services-section .payroll-service-icon,
        body .fire-service-section .fire-service-icon,
        body .rental-available-section .rental-available-icon
    ) {
        margin: 0 auto 14px !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item h3,
        body .payroll-services-section .payroll-service-item h3,
        body .fire-service-section .fire-service-item h3,
        body .rental-available-section .rental-available-item h3
    ) {
        margin: 0 !important;
        min-height: 52px !important;
        max-width: 250px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    :is(
        body .mechanized-area-section .mechanized-area-item p,
        body .payroll-services-section .payroll-service-item p,
        body .fire-service-section .fire-service-item p,
        body .rental-available-section .rental-available-item p
    ) {
        margin: 10px auto 0 !important;
        max-width: 245px !important;
        min-height: 0 !important;
        line-height: 1.72 !important;
        text-align: center !important;
    }
}

@media (max-width: 991px) {
    :is(
        body .industrial-sector-section .industrial-sector-item,
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .rental-available-section .rental-available-item,
        body .fire-service-section .fire-service-item
    )::after {
        content: none !important;
    }

}

@media (max-width: 768px) {
    :is(
        body .industrial-sector-section .industrial-sector-timeline,
        body .mechanized-area-section .mechanized-area-timeline,
        body .payroll-services-section .payroll-services-list,
        body .fire-service-section .fire-service-list,
        body .rental-available-section .rental-available-list
    ) {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 22px 16px !important;
        max-width: 100% !important;
        width: 100% !important;
        justify-items: stretch !important;
        align-items: start !important;
        border-left: 0 !important;
        padding-left: 0 !important;
    }

    :is(
        body .industrial-sector-section .industrial-sector-item,
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    ) {
        grid-column: span 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: none !important;
        padding: 0 4px 8px !important;
        min-height: 0 !important;
        text-align: center !important;
    }

    :is(
        body .industrial-sector-section .industrial-sector-item,
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    )::before,
    :is(
        body .industrial-sector-section .industrial-sector-item,
        body .mechanized-area-section .mechanized-area-item,
        body .payroll-services-section .payroll-service-item,
        body .fire-service-section .fire-service-item,
        body .rental-available-section .rental-available-item
    )::after {
        content: none !important;
        display: none !important;
    }

    :is(
        body .industrial-sector-section .industrial-sector-icon,
        body .mechanized-area-section .mechanized-area-icon,
        body .payroll-services-section .payroll-service-icon,
        body .fire-service-section .fire-service-icon,
        body .rental-available-section .rental-available-icon
    ) {
        position: static !important;
        transform: none !important;
        margin: 0 auto 10px !important;
    }

    :is(
        body .industrial-sector-section .industrial-sector-item h3,
        body .mechanized-area-section .mechanized-area-item h3,
        body .payroll-services-section .payroll-service-item h3,
        body .fire-service-section .fire-service-item h3,
        body .rental-available-section .rental-available-item h3
    ) {
        margin: 0 !important;
        min-height: 42px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 15px !important;
        line-height: 1.35 !important;
        text-align: center !important;
    }

    :is(
        body .industrial-sector-section .industrial-sector-item p,
        body .mechanized-area-section .mechanized-area-item p,
        body .payroll-services-section .payroll-service-item p,
        body .fire-service-section .fire-service-item p,
        body .rental-available-section .rental-available-item p
    ) {
        margin: 8px auto 0 !important;
        max-width: none !important;
        min-height: 0 !important;
        font-size: 13px !important;
        line-height: 1.58 !important;
        text-align: center !important;
    }
}

/* Contact page: split form + map redesign */
body .contact-v4-map-form {
    --contact-shell-bg: rgba(255, 255, 255, 0.78);
    --contact-shell-border: rgba(26, 62, 114, 0.12);
    --contact-ink: #0b1833;
    --contact-muted: rgba(15, 23, 42, 0.68);
    --contact-accent: #1A3E72;
    --contact-accent-soft: rgba(26, 62, 114, 0.08);
    --contact-warm: #F7A72C;
    position: relative;
    overflow: hidden;
    padding: clamp(52px, 6vw, 72px) 20px;
    background:
        radial-gradient(circle at 14% 18%, rgba(26, 62, 114, 0.08), transparent 24%),
        radial-gradient(circle at 88% 82%, rgba(247, 167, 44, 0.14), transparent 26%),
        linear-gradient(180deg, #f7faff 0%, #ffffff 100%);
}

body .contact-v4-map-form::before,
body .contact-v4-map-form::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

body .contact-v4-map-form::before {
    width: 420px;
    height: 420px;
    top: -220px;
    right: -120px;
    background: radial-gradient(circle, rgba(26, 62, 114, 0.12), rgba(26, 62, 114, 0.02) 64%, transparent 74%);
}

body .contact-v4-map-form::after {
    width: 360px;
    height: 360px;
    bottom: -180px;
    left: -120px;
    background: radial-gradient(circle, rgba(247, 167, 44, 0.14), rgba(247, 167, 44, 0.02) 66%, transparent 76%);
}

body .contact-v4-map-form .container {
    position: relative;
    z-index: 1;
    max-width: 1240px;
}

body .contact-v4-map-form-wrap {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 436px) minmax(0, 1fr);
    align-items: end;
    max-width: 1160px;
    margin: 0 auto;
    min-height: clamp(560px, 60vw, 660px);
    padding-block: clamp(18px, 2.5vw, 28px);
    padding-left: 0;
    column-gap: clamp(28px, 4vw, 72px);
}

body .contact-v4-side-social {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px 14px;
    border-radius: 24px;
    background: linear-gradient(180deg, #3567b8 0%, #1A3E72 100%);
    box-shadow: 0 26px 58px rgba(26, 62, 114, 0.26);
}

body .contact-v4-side-social-link {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #ffffff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

body .contact-v4-side-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

body .contact-v4-map-stage-shell {
    position: relative;
    padding-left: 0;
}

body .contact-v4-map-panel {
    position: relative;
    z-index: 0;
    min-height: 690px;
    padding: 30px 30px 24px;
    border-radius: 34px;
    background: var(--contact-shell-bg);
    border: 1px solid var(--contact-shell-border);
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body .contact-v4-map-panel-head {
    margin-bottom: 18px;
    padding-left: clamp(270px, 31vw, 388px);
}

body .contact-v4-map-panel-copy {
    max-width: 420px;
}

body .contact-v4-map-panel-copy h2 {
    margin: 12px 0 6px;
    color: var(--contact-ink);
    font-size: clamp(22px, 2vw, 30px);
    line-height: 1.12;
    letter-spacing: -0.03em;
}

body .contact-v4-map-panel-copy p {
    margin: 0;
    color: var(--contact-muted);
    line-height: 1.65;
    font-size: 14px;
}

body .contact-v4-map-form .contact-v4-map-card {
    margin-top: 0;
    border-radius: 28px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    box-shadow: 0 28px 70px rgba(12, 18, 32, 0.16);
}

body .contact-v4-map-form .contact-v4-map-card iframe {
    height: 500px;
    filter: saturate(0.94) contrast(1.04);
}

body .contact-v4-map-form .contact-v4-map-overlay {
    align-items: flex-end;
    justify-content: flex-start;
    padding: 18px;
}

body .contact-v4-map-form .contact-v4-map-overlay .contact-v4-map-chip {
    background: rgba(11, 24, 51, 0.84);
    border-color: rgba(255, 255, 255, 0.16);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.24);
}

body .contact-v4-map-form .contact-v4-map-link {
    grid-column: 2;
    width: 100%;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    padding-left: 0;
    align-self: end;
}

body .contact-v4-map-form .contact-v4-map-link a {
    width: auto;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    color: var(--contact-accent);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: transform 0.22s ease, box-shadow 0.22s ease, color 0.22s ease;
}

body .contact-v4-map-form .contact-v4-map-link a:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.16);
    color: #163764;
}

body .contact-v4-map-form .contact-v4-form-card--overlay {
    grid-column: 1;
    position: relative;
    left: auto;
    top: auto;
    z-index: 2;
    width: min(100%, 436px);
    margin: 0 auto 0 0;
    transform: none;
    padding: 28px 26px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.84);
    box-shadow: 0 32px 86px rgba(12, 18, 32, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body .contact-v4-map-form .contact-v4-form-card-copy {
    margin-bottom: 14px;
}

body .contact-v4-map-form .contact-v4-form-chip {
    display: none;
}

body .contact-v4-map-form .contact-v4-form-card-copy h2 {
    margin: 0 0 10px;
    color: var(--contact-ink);
    font-size: clamp(26px, 2.8vw, 36px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

body .contact-v4-map-form .contact-v4-form-card-copy p {
    margin: 0;
    color: var(--contact-muted);
    line-height: 1.58;
    font-size: 13px;
}

body .contact-v4-map-form .contact-form {
    padding: 0;
    display: grid;
    gap: 12px;
}

body .contact-v4-map-form .contact-form .kps-label-icon {
    display: none;
}

body .contact-v4-map-form .contact-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body .contact-v4-map-form .contact-form input,
body .contact-v4-map-form .contact-form select {
    min-height: 46px;
    margin-top: 0;
    padding: 12px 0 12px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(26, 62, 114, 0.22);
    background: transparent;
    box-shadow: none;
    font-size: 13px;
    color: var(--contact-ink);
}

body .contact-v4-map-form .contact-form textarea {
    min-height: 104px;
    margin-top: 0;
    padding: 12px 14px;
    border-radius: 18px;
    border: 1px solid rgba(26, 62, 114, 0.12);
    background: linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.98));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
    font-size: 14px;
    color: var(--contact-ink);
}

body .contact-v4-map-form .contact-form input::placeholder,
body .contact-v4-map-form .contact-form textarea::placeholder,
body .contact-v4-map-form .contact-form select {
    color: rgba(15, 23, 42, 0.46);
    font-size: 13px;
}

body .contact-v4-map-form .contact-form input:focus,
body .contact-v4-map-form .contact-form select:focus {
    border-color: var(--contact-accent);
    box-shadow: 0 1px 0 0 var(--contact-accent);
    transform: none;
}

body .contact-v4-map-form .contact-form textarea:focus {
    border-color: rgba(26, 62, 114, 0.4);
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.08);
    transform: none;
}

body .contact-v4-map-form .contact-inline-fields {
    gap: 12px;
}

body .contact-v4-map-form .contact-field {
    gap: 0;
}

body .contact-v4-map-form .contact-page-main .g-recaptcha-wrap,
body .contact-v4-map-form .g-recaptcha-wrap {
    margin-top: 16px;
}

body .contact-v4-map-form .g-recaptcha-wrap > div {
    transform: scale(0.92);
    transform-origin: left top;
}

body .contact-v4-map-form .contact-submit-btn {
    width: 100%;
    margin-top: 14px;
    min-height: 46px;
    border: 0;
    border-radius: 6px;
    background: rgb(245 158 11 / var(--tw-bg-opacity, 1));
    color: #ffffff;
    box-shadow: none;
}

body .contact-v4-map-form .contact-submit-btn:hover {
    background: #e65c00;
    transform: translateY(-3px);
    box-shadow: none;
}

body .contact-v4-map-form .alert {
    border-radius: 14px;
    background: #f8fafc;
    border-color: rgba(26, 62, 114, 0.12);
}

@media (max-width: 1100px) {
    body .contact-v4-map-form-wrap {
        padding-left: 0;
    }

    body .contact-v4-side-social {
        display: none;
    }

    body .contact-v4-map-panel {
        min-height: 720px;
    }

    body .contact-v4-map-panel-head {
        padding-left: 310px;
    }
}

@media (max-width: 980px) {
    body .contact-v4-map-form-wrap {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        column-gap: 0;
    }

    body .contact-v4-map-form {
        padding: 40px 20px;
    }

    body .contact-v4-map-stage-shell {
        padding-left: 0;
        display: grid;
        gap: 18px;
    }

    body .contact-v4-map-panel {
        min-height: auto;
        padding: 24px 22px 22px;
        order: 2;
    }

    body .contact-v4-map-panel-head,
    body .contact-v4-map-form .contact-v4-map-link {
        padding-left: 0;
    }

    body .contact-v4-map-form .contact-v4-form-card--overlay {
        position: relative;
        top: auto;
        left: auto;
        width: 100%;
        max-width: none;
        transform: none;
        order: 1;
    }

    body .contact-v4-map-form .contact-v4-map-card iframe {
        height: 420px;
    }

    body .contact-v4-map-form .contact-v4-map-link {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    body .contact-v4-map-form {
        padding: 28px 16px;
    }

    body .contact-v4-map-panel {
        padding: 20px 16px 18px;
        border-radius: 24px;
    }

    body .contact-v4-map-form .contact-v4-form-card--overlay {
        padding: 24px 18px 22px;
        border-radius: 22px;
    }

    body .contact-v4-map-panel-copy h2,
    body .contact-v4-map-form .contact-v4-form-card-copy h2 {
        font-size: clamp(24px, 7.4vw, 32px);
    }

    body .contact-v4-map-form .contact-v4-form-card-copy p {
        font-size: 12px;
    }

    body .contact-v4-map-form .contact-inline-fields {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body .contact-v4-map-form .contact-v4-map-card iframe {
        height: 320px;
    }

    body .contact-v4-map-form .contact-v4-map-link a {
        width: auto;
        min-height: 46px;
        padding: 12px 18px;
        font-size: 14px;
    }

    body .contact-v4-map-form .g-recaptcha-wrap > div {
        transform: scale(0.86);
    }
}

/* Contact mockup: exact photo-inspired composition in theme colors */
body .contact-v4-map-form--mock {
    position: relative;
    overflow: hidden;
    padding: 28px 20px 108px;
    background:
        radial-gradient(circle at 18% 14%, rgba(26, 62, 114, 0.08), transparent 24%),
        radial-gradient(circle at 86% 84%, rgba(247, 167, 44, 0.12), transparent 24%),
        linear-gradient(180deg, #f7f9ff 0%, #ffffff 100%);
}

body .contact-v4-map-form--mock::before,
body .contact-v4-map-form--mock::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.6;
}

body .contact-v4-map-form--mock::before {
    width: 460px;
    height: 460px;
    top: -230px;
    left: 12%;
    border: 34px solid rgba(26, 62, 114, 0.04);
}

body .contact-v4-map-form--mock::after {
    width: 380px;
    height: 380px;
    right: -120px;
    bottom: -170px;
    border: 28px solid rgba(247, 167, 44, 0.05);
}

body .contact-v4-map-form--mock .container {
    position: relative;
    z-index: 1;
}

body .contact-v4-map-form--mock .contact-v4-mock-shell {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
}

body .contact-v4-map-form--mock .contact-v4-mock-social {
    position: absolute;
    left: 0;
    top: 50%;
    z-index: 1;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 12px;
    border-radius: 22px;
    background: linear-gradient(180deg, #3567b8 0%, #1A3E72 100%);
    box-shadow: 0 26px 54px rgba(26, 62, 114, 0.28);
}

body .contact-v4-map-form--mock .contact-v4-mock-social-link {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease;
}

body .contact-v4-map-form--mock .contact-v4-mock-social-link:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 12px 24px rgba(8, 15, 30, 0.18);
}

body .contact-v4-map-form--mock .contact-v4-mock-social-link svg {
    width: 18px;
    height: 18px;
    display: block;
}

body .contact-v4-map-form--mock .contact-v4-mock-stage {
    position: relative;
    min-height: 540px;
}

body .contact-v4-map-form--mock .contact-v4-mock-map-card {
    position: relative;
    margin-left: 260px;
    width: calc(100% - 260px);
    padding: 12px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.68);
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body .contact-v4-map-form--mock .contact-v4-mock-map-card iframe {
    width: 100%;
    height: 382px;
    border: 0;
    display: block;
    border-radius: 20px;
    filter: saturate(0.96) contrast(1.02);
}

body .contact-v4-map-form--mock .contact-v4-mock-map-mini {
    position: absolute;
    top: 28px;
    left: 28px;
    z-index: 2;
    width: min(240px, calc(100% - 56px));
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(26, 62, 114, 0.14);
    box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

body .contact-v4-map-form--mock .contact-v4-mock-map-mini strong {
    display: block;
    color: #1A3E72;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

body .contact-v4-map-form--mock .contact-v4-mock-map-mini span {
    display: block;
    margin-top: 4px;
    color: rgba(15, 23, 42, 0.62);
    font-size: 11px;
    line-height: 1.5;
}

body .contact-v4-map-form--mock .contact-v4-mock-form-card {
    position: absolute;
    left: 48px;
    top: 50%;
    z-index: 2;
    width: min(100%, 360px);
    transform: translateY(-50%);
    padding: 34px 28px 24px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.92);
    box-shadow: 0 30px 74px rgba(12, 18, 32, 0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

body .contact-v4-map-form--mock .contact-v4-mock-form-copy {
    margin-bottom: 18px;
}

body .contact-v4-map-form--mock .contact-v4-mock-form-copy h2 {
    margin: 0;
    color: #1A3E72;
    font-size: clamp(30px, 3vw, 40px);
    line-height: 1.02;
    letter-spacing: -0.03em;
}

body .contact-v4-map-form--mock .contact-form {
    display: grid;
    gap: 16px;
    padding: 0;
}

body .contact-v4-map-form--mock .contact-form label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body .contact-v4-map-form--mock .contact-form input[type="hidden"] {
    display: none;
}

body .contact-v4-map-form--mock .contact-form input:not([type="hidden"]):not([type="checkbox"]) {
    min-height: 44px;
    padding: 10px 0 12px;
    border: 0;
    border-bottom: 1.5px solid rgba(26, 62, 114, 0.28);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #0f172a;
    font-size: 14px;
}

body .contact-v4-map-form--mock .contact-form textarea {
    min-height: 128px;
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(26, 62, 114, 0.08);
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 14px;
    resize: vertical;
}

body .contact-v4-map-form--mock .contact-form input:not([type="hidden"]):not([type="checkbox"])::placeholder,
body .contact-v4-map-form--mock .contact-form textarea::placeholder {
    color: rgba(26, 62, 114, 0.34);
}

body .contact-v4-map-form--mock .contact-form input:not([type="hidden"]):not([type="checkbox"]):focus {
    border-color: #1A3E72;
    box-shadow: 0 1px 0 0 #1A3E72;
    transform: none;
}

body .contact-v4-map-form--mock .contact-form textarea:focus {
    border-color: rgba(26, 62, 114, 0.28);
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.08);
    transform: none;
}

body .contact-v4-map-form--mock .contact-v4-mock-note {
    margin: 0;
    color: rgba(15, 23, 42, 0.5);
    font-size: 11px;
    line-height: 1.6;
}

body .contact-v4-map-form--mock .contact-v4-mock-check {
    position: relative;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    overflow: visible;
    white-space: normal;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(26, 62, 114, 0.72);
    font-size: 12px;
    font-weight: 500;
}

body .contact-v4-map-form--mock .contact-v4-mock-check input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #F7A72C;
}

body .contact-v4-map-form--mock .contact-v4-mock-check span {
    display: inline-block;
    line-height: 1.45;
}

body .contact-v4-map-form--mock .g-recaptcha-wrap {
    margin-top: 2px;
}

body .contact-v4-map-form--mock .g-recaptcha-wrap > div {
    transform: scale(0.92);
    transform-origin: left top;
}

body .contact-v4-map-form--mock .contact-submit-btn {
    width: 100%;
    min-height: 46px;
    margin-top: 2px;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #3567b8 0%, #1A3E72 100%);
    color: #ffffff;
    box-shadow: 0 16px 30px rgba(26, 62, 114, 0.24);
}

body .contact-v4-map-form--mock .contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 36px rgba(26, 62, 114, 0.28);
}

body .contact-v4-map-form--mock .alert {
    border-radius: 12px;
    background: #f8fbff;
    border-color: rgba(26, 62, 114, 0.14);
}

@media (max-width: 1024px) {
    body .contact-v4-map-form--mock {
        padding-bottom: 92px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-social {
        display: none;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-map-card {
        margin-left: 180px;
        width: calc(100% - 180px);
    }

    body .contact-v4-map-form--mock .contact-v4-mock-form-card {
        left: 0;
        width: min(100%, 340px);
    }
}

@media (max-width: 900px) {
    body .contact-v4-map-form--mock .contact-v4-mock-stage {
        min-height: auto;
        display: grid;
        gap: 18px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-form-card {
        position: relative;
        left: auto;
        top: auto;
        width: 100%;
        max-width: none;
        transform: none;
        order: 1;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-map-card {
        width: 100%;
        margin-left: 0;
        order: 2;
    }
}

@media (max-width: 640px) {
    body .contact-v4-map-form--mock {
        padding: 18px 16px 72px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-form-card {
        padding: 26px 18px 20px;
        border-radius: 22px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-form-copy h2 {
        font-size: clamp(26px, 8vw, 34px);
    }

    body .contact-v4-map-form--mock .contact-v4-mock-map-card {
        padding: 10px;
        border-radius: 22px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-map-card iframe {
        height: 300px;
        border-radius: 16px;
    }

    body .contact-v4-map-form--mock .contact-v4-mock-map-mini {
        top: 20px;
        left: 20px;
        width: min(220px, calc(100% - 40px));
    }

    body .contact-v4-map-form--mock .g-recaptcha-wrap > div {
        transform: scale(0.86);
    }
}

body .contact-v4-hub {
    position: relative;
    overflow: hidden;
    padding: 24px 20px 110px;
    background:
        radial-gradient(circle at 12% 8%, rgba(26, 62, 114, 0.08), transparent 22%),
        radial-gradient(circle at 86% 78%, rgba(247, 167, 44, 0.12), transparent 24%),
        linear-gradient(180deg, #f8f9ff 0%, #ffffff 100%);
}

body .contact-v4-hub::before,
body .contact-v4-hub::after {
    content: "";
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    opacity: 0.7;
}

body .contact-v4-hub::before {
    top: -170px;
    left: 9%;
    width: 360px;
    height: 360px;
    border: 28px solid rgba(26, 62, 114, 0.04);
}

body .contact-v4-hub::after {
    right: -120px;
    bottom: -160px;
    width: 320px;
    height: 320px;
    border: 24px solid rgba(247, 167, 44, 0.06);
}

body .contact-v4-hub .container {
    position: relative;
    z-index: 1;
}

body .contact-v4-hub .contact-v4-hub-shell {
    display: grid;
    grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
    gap: 34px;
    align-items: stretch;
    max-width: 1160px;
    margin: 0 auto;
}

body .contact-v4-hub .contact-v4-hub-panel {
    padding: 36px 34px 32px;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 30px 74px rgba(12, 18, 32, 0.12);
}

body .contact-v4-hub .contact-v4-hub-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

body .contact-v4-hub .contact-v4-hub-brand-mark {
    width: 18px;
    height: 18px;
    border-radius: 7px;
    background: linear-gradient(135deg, #F7A72C 0%, #1A3E72 100%);
    box-shadow: 0 8px 18px rgba(26, 62, 114, 0.18);
}

body .contact-v4-hub .contact-v4-hub-brand-text {
    color: #1A3E72;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

body .contact-v4-hub .contact-v4-hub-copy {
    margin-bottom: 20px;
}

body .contact-v4-hub .contact-v4-hub-copy h2 {
    margin: 0;
    color: #1A3E72;
    font-size: clamp(30px, 3vw, 42px);
    line-height: 1.04;
    letter-spacing: -0.03em;
}

body .contact-v4-hub .contact-v4-hub-copy p {
    margin: 8px 0 0;
    max-width: 420px;
    color: rgba(15, 23, 42, 0.62);
    font-size: 15px;
    line-height: 1.72;
}

body .contact-v4-hub .contact-v4-hub-copy--form {
    margin: 28px 0 14px;
}

body .contact-v4-hub .contact-v4-hub-copy--form h2 {
    font-size: clamp(28px, 2.7vw, 38px);
}

body .contact-v4-hub .contact-v4-hub-locations {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body .contact-v4-hub .contact-v4-hub-location {
    padding: 16px 18px;
    border-radius: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid rgba(26, 62, 114, 0.08);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.05);
}

body .contact-v4-hub .contact-v4-hub-location--wide {
    grid-column: 1 / -1;
}

body .contact-v4-hub .contact-v4-hub-location h3 {
    margin: 0 0 6px;
    color: #1A3E72;
    font-size: 15px;
    font-weight: 800;
}

body .contact-v4-hub .contact-v4-hub-location p {
    margin: 0;
    color: rgba(15, 23, 42, 0.66);
    font-size: 13px;
    line-height: 1.7;
}

body .contact-v4-hub .contact-v4-hub-location a {
    color: inherit;
    text-decoration: none;
}

body .contact-v4-hub .contact-v4-hub-form {
    display: grid;
    gap: 14px;
}

body .contact-v4-hub .contact-v4-hub-form input[type="hidden"] {
    display: none;
}

body .contact-v4-hub .contact-v4-hub-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body .contact-v4-hub .contact-v4-hub-field {
    position: relative;
}

body .contact-v4-hub .contact-v4-hub-field label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body .contact-v4-hub .contact-v4-hub-field input,
body .contact-v4-hub .contact-v4-hub-field textarea {
    width: 100%;
    border: 1px solid rgba(26, 62, 114, 0.1);
    border-radius: 10px;
    background: #fafbff;
    box-shadow: none;
    color: #0f172a;
    font-size: 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body .contact-v4-hub .contact-v4-hub-field input {
    min-height: 48px;
    padding: 12px 14px;
}

body .contact-v4-hub .contact-v4-hub-field textarea {
    min-height: 118px;
    padding: 14px;
    resize: vertical;
}

body .contact-v4-hub .contact-v4-hub-field input::placeholder,
body .contact-v4-hub .contact-v4-hub-field textarea::placeholder {
    color: rgba(15, 23, 42, 0.34);
}

body .contact-v4-hub .contact-v4-hub-field input:focus,
body .contact-v4-hub .contact-v4-hub-field textarea:focus {
    border-color: rgba(26, 62, 114, 0.3);
    background: #ffffff;
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.07);
    transform: none;
}

body .contact-v4-hub .contact-v4-hub-note {
    margin: 0;
    color: rgba(15, 23, 42, 0.5);
    font-size: 11px;
    line-height: 1.7;
}

body .contact-v4-hub .contact-v4-hub-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(26, 62, 114, 0.72);
    font-size: 12px;
    font-weight: 500;
}

body .contact-v4-hub .contact-v4-hub-check input {
    width: 14px;
    height: 14px;
    margin: 0;
    accent-color: #F7A72C;
}

body .contact-v4-hub .contact-v4-hub-check span {
    line-height: 1.45;
}

body .contact-v4-hub .g-recaptcha-wrap {
    margin-top: 2px;
}

body .contact-v4-hub .g-recaptcha-wrap > div {
    transform-origin: left top;
}

body .contact-v4-hub .contact-submit-btn {
    width: 100%;
    min-height: 48px;
    margin-top: 2px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #3567b8 0%, #1A3E72 100%);
    color: #ffffff;
    box-shadow: 0 18px 30px rgba(26, 62, 114, 0.22);
}

body .contact-v4-hub .contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 36px rgba(26, 62, 114, 0.26);
}

body .contact-v4-hub .alert {
    margin-bottom: 0;
    border-radius: 12px;
    background: #f8fbff;
    border-color: rgba(26, 62, 114, 0.14);
}

body .contact-v4-hub .contact-v4-hub-map {
    display: flex;
    align-items: stretch;
}

body .contact-v4-hub .contact-v4-hub-map-card {
    flex: 1 1 auto;
    width: 100%;
    padding: 14px;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(26, 62, 114, 0.1);
    box-shadow: 0 30px 70px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body .contact-v4-hub .contact-v4-hub-map-card iframe {
    width: 100%;
    height: 100%;
    min-height: 760px;
    border: 0;
    display: block;
    border-radius: 22px;
}

body .contact-v4-hub--form-only .contact-v4-hub-shell {
    max-width: 1020px;
    grid-template-columns: minmax(0, 400px) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

body .contact-v4-hub--form-only {
    padding: 12px 20px 78px;
    background: #ffffff;
}

body .contact-v4-hub--form-only::before,
body .contact-v4-hub--form-only::after {
    display: none;
}

body .contact-v4-hub--form-only .contact-v4-hub-copy--form {
    margin: 0 0 12px;
}

body .contact-v4-hub--form-only .contact-v4-hub-copy--form h2 {
    font-size: clamp(26px, 2.8vw, 34px);
}

body .contact-v4-hub--form-only .contact-v4-hub-panel {
    padding: 26px 24px 22px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}

body .contact-v4-hub--form-only .contact-v4-hub-map-card iframe {
    min-height: 520px;
}

body .contact-v4-hub--form-only .contact-v4-hub-map-card {
    padding: 8px;
    border-radius: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

body .contact-v4-hub--form-only .contact-v4-hub-copy p {
    max-width: none;
}

body .contact-v4-hub--form-only .contact-v4-hub-form {
    gap: 2px;
}

body .contact-v4-hub--form-only .contact-v4-hub-form label {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 10px 0 0;
    overflow: visible;
    clip: auto;
    white-space: normal;
    border: 0;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #1A3E72;
    font-size: 13px;
}

body .contact-v4-hub--form-only .contact-v4-hub-form input,
body .contact-v4-hub--form-only .contact-v4-hub-form select,
body .contact-v4-hub--form-only .contact-v4-hub-form textarea {
    width: 100%;
    margin-top: 6px;
    padding: 11px 12px;
    border: 1px solid #dbe3ee;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: none;
    color: #0f172a;
    font-size: 13px;
}

body .contact-v4-hub--form-only .contact-v4-hub-form input:focus,
body .contact-v4-hub--form-only .contact-v4-hub-form select:focus,
body .contact-v4-hub--form-only .contact-v4-hub-form textarea:focus {
    border-color: #1A3E72;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(26, 62, 114, 0.08);
    outline: none;
}

body .contact-v4-hub--form-only .contact-v4-hub-form textarea {
    min-height: 112px;
    resize: vertical;
}

body .contact-v4-hub--form-only .contact-inline-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body .contact-v4-hub--form-only .contact-field {
    display: flex;
    flex-direction: column;
    gap: 0;
}

body .contact-v4-hub--form-only .contact-v4-hub-note {
    margin-top: 10px;
}

body .contact-v4-hub--form-only .contact-submit-btn {
    margin-top: 12px;
    min-height: 44px;
    border-radius: 8px;
}

body .contact-v4-hub--form-only .g-recaptcha-wrap {
    margin-top: 12px;
}

body .contact-v4-glass-map-form {
    margin-bottom: 120px;
}

body .contact-v4-glass-map-form .contact-v4-glass-map {
    position: relative;
    height: 300px;
    overflow: hidden;
    background: #eef4fb;
}

body .contact-v4-glass-map-form .contact-v4-glass-map iframe {
    width: 100%;
    height: 480px;
    display: block;
}

body .contact-v4-glass-map-form .container {
    max-width: 1240px;
    padding-left: 24px;
    padding-right: 24px;
}

body .contact-v4-glass-map-form .contact-v4-glass-shell {
    margin-top: -100px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    padding: 34px 28px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 30px;
}

body .contact-v4-glass-map-form .contact-v4-glass-copy h2 {
    margin: 0;
    color: #1A3E72;
    font-size: clamp(28px, 2.4vw, 36px);
    line-height: 1.1;
}

body .contact-v4-glass-map-form .contact-v4-glass-copy p {
    margin: 10px 0 0;
    color: rgba(15, 23, 42, 0.66);
    line-height: 1.72;
}

body .contact-v4-glass-map-form .contact-v4-glass-form {
    margin-top: 22px;
}

body .contact-v4-glass-map-form .contact-v4-glass-form .alert {
    margin-bottom: 14px;
    border-radius: 12px;
    background: #f8fbff;
    border-color: rgba(26, 62, 114, 0.14);
}

body .contact-v4-glass-map-form .contact-v4-glass-floating {
    position: relative;
    margin-bottom: 18px;
}

body .contact-v4-glass-map-form .contact-v4-glass-floating input,
body .contact-v4-glass-map-form .contact-v4-glass-floating textarea,
body .contact-v4-glass-map-form .contact-v4-glass-select select {
    width: 100%;
    border: 2px solid rgba(148, 163, 184, 0.34);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    padding: 20px 14px 10px;
    color: #0f172a;
    font-size: 14px;
    box-shadow: none;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body .contact-v4-glass-map-form .contact-v4-glass-floating textarea {
    min-height: 118px;
    resize: vertical;
}

body .contact-v4-glass-map-form .contact-v4-glass-floating label {
    position: absolute;
    top: 16px;
    left: 14px;
    margin: 0;
    padding: 0 4px;
    color: #64748b;
    font-size: 14px;
    line-height: 1;
    background: rgba(255, 255, 255, 0.84);
    pointer-events: none;
    transform-origin: left top;
    transition: transform 0.2s ease, color 0.2s ease, top 0.2s ease;
}

body .contact-v4-glass-map-form .contact-v4-glass-floating input:focus,
body .contact-v4-glass-map-form .contact-v4-glass-floating textarea:focus,
body .contact-v4-glass-map-form .contact-v4-glass-select select:focus {
    border-color: #1A3E72;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 0 0 4px rgba(26, 62, 114, 0.08);
}

body .contact-v4-glass-map-form .contact-v4-glass-floating input:focus + label,
body .contact-v4-glass-map-form .contact-v4-glass-floating input:not(:placeholder-shown) + label,
body .contact-v4-glass-map-form .contact-v4-glass-floating textarea:focus + label,
body .contact-v4-glass-map-form .contact-v4-glass-floating textarea:not(:placeholder-shown) + label {
    top: -9px;
    transform: scale(0.84);
    color: #1A3E72;
}

body .contact-v4-glass-map-form .contact-v4-glass-form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

body .contact-v4-glass-map-form .contact-v4-glass-select {
    margin-bottom: 18px;
}

body .contact-v4-glass-map-form .contact-v4-glass-select label {
    display: block;
    margin: 0 0 8px;
    color: #475569;
    font-size: 14px;
    font-weight: 600;
}

body .contact-v4-glass-map-form .contact-v4-glass-select select {
    padding: 14px 14px;
}

body .contact-v4-glass-map-form .contact-v4-glass-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
    color: #475569;
    font-size: 13px;
}

body .contact-v4-glass-map-form .contact-v4-glass-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: #1A3E72;
}

body .contact-v4-glass-map-form .g-recaptcha-wrap {
    margin-top: 18px;
}

body .contact-v4-glass-map-form .g-recaptcha-wrap > div {
    transform-origin: left top;
}

body .contact-v4-glass-map-form .contact-submit-btn {
    width: 100%;
    margin-top: 18px;
    min-height: 46px;
    border-radius: 10px;
    background: #2b8dcf;
    border: 0;
    color: #ffffff;
    box-shadow: none;
}

body .contact-v4-glass-map-form .contact-submit-btn:hover {
    transform: translateY(-1px);
    background: #1A3E72;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 18px;
    height: 100%;
    align-content: center;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-icon {
    flex: 0 0 auto;
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(53, 162, 235, 0.16);
    color: #1A3E72;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-icon svg {
    width: 24px;
    height: 24px;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-body p {
    margin: 0 0 6px;
    color: #0f172a;
    font-size: 16px;
    font-weight: 800;
}

body .contact-v4-glass-map-form .contact-v4-glass-info-body span {
    display: block;
    color: rgba(15, 23, 42, 0.68);
    font-size: 14px;
    line-height: 1.65;
}

@media (max-width: 991px) {
    body .contact-v4-glass-map-form {
        margin-bottom: 88px;
    }

    body .contact-v4-glass-map-form .contact-v4-glass-shell {
        grid-template-columns: 1fr;
        gap: 26px;
        margin-top: -72px;
        padding: 26px 20px;
    }

    body .contact-v4-glass-map-form .contact-v4-glass-info-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body .contact-v4-glass-map-form .contact-v4-glass-map {
        height: 240px;
    }

    body .contact-v4-glass-map-form .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    body .contact-v4-glass-map-form .contact-v4-glass-shell {
        margin-top: -54px;
        border-radius: 20px;
        padding: 22px 16px;
    }

    body .contact-v4-glass-map-form .contact-v4-glass-form-row,
    body .contact-v4-glass-map-form .contact-v4-glass-info-grid {
        grid-template-columns: 1fr;
    }

    body .contact-v4-glass-map-form .contact-v4-glass-info-icon {
        width: 48px;
        height: 48px;
        border-radius: 10px;
    }

    body .contact-v4-glass-map-form .g-recaptcha-wrap > div {
        transform: scale(0.9);
    }
}

/* Mechanized scope block: keep exact same layout/spacing wherever reused */
body .mechanized-scope-showcase {
    position: relative;
    background: #ffffff !important;
    overflow: hidden;
    padding: clamp(52px, 6vw, 92px) 0 !important;
}

body .mechanized-scope-showcase .container {
    max-width: 1180px;
}

body .mechanized-scope-showcase .mechanized-scope-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
    gap: clamp(22px, 3vw, 42px) !important;
    align-items: center !important;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

body .mechanized-scope-showcase .mechanized-scope-copy {
    max-width: 560px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

body .mechanized-scope-showcase .mechanized-scope-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #9a5a00;
    background: #fff2e3;
    border: 1px solid rgba(245, 180, 0, 0.45);
    border-radius: 999px;
    padding: 6px 16px;
}

body .mechanized-scope-showcase .mechanized-scope-title {
    margin: 14px 0 0 !important;
    color: #1a3e72;
    font-size: clamp(30px, 3.2vw, 40px) !important;
    line-height: 1.15 !important;
}

body .mechanized-scope-showcase .mechanized-scope-underline {
    width: 46px !important;
    height: 3px !important;
    margin-top: 12px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    background: #f5b400 !important;
    border-radius: 999px !important;
}

body .mechanized-scope-showcase .mechanized-scope-lead {
    margin: 14px 0 0 !important;
    color: rgba(15, 23, 42, 0.7) !important;
    line-height: 1.7 !important;
     font-size: 17px;
}

body .mechanized-scope-showcase .mechanized-scope-services {
    margin-top: 18px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px 28px !important;
    text-align: left !important;
}

body .mechanized-scope-showcase .mechanized-scope-service {
    position: relative;
    padding: 14px 0 12px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #1f2937 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    text-align: left !important;
}

body .mechanized-scope-showcase .mechanized-scope-service::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 24px !important;
    height: 1px !important;
    background: #f5b400 !important;
    border-radius: 999px;
}

body .mechanized-scope-showcase .mechanized-scope-service::after {
    content: "";
    position: absolute;
    left: 24px !important;
    right: 0 !important;
    top: 0;
    width: auto !important;
    height: 1px !important;
    background: #e3e8ef !important;
}

body .mechanized-scope-showcase .mechanized-scope-media {
    width: 100%;
    max-width: 560px;
    min-height: 360px;
    margin-left: auto;
    border-radius: 26px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
}

body .mechanized-scope-showcase .mechanized-scope-media img {
    width: 100% !important;
    height: 360px !important;
    object-fit: cover !important;
    border-radius: 26px !important;
    box-shadow: none !important;
}

@media (max-width: 1100px) {
    body .contact-v4-hub .contact-v4-hub-shell {
        grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
        gap: 26px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-shell {
        grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
        gap: 20px;
    }

    body .contact-v4-hub .contact-v4-hub-panel {
        padding: 32px 28px 28px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-panel {
        padding: 24px 22px 20px;
    }

    body .contact-v4-hub .contact-v4-hub-map-card iframe {
        min-height: 720px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-map-card iframe {
        min-height: 460px;
    }
}

@media (max-width: 900px) {
    body .contact-v4-hub {
        padding-bottom: 86px;
    }

    body .contact-v4-hub .contact-v4-hub-shell {
        grid-template-columns: 1fr;
    }

    body .contact-v4-hub .contact-v4-hub-map {
        order: 2;
    }

    body .contact-v4-hub .contact-v4-hub-map-card iframe {
        min-height: 420px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-map-card iframe {
        min-height: 360px;
    }

    body .contact-v4-hub--form-only .contact-inline-fields {
        grid-template-columns: 1fr;
    }

    body .mechanized-scope-showcase .mechanized-scope-grid {
        grid-template-columns: 1fr !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-services {
        grid-template-columns: 1fr !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-media img {
        height: 260px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 640px) {
    body .mechanized-scope-showcase {
        padding: 44px 0 !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-grid {
        gap: 18px !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-copy {
        max-width: none !important;
        text-align: center !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-title {
        font-size: clamp(24px, 6vw, 32px) !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-underline {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-lead {
        font-size: 14px !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-services {
        gap: 10px !important;
        margin-top: 16px !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-service {
        padding: 12px 14px !important;
        border-radius: 14px !important;
        background: #ffffff !important;
        border: 1px solid rgba(15, 23, 42, 0.1) !important;
        box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08) !important;
        text-align: left !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-service::before,
    body .mechanized-scope-showcase .mechanized-scope-service::after {
        display: none !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-media img {
        height: 220px !important;
        border-radius: 18px !important;
    }
}

@media (max-width: 640px) {
    body .mechanized-scope-showcase,
    body .fire-benefits-showcase,
    body .rental-benefits-showcase {
        padding: 18px 0 !important;
        overflow: hidden !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-grid,
    body .fire-benefits-showcase .fire-benefits-grid,
    body .rental-benefits-showcase .rental-benefits-grid {
        gap: 14px !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-media,
    body .fire-benefits-showcase .fire-benefits-media,
    body .rental-benefits-showcase .rental-benefits-media {
        order: 2;
        position: relative;
        top: 0;
        width: min(100%, 152px) !important;
        max-width: 152px !important;
        min-height: 0;
        margin: 8px auto 0 !important;
        border-radius: 0 !important;
        overflow: hidden !important;
        box-shadow: none !important;
    }

    body .mechanized-scope-showcase .mechanized-scope-media img,
    body .fire-benefits-showcase .fire-benefits-media img,
    body .rental-benefits-showcase .rental-benefits-media img {
        display: block;
        width: 100% !important;
        height: clamp(206px, 62vw, 248px) !important;
        min-height: 0 !important;
        aspect-ratio: 3 / 4 !important;
        object-fit: cover !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body .mechanized-scope-showcase + .services-theme.industrial-why-section,
    body .fire-benefits-showcase + .services-theme.industrial-why-section,
    body .rental-benefits-showcase + .services-theme.industrial-why-section {
        margin-top: 0 !important;
        padding-top: 56px !important;
    }
}

@media (max-width: 640px) {
    body .service-split-section .about-wrapper {
        gap: 18px !important;
    }

    body .service-split-section .service-main-photo {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        margin: 10px auto 0 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14) !important;
    }

    body .service-split-section .service-main-photo img {
        width: 100% !important;
        max-width: none !important;
        height: clamp(220px, 62vw, 300px) !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 18px !important;
    }

    body .industrial-showcase .industrial-showcase-media,
    body .mechanized-scope-showcase .mechanized-scope-media,
    body .fire-benefits-showcase .fire-benefits-media,
    body .rental-benefits-showcase .rental-benefits-media {
        order: 2;
        width: 100% !important;
        max-width: 100% !important;
        min-height: 0 !important;
        margin: 10px auto 0 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14) !important;
    }

    body .industrial-showcase .industrial-showcase-media img,
    body .mechanized-scope-showcase .mechanized-scope-media img,
    body .fire-benefits-showcase .fire-benefits-media img,
    body .rental-benefits-showcase .rental-benefits-media img {
        width: 100% !important;
        height: clamp(220px, 62vw, 300px) !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 18px !important;
        box-shadow: none !important;
    }
}

/* Service pages: keep mobile portrait/showcase images from overlapping copy */
@media (max-width: 640px) {
    html body .mechanized-scope-showcase:not(.industrial-scope-showcase),
    html body .fire-benefits-showcase,
    html body .rental-benefits-showcase {
        padding: 18px 0 0 !important;
        overflow: visible !important;
    }

    html body .mechanized-scope-showcase:not(.industrial-scope-showcase) + .services-theme.mechanized-advantage-section,
    html body .fire-benefits-showcase + .services-theme.fire-benefit-section,
    html body .rental-benefits-showcase + .services-theme.rental-industry-section {
        margin-top: 15px !important;
        padding-top: 56px !important;
    }

    html body .mechanized-scope-showcase:not(.industrial-scope-showcase) .mechanized-scope-grid,
    html body .fire-benefits-showcase .fire-benefits-grid,
    html body .rental-benefits-showcase .rental-benefits-grid {
        gap: 16px !important;
    }

    html body .mechanized-scope-showcase:not(.industrial-scope-showcase) .mechanized-scope-media,
    html body .fire-benefits-showcase .fire-benefits-media,
    html body .rental-benefits-showcase .rental-benefits-media {
        order: 2;
        position: relative;
        top: auto !important;
        width: min(100%, 451px) !important;
        max-width: 454px !important;
        min-height: 0 !important;
        height: auto !important;
        align-self: start !important;
        margin: 0 auto !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 18px 38px rgba(15, 23, 42, 0.14) !important;
    }

    html body .mechanized-scope-showcase:not(.industrial-scope-showcase) .mechanized-scope-media img,
    html body .fire-benefits-showcase .fire-benefits-media img,
    html body .rental-benefits-showcase .rental-benefits-media img {
        display: block;
        width: 100% !important;
        height: clamp(220px, 96vw, 300px) !important;
        min-height: 0 !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 18px !important;
        box-shadow: none !important;
    }
}

/* Service showcase images: match the narrower industrial-page visual width
   while staying fluid on smaller screens. */
body .industrial-showcase .industrial-showcase-media,
body .mechanized-scope-showcase .mechanized-scope-media,
body .fire-benefits-showcase .fire-benefits-media,
body .rental-benefits-showcase .rental-benefits-media {
    max-width: 485px !important;
}

@media (max-width: 640px) {
    body .industrial-showcase .industrial-showcase-media,
    body .mechanized-scope-showcase .mechanized-scope-media,
    body .fire-benefits-showcase .fire-benefits-media,
    body .rental-benefits-showcase .rental-benefits-media {
        width: min(100%, 485px) !important;
        max-width: 485px !important;
    }
}

@media (max-width: 640px) {
    body .contact-v4-hub {
        padding: 20px 16px 72px;
    }

    body .contact-v4-hub--form-only {
        padding: 8px 16px 64px;
    }

    body .contact-v4-hub .contact-v4-hub-panel {
        padding: 24px 18px 22px;
        border-radius: 22px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-panel {
        padding: 22px 16px 20px;
        border-radius: 18px;
    }

    body .contact-v4-hub .contact-v4-hub-copy h2 {
        font-size: clamp(26px, 8vw, 34px);
    }

    body .contact-v4-hub .contact-v4-hub-locations,
    body .contact-v4-hub .contact-v4-hub-form-row {
        grid-template-columns: 1fr;
    }

    body .contact-v4-hub .g-recaptcha-wrap > div {
        transform: scale(0.9);
    }

    body .contact-v4-hub .contact-v4-hub-map-card {
        padding: 10px;
        border-radius: 22px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-map-card {
        padding: 8px;
        border-radius: 18px;
    }

    body .contact-v4-hub .contact-v4-hub-map-card iframe {
        min-height: 320px;
        border-radius: 16px;
    }

    body .contact-v4-hub--form-only .contact-v4-hub-map-card iframe {
        min-height: 280px;
        border-radius: 14px;
    }
}

body .contact-v4-map-form--details {
    padding: 55px 20px 22px;
    background: #e5e7eb;
    overflow: visible;
}

body .contact-v4-map-form--details::before,
body .contact-v4-map-form--details::after {
    display: none;
}

body .contact-v4-map-form--details .contact-v4-map-form-wrap--details {
    min-height: 0;
    max-width: 1180px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, 440px);
    grid-template-areas:
        "header header"
        "details form";
    align-items: stretch;
    gap: 32px;
    padding-block: 0;
}

body .contact-v4-map-form--details .contact-v4-details-panel {
    grid-area: details;
    display: grid;
    height: 100%;
    gap: 0;
}

body .contact-v4-map-form--details .contact-v4-detail-stack-head {
    grid-area: header;
    justify-self: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin: 0 auto 12px;
    text-align: center;
}

body .contact-v4-map-form--details .contact-v4-detail-stack-head .underline {
    margin-left: auto;
    margin-right: auto;
     font-size: 17px;
}

body .contact-v4-map-form--details .contact-v4-detail-stack-head p {
    margin-left: auto;
    margin-right: auto;
}

body .contact-v4-map-form--details .contact-v4-detail-grid--stack {
    margin: 0;
    height: 100%;
    max-width: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card,
body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card:nth-child(4),
body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card:nth-child(5) {
    grid-column: auto !important;
    min-height: 0;
    height: 100%;
    padding: 28px 18px 22px;
}

body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card:nth-child(5) {
    grid-column: 1 / -1 !important;
}

body .contact-v4-map-form--details .contact-v4-form-card--overlay {
    grid-area: form;
    width: 100%;
    max-width: none;
    margin: 0;
    height: 100%;
    padding: 28px 22px;
    align-self: stretch;
    box-sizing: border-box;
}

body .contact-v4-map-form--details .contact-v4-form-card-copy {
    text-align: center;
}

body .contact-v4-map-strip {
    margin-top: 50px;
    background: #ffffff;
}

body .contact-v4-map-strip .container {
    max-width: none;
    padding-left: 0;
    padding-right: 0;
}

body .contact-v4-map-strip-card {
    max-width: none;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 0;
    border: 0;
    box-shadow: none;
}

body .contact-v4-map-strip-card iframe {
    display: block;
    width: 100%;
    height: 200px;
    border: 0;
}

@media (max-width: 1024px) {
    body .contact-v4-map-form--details .contact-v4-map-form-wrap--details {
        grid-template-columns: 1fr;
        grid-template-areas:
            "header"
            "details"
            "form";
        align-items: start;
        gap: 24px;
    }

    body .contact-v4-map-form--details .contact-v4-details-panel,
    body .contact-v4-map-form--details .contact-v4-detail-grid--stack,
    body .contact-v4-map-form--details .contact-v4-form-card--overlay {
        height: auto;
    }

    body .contact-v4-map-form--details .contact-v4-detail-grid--stack {
        grid-template-rows: none;
    }

    body .contact-v4-map-form--details .contact-v4-form-card--overlay {
        max-width: 760px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    body .contact-v4-map-form--details {
        padding: 18px 16px 14px;
    }

    body .contact-v4-map-form--details .contact-v4-detail-grid--stack {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card,
    body .contact-v4-map-form--details .contact-v4-detail-grid--stack .contact-v4-detail-card:nth-child(5) {
        grid-column: auto !important;
        padding: 24px 16px 18px;
        min-height: 0;
    }

    body .contact-v4-map-strip {
        padding: 14px 0 0;
    }
}

@media (max-width: 768px) {
    .site-main-content > .cta-theme,
    .site-main-content > .about-cta-section,
    .site-main-content > .about-page > .about-cta-section,
    .site-main-content > .contact-cta {
        margin-top: 10px !important;
        margin-bottom: 18px !important;
    }

    .cta-theme {
        padding: 0 12px 18px !important;
    }

    .cta-container {
        min-height: clamp(214px, 64vw, 286px) !important;
        padding: 18px 16px 20px !important;
        padding-right: clamp(132px, 39vw, 186px) !important;
        grid-template-columns: 1fr !important;
        grid-template-areas:
            "title"
            "text"
            "action" !important;
        row-gap: 10px !important;
        column-gap: 0 !important;
        align-items: start !important;
        justify-items: start !important;
        border-radius: 18px !important;
        background: url("../img/KMS_Footer_Cta.jpg.jpeg") center center / cover no-repeat !important;
        overflow: hidden !important;
    }

    .cta-theme.cta-full .cta-container {
        padding: 18px 16px 20px !important;
        padding-right: clamp(132px, 39vw, 186px) !important;
        border-radius: 18px !important;
    }

    .cta-container h2,
    .cta-theme.cta-full .cta-container h2 {
        margin: 0 !important;
        max-width: 100% !important;
        font-size: clamp(21px, 6.4vw, 28px) !important;
        line-height: 1.05 !important;
        text-align: left !important;
        white-space: normal !important;
    }

    .cta-container p,
    .cta-theme.cta-full .cta-container p {
        margin: 0 !important;
        max-width: 100% !important;
        font-size: clamp(12.5px, 3.45vw, 14px) !important;
        line-height: 1.45 !important;
        text-align: left !important;
        color: #ffffff !important;
    }

    .cta-copy-break {
        display: none !important;
    }

    .cta-container .btn-primary {
        justify-self: start !important;
        align-self: start !important;
        margin: 6px 0 0 !important;
        min-width: 0 !important;
        min-height: 42px !important;
        padding: 10px 18px !important;
        width: auto !important;
        max-width: 100% !important;
        font-size: 14px !important;
        line-height: 1.1 !important;
        white-space: nowrap !important;
    }

    .home-banner-media {
        aspect-ratio: auto !important;
        min-height: clamp(138px, 38vw, 198px) !important;
        padding: 6px 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #1A3E72 !important;
    }

    .home-banner-media img {
        width: 100% !important;
        height: auto !important;
        object-fit: contain !important;
        object-position: center center !important;
    }
}

@media (max-width: 480px) {
    .cta-container,
    .cta-theme.cta-full .cta-container {
        min-height: 230px !important;
        padding-right: clamp(124px, 40vw, 168px) !important;
    }

    .cta-container h2,
    .cta-theme.cta-full .cta-container h2 {
        font-size: clamp(19px, 7vw, 24px) !important;
    }

    .cta-container p,
    .cta-theme.cta-full .cta-container p {
        font-size: 12px !important;
    }
}

/* Final mobile service hero sync:
   match the compact payroll hero arrangement across every service page */
@media (max-width: 768px) {
    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 300px !important;
        padding: 68px 16px 20px !important;
        align-items: center !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body .hero.service-hero:not(.service-hero--contact)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.20) 0%,
            rgba(255, 255, 255, 0.10) 34%,
            rgba(255, 255, 255, 0.22) 100%
        ) !important;
        z-index: 0;
        pointer-events: none;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        position: relative;
        z-index: 1;
        width: min(100%, 310px) !important;
        max-width: 310px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        gap: 10px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    

    body .hero.service-hero:not(.service-hero--contact) h1 {
        max-width: 100% !important;
        margin: 0 auto !important;
        font-size: clamp(18px, 5.2vw, 21px) !important;
        line-height: 1.08 !important;
        color: #1a3e72 !important;
        text-wrap: balance !important;
    }

    body .hero.service-hero:not(.service-hero--contact) p {
        max-width: 100% !important;
        margin: 0 auto !important;
        font-size: 12px !important;
        line-height: 1.5 !important;
        color: #1a3e72 !important;
        text-wrap: balance !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__actions {
        width: 100% !important;
        margin-top: 2px !important;
        justify-content: center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .btn-primary {
        width: min(100%, 157px) !important;
        max-width: 196px !important;
        min-height: 27 !important;
        padding: 10px 16px !important;
        border-radius: 14px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        justify-content: center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__chips {
        display: none !important;
    }
}

/* Final mobile fix for service heroes:
   keep the banner visually compact like the About page and avoid stretched/blank areas */
@media (max-width: 768px) {
    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 320px !important;
        padding: 74px 14px 22px !important;
        align-items: flex-start !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        background-color: transparent !important;
    }

    body .hero.service-hero:not(.service-hero--contact)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.06) 28%,
            rgba(255, 255, 255, 0.22) 100%
        );
        pointer-events: none;
        z-index: 0;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        position: relative;
        z-index: 1;
        max-width: min(86%, 336px) !important;
        width: min(86%, 336px) !important;
        margin: -20px auto 0 !important;
        padding: 0 !important;
        gap: 8px !important;
        text-align: center !important;
        align-items: center !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__kicker {
        padding: 6px 14px !important;
        font-size: 10px !important;
        letter-spacing: 0.11em !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border-color: rgba(26, 62, 114, 0.18) !important;
        margin-top: 15px;
    }



    body .hero.service-hero:not(.service-hero--contact) p {
        max-width: 320px !important;
        margin: 0 auto !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        color: #1a3e72 !important;
        text-wrap: balance !important;
        white-space: normal !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__actions,
    body .hero.service-hero.service-hero--industrial .service-hero__actions {
        margin-top: 6px !important;
        width: 100% !important;
        justify-content: center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .btn-primary,
    body .hero.service-hero.service-hero--industrial .btn-primary {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: min(100%, 188px) !important;
        max-width: 163px !important;
        min-height: 36px !important;
        padding: 8px 14px !important;
        font-size: 11px !important;
        line-height: 1.1 !important;
        border-radius: 12px !important;
        box-shadow: 0 12px 28px rgba(245, 158, 11, 0.24) !important;
    }

    body .hero.service-hero.service-hero--industrial {
        background-size: cover !important;
        background-position: center center !important;
    }
}

/* Shared page-head helpers */
:is(.navbar-nav, .nav-links) :is(.dropdown-toggle, .nav-link) {
    position: relative;
}

:is(.navbar-nav, .nav-links) .dropdown:has(.dropdown-menu :is(a.active, [aria-current="page"])) > :is(a.dropdown-toggle, button.dropdown-toggle, a.nav-link, button.nav-link)::before,
:is(.navbar-nav, .nav-links) .dropdown.show > :is(a.dropdown-toggle, button.dropdown-toggle, a.nav-link, button.nav-link)::before,
:is(.navbar-nav, .nav-links) :is(a.dropdown-toggle, button.dropdown-toggle)[aria-expanded="true"]::before {
    content: "";
    position: absolute;
    left: 14%;
    right: 14%;
    bottom: -10px;
    height: 3px;
    background: #f5b400;
    border-radius: 999px;
}

.hero .hero-content {
    text-align: center;
}

.hero .hero-content :is(.home-section-kicker, .hero-kicker, .kicker, .pill) {
    margin-left: auto;
    margin-right: auto;
}

.hero .hero-content :is(a.btn-primary, button.btn-primary, .btn-primary) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Responsive safety without changing desktop UI */
img,
svg,
video,
canvas,
iframe {
    max-width: 100%;
}

body,
.site-main-content {
    overflow-x: hidden;
}

@media (max-width: 768px) {
    .container,
    .section-header,
    .hero-content,
    .about-wrapper,
    .industrial-about-wrapper,
    .contact-inline-fields,
    .faq-grid,
    .services-grid,
    .industry-grid {
        min-width: 0;
    }

    .top-contact-inner,
    .top-actions {
        row-gap: 8px;
    }

    .swiper,
    .swiper-wrapper,
    .swiper-slide {
        min-width: 0;
    }
}

@media (max-width: 768px) {
    .top-contact-strip {
        display: block !important;
    }

    .top-contact-inner {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 8px !important;
        align-items: center !important;
        min-height: 44px;
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    .top-address {
        font-size: 11px;
    }

    .top-actions {
        display: flex !important;
        justify-content: flex-end;
        gap: 8px;
    }

    .top-action-btn {
        min-height: 30px;
        padding: 3px 8px;
        font-size: 11px;
    }

    .top-action-btn-email span {
        max-width: 124px;
    }

    .main-navbar {
        top: 0 !important;
    }

    .site-main-content {
        padding-top: 112px !important;
    }

    body {
        padding-bottom: 0 !important;
    }

    .mobile-contact-bar,
    .mobile-contact-item,
    .enquiry-float-tab {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .contact-float-desktop {
        display: flex !important;
        position: fixed;
        top: auto !important;
        left: 12px !important;
        right: auto !important;
        bottom: 52px !important;
        z-index: 80;
        flex-direction: column;
        gap: 10px;
    }

    .contact-float-item {
        width: 52px;
        min-width: 52px;
        height: 52px;
        margin-right: 0;
        border-radius: 16px;
        justify-content: center;
        padding: 0;
        box-shadow: 0 14px 28px rgba(15, 23, 42, 0.22);
    }

    .contact-float-text {
        display: none !important;
    }

    .floating-whatsapp {
        top: auto !important;
        bottom: 52px !important;
        right: 12px !important;
        left: auto !important;
    }

    .scroll-top-btn {
        right: 16px;
        bottom: 118px;
    }

    .footer-simple-bottom .max-w-7xl {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 12px !important;
        text-align: center !important;
    }

    .footer-simple-bottom .footer-footnote {
        text-align: center !important;
    }

.footer-simple-bottom .footer-bottom-links {
        width: 100% !important;
        margin-left: 0 !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

/* Mobile header + footer polish */
@media (max-width: 768px) {
    .top-contact-strip {
        display: block !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    .top-contact-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        align-items: stretch !important;
        padding: 8px 12px 10px !important;
    }

    .top-address {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 14px minmax(0, 1fr) !important;
        align-items: start !important;
        gap: 8px !important;
        padding: 0 0 6px !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
        font-size: 10.5px !important;
        line-height: 1.45 !important;
    }

    .top-address-link {
        display: block !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: left !important;
        line-height: 1.45 !important;
    }

    .address-prefix {
        display: inline !important;
        font-weight: 700 !important;
        color: #dbe7ff !important;
    }

    .top-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .top-action-btn,
    #openComposeEmailBtn {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 36px !important;
        justify-content: center !important;
        gap: 6px !important;
        padding: 7px 10px !important;
        border-radius: 12px !important;
        background: rgba(255, 255, 255, 0.09) !important;
        border: 1px solid rgba(255, 255, 255, 0.12) !important;
        font-size: 10.5px !important;
        line-height: 1.1 !important;
    }

    .top-action-btn span,
    .top-action-btn-email span,
    #mobileLabelDesktop,
    #mobileLabelMobile {
        display: block !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    .footer-simple-bottom .max-w-7xl {
        gap: 10px !important;
    }

    .footer-simple-bottom .footer-bottom-links {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 6px !important;
        align-items: stretch !important;
    }

    .footer-simple-bottom .footer-bottom-links a {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 0 !important;
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 10px !important;
        line-height: 1.15 !important;
        text-align: center !important;
        border-radius: 10px !important;
        white-space: nowrap !important;
    }
}

/* Final mobile service hero overrides */
.service-hero--rental {
    background-image: url("../img/Rental%20Equipment%20Services.jpeg");
}

@media (max-width: 768px) {
    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 300px !important;
        padding: 66px 16px 18px !important;
        align-items: center !important;
        justify-content: center !important;
        background-size: cover !important;
        background-position: center center !important;
    }

    body .hero.service-hero:not(.service-hero--contact)::before {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.14) 0%,
            rgba(255, 255, 255, 0.06) 34%,
            rgba(255, 255, 255, 0.18) 100%
        ) !important;
        pointer-events: none;
        z-index: 0;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        position: relative;
        z-index: 1;
        width: min(100%, 304px) !important;
        max-width: 304px !important;
        margin: 0 auto 50px !important;
        padding: 0 !important;
        gap: 8px !important;
        text-align: center !important;
        align-items: center !important;
        justify-content: center !important;
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__kicker {
        margin: 0 auto !important;
        padding: 7px 14px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(26, 62, 114, 0.14) !important;
        border-radius: 999px !important;
        font-size: 10px !important;
        letter-spacing: 0.11em !important;
        line-height: 1 !important;
    }

    body .hero.service-hero:not(.service-hero--contact) h1 {
        max-width: 100% !important;
        margin: 0 auto !important;
        font-size: clamp(8px, 4.7vw, 14px) !important;
        line-height: 1.1 !important;
        color: #1a3e72 !important;
        text-wrap: balance !important;
        font-weight: 200px;
    }

    body .hero.service-hero:not(.service-hero--contact) p {
        max-width: 100% !important;
        margin: 0 auto !important;
        font-size: 12px !important;
        line-height: 1.45 !important;
        color: #1a3e72 !important;
        text-wrap: balance !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .service-hero__actions {
        width: 100% !important;
        margin-top: 4px !important;
        justify-content: center !important;
    }

   

    body .hero.service-hero:not(.service-hero--contact) .service-hero__chips {
        display: none !important;
    }

    body .hero.service-hero.service-hero--rental {
        background-image: url("../img/Rental%20Equipment%20Services.jpeg") !important;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
    }
}

@media (max-width: 768px) {
    body .hero.service-hero.service-hero--rental {
        margin-top: 50px;
        background-image: url("../img/Rental%20Equipment%20Services.jpeg") !important;
        
        /* This is the secret: center the image and make it wide enough to see the sides */
        background-size: 140% auto !important; 
        background-position: center 20px !important; 
        background-repeat: no-repeat !important;
        background-color: #ffffff !important;
        
        /* Increase height so there is room for both image and text */
        min-height: 450px !important; 
        
        display: flex !important;
        align-items: flex-end !important; /* Push text to the bottom area */
        justify-content: center !important;
        padding: 0 16px 40px !important; 
    }

    body .hero.service-hero.service-hero--rental .service-hero__content {
       
        border-radius: 20px !important;
        width: 100% !important;
        max-width: 340px !important;
        margin: 0 auto 24px !important;
        padding: 6px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 6px !important;
    }

    /* Keep the text sharp and centered */
    body .hero.service-hero.service-hero--rental h1 {
        font-family:  'Epilogue', sans-serif !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
        /* font-weight: 800 !important; */
        color: #1a3e72 !important;
        margin: 0 !important;
    }

    body .hero.service-hero.service-hero--rental p {
        font-family:  'Epilogue', sans-serif !important;
        font-size: 10px !important;
        color: #1a3e72 !important;
        max-width: 260px !important;
        margin: 0 auto !important;
    }

    body .hero.service-hero.service-hero--rental .btn-primary {
        margin-top: 0px !important;
        width: 220px !important;
        background-color: #f7a012 !important;
        font-family:'Epilogue', sans-serif !important;
        /* font-weight: 700 !important; */
        border-radius: 10px !important;
    }
}

/* Final global mobile hero reset:
   keep all first-screen hero sections below the fixed header and stop upward shifting */
@media (max-width: 768px) {
    .site-main-content {
        padding-top: 112px !important;
    }

    .site-main-content > .hero:first-child,
    .site-main-content > .hero1:first-child,
    .site-main-content > .clients-hero:first-child,
    .site-main-content > .home-banner-carousel:first-child {
        margin-top: 0 !important;
    }

    body .hero:not(.service-hero),
    body .hero1,
    body .clients-hero {
        padding-top: 96px !important;
        background-position: center top !important;
    }

    body .hero .hero-content,
    body .hero1 .hero-content,
    body .hero1 .hero1-content,
    body .clients-hero .hero-content {
        margin-top: 0 !important;
        transform: none !important;
    }

    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 336px !important;
        padding: 92px 16px 22px !important;
        align-items: center !important;
        justify-content: center !important;
        background-position: center top !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        margin: 0 auto !important;
        transform: none !important;
    }

    body .hero.service-hero.service-hero--rental {
        min-height: 336px !important;
        padding: 118px 16px 18px !important;
        justify-content: flex-end !important;
    }
}

/* Final mobile cleanup: centered top address + stable hero alignment */
@media (max-width: 768px) {
    .top-contact-strip {
        display: block !important;
    }

    .top-contact-inner {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 8px 10px 10px !important;
        align-items: center !important;
    }

    .top-address {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        min-width: 0 !important;
        padding: 0 0 7px !important;
        text-align: center !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    .top-address .inline-flex,
    .top-address svg {
        flex: 0 0 auto !important;
        margin: 0 !important;
    }

    .top-address-link {
        display: inline !important;
        max-width: 100% !important;
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: clip !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }

    .top-actions {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .site-main-content {
        padding-top: 108px !important;
    }

    .site-main-content > .hero:first-child,
    .site-main-content > .hero1:first-child,
    .site-main-content > .clients-hero:first-child,
    .site-main-content > .home-banner-carousel:first-child {
        margin-top: 0 !important;
    }

    body .hero.hero-home-swap {
        min-height: 300px !important;
        padding: 86px 14px 24px !important;
        align-items: center !important;
        justify-content: center !important;
        background-position: center center !important;
        background-size: cover !important;
    }

    body .hero.hero-home-swap .hero-content {
        width: min(100%, 320px) !important;
        max-width: 320px !important;
        margin: 0 auto !important;
        padding: 0 !important;
        transform: none !important;
        text-align: center !important;
    }

    body .hero.hero-home-swap .hero-content h1 {
        font-size: clamp(16px, 4.8vw, 22px) !important;
        line-height: 1.18 !important;
        margin: 0 auto !important;
    }

    body .hero.hero-home-swap .hero-content p {
        font-size: 12px !important;
        line-height: 1.45 !important;
        margin: 0 auto !important;
    }

    body .hero.hero-home-swap .hero-content .btn-primary {
        width: min(100%, 210px) !important;
        max-width: 210px !important;
        min-height: 38px !important;
        margin: 8px auto 0 !important;
        padding: 9px 16px !important;
    }

    body .hero:not(.service-hero),
    body .hero1,
    body .clients-hero {
        padding-top: 86px !important;
        padding-bottom: 24px !important;
        align-items: center !important;
        justify-content: center !important;
        background-position: center center !important;
    }

    body .hero:not(.service-hero) .hero-content,
    body .hero1 .hero-content,
    body .hero1 .hero1-content,
    body .clients-hero .hero-content {
        margin: 0 auto !important;
        transform: none !important;
        text-align: center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) {
        min-height: 336px !important;
        padding: 92px 16px 22px !important;
        margin-top: 0 !important;
        align-items: center !important;
        justify-content: center !important;
        background-position: center center !important;
    }

    body .hero.service-hero:not(.service-hero--contact) .hero-content,
    body .hero.service-hero:not(.service-hero--contact) .service-hero__content,
    body .hero.service-hero:not(.service-hero--contact) .hero-industrial-shell,
    body .hero.service-hero:not(.service-hero--contact) .hero-mechanized-shell {
        margin: 0 auto 70px !important;
        transform: none !important;
        text-align: center !important;
    }

    body .hero.service-hero.service-hero--rental {
        margin-top: 0 !important;
    }
}

/* Final mobile home banner fix:
   prevent the homepage carousel banners from appearing half-cut on phones */
@media (max-width: 768px) {
    .home-banner-carousel,
    .home-banner-swiper,
    .home-banner-slide {
        background: #1A3E72 !important;
    }

    .home-banner-media {
        aspect-ratio: auto !important;
        min-height: clamp(210px, 56vw, 290px) !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        overflow: hidden !important;
    }

    .home-banner-media img {
        width: 100% !important;
        height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
    }

    .home-banner-nav {
        top: 50% !important;
        transform: translateY(-50%) !important;
    }
}

/* Final mobile nav compact fix:
   reduce oversized gaps so all menu items remain visible */
@media (max-width: 768px) {
    #mobileNavMenu.mobile-nav-links {
        padding: 8px !important;
        gap: 6px !important;
    }

    .mobile-nav-links a,
    .mobile-submenu-toggle,
    .mobile-submenu a,
    #mobileNavMenu.mobile-nav-links a,
    #mobileNavMenu .mobile-submenu-toggle,
    #mobileNavMenu .mobile-submenu a {
        margin: 0 !important;
        min-height: 42px !important;
        padding: 8px 12px !important;
        font-size: 13px !important;
        line-height: 1.3 !important;
        border-radius: 10px !important;
    }

    #mobileNavMenu .mobile-submenu {
        padding: 4px 0 0 !important;
        gap: 6px !important;
    }

    #mobileNavMenu {
        max-height: calc(100vh - 88px) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
}

@media (max-width: 768px) {
    .home-cta-banner .cta-container .btn-primary {
        justify-self: center !important;
        align-self: center !important;
        margin: 8px auto 0 !important;
        display: inline-flex !important;
    }
}

@media (max-width: 640px) {
    .home-solution-banner {
        align-items: center !important;
        text-align: center !important;
    }

    .home-solution-banner .btn-primary {
        margin: 10px auto 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
        justify-content: center !important;
    }
}
