
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}
.header{
    min-height: 100vh;
    width: 100%;
    background-image: linear-gradient(rgba(9, 21, 66, 0.7),rgba(9, 21, 66, 0.7)),url('./images/banner.jpg.jpeg');
    background-position: center;
    background-size: cover;
    position: relative;
} 


nav{
    display: flex;
    padding: 2% 3%;
    justify-content: space-between;
    align-items: center;
}


nav img{
    width: 100px;
    border-radius: 55px;
}


.nav-link{
    display: flex;
    text-align: right; 
}


.nav-link ul li{
    list-style: none;
    display: inline-block;
    padding: 8px 15px;
    position: relative;
}


.nav-link ul li a{
    color: #FFF;
    text-decoration: none;
    font-size: 15px;

}


.vk{
    margin-top: -10%;
}


.nav-link ul li::after{
    content: '';
    width: 0%;
    height: 2px;
    background: #021bfc;
    display: block;
    margin: auto;
    transition: 0.5s;
}


.nav-link ul li:hover:after{
    width: 100%;
}


.text-box{
    width: 90%;
    color: #fff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    text-align: center;
}


.text-box h1{
    font-size: 62px;
}


.text-box p{
    margin: 10px 0 40px;
    font-size: 14px;
    color: #fff;
}


.hero-btn{
    display: inline-block;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    padding: 12px 34px;
    font-size: 13px;
    background: transparent;
    position: relative;
    cursor: pointer;
}


.hero-btn:hover{
    border: 1px solid #021bfc;
    background: #021bfc;
    transition: 1s;
}


nav .bx{
    display: none;
    /* color: #ffffff; */
}


@media(max-width: 700px){
    .text-box h1{
        font-size: 20px;
    }
    .nav-link ul li{
        display: block;
    }
    .nav-link{
        position: absolute;
        background: #eb0a0a;
        height: 100vh;
        width: 200px;
        top: 0;
        right: 200px;
        text-align:center;
        z-index: 2;
        transition: 1s;
    }
    nav .bx{
        display: block;
        color: #fff;
        margin: 10px;
        /* margin-top: -20px; */
        /* margin-top: -12%; */
        font-size: 20px;
        cursor: pointer;
    }
    .nav-link ul{
        margin-left: -30px;
        margin-top: 30px;
        padding: 30px;
    }
    nav img{
        padding: 2%;
        height: 80px;
        width: 80px;
    }
    
}




/* ------------------------------------------------campus------------------------------------------------ */
.campus {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 90%;
  margin: auto;
  justify-content: center;
  padding-top: 30px;
}

.campus-col {
  flex-basis: 80%;
  height:900px;
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  height: 500px;
}
.layer:hover{
    background: rgba(226,0,0,0.7);
}
.layer{
    margin: auto;
    background: transparent;
    position: absolute;
    transition: 0.5s;
}


* ⬇️ Make sure the image itself is not stretched beyond its width */
.special-center img {
  width: 100px;
  height: 200px;
  object-fit: cover;
  justify-content: center;
  align-items: center;
}
/* BOUNCE keyframes */
@keyframes bounce {
  0%, 100% {
    transform: scale(1.05) translateY(0);
  }
  50% {
    transform: scale(1.05) translateY(-15px);
  }
}

/* Image styling */
.campus-col {
  width:500px;           /* Or set a specific width */
  height: auto;
  display: block;
  justify-content: center;
  align-items: center;
  padding: 40px;
  border-radius: 8px;
}

.campus-col img {
  width: 600px;                 /* Increased image size */
  height: 900px;
  object-fit: cover;
  border-radius: 8px;
  display: block;
  transition: filter 0.3s ease-in-out;
}

.campus-col img:hover {
  animation: bounce 0.6s ease;
  filter: brightness(1.1);
}





