.about-hero {
    height: 85vh;
    background: url(../images/about-hero.png);
    background-size: 100%;
    position: relative;
    overflow: hidden;
}

.about-hero h1 {
    font-family: Erotique, sans-serif;
    font-weight: 400;
    font-size: 72px;
    line-height: 90px;
}

.about-scrolling {
    padding: 30px;
    background: #1E1E1E;
    position: relative;
    overflow: hidden;
}

#about-scrolling .bg-rotating-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: scroll 45s linear infinite;
}

#about-scrolling .bg-rotating-text-container {
    /*min-width: 25%;*/
    /*max-width: 30%;*/
    width: auto;
    flex-shrink: 0;
}

#about-scrolling .bg-rotating-text-container span {
    color: #fff;
    line-height: 3;
    font-size: 24px;
    margin-right: 100px;
    font-family: Gayathri, serif;
    font-weight: 400;
}

.about-hero .row {
    background: rgba(30, 30, 30, 0.5);
}

.bg-tan {
    background-color: #C7BBAB; /* match the tan shade in your screenshot */
}

.about-section {
    padding: 150px 0 100px;
}

.about-section p {
    font-size: 24px;
    line-height: 1.8;
    font-weight: 400;
    color: #2d2d2d;
    font-family: Gayathri, serif;

}

.framed-image {
    position: relative;
    display: inline-block;
    padding: 0;
    z-index: 1;
}

.framed-image::before {
    content: "";
    position: absolute;
    top: -70px;
    left: 85px;
    width: 100%;
    height: 100%;
    border: 2px solid #000; /* Or any color you want for the outline */
    z-index: -1;
}

.framed-image.frame-left::before {
    content: "";
    position: absolute;
    top: -70px;
    left: -85px;
    width: 100%;
    height: 100%;
    border: 2px solid #000; /* Or any color you want for the outline */
    z-index: -1;
}

.framed-image img {
    height: 20%!important;
    max-height: 800px;
}

.object-fit-cover {
    object-fit: cover;
}


.mission-vision-section {
    background-color: #F3F2ED;
    color: #1d1d1d;
}

.section-title {
    font-family: Cormorant Garamond, serif;
    font-weight: 400;
    font-size: 60px;
    line-height: 106px;
}

.section-text {
    line-height: 1.8;
    font-family: Gayathri, serif;
    font-weight: 400;
    font-size: 22px;
}

.divider {
    width: 60%;
    height: 1px;
    background-color: #333;
    border: none;
}

@media only screen and (max-width: 1440px) {
    .about-hero {
        height: 80vh;
        background-size: 100%;
    }

    .about-hero h1 {
        font-size: 60px;
        line-height: 72px;
    }

    .about-text {
        max-width: 80% !important;
    }

    .about-section p {
        font-size: 22px;
        line-height: 1.6;
        margin-bottom: 30px !important;
        margin-top: 30px !important;
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    .section-title {
        font-size: 52px;
        line-height: 72px;
        margin-bottom: 30px;
    }

    .framed-image img {
        max-height: 700px;
    }

    .framed-image.frame-left::before {
        top: -50px;
        left: -60px;
    }

    .framed-image::before {
        top: -50px;
        left: 60px;
    }
}

@media only screen and (max-width: 1280px) {
    .about-section {
        padding: 100px 0 50px;
    }

    .framed-image img {
        max-height: 600px;
    }

    .framed-image.frame-left::before {
        top: -40px;
        left: -45px;
    }

    .framed-image::before {
        top: -40px;
        left: 45px;
    }
}


@media only screen and (max-width: 1024px) {
    .about-hero {
        max-height: 540px;
    }

    .about-hero h1 {
        font-size: 48px;
        line-height: 60px;
    }

    .about-section p {
        font-size: 20px;
        line-height: 1.6;
        margin-bottom: 15px !important;
        margin-top: 15px !important;
        padding-top: 15px !important;
        padding-bottom: 15px !important;
    }

    .section-title {
        font-size: 42px;
        line-height: 60px;
    }

    .section-text {
        line-height: 1.8;
        font-size: 18px;
        padding: 0 15px;
    }

    .about-section.bg-tan {
        padding: 75px 0 35px;
    }

    .framed-image img {
        max-height: 500px;
    }

    .about-text {
        max-width: 100% !important;
    }

}

@media only screen and (max-width: 900px) {
    .about-hero {
        height: 40vh;
        background-size: 100%;
    }

    .about-hero .translate-middle {
        width: 100%;
    }

    .about-hero h1 {
        font-size: 48px;
        line-height: 60px;
    }

    .about-text {
        max-width: 90% !important;
    }

    .about-section p {
        font-size: 18px;
        margin-bottom: 15px !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .section-title {
        font-size: 42px !important;
        padding: 0 15px;
    }

    .mission-vision-section .col-sm-10 {
        width: 100%;
    }

    .framed-image img {
        max-height: 450px;
    }

    .framed-image.frame-left::before {
        top: -20px;
        left: -25px;
    }

    .framed-image::before {
        top: -20px;
        left: 25px;
    }
}

@media only screen and (max-width: 500px) {
    .about-hero {
        height: 60vh;
        background-size: cover;
        background-position: center;
    }

    .about-hero h1 {
        padding: 0 20px;
        font-size: 32px;
        line-height: 48px;
    }

    .framed-image img {
        max-height: 100%;
        width: 100%;
    }

    .framed-image, .framed-image.frame-left {
        display: block;
        padding: 0 30px 30px;
    }

    .about-section.bg-tan, .about-section {
        padding: 20px 0 20px;
    }

    .framed-image.frame-left::before , .framed-image::before {
        top: 0;
        left: 0;
        border:0;
    }

}


/* Gallery Page */
.gallery-section {
    padding: 100px 0;
}

.gallery-title {
    font-family: Cormorant Garamond, serif;
    font-size: 96px;
    margin-bottom: 50px;
    text-transform: uppercase;
    text-align: center;
}

.img-fluid {
    object-fit: cover;
}

.gallery-section .position-relative {
    overflow: hidden;
    cursor: pointer;
}

.gallery-section .position-relative::before {
    content: "\f002"; /* Magnifying glass icon from Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 24px;
    color: white;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 0.375rem;
    z-index: 1;
    pointer-events: none; /* Allow clicks to pass through to the link underneath */
}

.gallery-section .position-relative:hover::before {
    opacity: 1;
}

.gallery-subtitle {
    font-family: Cormorant Garamond, serif;
    font-weight: 400;
    font-size: 48px;

}

@media only screen and (max-width: 500px) {
    .gallery-title {
        font-size: 36px;
        margin-bottom: 20px;
        text-align: center;
    }

    .gallery-subtitle {
        font-size: 32px;
        margin-bottom: 25px !important;
    }
}
