/* =====================================================================
   Credence Infotech – main stylesheet
   Loads after Bootstrap 5.3. Sections follow page order.
   ===================================================================== */

/* ---------- Fonts (self-hosted Poppins) ---------- */
@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/poppins-latin-400-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("../fonts/poppins-latin-500-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("../fonts/poppins-latin-600-normal.woff2") format("woff2");
}

@font-face {
    font-family: "Poppins";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/poppins-latin-700-normal.woff2") format("woff2");
}

/* ---------- Design tokens ---------- */
:root {
    --c-primary: #17a34a;
    --c-primary-dark: #128a3e;
    --c-accent: #3fd150;
    --c-navy: #0a1f3a;
    --c-navy-deep: #06152a;
    --c-ink: #10202f;
    --c-muted: #62707e;
    --c-soft: #f2f6fa;
    --c-line: #e3e9ef;
    --c-star: #f5a524;

    --radius: 8px;
    --header-h: 92px;

    --bs-body-font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
    --bs-body-color: var(--c-ink);
    --bs-link-color: var(--c-primary);
    --bs-link-hover-color: var(--c-primary-dark);
    --swiper-theme-color: var(--c-primary);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--bs-body-font-family);
    color: var(--c-ink);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

:focus-visible {
    outline: 3px solid var(--c-accent);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--c-primary);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: var(--radius);
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ---------- Layout ---------- */
.container-xxl {
    max-width: 1480px;
}

.feature-strip .container-xxl {
    max-width: 1560px;
}

/* ---------- Buttons ---------- */
.btn-lg {
    --bs-btn-font-size: 1rem;
    --bs-btn-padding-y: .95rem;
    --bs-btn-padding-x: 1.7rem;
}

.btn-brand {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--c-primary);
    --bs-btn-border-color: var(--c-primary);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--c-primary-dark);
    --bs-btn-hover-border-color: var(--c-primary-dark);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--c-primary-dark);
    --bs-btn-active-border-color: var(--c-primary-dark);
    --bs-btn-focus-shadow-rgb: 23, 163, 74;
    --bs-btn-border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    font-weight: 500;
    padding: .8rem 1.5rem;
    white-space: nowrap;
}

.btn-outline-hero {
    --bs-btn-color: #fff;
    --bs-btn-border-color: rgba(255, 255, 255, .85);
    --bs-btn-bg: rgba(6, 21, 42, .35);
    --bs-btn-hover-color: var(--c-ink);
    --bs-btn-hover-bg: #fff;
    --bs-btn-hover-border-color: #fff;
    --bs-btn-active-color: var(--c-ink);
    --bs-btn-active-bg: #fff;
    --bs-btn-active-border-color: #fff;
    --bs-btn-border-radius: var(--radius);
    font-weight: 500;
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: #fff;
    transition: box-shadow .25s ease;
}

.site-header.is-scrolled {
    box-shadow: 0 8px 28px rgba(10, 31, 58, .10);
}

.site-header .navbar {
    padding: .55rem 0;
}

.navbar-brand {
    margin-right: 1rem;
    padding: 0;
}

.navbar-brand img {
    display: block;
    height: 90px;
    width: auto;
}

.navbar .container-xxl {
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin-left: auto;
}

.header-search-btn {
    border: 0;
    background: none;
    font-size: 1.25rem;
    color: var(--c-ink);
    padding: .4rem .5rem;
    line-height: 1;
}

.header-search-btn:hover {
    color: var(--c-primary);
}

.navbar-toggler {
    border: 1px solid var(--c-line);
    padding: .4rem .6rem;
}

.navbar .nav-link {
    font-weight: 500;
    font-size: .95rem;
    color: var(--c-ink);
    padding: .55rem .95rem;
    margin-left: 25px;
    position: relative;
}

.navbar .nav-link:hover,
.navbar .nav-link.show {
    color: var(--c-primary);
}

.navbar .nav-link.active {
    color: var(--c-primary);
}

.navbar .dropdown-menu {
    border: 0;
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(10, 31, 58, .14);
    padding: .5rem;
    min-width: 14rem;
}

.navbar .dropdown-item {
    border-radius: 6px;
    padding: .55rem .85rem;
    font-size: .92rem;
}

.navbar .dropdown-item:hover {
    background: var(--c-soft);
    color: var(--c-primary);
}

@media (min-width: 1200px) {
    .navbar .nav-link.active::after {
        content: "";
        position: absolute;
        left: .95rem;
        right: .95rem;
        bottom: 0;
        height: 2px;
        background: var(--c-primary);
    }

    .navbar .dropdown:hover>.dropdown-menu {
        display: block;
        margin-top: 0;
    }

    .navbar .offcanvas {
        flex-grow: 1;
    }
}

@media (max-width: 1199.98px) {
    .navbar .nav-link.active {
        background: var(--c-soft);
        border-radius: var(--radius);
    }

    .navbar .dropdown-menu {
        box-shadow: none;
        padding-left: 1rem;
    }
}

@media (max-width: 575.98px) {
    .navbar-brand img {
        height: 70px;
    }
}

.search-modal .modal-content {
    border: 0;
    border-radius: 12px;
}

/* ---------- Hero ---------- */
.hero {
    background: var(--c-navy);
}

.hero-slide {
    position: relative;
    min-height: 565px;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, rgba(4, 14, 26, .94) 0%, rgba(4, 14, 26, .80) 38%, rgba(4, 14, 26, .25) 72%, rgba(4, 14, 26, 0) 100%);
}

.hero-slide__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide__inner {
    position: relative;
    z-index: 2;
    padding-top: 3.5rem;
    padding-bottom: 4.5rem;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: .9rem;
    margin: 0 0 1.1rem;
    font-size: .82rem;
    letter-spacing: .22em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(255, 255, 255, .92);
}

