@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
    --red: #ed1c2b;
    --navy: #061d35;
    --ink: #172a40;
    --muted: #65758a;
    --pale: #fff1f2;
    --line: #e7ebf0;
    --shadow: 0 16px 42px rgba(7, 29, 53, .12)
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Inter, Arial, sans-serif;
    color: var(--ink);
    line-height: 1.65;
    background: #fff
}

a {
    color: inherit;
    text-decoration: none
}

.header {
    position: absolute;
    z-index: 100;
    top: 18px;
    left: 3.5%;
    width: 93%;
    min-height: 72px;
    padding: 10px 20px 10px 27px;
    border-radius: 50px;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 12px 35px #0002;
    display: flex;
    align-items: center;
    gap: 22px
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 205px
}

/* PNG logo styles */
.logo.logo-img {
    min-width: 0;
    gap: 0;
    padding: 0;
    background: none;
    border: none
}

.site-logo-img {
    /* height: 52px; */
    width: auto;
    max-width: 220px;
    object-fit: contain;
    display: block
}

.footer-logo-img {
    /* height: 50px;
    filter: brightness(0) invert(1); */
    opacity: 0.92
}

.logo-symbol {
    width: 38px;
    height: 38px;
    background: var(--red);
    color: white;
    border-radius: 4px;
    display: grid;
    place-items: center;
    font-size: 25px;
    font-weight: 900
}

.logo-type {
    font: italic 900 25px Georgia, serif;
    color: #090d14;
    line-height: 1;
    letter-spacing: -1px
}

.logo-type b {
    color: var(--red)
}

.logo-type small {
    display: block;
    text-align: right;
    font: 800 8px Inter, sans-serif;
    letter-spacing: 2px
}

.nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(10px, 1.35vw, 23px);
    flex: 1
}

.nav>a,
.nav-item>a {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: #25344a
}

.nav a:hover {
    color: var(--red)
}

.nav-item {
    position: relative;
    padding: 15px 0
}

.nav-item>a i {
    font-style: normal
}

.drop {
    display: none;
    position: absolute;
    top: 100%;
    left: -12px;
    min-width: 225px;
    background: #fff;
    padding: 8px;
    border-radius: 0 0 10px 10px;
    box-shadow: var(--shadow)
}

.nav-item:hover>.drop,
.nav-item:focus-within>.drop {
    display: block
}

.drop a {
    display: block;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 5px
}

.drop a:hover {
    background: #f3f5f8
}

.drop.mega {
    min-width: 470px;
    grid-template-columns: 1fr 1fr;
    gap: 8px
}

.nav-item:hover>.drop.mega,
.nav-item:focus-within>.drop.mega {
    display: grid
}

.drop b {
    display: block;
    padding: 10px 12px;
    color: var(--red);
    font-size: 13px
}

.header-cta,
.red-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 40px;
    background: var(--red);
    color: #fff;
    padding: 14px 25px;
    font-size: 14px;
    font-weight: 800;
    box-shadow: 0 5px 12px #ed1c2b30;
    transition: .25s
}

.header-cta {
    white-space: nowrap;
    padding: 13px 22px
}

.red-btn:hover,
.header-cta:hover {
    background: #c90f20;
    transform: translateY(-3px)
}

.menu-btn {
    display: none;
    border: 0;
    background: none;
    color: var(--navy);
    font-size: 27px
}

.hero {
    min-height: 690px;
    padding: 180px 7% 90px;
    display: flex;
    align-items: center;
    position: relative;
    background: var(--navy);
    background-image: var(--hero);
    background-position: center;
    background-size: cover;
    gap: 5%;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(1, 12, 25, .87), rgba(1, 12, 25, .54) 60%, rgba(1, 12, 25, .36))
}

.hero-content {
    position: relative;
    z-index: 1;
    color: white;
    max-width: 800px;
    flex: 1;
    animation: heroIn .9s both
}

.kicker {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2.2px;
    color: #ffbdc2
}

.hero h1 {
    font-size: clamp(42px, 5vw, 72px);
    line-height: 1.08;
    letter-spacing: -2.2px;
    margin: 22px 0;
    font-weight: 900;
    max-width: 850px
}

.hero p {
    font-size: clamp(16px, 1.45vw, 21px);
    line-height: 1.7;
    color: #e5ebf2;
    max-width: 690px;
    margin: 0 0 28px
}

.hero-form-wrap {
    z-index: 2;
    position: relative;
    width: min(390px, 38%);
    flex-shrink: 0
}

.quote-form {
    background: #fff;
    color: var(--ink);
    padding: 28px;
    border-radius: 12px;
    box-shadow: 0 18px 55px #0003
}

.quote-form h3 {
    font-size: 23px;
    color: var(--navy);
    margin: 0 0 18px
}

.quote-form label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    margin: 10px 0
}

.quote-form input,
.quote-form textarea {
    width: 100%;
    display: block;
    margin-top: 6px;
    border: 1px solid #ccd4de;
    border-radius: 4px;
    padding: 11px;
    font: inherit;
    font-size: 13px
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px
}

.quote-form .red-btn {
    width: 100%;
    margin-top: 10px
}

.quote-form small {
    display: block;
    color: #788598;
    font-size: 10px;
    margin-top: 10px
}

.section {
    padding: 85px max(6%, calc((100% - 1190px)/2));
    text-align: center
}

.section h2 {
    font-size: clamp(29px, 3vw, 42px);
    line-height: 1.2;
    letter-spacing: -1.1px;
    color: var(--navy);
    margin: 13px 0 34px;
    font-weight: 850
}

.eyebrow {
    display: inline-block;
    border: 1px solid #ffcbd0;
    border-radius: 30px;
    padding: 6px 16px;
    color: var(--red);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 2.2px
}

.stats {
    padding-top: 75px
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px
}

.stat {
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 27px 15px;
    box-shadow: 0 12px 30px #071d3510;
    transition: .3s
}

