@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Mukta+Malar:wght@200;300;400;500;600;700;800&display=swap');
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: "Lato", sans-serif;
}
header{
   margin: 0;
    background-color: rgba(0, 0, 0, 0.9);
}
.topbar{
    height: 34px;
    background-color: #062047;
    display: flex;
    align-items: center;  
    justify-content: space-between;
    padding: 5px 10%;
    
}
.topbar__CTA{}
.topbar__CTA ul{
    display: flex;  
    list-style: none;
}
.topbar__CTA ul li{
color: rgba(255, 255, 255, 0.8);
font-size: 14px;
padding-right: 20px;

display: inline-flex;
justify-content: vertical-center;
}
.topbar__CTA ul li span{
    font-size: 18px;
    padding-right: 6px;
}
.topbar__CTA ul li a{
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
}
.topbar__social{}
.topbar__social ul{
    display: flex;
    list-style: none;
}
.topbar__social ul li{
    padding-left: 16px;
}
.topbar__social ul li a{
text-decoration: none;
color: rgba(255, 255, 255, 0.8);
}
.topbar__social ul li a img{
   width: 20px;
}





.headbar{
    height: 80px;
    background-color:#0C4191;
    display: flex;
    align-items: center;  
    justify-content: space-between;
z-index: 1000;
    padding: 0 10%;
}
.headbar__logo{}
.headbar__logo > a{
    display:block;
    color: #ffffff;
    justify-content: vertical-center;
}
.headbar__logo > a img{
    width: 250px;
}
.headbar__nav{}
.headbar__nav nav{}
.headbar__nav nav ul {
    display: flex;  
    list-style: none;
    padding: 0;
}
.headbar__nav nav ul li{
    padding-left: 20px;
}
.headbar__nav nav ul li a{
    text-decoration: none;
    color: #ffffff;
    padding: 10px 18px;
    border-radius: 8px;
}
.headbar__nav nav ul li a.selected{
    color: #FFC200;
    background-color: rgba(255, 194, 0, 0.1)
}
.headbar__nav nav ul li a.primary{
    background-color: #E2613F;
    color: #ffffff;
}
.headbar__nav nav ul li a.primary:hover{
    background-color: #D0441F;
    color: #ffffff;
}
.headbar__nav nav ul li a:hover{
    color: #FFC200;
    background-color: rgba(255, 194, 0, 0.15);
    transition:  0.5s ease-in-out, transform 0.2s ease;
    
}
.header__content{
padding: 13vh 20%;
background: linear-gradient(rgba(12, 65, 145, 0.8), rgba(6, 32, 71, 0.9)), url(images/3.jpg);
background-position: top center;
background-size: cover;
height: calc(75vh - 114px);
}

.header__content h1{
    color: #ffffff;
    font-size: 52px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
}
.header__content p{
    font-size: 20px;
    color: #ffffff;
    padding-top: 12px;
    line-height: 26px;
    font-weight:300;
    text-align: center;
}

.header__content ul{
    display: flex;  
    list-style: none;
    padding-top: 50px;
    justify-content: center;
}
.header__content ul li{
    padding-right: 20px;
}
.header__content ul li a.secondary {
    padding: 18px 30px;
    border:solid 1px #FFC200;
    text-decoration: none;
    color: #FFC200;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
}
.header__content ul li a{
    padding: 18px 20px;
    text-decoration: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
}
.header__content ul li a:hover{
    background-color:#FFC200;
    color: #21252C;
    transition:  0.5s ease-in-out, transform 0.2s ease;
}
.header__content ul li a.primary{
    background-color: #E2613F;
    color: #ffffff;
    border: none;
    padding: 18px 20px;
}
.header__content ul li a.primary:hover{
    background-color: #D0441F;
    transition:  0.5s ease-in-out, transform 0.2s ease;
}






.about{
    padding:5% 10%;
}
.text__head{
    margin: 0 20%;
    padding-bottom: 20px;
}
.text__head h2{
    font-size: 36px;
    text-align: center;
    color: #21252C;
}
.text__head p{
    font-size: 16px;
    text-align: center;
    color: #363E49;
    line-height: 22px;
    padding-top: 10px;
}












.card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease-in-out;
    border: solid 1px #D3D8DE;
    display: flex;
            flex-direction: column;
            height: 108%;
            position: relative;
}

.card:hover {
    transform: translateY(-3px);
    cursor: pointer;
}
.card:hover .tag{
    background-color: #0C4191;
    color: #fff;
    transition: transform 0.3s ease-in-out;
}
.card img {
    width: 100%;
    height: 180px;
    object-fit: cover; /* Ensures uniform image size */
}