.hero-eyebrow::before {
    content: "";
    width: 42px;
    height: 2px;
    background: var(--c-accent);
    flex: none;
}

.hero-title {
    font-size: clamp(2.1rem, 4.2vw, 3.9rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.01em;
    margin-bottom: 1.25rem;
}

.hero-title span {
    display: block;
    color: var(--c-accent);
}

.hero-text {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 620px;
    color: rgba(255, 255, 255, .92);
    margin-bottom: 1.6rem;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem 0;
    margin-bottom: 1.9rem;
    padding: 0;
}

.hero-stats li {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 0 1.6rem;
    border-left: 1px solid rgba(255, 255, 255, .3);
}

.hero-stats li:first-child {
    padding-left: 0;
    border-left: 0;
}

.hero-stats .bi {
    font-size: 2.1rem;
    color: var(--c-accent);
    line-height: 1;
}

.hero-stats strong {
    display: block;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.25;
}

.hero-stats span {
    display: block;
    font-size: .85rem;
    color: rgba(255, 255, 255, .78);
    line-height: 1.25;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .9rem;
}

.hero .carousel-indicators {
    z-index: 3;
    margin-bottom: 1.4rem;
    gap: .5rem;
}

.hero .carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border: 0;
    border-radius: 50px;
    background: #fff;
    opacity: 1;
    margin: 0;
    transition: width .3s ease, background-color .3s ease;
}

.hero .carousel-indicators .active {
    width: 28px;
    background: var(--c-accent);
}

@media (max-width: 991.98px) {
    .hero-slide {
        min-height: 0;
    }

    .hero-slide::before {
        background: linear-gradient(180deg, rgba(4, 14, 26, .88), rgba(4, 14, 26, .78));
    }

    .hero-slide__inner {
        padding-top: 3rem;
        padding-bottom: 5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-eyebrow {
        letter-spacing: .16em;
        font-size: .74rem;
    }

    .hero-text {
        font-size: .98rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stats li {
        padding: 0;
        border-left: 0;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Category strip ---------- */
.feature-strip {
    background: #f7f9fb;
    border-bottom: 1px solid var(--c-line);
}

.feature-strip__item {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1.35rem .9rem;
    height: 100%;
    color: var(--c-ink);
    transition: background-color .2s ease;
}

.feature-strip__item:hover {
    background: #fff;
    color: var(--c-ink);
}

.feature-strip__item .bi {
    font-size: 2.1rem;
    color: var(--c-primary);
    line-height: 1;
    flex: none;
}

.feature-strip__item strong {
    display: block;
    font-size: .9rem;
    font-weight: 500;
    line-height: 1.3;
}

.feature-strip__item small {
    display: block;
    font-size: .72rem;
    color: var(--c-muted);
    line-height: 1.4;
    margin-top: .1rem;
}

.feature-strip li {
    border-bottom: 1px solid var(--c-line);
}

@media (min-width: 1200px) {
    .feature-strip li {
        border-bottom: 0;
    }

    .feature-strip li+li {
        position: relative;
    }

    .feature-strip li+li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 24%;
        bottom: 24%;
        width: 1px;
        background: #cfd8e1;
    }
}

@media (max-width: 1199.98px) {
    .feature-strip li:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 767.98px) {
    .feature-strip__item {
        padding: 1rem .6rem;
    }

    .feature-strip__item .bi {
        font-size: 1.7rem;
    }
}

/* ---------- Shared section styles ---------- */
.section {
    padding: 5.5rem 0;
    position: relative;
}

@media (max-width: 767.98px) {
    .section {
        padding: 3.5rem 0;
    }
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .9rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--c-primary);
}

.eyebrow::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--c-accent);
}

.eyebrow--light {
    color: #9fe6ab;
}

.section-head {
    margin-bottom: 2.8rem;
}

.section-title {
    font-size: clamp(1.65rem, 3vw, 2.45rem);
    font-weight: 600;
    line-height: 1.22;
    margin-bottom: 1.25rem;
}

.section-head .section-title {
    margin-bottom: 0;
}

.lead-text {
    color: var(--c-muted);
    font-size: .95rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.bg-globe::before,
.services::before,
.logos::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .55;
    background: url("../img/bg-globe.svg") center / min(1100px, 100%) no-repeat;
}

.section>.container,
.services>.container {
    position: relative;
    z-index: 1;
}

.dot-grid {
    position: absolute;
    width: 150px;
    height: 100px;
    z-index: 0;
    background-image: radial-gradient(var(--c-primary) 1.6px, transparent 1.7px);
    background-size: 15px 15px;
}

/* ---------- About ---------- */
.about {
    background: #fff;
    overflow: hidden;
}

.check-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem 1.5rem;
    margin: 0 0 1.4rem;
    padding: 0;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: .5rem;
    font-size: .9rem;
    color: var(--c-primary-dark);
    font-weight: 500;
}

.check-list .bi {
    color: var(--c-primary);
    font-size: 1.05rem;
}

@media (max-width: 479.98px) {
    .check-list {
        grid-template-columns: 1fr;
    }
}

.about-media {
    position: relative;
    max-width: 560px;
    margin-left: auto;
    aspect-ratio: 1 / 1.02;
}

.about-media__one,
.about-media__two,
.testi-media__one,
.testi-media__two {
    position: absolute;
    overflow: hidden;
}

.about-media__one {
    top: 0;
    right: 0;
    width: 68%;
    height: 72%;
    clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%);
}

.about-media__two {
    left: 0;
    bottom: 4%;
    width: 58%;
    height: 46%;
    padding: 8px;
    background: #fff;
    clip-path: polygon(0 0, 86% 0, 100% 16%, 100% 100%, 14% 100%, 0 84%);
    filter: none;
    z-index: 2;
}

