body {
    font-family: Open Sans, sans-serif;
}

.navbar {
    position: fixed;
    width: 100%;
    z-index: 1000;
    top: 0;
    background: linear-gradient(rgba(29, 28, 28, .902), rgba(0, 0, 0, .831), rgba(0, 0, 0, .502), #0000);
}

.logo {
    width: 75px;
    height: 75px;
}

#logo-text {
    transition: opacity 0.5s ease;
}

.bg-default {
    background-color: rgb(238 159 59);
}

.text-default {
    color: rgb(238 159 59);
}

.navbar-toggler,
.navbar-toggler:focus {
    border: 0;
    outline: 0;
    box-shadow: none;
    color: white;
}

.button-default {
    padding: 10px 20px;
    border-radius: 5px;
    background-color: rgb(238 159 59);
    color: white;
    cursor: pointer;
    display: inline-block;
    appearance: none;
    border: 0;
    font-weight: 500;
    transition: all .3s ease-in-out;
    border: 1px solid rgb(238 159 59);
}

.button-default:hover {
    background-color: white;
    color: rgb(238 159 59);
}

.button-primary:hover {
    background-color: rgb(238 159 59);
    color: white;
}

.nav-item {
    position: relative;
    text-align: center;
}

.nav-item::after {
    position: absolute;
    content: "";
    background-color: rgb(238 159 59);
    top: auto;
    left: 0;
    bottom: -12px;
    height: 4px;
    width: 100%;
    z-index: 203;
    border-radius: 2px;
    transform: scaleX(0);
    transition: all .3s ease-in-out;
}

.nav-item .nav-link span {
    color: white;
    font-size: 17px;
    font-weight: 400;
    padding: 0 20px;
    line-height: 30px;
    transition: all .3s ease-in-out;
}

.nav-item.active::after,
.nav-item:hover::after {
    transform: scaleX(1);

}

.nav-item:hover .nav-link span {
    color: rgb(238 159 59);
}

.nav-item.active:hover .nav-link,
.nav-item.active .nav-link span {
    color: rgb(238 159 59);
}

.nav-item.active {
    color: rgb(238 159 59);
}

.banner-container {
    position: relative;
    padding-top: 62px;
    width: 100%;
    height: 100vh;
    background-image: url('./images/home-banner.JPG');
    background-size: cover;
    background-position: center;
}

.banner-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    z-index: 0;
}

.banner-content {
    position: relative;
    padding: 20px;
    width: 100%;
    color: white;
    z-index: 1;
    height: 100%;
    display: flex;
    align-items: center;
}

.custom-border {
    background: rgb(238 159 59);
    border-radius: 50%;
    height: 3px;
}

.custom-border-white {
    background: linear-gradient(90deg, #a2c8d6, #074b4c, #074b4c, #a2c8d6);
    border-radius: 50%;
    height: 3px;
}

.legacy-text p {
    font-size: 1.3rem;
    font-weight: 400;
}

.carousel-item img {
    height: 75vh;
    object-fit: contain;
    border-radius: 5px;
}

swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: 10px;
}

swiper-slide img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* background-color: #F4F4F4; */
    border-radius: 5px;
    aspect-ratio: 3 / 4;
}

.without-hover {
    display: block;
}

.with-hover {
    display: none;
}

.card-content {
    background-color: rgb(238 159 59);
    color: white;
    position: absolute;
    bottom: 0;
    width: 94%;
    height: 20%;
    margin: 3%;
    padding: 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: height 0.2s ease-in-out;
}

.card-container:hover .with-hover {
    display: block;
}

.card-container:hover .card-content {
    height: 94%
}

.card-container:hover .without-hover {
    display: none;
}

/* about us page css */
.about-us-banner-container {
    position: relative;
    padding-top: 62px;
    width: 100%;
    height: 80vh;
    background-image: linear-gradient(rgba(22, 156, 140, 0.7), rgba(22, 156, 140, 0.8)), url("./images/IMG_1522.JPG");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.text-justify {
    text-align: justify !important;
}

ul.list-unstyled li a {
    color: rgb(238 159 59);
}

.about-content {
    height: 400px;
    overflow-y: scroll;
    padding: 20px;
    background: rgb(238 159 59);
}

.video-title {
    width: 75%;
}

.legacy-text {
    padding: 20px;
    width: 100%;
    margin: auto;
    text-align: center;
}

.card-img-top{
    height: 300px;
    object-fit: contain;
    margin: 20px;
    width: auto !important;
}

/* gallery page css */
.image-container {
    overflow: hidden;
    border-radius: 10px;
}

.image-container:hover img {
    transform: scale(1.2);
    transition-duration: .3s;
}

.scroll-container {
    width: 100vw;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    display: flex;
    z-index: 1;
}

.scroll-content {
    display: flex;
    gap: 10px;
    width: max-content;
    position: relative;
}

.scroll-content img {
    width: 300px;
    height: 200px;
    border-radius: 10px;
    object-fit: cover;
    transition: all 0.3s ease-in-out;
    overflow: hidden;
}

.fade-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: linear-gradient(to right, rgba(240, 240, 240, 1), rgba(240, 240, 240, 0) 5%, rgba(240, 240, 240, 0) 95%, rgba(240, 240, 240, 1));
}

/* Publications */
.book-wrapper {
    position: relative;
    max-width: 100%;
    aspect-ratio: 3 / 4;
    perspective: 1000px;
    overflow: hidden;
}

.book {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s;
    background: #e9a30c;
}

.book-wrapper:hover .book {
    transform: rotateY(180deg);
}

.book-front,
.book-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-front img,
.book-back img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0.375rem;
}

.book-back {
    transform: rotateY(180deg);
}

.book-text {
    position: absolute;
    bottom: 0;
    background: #e9a30c;
    padding: 10px 0px;
    text-align: center;
    margin: 0;
    width: 96.4%;
    border-radius: 5px;
    z-index: 99;
    color: white;
}

@media (min-width: 425px) {
    .legacy-text {
        padding: 20px;
        width: 100%;
    }

    .youtube-video {
        width: 100%;
    }
}

@media (min-width: 768px) {
    .legacy-text {
        padding: 20px;
        width: 80%;
    }
}

@media (min-width: 1024px) {
    .legacy-text {
        padding: 20px;
        width: 80%;
    }

    .video-title {
        width: 50%;
    }
}

@media (min-width: 1200px) {
    .youtube-video {
        width: 65%;
    }
}