.card-content {
    padding: 20px;
}

.meta {
    font-size: 14px;
    color: #363E49;
    padding: 5px 10px;
    border-radius: 30px;
    background-color: rgba(208, 68, 31, 0.2);
    margin-bottom: 8px;
    display: inline;
}
.meta-available{
    background-color: #BBEBDA;
}
.title {
    font-size: 18px;
    font-weight: bold;
    color: #21252C;
    margin: 10px 0;
    margin-top: 20px;
}

.tag {
    display: inline-block;
    background: #E8EAEE;
    padding: 5px 10px;
    border-radius: 6px;
    color: #21252C;
    text-decoration: none;
    position: absolute;
    bottom: 20px;
}
.content{
    padding-bottom: 20px;
    color: #4C5767;
    line-height: 20px;
}

.placements{
    padding:5% 10%;
    background-color: #DEEAFC;
}
.placements .card {
    display: block;
    text-align: center;
}
.placements .card img {
    width: 150px;
    height: 100%;
}




.admission{
    padding:5% 10%;
    background-color: #0C4191;
}
.admission .text__head h2{
    color: #fff;
}
.admission .text__head p{
    color: rgba(255, 255, 255, 0.8);
}

.admission ul{
    display: flex;  
    list-style: none;
    padding-top: 20px;
    justify-content: center;
}
.admission ul li{
    padding-right: 20px;
}
.admission ul li a {
    padding: 18px 30px;
    border:solid 1px #FFC200;
    text-decoration: none;
    color: #FFC200;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 500;
}
.admission ul li a:hover{
    background-color: rgba(46, 100, 50, 0.4);
    color: #ffffff;
    transition:  0.5s ease-in-out, transform 0.2s ease;
}
.admission ul li a.primary{
    background-color: #E2613F;
    color: #ffffff;
    border: none;
}
.admission ul li a.primary:hover{
    background-color: #D0441F;
    transition:  0.5s ease-in-out, transform 0.2s ease;
}
.admission ul li a.whatsapp{
    background-color: #25D366;
    color: #ffffff;
    border: none;
    padding-left: 20px;
    padding-right: 20px;
}
.admission ul li a.whatsapp:hover{
    background-color: #1EA952;
}
.admission ul li a.whatsapp img{
    width: 36px;
    vertical-align: middle;
    padding-right: 5px;
    margin-top: -1px;
}


.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
    gap: 30px;             
    justify-content: center; 
    padding: 30px;
}
.grid-container2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px; 
    padding: 30px;
}
.grid-item {
   
    margin-bottom: 30px;
    flex: 1 1 calc(33.33% - 20px);  
    min-width: 250px; 
}
.grid-item2 {
    flex: 1 1 calc(20% - 20px); 
    min-width: 150px;  
}




.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 3% 10%;
    margin: auto;
    background-color: #062047;
}

.footer-left,
.footer-right {
    flex: 1;
}
.footer-right ul{
    display: flex;  
    list-style: none;
    justify-content: left;
}
.footer-right ul li{
    padding-right: 20px;
}
.footer-right ul li p{
    font-size: 16px;
}
.footer-right ul li  span{
vertical-align: middle;
font-size: 16px;
padding-right: 3px;
}

.footer-left h3,
.footer-right h3 {
    margin-bottom: 10px;
    font-size: 20px;
    color: #ffffff;
}

.footer-left p,
.footer-right p {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8)
}

.footer-bottom {
    text-align: center;
    font-size: 16px;
    border-top: 1px solid #0C4191;
    padding: 20px;
    background-color: #062047;
    color: rgba(255, 255, 255, 0.8)

}






/* Hide navigation by default on mobile */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* Adjust based on your header */
    left: 0;
    width: 100%;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

/* Style for mobile menu items */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile-nav ul li {
    border-bottom: 1px solid #AFCCF8;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: #21252C;
    font-size: 16px;
    display: block;
    padding: 18px;
}
.mobile-nav ul li a:hover{
    background-color: #AFCCF8;
    transition:  0.5s ease-in-out, transform 0.2s ease;
}
/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
}
.ad{
    margin: 50px 20%;
    margin-bottom: 0;;
    background-color: rgba(0, 0, 0, 0.1);
    padding: 30px;
    border-radius: 30px;
}

.ad iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: none;
    border-radius: 25px;
}