.about-media__two img {
    clip-path: polygon(0 0, 86% 0, 100% 16%, 100% 100%, 14% 100%, 0 84%);
}

.about-media img,
.testi-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-media .dot-grid {
    right: 0;
    bottom: 0;
}

@media (max-width: 991.98px) {
    .about-media {
        margin-inline: auto;
    }
}

/* ---------- Services ---------- */
.services {
    background: var(--c-soft);
    overflow: hidden;
}

.services-swiper {
    padding-bottom: 3.2rem;
}

.service-card {
    position: relative;
    display: block;
    height: 420px;
    border-radius: 14px;
    overflow: hidden;
    color: #fff;
}

.service-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(6, 21, 42, 0) 35%, rgba(6, 21, 42, .92) 100%);
}

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

.service-card:hover {
    color: #fff;
}

.service-card__body {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.5rem 1rem 1.6rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .55rem;
}

.service-card__body .bi {
    font-size: 1.9rem;
    color: var(--c-accent);
}

.service-card__title {
    font-size: 1.05rem;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .service-card {
        height: 360px;
    }
}

.swiper-pagination {
    position: static;
    margin-top: 1.6rem;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #b4c0cc;
    opacity: 1;
    transition: width .25s ease, background-color .25s ease;
}

.swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 8px;
    background: var(--c-primary);
}

.services-swiper .swiper-pagination {
    position: absolute;
    bottom: 0;
}

/* ---------- Why choose us ---------- */
.why {
    background: #fff;
    overflow: hidden;
}

.why__media {
    height: 100%;
    min-height: 340px;
}

.why__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.why__content {
    max-width: 720px;
    padding: 4.5rem 1.5rem;
}

@media (min-width: 992px) {
    .why__content {
        padding: 5.5rem 4rem 5.5rem 5rem;
    }
}

@media (max-width: 991.98px) {
    .why__media {
        height: 320px;
    }

    .why__content {
        margin-inline: auto;
        padding-block: 3.5rem;
    }
}

.why__features {
    margin-bottom: 1.5rem;
}

.feature-box {
    display: flex;
    gap: .9rem;
    align-items: flex-start;
}

.feature-box__icon {
    flex: none;
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #e7f6ec;
    color: var(--c-primary);
    font-size: 1.5rem;
}

.feature-box__title {
    font-size: .95rem;
    font-weight: 600;
    margin: 0 0 .2rem;
    color: var(--c-primary-dark);
}

.feature-box__text {
    font-size: .85rem;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.55;
}

/* ---------- Working process ---------- */
.process {
    background: var(--c-navy);
    color: #fff;
    padding-bottom: 13rem;
}

.process-step {
    position: relative;
    text-align: center;
}

.process-step__media {
    position: relative;
    width: 140px;
    margin: 0 auto 1.4rem;
}

.process-step__media img {
    display: block;
    width: 140px;
    height: 140px;
    object-fit: cover;
    padding: 3px;
    background: var(--c-accent);
    clip-path: polygon(16% 0, 100% 0, 100% 84%, 84% 100%, 0 100%, 0 16%);
}

.process-step__num {
    position: absolute;
    right: -6px;
    bottom: 6px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    border: 2px solid var(--c-navy);
}

.process-step__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .6rem;
}

.process-step__text {
    font-size: .88rem;
    color: rgba(255, 255, 255, .72);
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.65;
}

@media (min-width: 768px) {
    .process-step:not(:last-child)::after {
        content: "";
        position: absolute;
        top: 70px;
        right: -14%;
        width: 28%;
        border-top: 2px dashed rgba(255, 255, 255, .28);
    }
}

@media (max-width: 767.98px) {
    .process {
        padding-bottom: 9rem;
    }
}

.showcase {
    position: relative;
    z-index: 2;
    margin-top: -9.5rem;
}

.showcase::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 9.5rem;
    bottom: 0;
    background: var(--c-soft);
    z-index: -1;
}

.showcase__frame {
    position: relative;
    overflow: hidden;
    height: 400px;
    clip-path: polygon(3% 0, 100% 0, 100% 88%, 97% 100%, 0 100%, 0 12%);
}

.showcase__frame>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase__shape {
    position: absolute;
    width: 150px;
    height: 150px;
    border-radius: 26px;
    transform: rotate(45deg);
    opacity: .88;
}

