@font-face {
    font-family: "RolexFont-S";
    src: url("https://static.rolex.com/Fonts/Rolex/v7/RolexFont/2.1/RolexFont-Light-WebS.woff2") format("woff2");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

.container-a {
    position: relative;
    height: 190vh;
    overflow: hidden;
}

.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh; /* Initial height set to viewport height */
    z-index: -1;
    overflow: hidden;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.video-bg.sticky {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: -1;
    overflow: hidden;
}

.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: filter 0.3s ease;
}

.title_baibeij {
    color: white;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.8s ease;
    align-items: center;
}

.title_baibeij h1 {
    font-size: 3rem;
}

.rowz_s {
    padding-top: 100px;
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    padding-left: 180px;
}

.rowz_s h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.rowz_s span {
    color: #fff;
    display: block;
    line-height: 1.6;
    font-weight: 300;
    font-size: 1.1rem;
}

.swiper-container {
    width: 100%;
    padding: 40px 0;
    margin-top: 30px;
}

.swiper-slide {
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s;
}

.swiper-slide-img-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.swiper-slide-img {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.swiper-slide-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure the image fills but doesn't distort */
}

.swiper-slide-text {
    padding-top: 15px;
    border-radius: 0 0 10px 10px;
    flex-grow: 1;
}

.swiper-slide-text h6 {
    font-size: 0.8rem;
    color: #ffffff;
    margin-bottom: 5px;
    font-family: "RolexFont-S";
    font-weight: 400;
}

.swiper-slide-text h4 {
    font-size: 1.2rem;
    color: #ffffff;
}

.swiper-slide:hover {
    transform: scale(1.05);
}

.title_baibeij .sspss {
    font-family: "RolexFont-S";
    font-size: 0.6875rem;
    font-weight: 400;
    color: #ffffff;
}

.btn_a {
    background: #a9a9a975;
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 49px;
    text-decoration: none;
    margin-top: 20px;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
}

.btn_a .down-arrow {
    transform: rotate(180deg);
    margin-left: 5px;
    vertical-align: middle;
}

.down-arrow {
    transform: rotate(180deg);
    top: 212px;
    animation: float 1.5s ease-in-out infinite;
    position: relative;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(180deg);
    }
    50% {
        transform: translateY(100px) rotate(180deg);
    }
    100% {
        transform: translateY(0) rotate(180deg);
    }
}

/* Style navigation arrows */
.swiper-button-next,
.swiper-button-prev {
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    width: 40px!important;
    height: 40px!important;
    border-radius: 50%;
    transition: all 0.3s ease;
    top: var(--swiper-navigation-top-offset, 66%)!important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: rgba(0, 0, 0, 0.8);
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px!important;
    font-weight: bold!important;
}

/* Hide pagination dots */
.swiper-pagination {
    display: none;
}

/* Disabled arrow state */
.swiper-button-disabled {
    opacity: 0 !important;
    cursor: default;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .title_baibeij h1 {
        font-size: 2.5rem;
        font-weight: 700;
        text-align: center;
    }
    
    .rowz_s h2 {
        font-size: 2.1rem;
    }
    
    .rowz_s {
        padding-left: 50px;
    }
    
    .swiper-slide {
        height: 350px;
    }
} 