@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    height: 100%;
    background: #f2f2f2;
    overflow-x: hidden;
}

h1 {
    font-weight: 600;
    font-size: 30px;
    letter-spacing: 1px;
    color: rgb(76, 35, 6);
}

.navbar {
    animation: fade-down 0.5s;

}

.navbar img {
    height: 8vh;
}

.bgcolor.scrolled {
    background-color: #2b6777;
    transition: 0.4s ease-in-out;
}

#overlay {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

#title img {
    object-fit: cover;
    height: 15vh;
    width: auto;
    top: 50%;
    margin-right: 0px;
    transform: translate(205%, -5%);
}

#info {
    color: #dee2e6;
    font-size: 45px;
    letter-spacing: 8px;
    text-align: center;
    text-transform: uppercase;
}

.hero {
    position: relative;
    animation: fade-down 1s;
}

.hero .item img {
    object-fit: cover;
    height: 100vh;
    width: 100%;
}


.navbar span {
    font-size: 20px;
    letter-spacing: 1px
}

.about {
    position: relative;
    padding: 60px 40px;
    height: 100%;
}

.about h5 {
    text-align: center;
}
.about img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 5px;
}

.about-2 {
    text-align: justify;
    border-bottom: 1px solid rgb(179, 178, 178);
    padding: 8px 0px;
}

.about-4 {
    margin-top: 40px;

}

.part-1 {
    letter-spacing: 2px;
    color: #2b6777;
    font-weight: 500;
}

.part-2 {
    line-height: 25px;
    text-align: justify;
    color: gray;
}

.staff {
    position: relative;
    padding: 60px 40px;
    height: 100%;
    background-color: #c8d8e4;
}

.staff img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.tops {
    position: relative;
    padding: 60px 0px;
    height: 90vh;
    margin-top: -10px;
}

.tops img {
    width: 100%;
    background-position: fixed;
}

/* .btn {
    color: rgb(76, 35, 6);
    margin-left: 94%;
}

.Achievements .btn:hover>.fa-angle-right {
    margin-left: 3px;
    background-color:  rgb(76, 35, 6);
    color: white;
    transition: 0.2s ease-in-out;
} */

.testimonial {
    margin-left: 10px;
    position: relative;
    padding: 60px 40px;
    height: 100vh;

}

.testimonial .card {
    object-fit: cover;
    height: 25vh;
    width: 100%;
    background-color: #c8d8e4;
    border: 1px solid #2b6777;
}

.testimonial .card h5 {
    color: #2b6777;
    font-size: 20px;
}

.testimonial .card p {
    font-size: 15px;
}

.testimonial .card-body {
    overflow-y: auto;
    text-align: justify;
}

.testimonial .card-body::-webkit-scrollbar {
    width: 0.5rem;
    background: #b2c1cb;
}

.testimonial .card-body::-webkit-scrollbar-thumb {
    background-color: #2b6777;
    border-radius: 10px;
}

.testimonial .card-body::-webkit-scrollbar-thumb:hover {
    background-color: #2b6777; 
}

.testimonial .carousel-fade .carousel-item {
    transition-property: opacity;
    transform: none;
    display: flex;
}

/* .feedback {
    margin-left: 10px;
    position: relative;
    padding: 10px 40px;
    height: 100%;
} */
.gallery {
    width: 95%;
    height: vh;
    max-width: 1600px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin-top: 100px;
}

.gallery-image {
    width: 30%;
    height: calc(50% - 20px);
    min-width: 300px;
    min-height: 200px;
    margin: 10px;
    overflow: hidden;
}

.image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 1s;
}

/* popup */

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 67%;
    max-width: 1600px;
    height: 80vh;
    max-height: 800px;
    border-radius: 20px;
    background: rgb(38, 38, 38);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 5;
    overflow: hidden;
    transition: 1s;
    opacity: 0;
}

.popup.active {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

.popup.active .close-btn,
.popup.active .image-name,
.popup.active .index,
.popup.active .large-image,
.popup.active .arrow-btn {
    opacity: 1;
    transition: opacity .5s;
    transition-delay: 1s;
}

.top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #000;
    color: #fff;
    text-align: center;
    line-height: 50px;
    font-weight: 300;
}

.image-name {
    opacity: 0;
}

.close-btn {
    opacity: 0;
    position: absolute;
    top: 15px;
    background-color: red;
    right: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
}

.arrow-btn {
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 10px;
    border-radius: 50%;
    border: none;
    background: none;
    cursor: pointer;
}

.left-arrow {
    left: 10px;
}

.right-arrow {
    right: 10px;
    transform: translateY(-50%) rotate(180deg);
}

.arrow-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.index {
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 80px;
    font-weight: 100;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
}

.large-image {
    margin-top: 3%;
    width: 300%;
    height: 90%;
    object-fit: contain;
    opacity: 0;
}

.count {
    position: relative;
    padding: 20px 40px;
    height: 100%;
}

p {
    font-family: 'Inter', sans-serif;
}

h5,
h2,
h1,
.navbar a {
    font-family: 'Poppins', sans-serif;
}

h3 {
    font-family: 'Inter', sans-serif;
}

.count h3 {
    color: gray;
}

.count .bg-count {
    background-color: #c8d8e4;
    padding: 30px 0px;
    border: 1px solid #2b6777;
}

