/* --------------- Font Family ---------------  - START */
/* --------------- Font Family ---------------  - START */
@font-face {
    font-family: 'AvenirLTStd-Black';
    src: url('../Font/Avenir-font/AvenirLTStd-Black.otf') format('opentype');
    /* font-weight: 900; */
    /* font-style: normal; */
}

@font-face {
    font-family: 'AvenirLTStd-BlackOblique';
    src: url('../Font/Avenir-font/AvenirLTStd-BlackOblique.otf') format('opentype');
    /* font-weight: 900; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Book';
    src: url('../Font/Avenir-font/AvenirLTStd-Book.otf') format('opentype');
    /* font-weight: 400; */
    /* font-style: normal; */
}

@font-face {
    font-family: 'AvenirLTStd-BookOblique';
    src: url('../Font/Avenir-font/AvenirLTStd-BookOblique.otf') format('opentype');
    /* font-weight: 400; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Heavy';
    src: url('../Font/Avenir-font/AvenirLTStd-Heavy.otf') format('opentype');
    /* font-weight: 800; */
    /* font-style: normal; */
}

@font-face {
    font-family: 'AvenirLTStd-HeavyOblique';
    src: url('../Font/Avenir-font/AvenirLTStd-HeavyOblique.otf') format('opentype');
    /* font-weight: 800; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Light';
    src: url('../Font/Avenir-font/AvenirLTStd-Light.otf') format('opentype');
    /* font-weight: 300; */
    /* font-style: normal; */
}

@font-face {
    font-family: 'AvenirLTStd-LightOblique';
    src: url('../Font/Avenir-font/AvenirLTStd-LightOblique.otf') format('opentype');
    /* font-weight: 300; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Medium';
    src: url('../Font/Avenir-font/AvenirLTStd-Medium.otf') format('opentype');
    /* font-weight: 500; */
    /* font-style: normal; */
}

@font-face {
    font-family: 'AvenirLTStd-MediumOblique';
    src: url('../Font/Avenir-font/AvenirLTStd-MediumOblique.otf') format('opentype');
    /* font-weight: 500; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Oblique';
    src: url('../Font/Avenir-font/AvenirLTStd-Oblique.otf') format('opentype');
    /* font-weight: 600; */
    /* font-style: oblique; */
}

@font-face {
    font-family: 'AvenirLTStd-Roman';
    src: url('../Font/Avenir-font/AvenirLTStd-Roman.otf') format('opentype');
    /* font-weight: 600; */
    /* font-style: normal; */
}

/* --------------- Font Family ---------------  - END */


/* --------------- GIS Partner and Become a Partner Section ---------------  - START */


.carousel-item {
    height: 100vh;
    /* Full viewport height */
    position: relative;
    display: flex;
    align-items: center;
    /* Vertically center content */
    justify-content: center;
    /* Horizontally center if needed */
}

.carousel-banner-img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.image-dark-overlay {

    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.01);
    /* adjust opacity as needed */
    z-index: 1;
}

.banner-text-container {
    position: absolute;
    top: 37%;
    left: 31%;
    height: 50%;
    width: 50%;
    padding: 2rem;
    z-index: 5;
}

.banner-text {
    font-family: AvenirLTStd-Heavy;
    font-size: 5.5rem;
    color: #363232
}

.quote-container {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    height: 15rem;
}

.quote {
    color: grey;
}

.partner-card {
    position: relative;
    height: 500px;
    overflow: hidden;
    cursor: pointer;
    flex: 1 1 48%;
    margin: 1%;
    max-width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.partner-card img {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 1rem);
    height: calc(100% - 1rem);
    object-fit: cover;
    z-index: 0;
    margin: 0.5rem;
    transition: transform 0.4s ease, filter 0.4s ease;
    border-radius: 4px;
}

.partner-card:hover img {
    filter: brightness(80%);
}

.partner-card .overlay {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    right: 0.5rem;
    bottom: 0.5rem;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
    overflow: hidden;
    /* prevents spillover */
    border-radius: 4px;
}

.partner-card h2 {
    position: relative;
    /* bottom: 8rem; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    color: white;
    font-family: AvenirLTStd-Heavy;
    margin: 0;
    z-index: 2;
    font-size: 3rem;
}

.become-a-partner h2 {
    width: max-content;
}

.partner-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    margin: 0 auto;
    justify-content: center;
    padding: 0;
    width: 100%;
}

.partner-card a {
    text-decoration: none;
    position: absolute;
    inset: 0;
    display: block;
    z-index: 3;
}

.partner-text-center h2 {
    font-size: 1.25rem;
}

.partner-image-div {
    width: 100%;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-image-div img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}


/* Above Footer Gradient Bar - START */
.animated-gradient-bar {
    background-image: linear-gradient(90deg, rgb(41, 191, 255), rgb(162, 49, 255), rgb(13, 236, 205), rgb(41, 191, 255));
    background-repeat: repeat-x;
    background-size: 133vw 4px;
    height: 4px;
    animation: gradientScroll 4s linear infinite;
    padding-bottom: 2rem;
}


/* Keyframes for scrolling effect */
@keyframes gradientScroll {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: -133vw 0;
    }
}