.showcase__shape--left {
    left: 3%;
    top: 20%;
    background: linear-gradient(135deg, #17a34a, #0f7f7a);
}

.showcase__shape--right {
    right: 3%;
    bottom: 8%;
    background: linear-gradient(135deg, #1f7ae0, #17a34a);
}

@media (max-width: 767.98px) {
    .showcase {
        margin-top: -6rem;
    }

    .showcase::before {
        top: 6rem;
    }

    .showcase__frame {
        height: 240px;
    }

    .showcase__shape {
        width: 90px;
        height: 90px;
    }
}

/* ---------- Testimonials ---------- */
.testimonials {
    background: var(--c-soft);
    padding-top: 4rem;
}

.testi-media {
    position: relative;
    max-width: 520px;
    height: 440px;
}

.testi-media__one {
    left: 0;
    top: 0;
    width: 42%;
    height: 46%;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    border-radius: 10px;
}

.testi-media__two {
    left: 26%;
    bottom: 0;
    width: 56%;
    height: 74%;
    clip-path: polygon(14% 0, 100% 0, 100% 86%, 86% 100%, 0 100%, 0 14%);
}

.testi-media .dot-grid--soft {
    right: 4%;
    top: 6%;
    opacity: .5;
}

@media (max-width: 991.98px) {
    .testi-media {
        margin-inline: auto;
    }
}

@media (max-width: 479.98px) {
    .testi-media {
        height: 360px;
    }
}

.testi {
    margin: 0;
}

.testi__stars {
    color: var(--c-star);
    display: flex;
    gap: .2rem;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.testi__quote {
    font-size: 1rem;
    color: var(--c-muted);
    line-height: 1.75;
    margin-bottom: 1.2rem;
    padding: 0;
    border: 0;
}

.testi__name {
    display: block;
    color: var(--c-primary);
    font-weight: 600;
}

.testi__role {
    display: block;
    font-size: .82rem;
    color: var(--c-muted);
}

.testi-swiper .swiper-pagination {
    text-align: left;
}

/* ---------- Alliances & clients ---------- */
.logos {
    background: #fff;
    overflow: hidden;
}

.logos+.logos {
    background: #fff;
}

.logo-swiper {
    padding-bottom: 2.6rem;
}

.logo-card {
    display: grid;
    place-items: center;
    height: 96px;
    padding: 1rem;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.logo-card:hover {
    border-color: var(--c-primary);
    box-shadow: 0 10px 24px rgba(10, 31, 58, .08);
}

.logo-card img {
    max-height: 68px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.logo-swiper .swiper-pagination {
    margin-top: 1.4rem;
}

.logos .swiper-pagination {
    position: absolute;
    bottom: 0;
}

/* ---------- Footer (CTA band + columns) ---------- */
.site-footer {
    background: var(--c-navy-deep);
    color: rgba(255, 255, 255, .78);
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .14;
    background: url("../img/bg-globe.svg") center 60% / min(1200px, 120%) no-repeat;
    filter: invert(1);
}

.cta-band {
    position: relative;
    padding: 5rem 0 4.5rem;
    background: linear-gradient(180deg, var(--c-navy) 0%, var(--c-navy-deep) 100%);
}

.cta-band__title {
    font-size: clamp(1.35rem, 2.6vw, 2rem);
    font-weight: 500;
    line-height: 1.4;
    max-width: 820px;
    margin: 0 auto 1.8rem;
    color: #fff;
}

.footer-main {
    position: relative;
    padding: 4.5rem 0 3.5rem;
}

.footer-logo img {
    display: block;
    height: 125px;
    width: auto;
    margin-bottom: 1.4rem;
}

.footer-about {
    font-size: .88rem;
    line-height: 1.8;
    max-width: 380px;
}

.social-list a {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .09);
    color: #fff;
    transition: background-color .2s ease, transform .2s ease;
}

.social-list a:hover {
    background: var(--c-primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-links {
    margin: 0;
    padding: 0;
}

.footer-links li+li {
    margin-top: .6rem;
}

.footer-links a,
.footer-mail,
.footer-phones a {
    color: rgba(255, 255, 255, .78);
    font-size: .88rem;
    transition: color .2s ease;
}

.footer-links a:hover,
.footer-mail:hover,
.footer-phones a:hover {
    color: var(--c-accent);
}

.footer-address {
    font-size: .88rem;
    line-height: 1.7;
    margin-bottom: .9rem;
}

.footer-help {
    font-size: .82rem;
    margin-bottom: .4rem;
    color: rgba(255, 255, 255, .6);
}

.footer-phones {
    margin: 0 0 .9rem;
    padding: 0;
}

.footer-phones a {
    font-size: 1.12rem;
    font-weight: 500;
    color: #7be08a;
}

.footer-bottom {
    position: relative;
    padding: 1.3rem 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
    text-align: center;
    font-size: .82rem;
}

.back-to-top {
    position: fixed;
    right: 1.25rem;
    bottom: 1.25rem;
    z-index: 1040;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-size: 1.15rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
}

.back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.back-to-top:hover {
    background: var(--c-primary-dark);
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .service-card img,
    .back-to-top,
    .hero .carousel-indicators [data-bs-target] {
        transition: none;
    }
}

/* ---------- 404 page ---------- */
.not-found {
    padding: 7rem 0;
}

.not-found__text {
    max-width: 520px;
}

/* =====================================================================
   Scroll animations
   Classes are added by assets/js/main.js only when motion is allowed,
   so content is always visible without JavaScript.
   ===================================================================== */
.reveal {
    opacity: 0;
    transition: opacity .85s cubic-bezier(.22, .61, .36, 1), transform .85s cubic-bezier(.22, .61, .36, 1);
    transition-delay: var(--reveal-delay, 0ms);
    will-change: opacity, transform;
}

.reveal--up {
    transform: translate3d(0, 34px, 0);
}

.reveal--left {
    transform: translate3d(-44px, 0, 0);
}

.reveal--right {
    transform: translate3d(44px, 0, 0);
}

.reveal--zoom {
    transform: scale(.94);
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* Page-load entrance for hero and inner-page banner */
@keyframes riseIn {
    from {
        opacity: 0;
        transform: translate3d(0, 26px, 0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes slowZoom {
    from {
        transform: scale(1.09);
    }

    to {
        transform: scale(1);
    }
}

.hero .carousel-item.active .hero-eyebrow {
    animation: riseIn .8s .05s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .carousel-item.active .hero-title {
    animation: riseIn .8s .15s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .carousel-item.active .hero-text {
    animation: riseIn .8s .25s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .carousel-item.active .hero-stats {
    animation: riseIn .8s .35s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .carousel-item.active .hero-actions {
    animation: riseIn .8s .45s cubic-bezier(.22, .61, .36, 1) both;
}

.hero .carousel-item.active .hero-slide__bg {
    animation: slowZoom 9s ease-out both;
}

.page-banner .breadcrumb {
    animation: riseIn .7s .05s cubic-bezier(.22, .61, .36, 1) both;
}

.page-banner__title {
    animation: riseIn .8s .15s cubic-bezier(.22, .61, .36, 1) both;
}

/* Scroll progress bar (element created by main.js) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1060;
    height: 3px;
    pointer-events: none;
    background: linear-gradient(90deg, var(--c-accent), var(--c-primary));
    transform-origin: 0 50%;
    transform: scaleX(var(--p, 0));
}

/* Gentle image parallax (class added by main.js) */
.parallax-img {
    transform: translate3d(0, var(--py, 0px), 0) scale(1.14);
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hero .carousel-item.active [class*="hero-"],
    .page-banner .breadcrumb,
    .page-banner__title {
        animation: none;
    }

    .parallax-img {
        transform: none;
    }
}

/* =====================================================================
   About Us page
   ===================================================================== */

/* ---------- Inner-page banner ---------- */
.page-banner {
    position: relative;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 6.5rem 0 6rem;
    background: linear-gradient(120deg, #0a1f3a 0%, #0d3b52 55%, #11633f 100%);
}

.page-banner::before,
.page-banner::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.page-banner::before {
    left: 0;
    top: 0;
    width: 34%;
    height: 100%;
    background: linear-gradient(160deg, rgba(63, 209, 80, .22), rgba(63, 209, 80, 0));
    clip-path: polygon(0 0, 100% 0, 0 100%);
}

.page-banner::after {
    right: -6%;
    bottom: -30%;
    width: 34%;
    height: 130%;
    background: linear-gradient(200deg, rgba(31, 122, 224, .22), rgba(31, 122, 224, 0));
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}

.page-banner .container {
    position: relative;
    z-index: 1;
}

.page-banner .breadcrumb {
    --bs-breadcrumb-divider-color: rgba(255, 255, 255, .7);
    --bs-breadcrumb-item-active-color: #fff;
    justify-content: center;
    margin-bottom: .9rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.page-banner .breadcrumb a {
    color: rgba(255, 255, 255, .82);
}

.page-banner .breadcrumb a:hover {
    color: var(--c-accent);
}

.page-banner__title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 600;
    margin: 0;
}

@media (max-width: 767.98px) {
    .page-banner {
        padding: 4.5rem 0 4rem;
    }
}

/* ---------- Our offering ---------- */
.offer {
    background: #fff;
    overflow: hidden;
}

.offer-media {
    position: relative;
    max-width: 470px;
    aspect-ratio: 1 / 1.08;
}

.offer-media__one,
.offer-media__two {
    position: absolute;
    overflow: hidden;
    border-radius: 16px;
}

.offer-media__one {
    left: 0;
    top: 0;
    width: 72%;
    height: 62%;
}

.offer-media__one img {
    filter: grayscale(1);
}

.offer-media__two {
    right: 0;
    bottom: 0;
    width: 58%;
    height: 56%;
    border: 8px solid #fff;
    border-radius: 20px;
    box-shadow: 0 18px 40px rgba(10, 31, 58, .16);
    z-index: 2;
}

.offer-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.offer-media__plane {
    position: absolute;
    right: 8%;
    top: 12%;
    font-size: 2.2rem;
    color: #1f7ae0;
    transform: rotate(8deg);
    z-index: 1;
}

.offer-media__dot {
    position: absolute;
    left: 6%;
    bottom: 8%;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--c-primary);
    z-index: 1;
}

.offer-media .dot-grid {
    left: 8%;
    bottom: 14%;
    width: 110px;
    height: 90px;
    opacity: .45;
    z-index: 0;
}

@media (max-width: 991.98px) {
    .offer-media {
        margin-inline: auto;
    }
}

/* ---------- Wide banner image ---------- */
.section-banner {
    padding: 0 0 5rem;
    background: #fff;
}

.showcase__frame--wide {
    height: 340px;
}

@media (max-width: 767.98px) {
    .section-banner {
        padding-bottom: 3rem;
    }

    .showcase__frame--wide {
        height: 220px;
    }
}

/* ---------- Working steps (light version) ---------- */
.steps {
    background: #fff;
}

.process-steps--light .process-step__media img {
    background: var(--c-primary);
}

.process-steps--light .process-step__num {
    border-color: #fff;
}

.process-steps--light .process-step__title {
    color: var(--c-primary-dark);
}

.process-steps--light .process-step__text {
    color: var(--c-muted);
}

@media (min-width: 768px) {
    .process-steps--light .process-step:not(:last-child)::after {
        top: 36px;
        right: -15%;
        width: 30%;
        height: 56px;
        border: 0;
        background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 50' fill='none' stroke='%2317a34a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 40C34 4 84 2 112 32'/%3E%3Cpath d='M100.6 28.5L112 32l-2.7-11.7'/%3E%3C/svg%3E") center / contain no-repeat;
    }

    .process-steps--light .process-step:nth-child(2)::after {
        transform: scaleY(-1);
        top: 62px;
    }
}

/* ---------- Management desk ---------- */
.mgmt {
    background: #fff;
    padding-top: 1rem;
}

.mgmt__photo {
    position: relative;
    max-width: 300px;
}

.mgmt__photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1.1;
    object-fit: cover;
    border-radius: 16px;
}

.mgmt__message {
    font-size: .95rem;
    line-height: 1.8;
    color: var(--c-muted);
    margin-bottom: 1.1rem;
    max-width: 640px;
}

.mgmt__name {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--c-ink);
}

.mgmt__role {
    display: block;
    font-size: .85rem;
    font-style: italic;
    color: var(--c-muted);
}

.mgmt+.testimonials {
    padding-top: 5rem;
}

/* =====================================================================
   Service / solution pages (shared template) + Company Profile + Services hub
   ===================================================================== */

/* Banner tagline (About page banner also uses .page-banner from earlier rules) */
.page-banner__tagline {
    margin: .9rem auto 0;
    max-width: 720px;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, .88);
}

/* Outline button for light backgrounds (services CTA band) */
.btn-outline-brand {
    --bs-btn-color: var(--c-primary);
    --bs-btn-border-color: var(--c-primary);
    --bs-btn-bg: transparent;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--c-primary);
    --bs-btn-hover-border-color: var(--c-primary);
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--c-primary-dark);
    --bs-btn-active-border-color: var(--c-primary-dark);
    --bs-btn-border-radius: var(--radius);
    font-weight: 500;
}

/* Overview paragraphs */
.svc-overview {
    background: #fff;
}

.svc-overview__p {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.svc-overview__p+.svc-overview__p {
    margin-top: -.3rem;
}

/* Portfolio cards */
.svc-portfolio {
    background: var(--c-soft);
}

.svc-card {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 1.9rem 1.6rem;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.svc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 34px rgba(10, 31, 58, .09);
    border-color: transparent;
}

.svc-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #e7f6ec;
    color: var(--c-primary);
    font-size: 1.55rem;
    margin-bottom: 1.1rem;
}

.svc-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: .55rem;
    color: var(--c-ink);
}

.svc-card__text {
    font-size: .87rem;
    color: var(--c-muted);
    line-height: 1.65;
    margin: 0;
}

/* Feature blocks (alternating text / checklist) */
.svc-sections {
    background: #fff;
}

.svc-block {
    padding: 2.6rem 0;
}

.svc-block--sep {
    border-top: 1px solid var(--c-line);
}

.svc-block__title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: .8rem;
    color: var(--c-ink);
}

.check-list--wide {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem 1.5rem;
}

.check-list--wide li {
    color: var(--c-ink);
    font-weight: 400;
}

.check-list--stack {
    display: block;
}

.check-list--stack li {
    display: flex;
    align-items: flex-start;
    gap: .55rem;
    font-size: .92rem;
    font-weight: 400;
    color: var(--c-ink);
    padding: .4rem 0;
    border-bottom: 1px dashed var(--c-line);
}

.check-list--stack li:last-child {
    border-bottom: 0;
}

.check-list--stack .bi {
    color: var(--c-primary);
    font-size: 1.1rem;
    margin-top: .15rem;
    flex: none;
}

@media (max-width: 575.98px) {
    .check-list--wide {
        grid-template-columns: 1fr;
    }
}

/* Scope note callout */
.section-note {
    background: #fff;
    padding-bottom: 1rem;
}

.note-box {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    margin: 0;
    background: #fff7e6;
    border: 1px solid #f4dfa8;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: .87rem;
    color: #7a5a06;
    line-height: 1.6;
}

.note-box .bi {
    font-size: 1.2rem;
    flex: none;
    margin-top: .1rem;
}

/* Numbered approach / timeline */
.svc-process {
    background: var(--c-soft);
}

.svc-timeline__item {
    position: relative;
    height: 100%;
    background: #fff;
    border-radius: 12px;
    padding: 1.8rem 1.5rem 1.6rem;
    border: 1px solid var(--c-line);
}

.svc-timeline__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--c-primary);
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    margin-bottom: 1rem;
}

.svc-timeline__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .5rem;
    color: var(--c-ink);
}

.svc-timeline__text {
    font-size: .87rem;
    color: var(--c-muted);
    line-height: 1.6;
    margin: 0;
}

.svc-timeline__text--only {
    color: var(--c-ink);
    font-weight: 500;
}

/* Why / requirements two-column lists */
.svc-lists {
    background: #fff;
}

.svc-list__title {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: var(--c-primary-dark);
}

.svc-list__title .bi {
    color: var(--c-primary);
    font-size: 1.3rem;
}

/* Brand pills */
.svc-brands {
    background: var(--c-soft);
}

.svc-brands__note {
    max-width: 760px;
    font-size: .88rem;
}

.svc-pills {
    gap: .65rem;
    margin: 0;
    padding: 0;
}

.svc-pill {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 50px;
    padding: .55rem 1.3rem;
    font-size: .88rem;
    font-weight: 500;
    color: var(--c-ink);
    transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.svc-pill:hover {
    border-color: var(--c-primary);
    color: var(--c-primary-dark);
    transform: translateY(-2px);
}

/* FAQ accordion */
.svc-faq {
    background: #fff;
}

.svc-accordion .accordion-item {
    border: 1px solid var(--c-line);
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: .9rem;
}

.svc-accordion .accordion-button {
    font-weight: 500;
    font-size: .96rem;
    color: var(--c-ink);
    padding: 1.1rem 1.3rem;
}

.svc-accordion .accordion-button:not(.collapsed) {
    background: #e7f6ec;
    color: var(--c-primary-dark);
    box-shadow: none;
}

.svc-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(23, 163, 74, .18);
}

.svc-accordion .accordion-body {
    font-size: .89rem;
    color: var(--c-muted);
    line-height: 1.7;
    padding: 1rem 1.3rem 1.3rem;
}

/* Inline CTA box at bottom of a service page */
.svc-cta-inline {
    background: var(--c-soft);
    padding-top: 0;
}

.svc-cta-inline__box {
    background: linear-gradient(120deg, var(--c-navy), var(--c-navy-deep));
    border-radius: 18px;
    padding: 3.2rem 1.75rem;
    position: relative;
    overflow: hidden;
}

.svc-cta-inline__box::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .12;
    pointer-events: none;
    background: url("../img/bg-globe.svg") center / min(900px, 100%) no-repeat;
    filter: invert(1);
}

.svc-cta-inline__box>* {
    position: relative;
    z-index: 1;
}

.svc-cta-inline__title {
    color: #fff;
    font-size: clamp(1.3rem, 2.4vw, 1.7rem);
    font-weight: 600;
    margin-bottom: .7rem;
}

.svc-cta-inline__text {
    color: rgba(255, 255, 255, .8);
    font-size: .92rem;
    max-width: 640px;
    margin: 0 auto 1.6rem;
}

/* ---------- Services hub (services.php) ---------- */
.services-hub-grid .svc-card {
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.services-hub-grid .svc-card__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    font-weight: 600;
    color: var(--c-primary);
}

.services-hub-grid .svc-card__link .bi {
    transition: transform .2s ease;
}

.services-hub-grid a.svc-card:hover .svc-card__link .bi {
    transform: translateX(4px);
}

a.svc-card {
    color: inherit;
    display: block;
}

a.svc-card:hover {
    color: inherit;
}

/* ---------- Company profile page ---------- */
.profile-hero {
    background: linear-gradient(120deg, #0a1f3a 0%, #0d3b52 55%, #11633f 100%);
    color: #fff;
    padding: 5rem 0 4.5rem;
    position: relative;
    overflow: hidden;
}

.profile-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .14;
    background: url("../img/bg-globe.svg") center/min(1100px, 100%) no-repeat;
    filter: invert(1);
}

.profile-hero .container {
    position: relative;
    z-index: 1;
}

.profile-hero__badge {
    display: inline-block;
    font-size: .74rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    background: rgba(255, 255, 255, .12);
    border-radius: 50px;
    padding: .4rem 1rem;
    margin-bottom: 1.2rem;
}

.profile-hero__title {
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    font-weight: 600;
    margin-bottom: .6rem;
}

.profile-hero__tagline {
    font-size: 1.15rem;
    color: var(--c-accent);
    font-weight: 500;
    margin-bottom: 1.6rem;
}

.profile-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem 1.8rem;
    font-size: .88rem;
    color: rgba(255, 255, 255, .85);
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-hero__meta li {
    display: flex;
    align-items: center;
    gap: .5rem;
}

.profile-hero__meta .bi {
    color: var(--c-accent);
}

.profile-section {
    background: #fff;
}

.profile-section:nth-of-type(even) {
    background: var(--c-soft);
}

.profile-section__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: #e7f6ec;
    color: var(--c-primary);
    font-weight: 700;
    font-size: .85rem;
    margin-right: .7rem;
}

.profile-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: .88rem;
}

.profile-table th,
.profile-table td {
    padding: .95rem 1.1rem;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--c-line);
}

