section.hero-section.two {
    position: relative;
} section.hero-section.two img.hero-banner-img {
    position: relative;
    width: 100%;
    object-fit: cover;
} section.hero-section.two .hero-content {
    padding-top: 100px;
    padding-bottom: 50px;
    z-index: 4;
} .hero-section.two .hero-video-container {
    position: relative;
    overflow: hidden;
    z-index: 0;
} .hero-section.two .hero-video-container::before {
    width: 100%;
    height: 100%;
    border-radius: 0;
    top: 0;
    left: 0;
    background-image: linear-gradient(0deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.1));
    display: block;
    content: '';
    position: absolute;
    z-index: 1;
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Styles for extra small devices */
    .hero-section .hero-content {
        margin-top: -8rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Styles for small devices */
    .hero-section .hero-content {
        margin-top: -500px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Styles for medium devices */
    .hero-section .hero-content {
        margin-top: -350px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Styles for large devices */
    .hero-section .hero-content {
        margin-top: -450px;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Styles for extra large devices */
    .hero-section .hero-content {
        margin-top: -45rem;
    }
}

/* Flipcard CSS */
.flipcard {
    aspect-ratio: 3 / 5; /* Slightly taller ratio for smaller screens */
    perspective: 1000px;
}

.flipcard-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flipcard-inner.flipped {
  transform: rotateY(180deg);
}

.flipcard:hover .flipcard-inner {
    transform: rotateY(180deg);
}

.flipcard-front,
.flipcard-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flipcard-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flipcard-back {
    background-color: #FFFFFF;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    box-sizing: border-box;
    text-align: center;
}

/* Flipcard Context TOC CSS */
.flipcard-toc {
    aspect-ratio: 3 / 5; /* Slightly taller ratio for smaller screens */
    perspective: 1000px;
}

.flipcard-toc-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
}

.flipcard-toc-inner.flipped {
  transform: rotateY(180deg);
}

.flipcard-toc:hover .flipcard-toc-inner {
    transform: rotateY(180deg);
}

.flipcard-toc-front,
.flipcard-toc-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 10px;
    overflow: hidden;
}

.flipcard-toc-front img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.flipcard-toc-back {
    background-color: #FFFFFF;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
    box-sizing: border-box;
    text-align: center;
}

.font-primary {
    font-family: 'Questrial';
}