html {
    scroll-behavior: smooth;
    scrollbar-color: red;
}

body {
    margin: 0px;
    padding: 0px;
    height: 100%;
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

.container-home{
    width: 100%;
    height: auto;
    background-position: center;
    background-size: cover;
    background-image: url("../Images/background.jpg");
    background-attachment: fixed;
}

.landing-carousel {
    position: relative;
    height: 90vh; 
    min-height: 300px;
    display: flex ; 
    align-items: center ;
    justify-content: center; 
    overflow: hidden;
    transition: transform 0.5s ease-in-out;
}

.landing-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}

.landing-carousel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 1;
}

.carousel-caption {
    position: relative; 
    z-index: 2; 
    text-align: center; 
    color: White;
    bottom: 30% !important;
}

.carousel-caption h1 {
    font-size: 4rem;
    font-weight: 900;
    font-family: Playfair Display;
    color: White;

}
.carousel-caption h5 {
    font-size: 2rem; 
    font-weight: 900;
     font-family: Playfair Display !important;
     color: White;
}
.carousel-caption h2 {
     font-family: Playfair Display !important;
     color: White;
}

.carousel-caption p {
    font-size: 1.5rem;
    /*font-family: roboto;*/
      font-family: Playfair Display !important;
    font-weight: 400;
    color: White;
}
.slidebar-btn button{
    width: 235px !important;
    height: 57px !important;
    background: transparent !important;
    border-radius: 36px !important;
    border: none!important;
    transition: .8s ease !important;
    font-family: roboto;
    font-weight: 600 !important;
}

#scholarship-test{
    background-color: #ffffff !important;
    margin: 20px;
}
#scholarship-test:hover{
    border: none !important;
    background: #ffcc00 !important;
}
#register-now{
    background-color: rgb(0, 72, 173)!important;
    color: white;
}

#register-now:hover {
    border: none !important;
    background: #002766 !important;

}
@media (max-width: 768px) {
    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 0.875rem; 
    }

    .slidebar-btn button {
        font-size: 0.875rem; 
        padding: 0.5rem 1rem; 
    }
}

/* 
@media(max-width: 900px){
    .hero-area {
        height: 600px;
    }
    .hero-area-lhs, .hero-area-rhs{
        height: 500px;
    }
    .hero-area-headinngs{
        margin-top: 30%;
        width: 90%;
    }
    .hero-area-img{
        height: 70%;
    }
    .hero-area-rhs img {
        height: 60%;
    }
    .number{
        font-size: 30px;
    }
    .hero-area-headinngs h1{
        font-size: 38px;
        width: 70%;
    }
    .hero-area-lhs .hero-area-headinngs h3{
        font-size: 32px;
        width: 70%;
    }
}

@media(max-width: 1250px) {
    .hero-area-headinngs {
        width: 480px;
    }

    .hero-area-headinngs h1 {
        font-size: 40px;
    }

    .hero-area-headinngs h3 {
        font-size: 30px;
    }

    .card-wbs-lp {
        font-size: 10px;
    }

    .data {
        font-size: 14px;
    }
} */


/*--------------------------------------------------------------*/
.about {
    
    width: 100%;
    height: auto;
    background: #ffffff !important;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.about-top {
    width: 100%;
}
.borders {
    display: flex;
    flex-direction: row; /* Stack the borders vertically */
    align-items: flex-start; /* Align the borders to the left */
    margin-top: 10px; /* Add some space between the heading and the borders */
    justify-content: center;
}

.small-border {
    height: 4px;
    background: rgba(74, 74, 74, 1);
    width: 40px; /* Smaller line */
    margin-bottom: 5px; /* Space between the lines */
    margin-right: 5px;
    border-radius: 8%;
}

.large-border {
    height: 4px;
    background: rgba(74, 74, 74, 1);
    width: 180px; /* Larger line */
    border-radius: 8%;

}
.about-image{
    position: relative;
    height: auto; /* Full viewport height for larger screens */
    min-height: 300px;
    overflow: hidden;
    /* border-radius: 20%; */
}
.about-image img{
    width: 100%;
    height: 100%;
    object-fit:cover;
}
.about-container{
    /* background-color: rgba(101, 0, 0, 0.06)!important; */
    overflow: hidden
}
.about-content p {
    width: 100%;
    height: auto;
    font-family: Roboto;
    font-size: 16px;
    font-weight: 400;
    text-align: justified;
    color: rgba(78, 73, 73, 1);
    text-align: justify;
    position: relative;
}
.about-btn{
    display: flex;
    justify-content: center;
    align-items: center;
}

.read-more{
    background-color: rgb(0, 72, 173)!important;
    color: white;
    width: 250px !important;
    display: flex;
    justify-content: center;
}
.read-more:hover{
    border: none !important;
    background: #002766 !important;
}