.layer h3 {
  width: 100%;
  font-size: 26px;
  font-weight: 500;
  color: #fff;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}


.layer:hover h3 {
  bottom: 40%;
  opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
  .campus {
    flex-direction: column;
    align-items: center;
  }

  .campus-col {
    flex-basis: 80%;
    height: 400px;
  }

  .campus-col:nth-child(4) {
    flex-basis: 100%;
    justify-content:space-between;
  }

  .campus-col:nth-child(4) img {
    width: 10%;
  }
}

/* ---------------------------------------------Call to action------------------------------------------------------ */


.cta{
    margin: 100px auto;
    width: 80%;
    background-image: linear-gradient(rgba(0,0,0,0.7),rgba(0,0,0,0.7)),url("./images/banner4.jpg");
    background-position: center;
    background-size: cover;
    border-radius: 10px;
    text-align: center;
    padding: 100px 0;
}


.cta h1{
    color: #fff;
    margin-bottom: 40px;
    padding: 0;
}


@media(max-width: 700px){
    .cta h1{
        margin-top: 35px;
        font-size: 25px;
    }

    .cta{
        height: 30px;
		width: 900px;
    }
    .hero-btn{
        padding-bottom: 5%;
        border: 1px solid red;
        /* margin-bottom: 50px; */
    }

}


/*-- ----------------------------------------------Call To Action-------------------------------------------- */


.footer{
    margin-top: -50px;
    width: 100%;
    text-align: center;
    padding: 30px 0;
}


.footer h4{
    font-size: 20px;
    margin-bottom: 25px;
    margin-top: 10px;
    font-weight: 600;
}


.footer p{
    margin-top: 20px;
    margin-bottom: 70px;
}


#kv{
    color: #eb0a0a;
}


@media(max-width: 700px){
    .footer p{
        margin: 3px;
        margin-top: -20px;
        margin-bottom: 25px;
    }

    #ft{
        padding-top: 100px;
    }

}

/* -----------------------------------------------------about us page------------------------------------------------ */


.sub-header{
    height: 50vh;
    width: 100%;
    background-image: linear-gradient(rgba(4,9,30,0.7),rgba(4,9,30,0.7)),url("./images/ganesh.jpg");
    background-position: center;
    background-size: cover;
    text-align: center;                       
    color: #fff;
}

.about-us{
    width: 80%;
    margin: auto;
    padding-top: 50px;
    padding-bottom: 80px;
}

.about-col{
    flex-basis: 48%;
    padding: 30px 2px;
}

.about-col img{
    width: 100%;
}

.about-col h1{
    padding-top: 0;
}

.about-col p{
    padding: 15px 0 25px;
}
.red-btn{
    border: 1px solid #f44336;
    background: transparent;
    color: #f44336;
}
.red-btn:hover{
    color: #fff;
}

/* -- -------------------------------------------images page content---------------------------------------- */

.gallery {
    text-align: center;
    padding: 10px 20px;
    background-color: #f9f9f9;
}

.gallery h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
}

.gallery p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 40px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}

.gallery-item {
    flex: 1 1 calc(33% - 10px);
    box-sizing: border-box;
}

.gallery-item img {
    width: 10%;
    height: auto;
    border-radius: 10px;
}




/* -----------------------------contact us page------------------------------------- */

.location{
    width: 80%;
    margin: auto;
    padding: 10px 0;
    margin-top: 60px;
}

.location iframe{
    width: 100%;
}

.contact-us{
    margin-left: 20%;
    width: 80%;
    margin: auto;
}

.contact-col{
    flex-basis: 80%;
    margin-bottom: 30px;

}

.contact-col div{
    margin-left: 15%;
    display: flex;
    align-items: center;
    margin-bottom: 40px;
}

.contact-col div .bx{
    font-size: 28px;
    color: #f44336;
    margin: 10px;
    margin-right: 30px;
}

.contact-col div p{
    padding: 0;

}

.contact-col div h5{
    font-size: 20px;
    margin-bottom: 5px;
    color: #555;
    font-weight: 400;
}

.contact-col input, .contact-col textarea{
    width: 80%;
    padding: 10px;
    margin-bottom: 10px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

@media(max-width: 700px){
    .contact-col{
        flex-basis: 80%;
        /* margin-bottom: 60px; */
        /* margin-top: -10px; */

    }

    .contact-col div{
        margin-left: 0;
        display: flex;
        align-items: center;
        margin-bottom: 20px;
    }

    .contact-col {
        margin: 10%;
        
    }


}


/* ---------------------from type-------------------- */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

.contact-col input, .contact-col textarea{
    width: 100%;
    padding: 15px;
    margin-bottom: 17px;
    outline: none;
    border: 1px solid #ccc;
    box-sizing: border-box;
}