.stat:hover {
    transform: translateY(-7px);
    box-shadow: var(--shadow)
}

.stat strong {
    display: block;
    color: var(--red);
    font-size: 31px;
    font-weight: 900
}

.stat span {
    display: block;
    color: #4d5e73;
    font-size: 13px
}

.note {
    font-size: 10px;
    color: #8792a1;
    margin-top: 15px
}

.client-names,
.client-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 18px
}

.client-names span,
.client-tile {
    border: 1px solid #e6eaf0;
    border-radius: 8px;
    padding: 20px 24px;
    min-width: 140px;
    box-shadow: 0 5px 14px #071d3509;
    font-weight: 800;
    color: #35465b
}

.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    text-align: left;
    gap: 55px
}

.split img {
    width: 100%;
    /* height: 390px; */
    object-fit: cover;
    border-radius: 16px;
    box-shadow: var(--shadow)
}

.split h3 {
    font-size: 29px;
    line-height: 1.25;
    color: var(--navy);
    margin: 0 0 15px
}

.split p {
    color: #5a687b;
    font-size: 15px;
    margin: 0 0 23px
}

.pink,
.soft {
    background: #fff2f3
}

.fleet-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 13px;
    margin-bottom: 45px
}

.fleet-tabs span {
    padding: 10px 19px;
    border-radius: 30px;
    background: #fff;
    border: 1px solid #f2d7da;
    color: #4b596b;
    font-size: 12px;
    font-weight: 800
}

/* ── Services Grid – 3-col card layout ── */
.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: left
}

.service-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 24px rgba(6, 29, 53, .10);
    border: 1px solid #e7ebf0;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(6, 29, 53, .15)
}

/* Image area – fixed height, no dark overlay */
.service-card>img {
    position: static;
    width: 100%;
    /* height: 220px; */
    object-fit: cover;
    display: block;
    transition: transform .5s ease
}

.service-card:hover>img {
    transform: scale(1.05)
}

/* Remove old pseudo-element overlay */
.service-card:after {
    display: none
}

/* Text panel – sits below the image */
.service-panel {
    position: static;
    padding: 22px 24px 24px;
    background: #fff;
    flex: 1;
    display: flex;
    flex-direction: column;
    border-top: 1px solid #f0f3f7
}

.service-panel h3 {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--navy)
}

.service-panel p {
    margin: 0 0 14px;
    color: #637084;
    font-size: 13.5px;
    line-height: 1.6;
    flex: 1
}

.read-more,
.red-link {
    color: var(--red);
    font-weight: 850;
    font-size: 13px
}

.dark-feature {
    background: linear-gradient(90deg, #061729e8, #061729b8), url('../images/fleet-road.jpg') center/cover;
    color: white;
    border-radius: 16px;
    text-align: left;
    padding: 55px 7%;
    box-shadow: var(--shadow)
}

.dark-feature h3 {
    font-size: 30px;
    margin: 0 0 12px
}

.dark-feature p {
    max-width: 900px;
    color: #e2e8f0
}

.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px;
    text-align: left
}

.info-card {
    padding: 24px;
    border: 1px solid #e9edf2;
    border-radius: 12px;
    box-shadow: 0 9px 24px #061d350a;
    background: #fff;
    transition: .3s
}

.info-card:hover {
    transform: translateY(-6px);
    border-color: #ffc2c8
}

.card-icon {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    background: #fff0f1;
    color: var(--red);
    border-radius: 8px
}

.info-card h3 {
    font-size: 17px;
    color: var(--navy);
    margin: 14px 0 7px
}

.info-card p {
    font-size: 13px;
    color: #647286;
    margin: 0
}

/* ══ OLD testimonial-grid (kept for other pages) ══ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    text-align: left
}

.testimonial {
    border: 1px solid #e8edf2;
    border-radius: 13px;
    padding: 23px;
    box-shadow: 0 10px 26px #071d350a
}

.testimonial span {
    color: var(--red);
    font-size: 28px
}

.testimonial p {
    font-size: 13px;
    color: #617085;
    min-height: 90px
}

.testimonial b {
    font-size: 12px;
    color: var(--navy)
}

/* ══ NEW Testimonials – Dual infinite marquee ══ */
.testi-section {
    background: #f4f7fb;
    overflow: hidden;
    padding-bottom: 80px
}

.testi-sub {
    text-align: center;
    color: var(--muted);
    font-size: 15px;
    max-width: 540px;
    margin: -8px auto 36px;
    line-height: 1.6
}

/* Marquee wrapper — fade edges */
.testi-marquee-wrap {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px
}

.testi-marquee-wrap::before,
.testi-marquee-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none
}