.profile-table thead th {
    background: var(--c-navy);
    color: #fff;
    font-weight: 600;
    font-size: .78rem;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.profile-table tbody tr:last-child td {
    border-bottom: 0;
}

.profile-table tbody tr:hover {
    background: #f4faf6;
}

.profile-table-wrap {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--c-line);
}

.profile-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.profile-chip {
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 10px;
    padding: .7rem 1.1rem;
    font-size: .87rem;
    font-weight: 500;
    color: var(--c-ink);
    display: flex;
    align-items: center;
    gap: .55rem;
}

.profile-chip .bi {
    color: var(--c-primary);
}

.profile-snapshot {
    background: var(--c-navy);
    color: #fff;
    border-radius: 16px;
    overflow: hidden;
}

.profile-snapshot dl {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0;
}

.profile-snapshot div {
    padding: 1.3rem 1.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.profile-snapshot div:nth-last-child(-n+2) {
    border-bottom: 0;
}

.profile-snapshot dt {
    font-size: .72rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: rgba(255, 255, 255, .6);
    margin-bottom: .3rem;
}

.profile-snapshot dd {
    font-size: .98rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 575.98px) {
    .profile-snapshot dl {
        grid-template-columns: 1fr;
    }

    .profile-snapshot div:nth-last-child(-n+2) {
        border-bottom: 1px solid rgba(255, 255, 255, .1);
    }

    .profile-snapshot div:last-child {
        border-bottom: 0;
    }
}

/* =====================================================================
   Partners & Clients pages (static logo grid)
   ===================================================================== */
.logo-grid-section {
    background: #fff;
}

.logo-grid-section--alt {
    background: var(--c-soft);
}

.logo-grid__category {
    display: flex;
    align-items: center;
    gap: .7rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--c-primary-dark);
    margin-bottom: 1.4rem;
}