.download-broucher{
    width: 250px !important;

}
@media (max-width: 768px) {
    .about-btn{
        display: flex;
        flex-direction: column;
    }

    .read-more, .download-broucher{
        width: 230px !important;
    }
}
.our-services {
    background-color: #002741a7;
}

.service-container {
    display: flex;
    justify-content: space-evenly;
    width: 100%;
    margin-left: 20px;
}

.heading h1 {
    font-family: Playfair Display;
    font-size: 36px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: rgba(74, 74, 74, 1);

}

.sub-heading h3 {
    font-family: Playfair Display;
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: rgba(127, 127, 127, 1);
}

.sub-heading span {
    font-style: italic;
    font-size: 28px;
    font-weight: 800;
    letter-spacing: 0.02em;
    text-align: center;

}
.our-service-heading h1, .our-service-sub-heading h3{
    color: white !important;
}
.service-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 30px; 
}

.services-content {
    font-size: 12px;
    text-align: justify; 
    color: rgba(109, 109, 109, 1);
    font-family: Roboto;
    width: auto;
    min-height: 200px;
    height: auto;
}

.services-heading {
    font-size: 18px;
    color: rgb(17, 102, 130, 1);
    font-family: Poppins;
    font-weight: bold;
    text-align: left;
}
.btn-read-more {
    background-color: rgb(17, 102, 130, 1);
    padding: 6px;
    border-radius: 6px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    border: 0;
    color: white;
    text-decoration: none;
    display: block;
    text-align: center;
    width: 100%; /* Ensure the button takes full width */
}

.btn-read-more:hover {
    background-color: rgb(15, 90, 115); /* Darker shade on hover */
}



.btn-read-more:hover{
    background-color: rgb(2, 47, 62);
}
/*---------------------------------------------------------------------*/

.main-gallery {
    width: 100%;
    margin: auto;
    height: auto;
    background: rgba(255, 253, 246, 1);
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.wrapper {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}
.wrapper a{
    text-decoration: none;
    cursor: pointer;
}
.gallery-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    justify-content: center;
}

.photo img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    display: block;
    z-index: 1;
    transition: all 0.8s;
}

.photo {
    position: relative;
    display: inline-block;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);

}

.photo:hover img {
    transform: scale(1.2);
    transition: 0.6s;
}

.photo:hover .see-more-button {
    background: rgb(220, 220, 220);
}