.testi-marquee-wrap::before {
    left: 0;
    background: linear-gradient(90deg, #f4f7fb, transparent)
}

.testi-marquee-wrap::after {
    right: 0;
    background: linear-gradient(-90deg, #f4f7fb, transparent)
}

/* ── Scrolling track: outer flex container ── */
.testi-track {
    display: flex;
    width: max-content;
    /* NO gap here — gap lives inside .testi-group so both groups match perfectly */
}

/* Each group holds one full set of cards */
.testi-group {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    /* matches the gap so the join is gapless */
}

/* Forward: group 1 scrolls until group 2 takes its place, then resets */
.testi-track--fwd {
    animation: marquee-fwd 52s linear infinite;
}

/* Reverse: starts from group 2 position and scrolls back */
.testi-track--rev {
    animation: marquee-rev 46s linear infinite;
}

@keyframes marquee-fwd {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes marquee-rev {
    0% {
        transform: translateX(-50%);
    }

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

/* Pause on hover */
.testi-marquee-wrap:hover .testi-track {
    animation-play-state: paused;
}

/* Individual card */
.testi-card {
    flex: 0 0 340px;
    background: #fff;
    border: 1px solid #e3e9f1;
    border-radius: 18px;
    padding: 26px 24px 22px;
    box-shadow: 0 4px 22px rgba(6, 29, 53, .07);
    transition: transform .3s ease, box-shadow .3s ease;
    cursor: default;
    will-change: transform
}

.testi-card:hover {
    transform: translateY(-5px) scale(1.015);
    box-shadow: 0 16px 40px rgba(6, 29, 53, .13)
}

/* Card top row */
.testi-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px
}

/* Avatar circle */
.testi-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--av, #ed1c2b);
    color: #fff;
    font-weight: 800;
    font-size: 14px;
    display: grid;
    place-items: center;
    flex-shrink: 0;
    letter-spacing: .5px
}

.testi-name {
    font-weight: 700;
    font-size: 14px;
    color: var(--navy)
}

.testi-company {
    font-size: 11.5px;
    color: var(--muted);
    margin-top: 2px
}

.testi-verified {
    margin-left: auto;
    font-size: 10.5px;
    font-weight: 700;
    color: #2a9d8f;
    white-space: nowrap;
    background: #edfaf8;
    border: 1px solid #c0ede8;
    border-radius: 20px;
    padding: 3px 9px
}

/* Stars */
.testi-stars {
    color: #f4a40a;
    font-size: 15px;
    letter-spacing: 1px;
    margin-bottom: 10px
}

/* Quote text */
.testi-card>p {
    font-size: 13.5px;
    color: #526070;
    line-height: 1.65;
    margin: 0
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .testi-card {
        flex: 0 0 290px;
        padding: 20px 18px
    }

    .testi-group {
        gap: 16px;
        padding-right: 16px
    }

    .testi-marquee-wrap::before,
    .testi-marquee-wrap::after {
        width: 60px
    }

    .testi-sub {
        font-size: 14px;
        padding: 0 16px
    }
}

@media (max-width: 480px) {
    .testi-card {
        flex: 0 0 260px;
        padding: 18px 15px
    }

    .testi-group {
        gap: 14px;
        padding-right: 14px
    }

    .testi-track--fwd {
        animation-duration: 36s
    }

    .testi-track--rev {
        animation-duration: 32s
    }
}

.faq-list {
    max-width: 900px;
    margin: auto;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.faq-list details {
    border: 1px solid #e7ebf0;
    border-radius: 9px;
    padding: 15px 17px;
    background: #fff
}

.faq-list details[open] {
    border-color: #ffb5bc
}

.faq-list summary {
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    color: var(--navy)
}

.faq-list p {
    font-size: 12px;
    color: #68778a
}

.faq-section {
    background: #fff
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    text-align: left;
    align-items: start
}

.contact-layout h2 {
    margin-bottom: 15px
}

.contact-layout h3 {
    font-size: 15px;
    color: var(--navy);
    margin: 20px 0 10px
}

/* ── Contact cards (reach-us page) ── */
.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 4px
}

.contact-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #f4f7fb;
    border: 1px solid #e3eaf3;
    border-radius: 10px;
    padding: 12px 16px;
    transition: box-shadow .2s, border-color .2s
}

.contact-card:hover {
    border-color: #cbd6e8;
    box-shadow: 0 4px 16px rgba(6, 29, 53, .08)
}

.contact-card--biz {
    background: #fff5f5;
    border-color: rgba(237, 28, 43, .18)
}

.contact-role {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    letter-spacing: .3px;
    text-transform: uppercase;
    white-space: nowrap
}

.contact-num {
    font-size: 15px;
    font-weight: 700;
    color: var(--navy);
    white-space: nowrap;
    transition: color .2s
}

.contact-num:hover {
    color: var(--red)
}

.contact-card--biz .contact-num {
    color: var(--red)
}

/* ── Footer contact labels ── */
.footer-contact-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    margin-top: 10px;
    margin-bottom: 2px
}

.contact-info-col {
    display: flex;
    flex-direction: column;
}

.contact-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--navy);
    display: block;
}

.contact-note {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    background: #e9eef6;
    padding: 4px 10px;
    border-radius: 20px;
}

/* ── Leadership & Team Grid ── */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    text-align: left;
    margin-top: 10px;
}

.team-card {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: 0 6px 24px rgba(6, 29, 53, .06);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 36px rgba(6, 29, 53, .12);
    border-color: #ffc2c8;
}

.team-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ed1c2b, #b3101c);
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    display: grid;
    place-items: center;
    margin-bottom: 16px;
    box-shadow: 0 6px 18px rgba(237, 28, 43, .3);
}

.team-avatar--blue {
    background: linear-gradient(135deg, #0d4b8f, #061d35);
    box-shadow: 0 6px 18px rgba(6, 29, 53, .25);
}

.team-avatar--green {
    background: linear-gradient(135deg, #2a9d8f, #1b685f);
    box-shadow: 0 6px 18px rgba(42, 157, 143, .3);
}

.team-avatar--purple {
    background: linear-gradient(135deg, #6a4c93, #432a63);
    box-shadow: 0 6px 18px rgba(106, 76, 147, .3);
}

.team-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
    color: var(--red);
    background: #fff0f1;
    border: 1px solid rgba(237, 28, 43, .2);
    padding: 4px 12px;
    border-radius: 20px;
}

.team-card h3 {
    margin: 0 0 4px;
    font-size: 22px;
    color: var(--navy);
}

.team-role {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--red);
    margin: 0 0 14px;
    letter-spacing: .2px;
}

.team-desc {
    font-size: 14px;
    color: #556578;
    line-height: 1.6;
    margin: 0 0 18px;
    flex: 1;
}

.team-contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy);
    background: #f4f7fb;
    border: 1px solid #dce4ed;
    border-radius: 8px;
    padding: 9px 16px;
    width: fit-content;
    transition: all .2s ease;
}

.team-contact-btn:hover {
    background: var(--red);
    color: #fff;
    border-color: var(--red);
}

.team-pill {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    color: #3b5066;
    background: #edf2f8;
    padding: 6px 14px;
    border-radius: 8px;
    width: fit-content;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px
    }
}

