﻿/* HERO */
.home-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background: #050708;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
    transform: scale(1.04);
    animation: heroImageFloat 9s ease-in-out infinite alternate;
}

.hero-dark-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.78) 0%, rgba(0,0,0,0.62) 42%, rgba(0,0,0,0.35) 100%);
    z-index: 2;
}

.home-hero::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 230px;
    background: linear-gradient(to bottom, rgba(5,7,8,0) 0%, rgba(5,7,8,0.34) 34%, rgba(5,7,8,0.82) 72%, #050708 100%);
    z-index: 3;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 4;
    max-width: 1320px;
    height: 100%;
    margin: 0 auto;
    padding: 78px 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-kicker {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

    .hero-kicker span {
        width: 5px;
        height: 36px;
        background: #d71920;
        border-radius: 20px;
    }

    .hero-kicker p {
        font-size: 16px;
        font-weight: 700;
    }

.hero-content h1 {
    font-size: 56px;
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -1px;
    max-width: 720px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 18px;
    line-height: 1.7;
    max-width: 690px;
    margin-bottom: 34px;
    color: rgba(255,255,255,0.92);
}

.hero-btn {
    width: 135px;
    height: 40px;
    border-radius: 999px;
    background: #d71920;
    color: #ffffff;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.28s ease;
    box-shadow: 0 12px 28px rgba(215,25,32,0.25);
}

    .hero-btn:hover {
        background: #ffffff;
        color: #d71920;
        transform: translateY(-3px);
    }

/* HERO ANIMATION */
.hero-animate {
    opacity: 0;
    transform: translateX(-26px);
    animation: heroSlideIn 0.85s ease forwards;
}

.delay-1 {
    animation-delay: 0.16s;
}

.delay-2 {
    animation-delay: 0.32s;
}

.delay-3 {
    animation-delay: 0.48s;
}

/* ABOUT */
.about-section {
    position: relative;
    background: #050708;
    padding: 95px 6% 150px;
    margin-top: -1px;
    overflow: hidden;
}

    .about-section::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: -120px;
        height: 220px;
        background: linear-gradient(to bottom, rgba(5,7,8,0) 0%, rgba(5,7,8,0.55) 45%, #050708 100%);
        z-index: 1;
        pointer-events: none;
    }

    .about-section::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1px;
        height: 220px;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to bottom, rgba(5,7,8,0) 0%, rgba(5,7,8,0.55) 28%, rgba(38,39,40,0.82) 58%, rgba(210,210,210,0.55) 82%, #ffffff 100%);
    }

.about-wrapper {
    position: relative;
    z-index: 2;
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 70px;
    align-items: center;
}

.about-content {
    color: #ffffff;
}

.about-label {
    color: #ff1b1b;
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 14px;
}

.about-content h2 {
    font-size: 42px;
    line-height: 1.15;
    font-weight: 800;
    margin-bottom: 24px;
}

.about-desc {
    color: rgba(255,255,255,0.88);
    font-size: 21px;
    line-height: 1.45;
    max-width: 620px;
    margin-bottom: 42px;
}

.about-features {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 38px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.28s ease;
}

.feature-icon {
    width: 38px;
    height: 38px;
    border: 2px solid #d71920;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .feature-icon span {
        color: #d71920;
        font-size: 13px;
        font-weight: 800;
    }

.feature-item p {
    color: #ffffff;
    font-size: 13px;
    line-height: 1.25;
}

.feature-divider {
    width: 1px;
    height: 44px;
    background: rgba(255,255,255,0.18);
}

.about-btn {
    width: 135px;
    height: 34px;
    background: #ff1212;
    color: #ffffff;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.28s ease;
}

    .about-btn:hover {
        background: #ffffff;
        color: #d71920;
        transform: translateY(-3px);
    }

.about-image-box {
    width: 100%;
    height: 430px;
    background: #d9d9d9;
    overflow: hidden;
    border-radius: 10px;
    transition: all 0.35s ease;
    box-shadow: 0 20px 42px rgba(0,0,0,0.22);
}

    .about-image-box:hover {
        transform: translateY(-6px);
    }

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.55s ease;
}