/*popup----*/
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    padding:0 30%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* Popup Content Box */
.popup-content {
    background: white;
    padding: 20px;
    width: 100%;
    border-radius: 16px;
    position: relative;
}

/* Close button */
.close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

#enrollmentForm{}
#enrollmentForm ul{
    display: flex;
    flex-direction: column;
    list-style: none;
    margin-top: 10px;
}
#enrollmentForm ul li{
    display: block;
    padding: 10px 0;
}
#enrollmentForm ul li input, select, textarea{
    display: block;
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #21252C;
    margin-top: 10px;
    border-radius: 6px;
    border: solid 1px #D3D8DE;
}
#enrollmentForm ul li input:focus{
    border: solid 1px #0C4191;
}
#enrollmentForm ul li label{
    padding-bottom: 5px;
}

#enrollmentForm button{
    padding: 10px 20px;
    border-radius: 6px;
    color: #fff;
    background-color: #0C4191;
    border: none;
    font-size: 16px;
    float: right;
}


.toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #28a745;
    color: white;
    text-align: center;
    padding: 16px;
    position: fixed;
    font-size: 16px;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgba(0,0,0,0.1);
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}






/* Mobile: max-width 767px */
@media screen and (max-width: 767px) {
  
   .header__content ul li a.secondary {
    padding: 16px 10px;
    font-size: 16px;
}
.header__content ul li a{
    padding: 16px 10px;
    font-size: 16px;
}
.header__content ul li a.primary{
    padding: 16px 10px;
     font-size: 16px;
}
    .ad{
        margin: 50px 0%;
        margin-bottom: 0;
        background-color: rgba(0, 0, 0, 0.1);
        padding: 20px;
        border-radius: 20px;
    }
 .popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width:100%;
    padding:0 5%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
  
    .topbar {
        display: none;
    }
   
    .headbar {
        padding:  5%;
    }
    .headbar__nav nav {
        display: none; /* Hide default nav */
    }
    .hamburger-menu {
        display: flex;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    position: absolute; 
    right: 20px;  
    top: 27px;  
    color: #ffffff;
    font-size: 20px;
    }
    .mobile-nav{
        margin-top: 20px;
        background-color: #DEEAFC;
    }
    .mobile-nav.active {
        display: flex;
    }
    .mobile-nav ul{
    }
    .mobile-nav ul li a{
        font-size: 16px;
    }
    .header__content {
        padding: 5vh 10%;
        padding-bottom: 8vh;
        height: auto;
        text-align: center;
    }
    .header__content h1 {
        font-size: 32px;
    }
    .header__content p {
        font-size: 16px;
        line-height: 22px;
    }
    .header__content ul li a {
        padding: 16px 20px;
        font-size: 16px;
        font-weight: 500;
    }

    .about{
        padding:5% 5%;
    }
    .text__head{
        margin: 0 5%;
    }
    .text__head h2{
        font-size: 30px;
    }

    .tag {
        position: static;
    }



    .grid-container {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    .grid-item {
        width: 100%;
        margin-bottom: 0px;
    }
    .card img {
        height: 150px;
    }
    .placements{
        padding:5% 5%;
    }
    .placements .grid-container2 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
        padding: 20px;
    }
    .placements .grid-item2 {
        width: 50%;
    }
    .placements .card img {
        width: 100px;
        height: 100%;
    }
    .admission{
        padding:5% 5%;
    }
    .admission ul {
        flex-direction: column;
        text-align: center;
    }
    .admission ul li {
        margin-bottom: 10px;
    }
    .admission ul li a {
        padding: 16px 20px;
        border-radius: 8px;
        font-size: 16px;
    }
    .admission ul{
        display: flex;  
        flex-direction: row;
        list-style: none;
        padding-top: 20px;
        justify-content: center;
    }

    .admission ul li a.whatsapp {
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        padding: 5% 5%;
    }
    .footer-right{
        padding-top: 20px;
    }
    .footer-right ul{
        flex-direction: column;
    }
    .footer-right ul li{
        padding-right: 0;
    }
    
    
  



}

/* Tablet: 768px - 1024px */
@media screen and (min-width: 768px) and (max-width: 1024px) {
    .topbar {
        padding: 10px 5%;
    }


    .headbar {
        padding: 10px 5%;
    }
    .headbar__nav nav ul {
        justify-content: center;
    }
    .grid-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .placements .grid-container2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Large Screens: 1025px and above */
@media screen and (min-width: 1025px) {
    


    .grid-container {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .placements .grid-container2 {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
    }
}