.contact-layout p {
    font-size: 14px;
    color: #5d6d80
}

.contact-layout .quote-form {
    border: 1px solid #edf0f4
}

.map-panel {
    max-width: 850px;
    margin: auto;
    padding: 45px;
    border-radius: 15px;
    background: #f7f9fb;
    border: 1px solid var(--line)
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 17px
}

.gallery-grid figure {
    margin: 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px #071d350a
}

.gallery-grid img {
    width: 100%;
    height: 230px;
    object-fit: cover
}

.gallery-grid figcaption {
    padding: 12px;
    font-size: 13px;
    font-weight: 800
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: left
}

.blog-card {
    border: 1px solid var(--line);
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 8px 24px #071d350a
}

.blog-card img {
    width: 100%;
    height: 190px;
    object-fit: cover
}

.blog-card div {
    padding: 20px
}

.blog-card span {
    font-size: 9px;
    letter-spacing: 1.5px;
    color: var(--red);
    font-weight: 900
}

.blog-card h3 {
    font-size: 18px;
    line-height: 1.3;
    color: var(--navy)
}

.blog-card p {
    font-size: 13px;
    color: #657386
}

.article {
    max-width: 850px;
    margin: auto;
    text-align: left;
    color: #526277
}

.article h3 {
    color: var(--navy);
    margin-top: 28px
}

.footer {
    background: #030e1a;
    color: #dce5ef;
    padding: 60px 7% 18px
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
    gap: 35px;
    max-width: 1200px;
    margin: auto
}

.footer-logo .logo-type {
    color: #fff
}

.footer-grid p {
    font-size: 12px;
    color: #aebdcd
}

.footer-grid h4 {
    color: white;
    margin-top: 0
}

.footer-grid>div>a:not(.logo) {
    display: block;
    font-size: 12px;
    color: #bdc9d6;
    margin: 9px 0
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid #25394e;
    margin-top: 40px;
    padding-top: 18px;
    font-size: 11px;
    color: #8fa0b4
}

.floating-contact {
    position: fixed;
    z-index: 50;
    right: 20px;
    bottom: 20px;
    background: var(--red);
    color: white;
    border-radius: 35px;
    padding: 14px 22px;
    font-weight: 850;
    box-shadow: var(--shadow)
}

.reveal {
    /* opacity: 0; */
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in-view {
    opacity: 1;
    transform: none
}

@keyframes heroIn {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: none
    }
}

@media(max-width:1100px) {
    .header {
        gap: 12px
    }

    .logo {
        min-width: 175px
    }

    .site-logo-img {
        height: 44px;
        max-width: 190px
    }

    .logo-type {
        font-size: 21px
    }

    .nav {
        gap: 9px
    }

    .nav>a,
    .nav-item>a {
        font-size: 11px
    }

    .header-cta {
        font-size: 11px;
        padding: 12px 14px
    }
}

/* Tablet: 2-col service grid */
@media(max-width:1024px) and (min-width:561px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px
    }

    .service-card>img {
        height: 200px
    }
}

@media(max-width:850px) {
    .header {
        top: 10px;
        left: 3%;
        width: 94%;
        border-radius: 18px;
        flex-wrap: wrap;
        justify-content: space-between
    }

    .menu-btn {
        display: block;
        order: 3
    }

    .header-cta {
        margin-left: auto
    }

    .nav {
        display: none;
        order: 4;
        flex-basis: 100%;
        align-items: stretch;
        flex-direction: column;
        gap: 0;
        padding: 8px 0
    }

    .nav.open {
        display: flex
    }

    .nav>a,
    .nav-item>a {
        display: block;
        padding: 10px 12px;
        font-size: 14px
    }

    .nav-item {
        padding: 0
    }

    .drop,
    .drop.mega {
        position: static;
        box-shadow: none;
        border-radius: 8px;
        background: #f5f7fa;
        margin: 0 0 8px 12px;
        min-width: 0
    }

    .drop.mega {
        grid-template-columns: 1fr 1fr
    }

    .hero {
        min-height: 650px;
        padding: 170px 6% 70px;
        display: block
    }

    .hero-form-wrap {
        width: min(100%, 520px);
        margin: 35px 0 0
    }

    .hero-content {
        max-width: 700px
    }

    .split,
    .contact-layout {
        grid-template-columns: 1fr
    }

    .split img {
        height: 330px
    }

    .stat-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:560px) {
    .logo {
        min-width: 0
    }

    .site-logo-img {
        height: 61px;
        /* max-width: 160px */
    }

    .logo-type {
        font-size: 18px
    }

    .logo-symbol {
        width: 32px;
        height: 32px
    }

    .header-cta {
        display: none
    }

    .hero {
        padding: 150px 6% 55px;
        min-height: 590px
    }

    .hero h1 {
        font-size: 40px;
        letter-spacing: -1.4px
    }

    .hero p {
        font-size: 16px
    }

    .section {
        padding: 62px 6%
    }

    .stat-grid,
    .service-grid,
    .cards,
    .testimonial-grid,
    .blog-grid {
        grid-template-columns: 1fr
    }

    .stat {
        padding: 20px
    }

    .service-card {
        min-height: unset
    }

    .service-card>img {
        height: 190px
    }

    .service-panel {
        padding: 18px 20px 20px
    }

    .service-panel h3 {
        font-size: 16px
    }

    .faq-list {
        grid-template-columns: 1fr
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 9px
    }

    .gallery-grid img {
        height: 145px
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .drop.mega {
        grid-template-columns: 1fr
    }

    .quote-form {
        padding: 20px
    }

    .form-row {
        grid-template-columns: 1fr
    }

    .floating-contact {
        right: 10px;
        bottom: 10px
    }

    .dark-feature {
        padding: 35px 24px
    }
}


/* Continuous, seamless client / partner marquee */
.client-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    padding: 12px 0;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent)
}