.about-image-box:hover .about-img {
    transform: scale(1.055);
}

/* VALUES - ENLARGED */
.values-section {
    position: relative;
    background: #ffffff;
    padding: 100px 6% 105px;
    overflow: hidden;
}

    .values-section::before {
        content: "";
        position: absolute;
        top: 28px;
        left: 50%;
        transform: translateX(-50%);
        width: 72%;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(215,25,32,0.28), transparent);
    }

.values-heading {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 58px;
}

    .values-heading p {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        color: #000000;
        font-size: 18px;
        font-weight: 900;
        text-transform: uppercase;
        margin-bottom: 20px;
    }

        .values-heading p span {
            background: #d71920;
            color: #ffffff;
            padding: 8px 18px;
            border-radius: 999px;
        }

    .values-heading h2 {
        font-size: 48px;
        line-height: 1.1;
        font-weight: 900;
        color: #111111;
        margin-bottom: 22px;
        letter-spacing: -1px;
    }

    .values-heading h4 {
        font-size: 19px;
        line-height: 1.65;
        font-weight: 500;
        color: #555555;
    }

.values-grid {
    max-width: 1380px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.value-card {
    position: relative;
    min-height: 285px;
    background: #ffffff;
    border: 1px solid #eeeeee;
    box-shadow: 0 18px 34px rgba(0,0,0,0.08);
    padding: 46px 30px 38px;
    text-align: center;
    overflow: hidden;
    transition: all 0.3s ease;
}

    .value-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 34px;
        right: 34px;
        height: 5px;
        background: #d71920;
        transform: scaleX(0.45);
        transition: transform 0.3s ease;
    }

    .value-card:hover {
        transform: translateY(-9px);
        box-shadow: 0 26px 50px rgba(0,0,0,0.13);
        border-color: rgba(215,25,32,0.2);
    }

        .value-card:hover::before {
            transform: scaleX(1);
        }

.value-number {
    width: 72px;
    height: 72px;
    margin: 0 auto 28px;
    border-radius: 50%;
    background: #111111;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    font-weight: 900;
    transition: all 0.3s ease;
}

.value-card:hover .value-number {
    background: #d71920;
    transform: rotate(4deg) scale(1.05);
}

.value-card h3 {
    color: #111111;
    font-size: 25px;
    font-weight: 900;
    margin-bottom: 18px;
}

    .value-card h3::after {
        content: "";
        display: block;
        width: 42px;
        height: 3px;
        background: #d71920;
        margin: 16px auto 0;
    }

.value-card p {
    color: #555555;
    font-size: 17px;
    line-height: 1.55;
}

/* SERVICES */
.services-section {
    background: #050708;
    padding: 72px 6%;
    color: #ffffff;
    overflow: hidden;
}

.services-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.85fr 1.4fr;
    gap: 70px;
    align-items: center;
}

.services-intro p {
    color: #ff1b1b;
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
}

.services-intro h2 {
    font-size: 36px;
    line-height: 1.15;
    margin-bottom: 24px;
}

.services-intro h4 {
    font-size: 18px;
    line-height: 1.55;
    color: rgba(255,255,255,0.82);
    font-weight: 400;
}

.services-flow {
    display: grid;
    grid-template-columns: 1fr 42px 1fr 42px 1fr 42px 1fr;
    align-items: start;
}

.service-step {
    text-align: center;
    transition: all 0.28s ease;
}

.service-icon {
    width: 54px;
    height: 54px;
    margin: 0 auto 16px;
    border-radius: 50%;
    background: #ffffff;
    color: #d71920;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    transition: all 0.28s ease;
}

.service-step:hover .service-icon {
    background: #d71920;
    color: #ffffff;
    box-shadow: 0 0 0 8px rgba(215,25,32,0.12);
}

.service-step h3 {
    font-size: 15px;
    margin-bottom: 10px;
}

.service-step p {
    font-size: 12px;
    line-height: 1.55;
    color: rgba(255,255,255,0.72);
}