.logo-grid__category .bi {
    color: var(--c-primary);
    font-size: 1.3rem;
}

.logo-grid__category-note {
    font-size: .82rem;
    font-weight: 400;
    color: var(--c-muted);
    margin-left: .3rem;
}

.logo-grid-card {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 108px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 1rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.logo-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(10, 31, 58, .09);
    border-color: transparent;
}

.logo-grid-card img {
    max-height: 46px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.client-grid-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    height: 128px;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 12px;
    padding: 1rem;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.client-grid-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px rgba(10, 31, 58, .09);
    border-color: transparent;
}

.client-grid-card img {
    max-height: 85px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
}

.client-grid-card span {
    font-size: .74rem;
    color: var(--c-muted);
}

.client-highlight {
    display: flex;
    align-items: center;
    gap: 1.1rem;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 1.6rem 1.8rem;
    max-width: 720px;
    margin: 0 auto;
}

.client-highlight__icon {
    flex: none;
    width: 54px;
    height: 54px;
    border-radius: 12px;
    background: #e7f6ec;
    color: var(--c-primary);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.client-highlight h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .3rem;
    color: var(--c-ink);
}

.client-highlight p {
    font-size: .87rem;
    color: var(--c-muted);
    margin: 0;
    line-height: 1.6;
}