.client-track {
    display: flex;
    width: max-content;
    align-items: center;
    animation: sst-client-marquee 34s linear infinite;
    will-change: transform
}

.client-marquee:hover .client-track {
    animation-play-state: paused
}

.client-marquee:focus-within .client-track {
    animation-play-state: paused
}

.client-marquee .client-names,
.client-marquee .client-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    gap: 18px;
    flex: 0 0 auto;
    padding: 0 9px
}

.client-marquee .client-names span,
.client-marquee .client-tile {
    flex: 0 0 auto;
    white-space: nowrap;
    min-width: 180px;
    text-align: center
}

.client-marquee-logos {
    padding: 24px 0
}

.client-marquee-logos .client-tile {
    min-width: 210px;
    min-height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e4eaf1;
    border-radius: 8px;
    padding: 18px 24px;
    color: #233b59;
    font-size: 15px;
    font-weight: 800;
    box-shadow: 0 5px 18px rgba(7, 29, 53, .07)
}

@keyframes sst-client-marquee {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@media(max-width:600px) {
    .client-track {
        animation-duration: 26s
    }

    .client-marquee .client-names,
    .client-marquee .client-grid {
        gap: 12px
    }

    .client-marquee .client-names span,
    .client-marquee .client-tile {
        min-width: 155px;
        font-size: 12px
    }

    .client-marquee-logos .client-tile {
        min-width: 170px;
        min-height: 78px
    }
}

@media(prefers-reduced-motion:reduce) {
    .client-track {
        animation: none;
        transform: none
    }

    .client-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none
    }
}


/* Automatic fleet-category image carousel */
.fleet-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 18px 0 24px;
    mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent)
}

.fleet-track {
    display: flex;
    width: max-content;
    gap: 0;
    animation: sst-fleet-scroll 38s linear infinite;
    will-change: transform
}

.fleet-marquee:hover .fleet-track,
.fleet-marquee:focus-within .fleet-track {
    animation-play-state: paused
}

.fleet-items {
    display: flex;
    align-items: center;
    gap: 22px;
    padding: 0 11px;
    flex: 0 0 auto
}

.fleet-item {
    width: 145px;
    min-height: 142px;
    flex: 0 0 145px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 8px;
    border-radius: 13px;
    transition: transform .25s, background .25s
}

.fleet-item:hover {
    transform: translateY(-5px);
    background: #fff;
    box-shadow: 0 9px 24px rgba(7, 29, 53, .08)
}

.fleet-item img {
    width: 125px;
    height: 78px;
    object-fit: contain;
    mix-blend-mode: multiply
}

.fleet-item span {
    font-size: 13px;
    font-weight: 800;
    color: #526176;
    text-align: center;
    white-space: nowrap
}

@keyframes sst-fleet-scroll {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

@media(max-width:600px) {
    .fleet-track {
        animation-duration: 29s
    }

    .fleet-items {
        gap: 10px
    }

    .fleet-item {
        width: 125px;
        flex-basis: 125px;
        min-height: 125px
    }

    .fleet-item img {
        width: 108px;
        height: 68px
    }

    .fleet-item span {
        font-size: 12px
    }
}

@media(prefers-reduced-motion:reduce) {
    .fleet-track {
        animation: none;
        transform: none
    }

    .fleet-marquee {
        overflow-x: auto;
        mask-image: none;
        -webkit-mask-image: none
    }
}


/* Clients directory page: static logo-card grid inspired by the supplied reference */
.client-directory {
    padding-top: 112px;
    min-height: 70vh;
    background: #fff
}

.client-directory-section {
    max-width: 1210px;
    margin: 0 auto;
    padding: 26px 26px 78px
}

.client-directory-heading {
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 0 0 32px;
    color: #0b2039;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 850;
    letter-spacing: -.8px;
    text-transform: uppercase
}

.client-directory-heading>span {
    display: block;
    width: 6px;
    height: 33px;
    border-radius: 8px;
    background: var(--red);
    flex: 0 0 6px
}

.client-directory-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 24px
}

.client-logo-card {
    height: 177px;
    border: 1px solid #dce4ed;
    border-radius: 13px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-shadow: 0 10px 25px rgba(7, 29, 53, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.client-logo-card:hover {
    transform: translateY(-5px);
    border-color: #ffc1c7;
    box-shadow: 0 16px 32px rgba(7, 29, 53, .11)
}

.wordmark {
    max-width: 100%;
    text-align: center;
    color: #173e69;
    font-weight: 850;
    line-height: 1.12;
    font-size: clamp(17px, 1.5vw, 24px);
    overflow-wrap: anywhere
}

.wordmark small {
    display: block;
    margin-top: 7px;
    font-size: 10px;
    letter-spacing: 2px;
    color: #68788b;
    font-weight: 800
}

.wordmark-earning {
    font-size: 25px;
    color: #176da7
}

.wordmark-earning b {
    color: #2c8e81
}

.wordmark-euro {
    font-size: 18px;
    color: #152e4c;
    letter-spacing: .4px
}

.wordmark-sblt {
    font-size: 33px;
    color: #1a5b91
}

.wordmark-fiesta {
    font: italic 900 31px Georgia, serif;
    color: #111
}

.wordmark-fiesta small {
    font: 800 9px Inter, Arial, sans-serif;
    color: var(--red)
}

.wordmark-sst {
    font-size: 27px;
    color: #152b43
}

.wordmark-sst b {
    display: block;
    font-size: 13px;
    letter-spacing: 2px
}

.wordmark-surya {
    font-size: 19px;
    color: #b5232f;
    letter-spacing: .4px
}

@media(max-width:950px) {
    .client-directory-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px
    }

    .client-logo-card {
        height: 155px
    }
}

@media(max-width:600px) {
    .client-directory {
        padding-top: 94px
    }

    .client-directory-section {
        padding: 24px 18px 55px
    }

    .client-directory-heading {
        font-size: 21px;
        margin-bottom: 23px
    }

    .client-directory-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .client-logo-card {
        height: 130px;
        padding: 12px;
        border-radius: 10px
    }

    .wordmark {
        font-size: 16px
    }

    .wordmark small {
        font-size: 8px
    }

    .wordmark-sblt {
        font-size: 26px
    }

    .wordmark-fiesta {
        font-size: 24px
    }
}


/* CLIENTS PAGE ONLY — category-based directory matching the supplied reference */
.clients-page {
    padding-top: 0;
    background: #fff
}

.clients-hero {
    height: 335px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-image: linear-gradient(90deg, rgba(3, 15, 28, .78), rgba(3, 15, 28, .55)), url('../images/team.jpg');
    background-size: cover;
    background-position: center 44%
}

.clients-hero-shade {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 78% 40%, rgba(237, 28, 43, .18), transparent 36%)
}

