/* ==========================================================================
   GLOBAL RESET — applies site-wide
   ========================================================================== */
* {
    box-sizing: border-box;
}

body.has-fixed-header main {
    padding-top: 0;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1 0 auto;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
}

/* ==========================================================================
   HERO BANNER (Home page)
   ========================================================================== */
.hero-banner {
    position: relative;
    width: 100%;
    min-height: 750px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    transition: background-image 0.8s ease-in-out;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.75) 0%,
            rgba(0, 0, 0, 0.35) 45%,
            rgba(0, 0, 0, 0.15) 100%);
}

.hero-content {
    position: relative;
    max-width: 1280px;
    width: 100%;
    margin: 0 auto;
    padding: 0 24px 80px;
    color: #fff;
}

.hero-content h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px;
    max-width: 900px;
}

.hero-content p {
    font-size: 18px;
    line-height: 1.6;
    max-width: 640px;
    margin: 0 0 28px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 2px solid #e02020;
    padding-bottom: 6px;
    transition: gap 0.2s ease;
}

.hero-cta:hover {
    gap: 16px;
}

.hero-cta svg {
    width: 18px;
    height: 18px;
    color: #e02020;
}

.hero-controls {
    position: absolute;
    right: 40px;
    bottom: 32px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #fff;
}

.hero-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.hero-arrow svg {
    width: 18px;
    height: 18px;
}

.hero-counter {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    min-width: 40px;
    text-align: center;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about-section {
    position: relative;
    width: 100%;
    padding: 100px 24px;
    background-color: #ffffff;
    overflow: hidden;
}

.about-bg-decor {
    position: absolute;
    top: 0;
    width: 220px;
    height: 100%;
    min-height: 700px;
    color: rgba(180, 7, 7, 0.14);
    pointer-events: none;
    z-index: 0;
}

.about-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.about-bg-decor-left {
    left: 0;
}

.about-bg-decor-right {
    right: 0;
}

.about-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.about-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b40707;
    border-bottom: 3px solid #b40707;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.about-content h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 28px;
}

.about-text {
    margin-left: 24px;
    border-left: 2px solid #eee;
    padding-left: 24px;
    margin-bottom: 28px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0 0 12px;
}

.about-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-checklist li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 12px;
    font-size: 15px;
    color: #333;
}

.about-checklist li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    background-color: #b40707;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: contain;
    mask-size: contain;
}

/* ==========================================================================
   STATS STRIP SECTION
   ========================================================================== */
.stats-strip {
    position: relative;
    width: 100%;
    min-height: 180px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.stats-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(180, 7, 7, 0.82);
}

.stats-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px 32px;
    text-align: center;
}

.stat-item {
    flex: 1 1 180px;
    max-width: 220px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-number {
    font-size: 34px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #fff;
    margin-top: 8px;
}

.stat-sub {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 4px;
}

/* ==========================================================================
   SERVICES SECTION — sticky left, scrolling right grid
   ========================================================================== */
.services-section {
    position: relative;
    width: 100%;
    padding: 100px 24px;
    background-color: #ffffff;
    overflow: visible;
}

.services-bg-decor {
    position: sticky;
    top: 100px;
    width: 100%;
    height: 700px;
    color: rgba(180, 7, 7, 0.16);
    pointer-events: none;
    align-self: start;
}

.services-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.services-bg-decor-left {
    left: 0;
}

.services-bg-decor-right {
    right: 0;
}

.services-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 140px 0.85fr 1.15fr 140px;
    gap: 40px;
    align-items: start;
}

/* ===== Left column — sticky ===== */
.services-left {
    position: sticky;
    top: 120px;
}

.services-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b40707;
    border-bottom: 3px solid #b40707;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.services-left h2 {
    font-size: 40px;
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 24px;
}

.services-left p {
    font-size: 15px;
    line-height: 1.75;
    color: #555;
    max-width: 440px;
}

/* ===== Right column — 2x4 scrolling grid ===== */
.services-right {
    width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 32px;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 10px;
}

.service-card p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 16px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #1a1a1a;
    text-decoration: none;
    transition: gap 0.2s ease;
}