.flow-line {
    height: 2px;
    background: linear-gradient(90deg, #d71920, rgba(215,25,32,0.15));
    margin-top: 27px;
}

/* CERTIFICATIONS */
.cert-section {
    background: #f7f7f7;
    padding: 28px 6% 80px;
    overflow: hidden;
}

.cert-heading {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 36px;
}

    .cert-heading h2 {
        text-transform: uppercase;
        font-size: 38px;
        font-weight: 900;
        color: #111111;
        margin-bottom: 12px;
    }

    .cert-heading p {
        font-size: 14px;
        line-height: 1.6;
        color: #333333;
    }

.cert-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.company-card,
.cert-table-card,
.trust-strip {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(0,0,0,0.12);
    transition: all 0.3s ease;
}

    .company-card:hover,
    .cert-table-card:hover,
    .trust-strip:hover {
        transform: translateY(-4px);
        box-shadow: 0 20px 38px rgba(0,0,0,0.14);
    }

.company-card {
    display: flex;
    gap: 26px;
    padding: 28px;
    margin-bottom: 24px;
}

.cert-card-icon {
    width: 64px;
    height: 64px;
    background: #ffd6d6;
    color: #d71920;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: all 0.3s ease;
}

.company-card:hover .cert-card-icon,
.cert-table-card:hover .cert-card-icon {
    background: #d71920;
    color: #ffffff;
    transform: rotate(5deg) scale(1.04);
}

.cert-card-icon.small {
    width: 46px;
    height: 46px;
}

.company-info {
    flex: 1;
}

    .company-info h3,
    .cert-table-title h3 {
        font-size: 16px;
        margin-bottom: 12px;
        color: #111111;
    }

    .company-info > p {
        font-size: 14px;
        margin-bottom: 18px;
    }

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 40px;
}

    .info-grid span {
        color: #d71920;
        font-size: 12px;
        font-weight: 800;
    }

    .info-grid p {
        color: #111111;
        font-size: 13px;
        line-height: 1.5;
    }

.cert-tables {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.cert-table-card {
    padding: 24px;
}

.cert-table-title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

table {
    width: 100%;
    border-collapse: collapse;
    overflow: hidden;
    border-radius: 8px;
}

th {
    background: #ffc9c9;
    color: #111111;
    font-size: 12px;
    padding: 12px;
    text-align: left;
}

td {
    background: #ffd6d6;
    border-top: 2px solid #d71920;
    color: #111111;
    font-size: 12px;
    padding: 13px 12px;
}

.trust-strip {
    margin-top: 24px;
    padding: 26px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    border-right: 1px solid #dddddd;
    transition: all 0.25s ease;
}

    .trust-item:hover {
        transform: translateY(-3px);
    }

    .trust-item:last-child {
        border-right: none;
    }

.trust-icon {
    font-size: 36px;
    color: #d71920;
    font-weight: 900;
    transition: all 0.25s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.08);
}

.trust-item h4 {
    font-size: 13px;
    margin-bottom: 5px;
}

.trust-item p {
    font-size: 12px;
    color: #555555;
    line-height: 1.4;
}

/* SCROLL REVEAL ANIMATIONS */
.reveal {
    opacity: 0;
    transform: translateY(34px);
    transition: opacity 0.75s ease, transform 0.75s ease;
    will-change: opacity, transform;
}

.reveal-left {
    transform: translateX(-42px);
}

.reveal-right {
    transform: translateX(42px);
}

    .reveal.is-visible,
    .reveal-left.is-visible,
    .reveal-right.is-visible {
        opacity: 1;
        transform: translate(0, 0);
    }

.delay-card-1 {
    transition-delay: 0.08s;
}

.delay-card-2 {
    transition-delay: 0.16s;
}