.clients-hero h1 {
    position: relative;
    margin: 55px 0 0;
    color: #fff;
    font-size: clamp(48px, 6vw, 76px);
    line-height: 1;
    font-weight: 900;
    letter-spacing: -2px;
    text-shadow: 0 5px 25px #0006
}

.clients-category-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    justify-content: center;
    padding: 18px max(4%, calc((100% - 1200px)/2));
    background: #f6f7f9;
    border-bottom: 1px solid #dfe5ec
}

.clients-category-nav .client-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid #dce4ed;
    border-radius: 30px;
    background: #fff;
    color: #20364f;
    font-size: 10px;
    font-weight: 850;
    white-space: nowrap;
    box-shadow: 0 2px 5px #071d3509;
    transition: .2s
}

.clients-category-nav .client-tab:hover,
.clients-category-nav .client-tab.active {
    background: var(--red);
    border-color: var(--red);
    color: #fff
}

.clients-directory {
    max-width: 1210px;
    margin: 0 auto;
    padding: 0 26px 70px
}

.client-category-block {
    padding: 28px 0 30px;
    border-bottom: 1px solid #e1e6ed;
    scroll-margin-top: 20px
}

.client-category-block h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #102640;
    font-size: 19px;
    font-weight: 900;
    letter-spacing: -.3px;
    text-transform: uppercase
}

.client-category-block h2 span {
    width: 5px;
    height: 30px;
    border-radius: 8px;
    background: var(--red);
    flex: 0 0 5px
}

.client-logo-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px
}

.client-logo-card {
    height: 177px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    border: 1px solid #dce4ed;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(7, 29, 53, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease
}

.client-logo-card:hover {
    transform: translateY(-5px);
    border-color: #ffc0c6;
    box-shadow: 0 16px 30px rgba(7, 29, 53, .11)
}

.logo-wordmark {
    max-width: 100%;
    text-align: center;
    overflow-wrap: anywhere;
    color: #1767a0;
    font-size: clamp(17px, 1.55vw, 26px);
    font-weight: 900;
    line-height: 1.12
}

.logo-1 {
    background: #090909;
    color: #fff;
    padding: 18px 9px;
    font-size: 13px;
    letter-spacing: 1px
}

.logo-2 {
    color: #1760a0;
    font-size: 23px;
    letter-spacing: -1px
}

.logo-3 {
    color: #123d75;
    font-size: 24px;
    letter-spacing: -1px
}

.logo-4 {
    color: #282d63;
    font-size: 22px
}

.logo-5 {
    color: #ed1c2b;
    font-size: 29px;
    letter-spacing: 2px
}

.logo-6 {
    color: #e49a2d;
    font-size: 23px;
    letter-spacing: 1px
}

.logo-7 {
    color: #14548c;
    font-size: 17px
}

.logo-8 {
    color: #24394a;
    font-size: 23px;
    letter-spacing: -1px
}

.logo-9 {
    color: #9d172b;
    font-size: 23px
}

.logo-10 {
    color: #17618c;
    font-size: 29px
}

.logo-11 {
    color: #111;
    font-size: 17px;
    letter-spacing: -1px
}

.logo-12 {
    color: #285b86;
    font-family: Georgia, serif;
    font-size: 24px
}

.logo-13 {
    color: #31517c;
    font-size: 17px
}

.logo-14 {
    color: #5a6472;
    font-size: 19px
}

.logo-15 {
    color: #333;
    font-style: italic;
    font-size: 23px
}

.logo-16 {
    color: #0872ad;
    font-size: 37px;
    letter-spacing: -2px
}

.logo-17 {
    color: #1264a1;
    font-size: 18px;
    font-style: italic
}

.client-category-note {
    border: 1px dashed #d8e0e9;
    border-radius: 10px;
    padding: 22px;
    color: #718095;
    font-size: 13px;
    background: #fafbfd
}

@media(max-width:950px) {
    .client-logo-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 17px
    }

    .client-logo-card {
        height: 155px
    }
}

@media(max-width:600px) {
    .clients-hero {
        height: 270px
    }

    .clients-hero h1 {
        font-size: 48px;
        margin-top: 65px
    }

    .clients-category-nav {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding: 13px 16px;
        scrollbar-width: none
    }

    .clients-category-nav::-webkit-scrollbar {
        display: none
    }

    .clients-directory {
        padding: 0 17px 45px
    }

    .client-category-block {
        padding: 23px 0
    }

    .client-category-block h2 {
        font-size: 16px;
        margin-bottom: 16px
    }

    .client-logo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px
    }

    .client-logo-card {
        height: 125px;
        padding: 12px;
        border-radius: 10px
    }

    .logo-wordmark {
        font-size: 16px
    }

    .logo-5,
    .logo-10 {
        font-size: 22px
    }

    .logo-16 {
        font-size: 30px
    }
}


/* Homepage hero: automatic full-width banner slider */
.hero-slider {
    height: min(760px, 88vh);
    min-height: 620px;
    padding: 0;
    display: block;
    overflow: hidden;
    background: #071d35
}