.count .bg-count-1 {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.count .bg-count-3 {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.map {
    position: relative;
    padding: 60px 40px;
    height: 100%;
    margin-top: -40px;
}
.map .row{
    margin: -15px 0 -35px 0;
}

.footer {
    position: relative;
    padding: 20px 20px;
    height: 100%;
    background: #2b6777;
    color: #c8d8e4;
}

.footer img {
    height: 20vh;
}

.footer .logo p {
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer a {
    text-decoration: none;
    color: #c8d8e4;
}
/* .footer p{
    word-spacing:0.5rem;
} */
.footer i {
    margin-right: 20px;
}

.footer h2 {
    color: rgb(248, 207, 0);
}


.footer-bottom img {
    width: 10%;
}

.footer-bottom-content {
    background: var(--text-color-white);
    color: #0d0c0c;
    text-align: center;
    line-height: 85px;
}

.carousel-control-next {
    right: -40px;
    width: 2%;
}

.carousel-control-prev {
    left: -40px;
    width: 2%;
}

@keyframes fade-down {
    0% {
        opacity: 0;
        transform: translateY(-30px) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0px) scale(1);
    }
}


@media screen and (max-width:1024px) {

    .navbar-dark .navbar-nav .nav-link.active,
    .navbar-dark .navbar-nav .show>.nav-link {
        color: #fff;
        font-size: 9px;
        object-fit: cover;
    }

    .navbar {
        animation: fade-down 0.5s;

    }

    .navbar img {
        height: 5vh;
    }


    .tops {
        position: relative;
        padding: 60px 0px;
        height: 50vh;
    }

    #title img {
        object-fit: cover;
        height: 10vh;
        width: auto;
        top: 50%;
        margin-right: 0px;
        transform: translate(205%, -5%);
    }

    .tops {
        position: relative;
        padding: 60px 0px;
        height: 40vh;
    }

}

@media screen and (max-width:768px) {
    .about img {
        height: 100%;
    }

    .part-2 {
        font-size: 13px;
    }

    .about-2 {
        font-size: 13px;
    }

    .tops {
        position: relative;
        padding: 60px 0px;
        height: 20vh;
    }

    .testimonial .card {
        object-fit: cover;
        height: 15vh;
        width: 100%;
        background-color: #c8d8e4;
        border: 1px solid #2b6777;
    }

    .testimonial .card h5 {
        font-size: 17px;
    }

    .testimonial .card p {
        font-size: 13px;
    }

    /* .feedback {
        margin-left: 10px;
        position: relative;
        padding: 10px 40px;
    } */

    .count h5 {
        font-size: 17px;
    }

    .count h3 {
        font-size: 20px;
    }

    .h2,
    h2 {
        font-size: 22px;
    }

    .footer img {
        height: 15vh;
    }

    .footer .logo p {
        font-size: 13px;
    }

    .h3,
    h3 {
        font-size: 20px;
    }

    .footer p {
        font-size: 12px;
    }

    .footer i {
        margin-right: 10px;
    }
}

@media screen and (max-width:468px) {
    .navbar-dark .navbar-toggler {
        margin-right: 40px;
    }

    .hero .item img {
        object-fit: cover;
        height: 60vh;

    }

    .owl-carousel {
        width: 100%;

    }

    .navbar span {
        font-size: 15px;
    }


    #info {
        font-size: 13px;
    }

    #title img {
        transform: translate(70%, -5%);
    }

    #title img {
        transform: scale(.9);
        margin: -1% auto;
        margin-top: 1rem !important;

    }

    .about {
        padding: 10px 0px 10px 8px;

    }

    .about img {
        height: 100%;
        object-fit: cover;



    }

    .about .h2,
    h2 {
        font-size: 18px;
        text-align: center;
    }

    .part-1 {
        text-align: center;
        /* font-size: 11px; */
    }

    .part-2 {
        text-align: justify;
        font-size: 13px;
    }

    .staff {
        padding: 30px 0px;
    }

    .staff p {
        font-size: 12px;
    }

    .staff h1 {
        font-size: 20px;
    }

    .Achievements {
        position: relative;
        padding: 10px 0px;
        height: 25vh;
    }

    .btn {
        color: rgb(76, 35, 6);
        margin-left: 68%;
        /* margin-left: 0% */

    }

    .Achievements .btn:hover>.fa-angle-right {
        margin-left: 3px;
        background-color: rgb(76, 35, 6);
        color: white;
        transition: 0.2s ease-in-out;
    }

    .testimonial {
        margin-left: 13px;
        position: relative;
        padding: 30px 5px;
        height: 100%;
    }


    .map {
        padding: 30px 0px;
    }

    .map h1 {
        font-size: 18px;
    }

    .testimonial p {
        font-size: 12px;
    }

    .testimonial h1 {
        font-size: 20px;
    }

    .count .bg-count {
        padding: 20px 0px;
    }

    .footer {
        padding: 30px 10px;
    }

    .footer h2 {
        text-align: left;
        margin-bottom: 10px;
    }

    .footer h3 {
        text-align: left;
    }

    .footer p {
        font-size: 13px;
    }

    .footer .social {
        margin-top: 10px;
    }

    .footer .social-button a {
        width: 100%;
        margin-left: 3px;
    }

}