.service-link:hover {
    gap: 14px;
}

.service-link svg {
    width: 18px;
    height: 18px;
    color: #e02020;
}

/* ==========================================================================
   CLIENTS SECTION — auto-scrolling logo strip
   ========================================================================== */
.clients-section {
    width: 100%;
    background-color: #b40707;
    padding: 32px 0;
    overflow: hidden;
}

.clients-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 40px;
    align-items: center;
}

.clients-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    margin-bottom: 16px;
}

.clients-left h2 {
    font-size: 34px;
    font-weight: 500;
    line-height: 1.3;
    color: #fff;
    margin: 0 0 20px;
}

.clients-left p {
    font-size: 15px;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.85);
    text-align: justify;
}

/* ===== Auto-scrolling logo track ===== */
.clients-right {
    position: relative;
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 24px;
    width: max-content;
    animation: clients-scroll 25s linear infinite;
}

.clients-right:hover .clients-track {
    animation-play-state: paused;
}

.client-logo {
    flex-shrink: 0;
    width: 180px;
    height: 100px;
    background: #fff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

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

@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }

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

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-section {
    position: relative;
    width: 100%;
    padding: 100px 24px;
    background-color: #f2f2f2;
    overflow: hidden;
}

.why-bg-decor {
    position: absolute;
    top: 0;
    width: 220px;
    height: 100%;
    color: rgba(180, 7, 7, 0.14);
    pointer-events: none;
    z-index: 0;
}

.why-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.why-bg-decor-left {
    left: 0;
}

.why-bg-decor-right {
    right: 0;
}

.why-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
}

.why-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #b40707;
    border-bottom: 3px solid #b40707;
    padding-bottom: 8px;
    margin-bottom: 20px;
}

.why-inner h2 {
    font-size: 42px;
    font-weight: 600;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 20px;
    max-width: 700px;
}

.why-sub {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    max-width: 620px;
    margin: 0 0 48px;
}

/* ===== Grid of 4 cards ===== */
.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.why-card {
    position: relative;
    height: 360px;
    border-radius: 8px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

.why-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.85) 0%,
            rgba(0, 0, 0, 0.5) 30%,
            rgba(0, 0, 0, 0.1) 60%,
            rgba(0, 0, 0, 0) 100%);
    transition: background 0.35s ease;
}

.why-card-content {
    position: relative;
    z-index: 1;
    padding: 24px;
    color: #fff;
}

.why-card-content h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 0;
    transition: margin 0.35s ease;
}

.why-card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.35s ease;
}

/* ===== Hover reveal ===== */
.why-card:hover .why-card-overlay {
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(0, 0, 0, 0.65) 55%,
            rgba(0, 0, 0, 0.2) 100%);
}

.why-card:hover .why-card-content p {
    max-height: 160px;
    opacity: 1;
    margin-top: 10px;
}

/* ===== Commitment card (static, no image) ===== */
.why-card-commitment {
    background-color: #b40707;
    background-image: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 24px;
    height: 360px;
    overflow: hidden;
}

.why-card-commitment h3 {
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
    margin: 0 0 14px;
    line-height: 1.35;
}

.why-card-commitment p {
    font-size: 14px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    max-height: none;
    opacity: 1;
}


/* ==========================================================================
   CERTIFICATIONS SECTION
   ========================================================================== */
.certs-section {
    width: 100%;
    background-color: #b40707;
    padding: 40px 24px;
}

.certs-inner {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.certs-inner h2 {
    font-size: 36px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 16px;
}

.certs-inner>p {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    max-width: 720px;
    margin: 0 auto 48px;
}

.certs-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 56px;
}

.cert-item img {
    height: 100px;
    width: auto;
    max-width: 260px;
    object-fit: contain;
}


/* ==========================================================================
   CLOSING CTA SECTION
   ========================================================================== */
.closing-section {
    position: relative;
    width: 100%;
    padding: 100px 24px;
    background-color: #ffffff;
    overflow: hidden;
}

