/* =========================================================
   HERO SECTION
========================================================= */
.container-fluid {
    padding-right: 0px;
    padding-left: 0px;
}

.hero {
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative;
    width: 100%;
    background-color: #4b4b4b;
    /*comment an mpei video*/
}

.hero .intro-titles {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100vh;
    aspect-ratio: 16/9;
    max-height: 850px;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    position: relative;
    color: #fff;
    padding-bottom: 175px;
    background-color: transparent;
}

.hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-fallback-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


#hero-yt-player {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 0 35px;
    padding-right: 120px;
    text-align: left;
}

.hero-logo-wrapper {
    width: 100%;
    margin-bottom: 20px;
    text-align: left;
}

.hero-logo {
    max-width: 200px;
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 1.2s ease, transform 1.2s ease;
}

.hero-logo.reveal {
    opacity: 1;
    transform: scale(1);
}

.hero-subtitle {
    font-size: 5.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #FFF;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin-top: 15px;
    opacity: 0;
    transform: translateX(-60px);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: .6s;
}

.hero-subtitle.reveal {
    opacity: 1;
    transform: translateY(0);
}

.hero-title.reveal {
    opacity: 1;
    transform: translateX(0);
}


/* =========================================================
   PIONEERING SECTION
========================================================= */

.pioneering-section {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: #fff;
}

.pioneering-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
}

.pioneering-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    padding: 40px 30px;
    backdrop-filter: blur(6px);
    min-height: 280px;
    transition: transform .3s ease, box-shadow .3s ease;
}

.pioneering-card,
.pioneering-card * {
    cursor: default !important;
}

.pioneering-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 12px 28px #00000040,
        0 15px 15px #ffffffdc;
}


.pioneering-icon img {
    width: 45px;
    height: 45px;
    margin-bottom: 22px;
}

.pioneering-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 15px;
}

.pioneering-desc {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
    text-align: justify;
}


.layout-split-section {
    background: #fff;
}

.layout-split-left {
    min-height: 900px;
    padding-left: 150px !important;
    padding-right: 150px !important;
}

.layout-title-row {
    display: flex;
    align-items: flex-end;
    gap: 10px;
    margin-bottom: 15px;
}

.layout-number {
    font-size: 1rem;
    font-weight: 200;
    color: #8C94AC;
    margin: 0;
    transform: translateY(-15px);
}

.layout-title {
    font-size: 2.1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.25;
}

.layout-desc {
    max-width: 75%;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #000;
    text-align: justify;
}

.redirect-button a {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid #BA1D2B;
    font-size: 1.1rem;
    text-decoration: none;

    background: linear-gradient(to right, #BA1D2B 50%, #ffffff 50%);
    background-size: 201% 100%;
    background-position: right bottom;
    transition: all .35s ease-out;

    color: #000;
}

.redirect-button a:hover {
    background-position: left bottom;
    color: #ffffff;
}

.layout-split-right {
    background-image: var(--layout-bg);
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    min-height: 900px;
    padding: 0 !important;
}

.layout-image-mobile {
    display: none;
}

/* === ABOUT SECTION === */
.next-section {
    background-size: contain;
    background-repeat: no-repeat;
    padding: 100px 0;
    color: #fff;
    position: relative;
    /* height: 800px; */
}

.next-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #000;
}

.next-list ul {
    list-style: none;
    /* padding: 0; */
    margin: 0;
}

.next-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #000;
}

.next-list li img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.last-section {
    padding: 120px 0;
    background-size: cover;
    background-position: center;
    position: relative;
    margin-bottom: 50px;
    height: 650px;
    align-content: center;
}

.last-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.last-section>* {
    position: relative;
    z-index: 2;
}

.last-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(240px, 1fr));
    gap: 40px;
}

.last-box {
    border: 2px solid #fff;
    border-radius: 14px;
    padding: 35px 30px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 20px;
}

.last-box h4 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #fff;

}

.last-desc {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #fff;
}

.last-desc p {
    margin-bottom: 0;
}

/* =========================================================
   EXPLORE PRODUCTS
========================================================= */

.explore-products-section {
    background: #F6F9FF;
    padding: 40px 0;
    border-top-right-radius: 25px;
    border-top-left-radius: 25px;
}

.slider-left {
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 600px;
}

.slider-title {
    font-size: 2.8rem;
    font-weight: 700;
    color: #000;
    line-height: 1.25;
    margin-bottom: 40px;
}

.slider-arrows {
    display: flex;
    gap: 18px;
}

