/* -----------Navigation Bar-------- */
.mainheader {
    position: sticky;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.3));
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}
.mainheader:hover {
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.3));
    background-color: white;
}
.mainheader:hover .navbar-brand img{
    content: url('images/bss-logo.svg');
}
.nav-link {
    color: white; 
    transition: color 0.3s ease; 
}
.mainheader:hover .nav-link {
    color: black; 
}
.nav-item.dropdown:hover .dropdown-menu {
    display: flex;
}

li a{
    color: #003478;
}
.enrollbtn{
    background-color: brown;
    border-radius: 25px;
    color: white;
    padding: 8px 25px 8px 25px;
    border: none;
}
.enrollbtn:hover{
    background-color: white;
    border: 1px solid black;
    color: black;
}
.denrollbtn{
    background-color: white;
    border-radius: 25px;
    color: brown;
    font-weight: bold;
    padding: 8px 25px 8px 25px;
    border: none;
    margin-left: 25%;
}
.denrollbtn:hover{
    background-color: brown;
    color: white;
}
.dropdown-menu {
    display: none; 
    position: fixed; 
    top: 11vh; 
    left: 0; 
    width: 100vw; 
    height: 22vw; 
    overflow-y: hidden; 
    flex-wrap: wrap; 
}
.nav-item:hover .dropdown-menu {
    display: flex; 
    flex-direction: row; 
}
/* -----------------Navigation Bar Section Ended here------------------------------------ */

/* -----------------Container Top------------------------------------------*/
.containerTop {
    position: relative;
    width: 100%;
    padding: 0;
}
.containerTop img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}
.containerTopDesc {
    position: absolute;
    bottom: 0px;
    background: rgba(248, 181, 35, 0.7); 
    color: white;
    text-align: center;
    padding: 40px;
    width: 100%;
}
.containerTopDesc .desc-content {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20%;
}
.containerTopDesc img {
    max-width: 150px; /* Adjust logo size */
}
/* Responsive adjustments */
@media (max-width: 768px) {
    .containerTop {
        min-height: 100px;
    }
    .containerTopDesc {
        width: 100%;
        padding: 22px;
    }
    .containerTopDesc .desc-content {
        flex-direction: column;
        text-align: center;
    }
}
.wellcome{
    color: rgb(2, 2, 99);
}

/* --------------------at a Glance -----------------------*/

.Glance{
    position: relative;
    background-color: rgb(241, 241, 241);
    margin-top: 70px;
    padding: 40px;
}
.at-glance{
    text-align: center;
    font-weight: bold;
    color: darkblue;
    padding-top: 40px;
    padding-bottom: 30px;
}
.glance-row {
    max-width: 1800px; 
    margin: 0 auto;
}
.plane-bg-img{
    position: absolute;
    top: 0;
    left: 50px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}
.glance-img {
    width: 100px;  /* Adjust size as needed */
    height: 100px; /* Keep uniform size */
    object-fit: contain;
}
.col-6, .col-md-3 {
    padding: 0 5px; 
}
.heading{
    color: darkblue;
    font-weight: bold;
    padding-top: 20px;
}
.plane-bg-img-2{
    position: absolute;
    bottom: -15px;
    right: 70px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}


/* ----------Two Rows Six cards Start From Here----------- */
.custom-card-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}
.card-img-top {
    border-radius: 20px;
    width: 100%; 
    height: 300px; /* Adjust the height as needed */
    object-fit: cover; /* Ensures uniform image display */
}
.card {
    position: relative;
    overflow: hidden; 
}
.overly-para{
    z-index: 1;
    font-size: 21px;
    text-align: center;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 78%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: auto;
    transition: top 0.3s ease-in-out, transform 0.3s ease-in-out;
    bottom: 5%;
}
.dec-para, .learnmore{
    z-index: 1;
    font-size: 14px;
    text-align: center;
    color: white;
    font-weight: bold;
    position: absolute;
    top: 100%;
    left: 50%;
    width: 80%;
    transform: translateX(-50%);
}
.card-img-top {
    width: 100%;
    transition: filter 0.3s ease-in-out, transform 0.3s ease-in-out;
    filter: brightness(0.5);
}

.miancardfirst::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(255, 0, 0, 0.5); /* Red overlay with opacity */
    transition: bottom 0.3s ease-in-out;
}
.miancardsecond::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(211, 247, 7, 0.658); /* Red overlay with opacity */
    transition: bottom 0.3s ease-in-out;
}
.miancardthird::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(0, 38, 255, 0.596); /* Red overlay with opacity */
    transition: bottom 0.3s ease-in-out;
}
.miancardfourth::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(0, 38, 255, 0.596); /* Red overlay with opacity */
    transition: bottom 0.3s ease-in-out;
}
.miancardfifth::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 15px;
    background: rgba(255, 0, 0, 0.5); /* Red overlay with opacity */
    transition: bottom 0.3s ease-in-out;
}
.miancardsixth::after {
    content: "";
    position: absolute;
    bottom: -75%; /* Initially hidden below the card */
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(211, 247, 7, 0.658);
    border-radius: 15px;
    transition: bottom 0.3s ease-in-out;
}
.miancardfirst:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.miancardsecond:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.miancardthird:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.miancardfourth:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.miancardfifth:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.miancardsixth:hover::after {
    bottom: 0px; /* Slides up on hover */
}
.card:hover .overly-para{
    top: 44%;
    transform: translateX(-50%) translateY(-50%);
}
.card:hover .dec-para{
    top: 60%; /* Slide from bottom to top */
    transform: translateX(-50%) translateY(-50%);
}
.card:hover .learnmore{
    top: 85%; /* Slide from bottom to top */
    transform: translateX(-50%) translateY(-50%);
}
/* --------------Tow Rows Ended to Here--------------------------------- */