.placeholder-note {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    max-width: 720px;
    margin: 2.5rem auto 0;
    background: #fff7e6;
    border: 1px solid #f4dfa8;
    border-radius: 10px;
    padding: .9rem 1.1rem;
    font-size: .82rem;
    color: #7a5a06;
    line-height: 1.6;
}

.placeholder-note .bi {
    font-size: 1.1rem;
    flex: none;
    margin-top: .1rem;
}

/* =====================================================================
   Contact Us page
   ===================================================================== */
.contact {
    background: #fff;
}

.contact-card {
    height: 100%;
    background: var(--c-soft);
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 1.8rem 1.5rem;
    text-align: center;
}

.contact-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #e7f6ec;
    color: var(--c-primary);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.contact-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: .7rem;
    color: var(--c-ink);
}

.contact-card__link {
    display: block;
    font-size: .95rem;
    font-weight: 500;
    color: var(--c-primary-dark);
    margin-bottom: .3rem;
    word-break: break-word;
}

.contact-card__link:hover {
    color: var(--c-primary);
}

.contact-card__note {
    display: block;
    font-size: .78rem;
    color: var(--c-muted);
}

.contact-card__text {
    font-size: .87rem;
    color: var(--c-muted);
    line-height: 1.6;
    font-style: normal;
}