.hero-slides {
    position: absolute;
    inset: 0
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 170px 7% 90px;
    background-image: url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition: opacity 1s ease, transform 6s ease, visibility 1s
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    z-index: 1
}

.hero-slide .hero-overlay {
    background: linear-gradient(90deg, rgba(3, 18, 32, .78), rgba(3, 18, 32, .42) 58%, rgba(3, 18, 32, .28))
}

.hero-slide .hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease .2s, transform .7s ease .2s
}

.hero-slide.active .hero-content {
    opacity: 1;
    transform: translateY(0)
}

.hero-slide h1 {
    font-size: clamp(43px, 5.1vw, 76px);
    max-width: 940px;
    margin: 18px auto 22px;
    line-height: 1.08
}

.hero-slide p {
    max-width: 790px;
    margin: 0 auto 32px;
    font-size: clamp(16px, 1.7vw, 23px);
    color: #f1f4f8
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 50%;
    bottom: 34px;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    align-items: center
}

.hero-dot {
    width: 34px;
    height: 5px;
    border: 0;
    border-radius: 10px;
    background: #ffffff80;
    padding: 0;
    cursor: pointer;
    transition: width .25s, background .25s
}

.hero-dot.active {
    width: 48px;
    background: var(--red)
}

.hero-arrow {
    position: absolute;
    z-index: 6;
    top: 54%;
    transform: translateY(-50%);
    width: 43px;
    height: 43px;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    background: #071d3560;
    color: #fff;
    font-size: 29px;
    line-height: 1;
    cursor: pointer;
    opacity: .0;
    transition: opacity .2s, background .2s
}

.hero-slider:hover .hero-arrow,
.hero-arrow:focus-visible {
    opacity: 1
}

.hero-arrow:hover {
    background: var(--red)
}

.hero-prev {
    left: 25px
}

.hero-next {
    right: 25px
}

@media(max-width:850px) {
    .hero-slider {
        height: auto;
        min-height: 650px
    }

    .hero-slide {
        padding: 165px 7% 85px
    }

    .hero-arrow {
        opacity: .85;
        width: 38px;
        height: 38px
    }

    .hero-prev {
        left: 12px
    }

    .hero-next {
        right: 12px
    }
}

@media(max-width:560px) {
    .hero-slider {
        min-height: 610px
    }

    .hero-slide {
        padding: 150px 7% 78px;
        background-position: center
    }

    .hero-slide h1 {
        font-size: 39px;
        letter-spacing: -1.3px
    }

    .hero-slide p {
        font-size: 15px
    }

    .hero-dots {
        bottom: 25px
    }

    .hero-arrow {
        top: 62%;
        width: 34px;
        height: 34px;
        font-size: 24px
    }
}

@media(prefers-reduced-motion:reduce) {

    .hero-slide,
    .hero-slide .hero-content {
        transition: none
    }

    .hero-slide {
        transform: none
    }
}


/* FIX: explicit image URLs for homepage hero slides (relative to assets/css/style.css) */
.hero-slider .hero-slide-fleet {
    background-image: url('../images/hero1.jpg') !important
}

.hero-slider .hero-slide-employee {
    background-image: url('../images/hero2.jpg') !important
}

.hero-slider .hero-slide-rentals {
    background-image: url('../images/hero3.jpg') !important
}

/* Fallback for a non-slider hero on older cached homepage markup */
body:has(.hero:not(.hero-slider)) .hero:not(.hero-slider) {
    background-image: linear-gradient(90deg, rgba(1, 12, 25, .78), rgba(1, 12, 25, .42)), url('../images/hero1.jpg') !important;
    background-position: center;
    background-size: cover
}

/* Sri Sai Travels homepage hero banners: use the supplied hero1, hero2 and hero3 JPGs */
.hero-slider .hero-slide-fleet {
    background-image: linear-gradient(90deg, rgba(1, 12, 25, .72), rgba(1, 12, 25, .30)), url('../images/hero1.jpg') !important;
    background-size: cover;
    background-position: center;
}

.hero-slider .hero-slide-employee {
    background-image: linear-gradient(90deg, rgba(1, 12, 25, .72), rgba(1, 12, 25, .30)), url('../images/hero2.jpg') !important;
    background-size: cover;
    background-position: center;
}

.hero-slider .hero-slide-rentals {
    background-image: linear-gradient(90deg, rgba(1, 12, 25, .72), rgba(1, 12, 25, .30)), url('../images/hero3.jpg') !important;
    background-size: cover;
    background-position: center;
}


/* Testimonial carousel: responsive cards, autoplay and manual navigation */
.testimonial-carousel {
    position: relative;
    max-width: 1060px;
    margin: 44px auto 0;
    padding: 0 48px
}

.testimonial-viewport {
    overflow: hidden;
    width: 100%;
    padding: 4px 2px 18px
}

.testimonial-carousel .testimonial-grid {
    display: flex;
    gap: 22px;
    transition: transform .65s cubic-bezier(.22, .75, .25, 1);
    will-change: transform;
    text-align: left
}

.testimonial-carousel .testimonial {
    flex: 0 0 calc((100% - 44px)/3);
    min-width: 0;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    background: #fff;
    border: 1px solid #e9edf2;
    border-radius: 18px;
    padding: 27px 28px;
    box-shadow: 0 9px 25px rgba(7, 29, 53, .045)
}

.testimonial-carousel .testimonial>span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 12px;
    background: #fff0f1;
    color: var(--red);
    font-size: 29px;
    font-weight: 900;
    line-height: 1
}

.testimonial-carousel .testimonial p {
    font-size: 13px;
    line-height: 1.75;
    color: #31445c;
    min-height: 130px;
    margin: 20px 0 24px
}

.testimonial-carousel .testimonial b {
    margin-top: auto;
    padding-top: 17px;
    border-top: 1px solid #edf0f4;
    font-size: 12px;
    color: #142a43
}