/*---------------------------------- RESPONSIVENESS SECTION ----------------------------------*/

/* 4K Desktop Monitor - 3840x2160 */
@media (min-width: 2561px) {
    /* Styles for 4K+ screens */

    .banner-text-container {
        left: 20%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-text-center h2 {
        font-size: 1.8rem;
    }

    .partner-description {
        font-size: 1.5rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/2560-1080-10.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

/* Ultrawide Monitor - 2560x1080 */
@media (max-width: 2560px) {
    /* Styles for ultrawide monitors */

    .banner-text-container {
        left: 20%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-text-center h2 {
        font-size: 1.8rem;
    }

    .partner-description {
        font-size: 1.5rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/2560-1080-10.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

/* Dell Latitude 7490 / Samsung S24C350L Monitor - 1920x1080 */
@media (max-width: 1920px) {
    /* Styles for standard monitors */

    .banner-text-container {
        left: 13%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-text-center h2 {
        font-size: 1.5rem;
    }

    .partner-description {
        font-size: 1.2rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/1920-800-09.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

/* MacBook Pro 16" (M3) – Scaled to ~1728x1117 */
@media (max-width: 1728px) {
    /* Styles for retina laptops (can fine-tune height too) */

    .banner-text-container {
        left: 15%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-text-center h2 {
        font-size: 1.5rem;
    }

    .partner-description {
        font-size: 1.2rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/1728-760-08.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}


/* HP EliteBook 820 G3 - 1366x768 */
@media (max-width: 1366px) {
    /* Styles for smaller laptops */

    .banner-text-container {
        left: 10%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-description {
        font-size: 1.1rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/1366-760-07.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

/* iPad 9th Gen (Landscape) - 1080x810 approx. */
@media (max-width: 1080px) {
    /* Styles for landscape tablets or large phones */

    .banner-text-container {
        left: 7%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        left: 7%;
        font-size: 4rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-description {
        font-size: 1.1rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/1080-760-06.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
    }
}

/* iPad 9th Gen (Portrait) - 768x1024 */
@media (max-width: 768px) {
    /* Styles for portrait tablets */

    .banner-text-container {
        left: 0%;
        padding: 1rem;
        width: 60%;
    }

    .banner-text {
        font-size: 4rem;
    }

    .partner-card {
        flex: 1 1 100%;
    }

    .partner-text-center {
        text-align: center;
    }

    .partner-description {
        font-size: 1.1rem;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/768-760-05.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

}

@media (max-width: 450px) {
    .banner-text {
        position: relative;
        bottom: 13rem;
    }

    .become-a-partner h2 {
        font-size: 2.9rem;
    }

}


/* iPhone 15 Plus / iPhone 15 Pro Max / Galaxy S23 - ~ 430x932 */
@media (max-width: 430px) {
    /* Styles for large phones */

    /*---------- Banner Section ----------*/
    .banner-text-container {
        left: 0%;
        padding: 1rem;

    }

    .banner-text {
        position: relative;
        bottom: 13rem;
        font-size: 4rem;
    }

    .quote {
        font-size: 1.6rem;
    }

    .partner-card {
        height: 24rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/430-760-04.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

    .become-a-partner h2 {
        font-size: 2.8rem;
    }

}


/* Motorola G73 / iPhone 15 Pro - 393x852 */
@media (max-width: 393px) {
    /* Styles for Motorola G73 / iPhone 15 Pro */

    /*---------- Banner Section ----------*/
    .banner-text-container {
        left: 0%;
        padding: 0.5rem;
    }

    .banner-text {
        position: relative;
        bottom: 13rem;
        font-size: 4rem;
    }

    .quote {
        font-size: 1.6rem;
    }

    .partner-card {
        height: 24rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/393-760-03.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

    .become-a-partner h2 {
        font-size: 2.6rem;
    }

}

/* Motorola 662 - 360x800 */
@media (max-width: 360px) {
    /* Styles for Motorola 662 or similar */

    /*---------- Banner Section ----------*/
    .banner-text-container {
        left: 0%;
        padding: 0.5rem;
    }

    .banner-text {
        position: relative;
        bottom: 12rem;
        font-size: 4rem;
    }

    .quote {
        font-size: 1.6rem;
    }

    .partner-card {
        height: 24rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/360-760-02.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

}

/* iPhone 5 / SE (1st Gen) - 320x568 */
@media (max-width: 320px) {
    /* Styles for very small screens */

    /*---------- Banner Section ----------*/
    .banner-text-container {
        left: 0%;
        padding: 0.5rem;
    }

    .banner-text {
        /* left: 7%; */
        position: relative;
        bottom: 12rem;
        font-size: 4rem;
    }

    .quote {
        font-size: 1.6rem;
    }

    .partner-card {
        height: 24rem;
    }

    .partner-text-center {
        text-align: center;
    }

    .carousel-item {
        background-image: url('../Assets/About Page/Partners/PartnersPage/320-760-01.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        width: 100%;
    }

}