.contact-form-wrap {
    background: var(--c-soft);
    border: 1px solid var(--c-line);
    border-radius: 18px;
    padding: 2.6rem 2.2rem;
}

@media (max-width: 575.98px) {
    .contact-form-wrap {
        padding: 2rem 1.2rem;
    }
}

.contact-form-wrap .form-label {
    font-size: .87rem;
    font-weight: 500;
    color: var(--c-ink);
    margin-bottom: .4rem;
}

.contact-form-wrap .form-control {
    border: 1px solid var(--c-line);
    border-radius: 8px;
    padding: .7rem .9rem;
    font-size: .92rem;
    background: #fff;
}

.contact-form-wrap .form-control:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(23, 163, 74, .15);
}

.contact-form-wrap .alert {
    border: 0;
    border-radius: 10px;
    font-size: .88rem;
    margin-bottom: 1.4rem;
}

.contact-form-wrap .alert-success {
    background: #e7f6ec;
    color: #0f6b2c;
}

.contact-form-wrap .alert-danger {
    background: #fdecec;
    color: #9a2626;
}

/* Honeypot field: hidden from sighted users, still present in the DOM for bots to fill in. */
.hp-field {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =====================================================================
   Gallery page
   ===================================================================== */
.gallery {
    background: #fff;
}

.gallery-filter__btn {
    border: 1px solid var(--c-line);
    background: #fff;
    color: var(--c-muted);
    border-radius: 50px;
    padding: .55rem 1.4rem;
    font-size: .87rem;
    font-weight: 500;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.gallery-filter__btn:hover {
    border-color: var(--c-primary);
    color: var(--c-primary-dark);
}

.gallery-filter__btn.is-active {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
}

.gallery-item {
    transition: opacity .25s ease, transform .25s ease;
}

.gallery-item.is-hidden {
    display: none;
}

.gallery-item__btn {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--c-navy);
}

.gallery-item__btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.gallery-item__btn:hover img {
    transform: scale(1.07);
}

.gallery-item__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    background: linear-gradient(180deg, rgba(6, 21, 42, 0) 45%, rgba(6, 21, 42, .86) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity .25s ease;
}

.gallery-item__btn:hover .gallery-item__overlay,
.gallery-item__btn:focus-visible .gallery-item__overlay {
    opacity: 1;
}

.gallery-item__overlay .bi {
    font-size: 1.6rem;
}

.gallery-item__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: .9rem;
    font-size: .88rem;
    font-weight: 500;
    text-align: center;
    padding: 0 1rem;
}

.gallery-lightbox .modal-content {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
}

.gallery-lightbox__img {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 10px;
    margin: 0 auto;
    display: block;
}

.gallery-lightbox__caption {
    margin-top: 1rem;
    font-size: .92rem;
    font-weight: 500;
    color: var(--c-ink);
}

/* =====================================================================
   Career page
   ===================================================================== */
.career-openings {
    background: var(--c-soft);
}

.career-empty {
    max-width: 560px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--c-line);
    border-radius: 14px;
    padding: 2.4rem 1.8rem;
    color: var(--c-muted);
    font-size: .92rem;
}

.career-empty .bi {
    font-size: 2.2rem;
    color: #c7d0d8;
    display: block;
    margin-bottom: .9rem;
}

.career-accordion .accordion-item {
    border: 1px solid var(--c-line);
    border-radius: 12px !important;
    overflow: hidden;
    margin-bottom: 1rem;
    background: #fff;
}

.career-accordion .accordion-button {
    padding: 1.2rem 1.4rem;
}

.career-accordion .accordion-button:not(.collapsed) {
    background: #e7f6ec;
    color: var(--c-primary-dark);
    box-shadow: none;
}

.career-accordion .accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(23, 163, 74, .18);
}

.career-job__summary {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    width: 100%;
}

.career-job__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--c-ink);
}

.career-job__meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem 1.1rem;
    font-size: .8rem;
    color: var(--c-muted);
}

.career-job__meta .bi {
    color: var(--c-primary);
    margin-right: .25rem;
}

.career-job__desc {
    font-size: .9rem;
    color: var(--c-muted);
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.career-job__h4 {
    font-size: .88rem;
    font-weight: 600;
    color: var(--c-ink);
    margin: 1.1rem 0 .6rem;
}

.career-apply-btn {
    margin-top: 1rem;
}

.career-apply {
    background: #fff;
}

#applyingForNote {
    color: var(--c-primary-dark);
    font-weight: 500;
    min-height: 1.2em;
}