.closing-bg-decor {
    position: absolute;
    top: 0;
    width: 220px;
    height: 100%;
    color: rgba(180, 7, 7, 0.14);
    pointer-events: none;
    z-index: 0;
}

.closing-bg-decor svg {
    width: 100%;
    height: 100%;
    display: block;
}

.closing-bg-decor-left {
    left: 0;
}

.closing-bg-decor-right {
    right: 0;
}

.closing-inner {
    position: relative;
    z-index: 1;
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 64px;
    align-items: center;
}

.closing-image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.closing-content h2 {
    font-size: 42px;
    font-weight: 500;
    line-height: 1.25;
    color: #1a1a1a;
    margin: 0 0 28px;
}

.closing-content p {
    font-size: 16px;
    line-height: 1.75;
    color: #444;
    margin: 0 0 32px;
    max-width: 640px;
}

.closing-cta-btn {
    display: inline-block;
    background-color: #b40707;
    color: #fff;
    font-weight: 700;
    font-size: 15px;
    padding: 16px 32px;
    border-radius: 8px;
    transition: background-color 0.2s ease;
}

.closing-cta-btn:hover {
    background-color: #8f0505;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 991px) {
    .hero-banner {
        min-height: 620px;
    }

    .hero-content h1 {
        font-size: 40px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .hero-controls {
        right: 24px;
        bottom: 24px;
    }

    .about-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image img {
        height: 400px;
    }

    .about-content h2 {
        font-size: 32px;
    }

    .about-bg-decor {
        display: none;
    }

    .stats-inner {
        gap: 32px;
    }

    .stat-item {
        flex: 1 1 140px;
    }

    .stat-number {
        font-size: 36px;
    }

    .services-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-left {
        position: static;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-bg-decor {
        display: none;
    }

    .clients-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .clients-left h2 {
        font-size: 28px;
    }

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

    .why-inner h2 {
        font-size: 32px;
    }

    .why-bg-decor {
        display: none;
    }

    .certs-grid {
        gap: 36px;
    }

    .cert-item img {
        height: 80px;
        max-width: 200px;
    }

    .cert-item span {
        font-size: 16px;
    }

    .closing-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .closing-image img {
        height: 400px;
    }

    .closing-content h2 {
        font-size: 32px;
    }

    .closing-bg-decor {
        display: none;
    }

}

@media (max-width: 576px) {
    .hero-banner {
        min-height: 520px;
    }

    .hero-content {
        padding: 0 16px 56px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .hero-cta {
        font-size: 14px;
    }

    .hero-controls {
        right: 16px;
        bottom: 16px;
    }

    .hero-arrow {
        width: 34px;
        height: 34px;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-content h2 {
        font-size: 26px;
    }

    .about-text {
        margin-left: 0;
        padding-left: 16px;
    }

    .stats-strip {
        min-height: auto;
        padding: 24px 0;
    }

    .stats-inner {
        flex-direction: column;
        row-gap: 20px;
        padding: 0 24px;
    }

    .stat-item {
        max-width: 100%;
    }

    .stat-number {
        font-size: 28px;
    }

    .services-section {
        padding: 60px 20px;
    }

    .services-left h2 {
        font-size: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .clients-section {
        padding: 24px 0;
    }

    .clients-inner {
        padding: 0 20px;
    }

    .client-logo {
        width: 140px;
        height: 80px;
        padding: 14px;
    }

    .why-section {
        padding: 60px 20px;
    }

    .why-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        height: 280px;
    }

    .why-inner h2 {
        font-size: 26px;
    }

    /* On touch devices, hover doesn't apply — show description by default */
    .why-card-content p {
        max-height: 160px;
        opacity: 1;
    }

    .certs-section {
        padding: 30px 20px;
    }

    .certs-inner h2 {
        font-size: 26px;
    }

    .certs-grid {
        flex-direction: column;
        gap: 28px;
    }

    .cert-item img {
        height: 70px;
    }

    .closing-section {
        padding: 60px 20px;
    }

    .closing-content h2 {
        font-size: 26px;
    }

    .closing-cta-btn {
        width: 100%;
        text-align: center;
    }
}