.gallery-card .photo{
    height: 250px;
    object-fit: cover;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-card-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(217, 217, 217, 0) 0%, #0D3745 100%);
    position: absolute;
    border-radius: 15px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.gallery-card-heading{
    font-family: Roboto;
    font-size: 24px;
    font-weight: 500;
    line-height: 20px;
    text-align: center;
    color: rgba(255, 252, 252, 1);
    margin-bottom: 2%;
}

.see-more-button {
    width: 90px;
    height: 30px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.see-more-button a {
    text-decoration: none;
    font-family: Roboto;
    font-size: 12px;
    font-weight: 500;
    line-height: 14.06px;
    text-align: center;
    color: rgba(13, 55, 69, 1);
}

.messages-section{
    background-color: #1b1a1ae9;
}

.message-card{
    /* background-color: #1b1a1adc; */
    height: 60%;
}

.message-image-side{
    /* background-color: yellow; */
    /* border-radius: 50% 0 50% 50%; */
    overflow: hidden;
}
.message-image-side img{
    object-fit:cover;
    width: 100%;
}
/* Style for the custom carousel buttons */
.custom-carousel-control {
    width: 5%; /* Button width */
    background-color: rgba(39, 37, 37, 0.5); /* Optional: Background color */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
    border: none; /* Remove default border */
  }
  
  /* Size and alignment of the custom icons */
  .custom-carousel-control .control-icon {
    width: 40px; /* Width of the icon */
    height: 40px; /* Height of the icon */
  }
  
  /* Optional: Hover effect to make buttons interactive */
  /* .custom-carousel-control:hover {
    background-color: rgba(0, 0, 0, 0.8); 
  }
   */

/* .message-button{
    background-color: #410100 !important;
} */

 .message-side h3, .message-side p{
    color: rgb(228, 228, 228);
 }

 .message-btn{
    background-color: white;
    width: 150px;
    /* height: 30px; */
    padding: 5px;
    border-radius: 10px;
    text-decoration: none;
    border: none;
    font-weight: 700;
 }
 .message-btn a{
    color: #0D3745;

    text-decoration: none;
 }
@media screen and (max-width:900px) {
    .testimonial .carousel {
        grid-auto-columns: calc((100%/2)-12px);
    }
}

@media screen and (max-width:600px) {
    .testimonial .carousel {
        grid-auto-columns: 100%;
    }
}
/*---------------------------------------------------------------------*/


/* -------------------------------*/

/*----------------------------------*/

.reveal {
    position: relative;
    transform: translateY(150px);
    opacity: 0;
    transition: all 2s ease;
}

.reveal.active {
    transform: translateY(0px);
    opacity: 1;
}


@media(max-width: 1030px){
    .gallery-card-gradient {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }

    /* .gallery-card.card-1,
    .gallery-card.card-3 {
        display: flex;
        flex-direction: row;
    }

    .gallery-card.card-1 .photo,
    .gallery-card.card-3 .photo {
        width: 40%;
        height: 170px;
    }

    .gallery-card.card-2 .photo {
        width: 84%;
        height: 170px;
    }

    .gallery-card-heading-1,
    .gallery-card-heading-2 {
        font-size: 16px;
        margin-left: auto;
        margin-right: auto;
        align-items: center;
        margin-top: 45%;
        display: flex;
        justify-content: center;
    }

    .gallery-card-heading-3,
    .gallery-card-heading-4 {
        margin-top: 20%;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: auto;
        margin-right: auto;
    }

    .see-more-button {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20%;
    } */
}
@media(max-width: 900px) {
    .hero-area {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 650px) {
    body {
        width: 100%;
        overflow-x: hidden;
    }

    
    .about {
        height: auto;
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 1);
        margin-bottom: 50px;
    }

    .about-left {
        display: none;
    }

    .about .about-right {
        width: 100%;
        height: auto;
        top: 0%;
        left: 0%;
        top: 0px;
        left: 0px;
    }

    .about .about-right .about-top {
        display: flex;
    }

    .read-more a {
        padding: 5px;
        border: none;
        width: 94px;
        font-size: 11px;
        font-weight: 500;
        border-radius: 8px;
        text-decoration: none;

    }

    .about .about-right .about-heading {
        margin-left: 30px;
        margin-top: 0px
    }

    .about .about-right .about-content #content {
        width: auto;
        height: auto;
        margin: 0px 30px;
        font-family: Roboto;
        font-size: 13px;
        line-height: 20px;
        top: 50px;
    }

    .about-top {
        width: 100%;
    }

    .about .about-right .download {
        width: 60%;
        height: 30px;
        margin-top: 60px;
        left: 30px;
        border-radius: 7px;
        margin-left: 30px;
    }

    .about .about-right .download #download-b {
        font-size: 12px;
        font-weight: 700;
        line-height: 14.06px;
    }

    .our-service {
        width: 100%;
    }

    .heading h1 {
        font-size: 24px;
    }

    .sub-heading h3,
    .sub-heading span {
        font-size: 18px;
    }

    .service-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin: 0;
    }

    .service-card {
        height: 110px;
        width: 80%;

    }

    .hover-line {
        display: none;
    }

    .services-content {
        display: none;
    }

    .service-imgbox {
        display: flex;
        flex-direction: row;
    }

    .service-imgbox p {
        font-size: 14px;
    }

    .service-imgbox img {
        width: 50px;
        margin: 15px 10px 5px 10px;
    }

    .service-card button {
        margin-top: 5px;
        font-size: 12px;
        width: 70%px;
        height: 30px;
        margin-top: 0px;
        margin-left: auto;
        margin-right: auto;
    }

    .director-message {
        width: 100%;
        max-height: 450px;
    }

    .container-bg {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .message-header h3 {
        font-size: 16px;
    }

    .message-header h1 {
        font-size: 24px;
    }

    .director-message .left-container {
        width: 60%;
        margin-top: 0;
        margin-left: 10%;
        height: 95%;
    }

    .director-message .right-container {
        width: 40%;
        margin: 0;
    }

    .right-container {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .right-container img {
        width: 100%;
        height: 170px;
    }

    .message {
        margin-top: 0%;
    }

    .message article {
        margin-top: 5%;
        width: 100%;
        font-size: 12px;
    }

    .read-more-btn {
        width: 100px;
        height: 30px;
    }

    .read-more-btn a {
        font-size: 12px;
    }

    .testimonial {
        height: auto;
        margin-top: 0;
        background: #ffffff;
    }

    .testimonial .heading h1 {
        font-size: 24px;
        margin-top: 20px;
    }

    .testimonial h3,
    .testimonial h3 span {
        font-size: 16px;
        text-align: center;
    }

    .testimonial-cards {
        width: 300px;
        height: 300px;
        border-radius: 24px 0px 24px 24px;
    }

    .testimonial-message p {
        font-size: 10px;
        margin-left: 25px;
    }



}