.testimonial-arrow {
    position: absolute;
    z-index: 3;
    top: 45%;
    transform: translateY(-50%);
    width: 42px;
    height: 42px;
    border: 1px solid #edf0f3;
    border-radius: 50%;
    background: #fff;
    color: #64748b;
    box-shadow: 0 5px 14px rgba(7, 29, 53, .12);
    font-size: 25px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all .2s
}

.testimonial-arrow:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
    transform: translateY(-50%) scale(1.07)
}

.testimonial-prev {
    left: 0
}

.testimonial-next {
    right: 0
}

.testimonial-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 9px auto 0
}

.testimonial-dot {
    width: 7px;
    height: 7px;
    border: 0;
    border-radius: 20px;
    background: #d8dee7;
    padding: 0;
    cursor: pointer;
    transition: all .25s
}

.testimonial-dot.active {
    width: 25px;
    background: var(--red)
}

@media(max-width:850px) {
    .testimonial-carousel .testimonial {
        flex-basis: calc((100% - 22px)/2);
        min-height: 330px
    }

    .testimonial-carousel {
        padding: 0 40px
    }
}

@media(max-width:560px) {
    .testimonial-carousel {
        padding: 0 34px;
        margin-top: 30px
    }

    .testimonial-carousel .testimonial {
        flex-basis: 100%;
        min-height: 300px;
        padding: 23px
    }

    .testimonial-carousel .testimonial p {
        min-height: 100px
    }

    .testimonial-arrow {
        width: 34px;
        height: 34px;
        font-size: 21px
    }
}

@media(prefers-reduced-motion:reduce) {
    .testimonial-carousel .testimonial-grid {
        transition: none
    }
}

/* ===== Premium image-led client showcase ===== */
.client-gallery-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 56px 26px 88px;
}

.client-gallery-heading {
    text-align: center;
    margin: 0 auto 34px;
}

.client-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #e51d35;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2.2px;
    text-transform: uppercase;
}

.client-section-kicker::before,
.client-section-kicker::after {
    content: "";
    width: 22px;
    height: 1px;
    background: #f2a4ad;
}

.client-gallery-heading h2 {
    margin: 10px 0 8px;
    color: #0b2440;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 900;
    letter-spacing: -1.5px;
}

.client-gallery-heading p,
.client-showcase-copy {
    color: #718096;
    font-size: 15px;
    margin: 0;
}

.client-image-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.client-image-card {
    position: relative;
    height: 190px;
    min-width: 0;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid #e4eaf1;
    border-radius: 18px;
    background: linear-gradient(145deg, #fff, #f8fafc);
    box-shadow: 0 12px 32px rgba(12, 36, 64, .055);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    opacity: 0;
    transform: translateY(24px) scale(.97);
    animation: clientCardEnter .7s cubic-bezier(.2, .75, .25, 1) forwards;
    animation-delay: calc(var(--card-index, 0) * 75ms);
    transition: transform .45s cubic-bezier(.2, .8, .2, 1),
        box-shadow .45s ease, border-color .35s ease,
        background .35s ease;
}

.client-image-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0;
    background: radial-gradient(circle at 50% 0%, rgba(229, 29, 53, .075), transparent 68%);
    transition: opacity .4s ease;
}

.client-image-card::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 5px 5px 0 0;
    background: linear-gradient(90deg, #e51d35, #f6a1ab);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.client-image-card img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform .55s cubic-bezier(.2, .8, .2, 1), filter .4s ease;
}

.client-image-card:hover {
    transform: translateY(-9px) scale(1.015);
    border-color: #f1b4bc;
    background: #fff;
    box-shadow: 0 22px 48px rgba(12, 36, 64, .12);
}

.client-image-card:hover::before {
    opacity: 1;
}

.client-image-card:hover::after {
    transform: scaleX(1);
}

.client-image-card:hover img {
    transform: scale(1.075);
}

@keyframes clientCardEnter {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Homepage: continuously moving logo rail */
.client-showcase {
    overflow: hidden;
}

.client-showcase-copy {
    text-align: center;
    margin: -8px 0 28px;
}

.client-logo-marquee {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding: 8px 0 18px;
    mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}

.client-logo-marquee-track {
    display: flex;
    width: max-content;
    animation: clientLogoFlow 38s linear infinite;
}

.client-logo-marquee:hover .client-logo-marquee-track {
    animation-play-state: paused;
}

.client-logo-marquee-group {
    display: flex;
    align-items: center;
    gap: 18px;
    padding-right: 18px;
}

.client-logo-chip {
    width: 205px;
    height: 112px;
    flex: 0 0 205px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #e3e9f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 29, 53, .045);
    transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}

.client-logo-chip:hover {
    transform: translateY(-5px);
    border-color: #f0b0b9;
    box-shadow: 0 15px 30px rgba(7, 29, 53, .09);
}

.client-logo-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes clientLogoFlow {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

@media (max-width: 1000px) {
    .client-image-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .client-image-card {
        height: 170px;
    }
}

@media (max-width: 650px) {
    .client-gallery-section {
        padding: 38px 16px 58px;
    }

    .client-gallery-heading {
        margin-bottom: 24px;
    }

    .client-image-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .client-image-card {
        height: 132px;
        padding: 17px;
        border-radius: 13px;
    }

    .client-logo-chip {
        width: 158px;
        height: 90px;
        flex-basis: 158px;
        padding: 15px;
    }

    .client-logo-marquee-group {
        gap: 12px;
        padding-right: 12px;
    }

    .client-logo-marquee-track {
        animation-duration: 30s;
    }
}

@media (max-width: 360px) {
    .client-image-card {
        height: 112px;
        padding: 12px;
    }

    .client-image-grid {
        gap: 9px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .client-image-card {
        opacity: 1;
        transform: none;
        animation: none;
    }

    .client-logo-marquee-track {
        animation: none;
    }

    .client-image-card,
    .client-image-card img,
    .client-logo-chip {
        transition: none;
    }
}