/* ---------------Our Values----------------------------- */
.impact{
    position: relative;
    background-color: rgb(241, 241, 241);
    margin-top: 70px;
    padding: 40px;
}
.our-impact{
    text-align: center;
    font-weight: bold;
    color: #003478;
    padding-top: 40px;
    padding-bottom: 30px;
}
.impact-row {
    max-width: 1100px; 
    margin: 0 auto;
}
.plane-bg-img{
    position: absolute;
    top: 0;
    left: 50px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}
.impact-img {
    width: 100px;  
    height: 100px; 
    object-fit: contain;
}
.col-6, .col-md-3 {
    padding: 0 5px; 
}
.heading ,.Vheading{
    color: #003478;
    font-weight: bold;
    padding-top: 20px;
}
.plane-bg-img-2{
    position: absolute;
    bottom: -15px;
    right: 70px;
    width: 150px;
    height: 150px;
    opacity: 0.6;
}


/* -------------- */
.campus-container {
    margin: 40px 0;
}
.map-container {
    height: 550px;
    width: 100%;
}
.school-info {
    padding: 20px;
    color: #003478;
}
.campus-title {
    font-size: 24px;
    font-weight: bold;
    color: #003478;
}
.campus-address {
    font-size: 16px;
}
.campus-list {
    list-style: none;
    padding-left: 0;
}
.campus-list li {
    margin-bottom: 10px;
}
.campus-list a {
    color: rgb(218, 3, 3);
    font-weight: bold;
    text-decoration: none;
}
.campus-list a:hover {
    text-decoration: underline;
}
/* ----------------------------------- */

.studenttestimonial {
    display: flex;
    align-items: center; 
    gap: 200px;
    margin-top: 100px;
    padding: 80px;
    color: #003478;
    background-color: #F4F4F4;
}

.stcontent p{
    font-size: 20px;
    font-family: sans-serif;
}

.studenttestimonial img {
    width: 400px;
    height: 350px; 
    border-radius: 30px; 
}

.Testimonialbtn {
    margin-top: 40px;
    background-color: #AF282C;
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 25px;
}

.Testimonialbtn:hover {
    background-color: #fc6f73;
    color: black;
}

/* -------- */
.staffSupport {
    /* background-color: rgb(241, 241, 241); */
    align-items: center; 
    gap: 200px;
}

.staffSupport img {
    margin-top: 10px;
    margin-left: 7%;
    width: 400px;
    height: 350px; 
    border-radius: 30px; 
}

.stafffcontent h2 {
    font-weight: bold; 
    color: #00346A;
}
.stafffcontent p {
    padding-top: 10px;
    color: #00346A;
    font-size: 22px; 
}

.Discoverbtn {
    margin-top: 40px;
    background-color: #0252ff;
    color: white;
    padding: 10px 30px;
    border: none;
    cursor: pointer;
    font-size: 20px;
    border-radius: 25px;
}

.Discoverbtn:hover {
    background-color: #6192fc;
}

/* ---------Calender Section----------- */
.calender {
    background-color: #f8f9fa;
    padding: 50px;
}
.calendar-container {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}
.calendar-seccontainer {
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-weight: bold;
}
.calendar-header {
    font-size: 20px;
    font-weight: bold;
    color: #002b5c;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.calendar-header button {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #002b5c;
}
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
    margin-top: 10px;
}
.day {
    padding: 10px;
    font-weight: bold;
    color: #002b5c;
    border-radius: 5px;
}
.highlighted {
    background: #ffc107;
    border-radius: 50%;
    padding: 10px;
    color: black;
}
.download-link {
    text-align: center;
    margin-top: 15px;
}
.download-link a {
    color: red;
    font-weight: bold;
    text-decoration: none;
}

/* --------------------- */
.carousel {
    position: relative;
}

.carousel-control-prev .fa-solid,
.carousel-control-next .fa-solid {
    background-color: black;
    padding: 10px;
    border-radius: 15px;
    color: yellow;
    font-size: 30px;
}

.carousel-inner {
    display: flex;
    align-items: center;
}

.carousel-item .row {
    width: 80%;
    justify-content: center;
    margin: 0 auto;
}

.carousel-item .col-lg-4,
.carousel-item .col-md-6{
    /* display: flex; */
    /* justify-content: center; */
    padding: 5px;
}

.card {
    width: 100%;
    max-width: 350px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: scale(1.03);
}

.img-inside {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.card-body {
    padding: 15px;
    text-align: center;
    flex-grow: 1;
}

.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.card-text {
    font-size: 14px;
    color: #555;
}

.crdbtn {
    margin-top: auto;
    margin-left: 60%;
    border: none;
    background-color: orange;
    color: white;
    padding: 10px;
    border-radius: 15px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out;
}

.crdbtn:hover {
    background-color: rgb(218, 218, 35);
}


/* ----Footer Css------------------------------ */
footer{
    background-color: rgb(241, 241, 241);
    color: rgb(1, 1, 85);
    margin-top: 50px;
}

footer h5{
    font-weight: bold;
}

.list-unstyled a{
    color: rgb(1, 1, 85);
}
footer .mediaicon:hover{
    box-shadow: 4px 4px 10px rgba(165, 42, 42, 0.9);
    cursor: pointer;
}