.slider-arrow {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid #ffffff;
    padding: 0;
    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    background: linear-gradient(to right, #BA1D2B 50%, #ffffff 50%);
    background-size: 200% 100%;
    background-position: right bottom;

    transition: all .35s ease-out, background-position .35s ease-out;
}

.slider-arrow img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.slider-arrow:disabled {
    cursor: default;
    opacity: 0.35;
    pointer-events: none;
}

.slider-arrow:not(:disabled):hover {
    background-position: left bottom;
    border-color: #BA1D2B;
}


.explore-products-swiper {
    width: 100%;
    padding-left: 40px;
}

.slider-right {
    overflow: visible !important;
}

.slider-card {
    background: #fff;
    border-radius: 20px;
    max-width: 620px;
    overflow: hidden;
    position: relative;
}

.slider-card-image img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.swiper-slide:hover .slider-card {
    box-shadow:
        0 18px 22px -4px #ba1d2a85,
        0 6px 8px #ba1d2a85 inset;
    transition: box-shadow .3s ease;
    border: 1px solid #000;
}

.slider-card-title {
    font-size: 1.1rem;
    font-weight: 400;
    color: #ED291E;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 30px;
    background: transparent !important;
    padding: 0 !important;
}


.swiper-slide:hover .slider-card-title {
    font-weight: 700;
}


/* OLD STYLE */
/*
.slider-card-title {
    padding: 18px 16px 24px;
    background: #fff;
    border-radius: 0 0 20px 20px;
    text-align: center;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111;
}
*/

.locations-section {
    padding: 80px 0;
}

.locations-row {
    border: 4px solid #ED291E;
    border-radius: 26px;
    padding: 50px 60px;
    background: #fff;
}

.locations-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 25px;
    border-radius: 30px;
    border: 2px solid #ED291E;
    font-size: 1.1rem;
    font-weight: 500;
    text-decoration: none;
    background: linear-gradient(to right, #BA1D2B 50%, #ffffff 50%);
    background-size: 201% 100%;
    background-position: right bottom;
    transition: all .35s ease-out;
    color: #ED291E;
}

.locations-btn:hover {
    background-position: left bottom;
    color: #fff;
}

.locations-arrow {
    width: 26px;
}

.locations-img {
    max-height: 230px;
    object-fit: contain;
}

.hero-video-bg {
    height: 100%;
}

#hero-yt-player {
    width: 200%;
    height: 200%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1200px) {

    .online-services {
        height: auto;
        border-radius: 30px;
    }

}

@media (min-width: 768px) and (max-width: 1050px) {
    .layout-split-left {
        min-height: 900px;
        padding-left: 50px !important;
        padding-right: 0px !important;
    }

    .slider-title {
        font-size: 1.6rem;
    }

    .slider-left {
        padding: 0px 20px;
    }
}

@media (max-width: 992px) {


    .hero h1,
    .hero h2 {
        text-align: center;
        font-size: 2.1rem !important;
    }

    .hero .intro-titles {
        align-items: center;
        justify-content: center;
        text-align: center;
        padding-bottom: 0;
        min-height: 450px;
        height: auto;
    }

    .hero-container {
        padding: 0 20px;
    }

    .hero-logo-wrapper {
        text-align: center;
    }

    .hero-logo {
        max-width: 160px;
    }

    .pioneering-section {
        padding: 70px 0;
    }

    .pioneering-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .pioneering-card {
        text-align: center;
        padding: 35px 25px;
    }

    .pioneering-icon img {
        margin-left: auto;
        margin-right: auto;
    }

    .layout-split-left {
        padding: 40px 30px !important;
        text-align: center;
        align-items: center !important;
        min-height: auto;
    }

    .layout-title {
        font-size: 2.1rem;
    }

    .layout-desc {
        max-width: 100%;
        text-align: justify;
    }

    .layout-split-right {
        background: none !important;
        min-height: auto;
    }

    .layout-image-mobile {
        display: block;
        width: 100%;
        height: auto;
    }

    .explore-products-section {
        padding: 25px 0;
    }

    .slider-left {
        text-align: center;
        padding: 0 20px 0;
        justify-content: center;
        align-items: center;
        min-height: auto;
    }

    .slider-title {
        font-size: 2.1rem;
        margin: 40px 0;
    }

    .slider-arrows {
        display: none;
    }

    .slider-right {
        padding: 0 20px;
    }

    .slider-card-image img {
        height: 300px;
    }

    .slider-card-title {
        margin-bottom: 25px;
    }

    .last-section {
        height: auto;
    }

    .last-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {

    .locations-section {
        padding: 50px 15px;
    }

    .locations-row {
        padding: 30px 25px;
    }

    .locations-btn {
        justify-content: center;
    }

    .next-title {
        font-size: 1.4rem;
        font-weight: 700;
        color: #000;
        text-align: center;
        margin-bottom: 50px;
    }

    .last-desc {
        font-size: 1.1rem;
        line-height: 1.6;
        color: #fff;
    }
}

@media (max-width: 576px) {

    .pioneering-title {
        font-size: 1.25rem;
    }

    .pioneering-desc {
        font-size: 1rem;
    }

    .layout-title {
        font-size: 1.9rem;
    }

    .explore-products-section {
        padding: 20px 0;
    }

    .slider-title {
        font-size: 1.6rem;
    }

    .last-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .last-section {
        padding: 90px 0;
    }
}