.delay-card-3 {
    transition-delay: 0.24s;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* KEYFRAMES */
@keyframes heroSlideIn {
    from {
        opacity: 0;
        transform: translateX(-26px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes heroImageFloat {
    from {
        transform: scale(1.04) translateY(0);
    }

    to {
        transform: scale(1.07) translateY(10px);
    }
}

/* RESPONSIVE */
@media (max-width: 1200px) {
    .home-hero {
        height: 560px;
    }

    .hero-content {
        padding: 68px 50px;
    }

        .hero-content h1 {
            font-size: 48px;
        }

    .hero-desc {
        font-size: 16px;
    }

    .about-wrapper,
    .services-wrapper {
        gap: 46px;
    }

    .about-content h2,
    .services-intro h2 {
        font-size: 36px;
    }

    .about-desc {
        font-size: 18px;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 920px;
    }

    .services-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .flow-line {
        display: none;
    }
}

@media (max-width: 900px) {
    .home-hero {
        height: 520px;
    }

    .hero-content {
        padding: 60px 36px;
    }

        .hero-content h1 {
            font-size: 42px;
        }

    .about-wrapper,
    .services-wrapper,
    .cert-tables {
        grid-template-columns: 1fr;
    }

    .about-features {
        flex-wrap: wrap;
    }

    .feature-divider {
        display: none;
    }

    .about-image-box {
        height: 360px;
    }

    .info-grid,
    .trust-strip {
        grid-template-columns: 1fr;
    }

    .trust-item {
        border-right: none;
    }

    .values-heading h2 {
        font-size: 40px;
    }

    .value-card {
        min-height: 260px;
    }

    .reveal-left,
    .reveal-right {
        transform: translateY(34px);
    }
}

@media (max-width: 600px) {
    .home-hero {
        height: 500px;
    }

    .hero-content {
        padding: 52px 24px;
    }

        .hero-content h1 {
            font-size: 34px;
        }

    .hero-desc {
        font-size: 14px;
    }

    .about-section {
        padding: 78px 7% 115px;
    }

    .about-content h2 {
        font-size: 30px;
    }

    .about-desc {
        font-size: 16px;
    }

    .about-features {
        flex-direction: column;
        align-items: flex-start;
    }

    .about-image-box {
        height: 280px;
    }

    .values-section {
        padding: 78px 7% 85px;
    }

    .values-heading {
        margin-bottom: 38px;
    }

        .values-heading p {
            font-size: 14px;
        }

        .values-heading h2 {
            font-size: 32px;
        }

        .values-heading h4 {
            font-size: 15px;
        }

    .values-grid,
    .services-flow {
        grid-template-columns: 1fr;
    }

    .value-card {
        min-height: auto;
        padding: 38px 24px 34px;
    }

        .value-card h3 {
            font-size: 22px;
        }

        .value-card p {
            font-size: 15px;
        }

    .cert-heading h2 {
        font-size: 30px;
    }

    .company-card {
        flex-direction: column;
    }
}

/* REDUCED MOTION */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .reveal,
    .reveal-left,
    .reveal-right,
    .hero-animate {
        opacity: 1;
        transform: none;
    }
}

/* FOOTER FIX FOR HOME PAGE */
.site-footer {
    margin-top: 0 !important;
    background: #ffffff !important;
}

.footer-stats {
    width: 100% !important;
    padding: 26px 6% !important;
    background: #f4f4f4 !important;
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
    border-top: 1px solid #dddddd !important;
    border-bottom: 1px solid #dddddd !important;
    box-shadow: none !important;
}

    .footer-stats .stat-box {
        background: transparent !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        text-align: center !important;
        padding: 18px 20px !important;
        border-right: 1px solid #d8d8d8 !important;
        display: block !important;
    }

        .footer-stats .stat-box:last-child {
            border-right: none !important;
        }

        .footer-stats .stat-box h2 {
            color: #d71920 !important;
            font-size: 34px !important;
            line-height: 1 !important;
            font-weight: 900 !important;
            margin: 0 0 4px !important;
        }

        .footer-stats .stat-box p {
            color: #000000 !important;
            font-size: 15px !important;
            font-weight: 800 !important;
            margin: 0 !important;
        }

.footer-main {
    background: #ffffff !important;
}

.footer-bottom {
    background: #d71920 !important;
}

@media (max-width: 700px) {
    .footer-stats {
        grid-template-columns: 1fr !important;
    }

        .footer-stats .stat-box {
            border-right: none !important;
            border-bottom: 1px solid #d8d8d8 !important;
        }

            .footer-stats .stat-box:last-child {
                border-bottom: none !important;
            }
}
