:root {
  --blue: #706ee4;
  --yellow: #ffe066;
  --green: #9be7c4;
  --white: #ffffff;
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', 'Nunito', sans-serif;
}


nav {
  position: sticky;
  top:0;
  z-index: 30;
  /*height: 50px;*/
  background-color: white;
  box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}
nav ul {
  width: 100%;
  display: flex;
  list-style-type: none;
  justify-content: flex-end;
  
  
}

nav li {
  height: 50px;
}

nav a {
  height: 100%;
  padding: 0 30px;
  text-decoration: none;
  display:flex;
  align-items: center;
  color: black;

}

nav a:hover {
background-color: #f0f0f0;
}

nav li:first-child {
  margin-right: auto;
}

.sidebar {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 250px;
  z-index: 30;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  justify-content: flex-start;

}


.sidebar li {
  width: 100%;
}

.sidebar a {
  width: 100%;
}


.hero {
  position: relative;
  min-height: 100vh;
  background: url('images/bright-pic.PNG');
 background-size:cover;
 background-repeat: no-repeat;
 background-position: center;
  display: flex;
  flex-direction: column;
  justify-content:top;
  align-items:flex-start;
  padding: 20px 50px;
  gap: 50px;


}



.hero::before {
  content: " ";
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0, 0, 0, 0.2);
  z-index: 0;
}


.hero h1 {
  position: relative;
  font-size: 2.8rem;
  color: blue;
  font-weight: 600;
  z-index: 1;
}
.hero p{
  font-size: 18px;
  position: relative;
}

.hero .highlights{
  display: flex;
  align-items: center;
  gap: 1rem;

}


.btn {
  position: relative;
  background: var(--yellow);
  padding: 0.7rem 1.5rem;
  border-radius: 30px;
  color: #333;
  text-decoration: none;
  font-weight: 600;
}



.about-section{
  padding: 3rem 2rem;
  text-align: center;
  background-color: #2c7be5;
}

.academics-section  {
  background: orange;
}
.academics-section h2{
  padding-top: 10px;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding: 20px 50px;
}


.admission-section {
  width: 80%;
  height: 50rem;
  margin: 0 auto;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: none;

}
.admission-section h2, 
.admission-section p{
  display: flex;
  flex-direction: column;
  align-items: center;


}

.admission-section input{
  width: 80%;
  height:2rem;
  padding: 13px;
  border-radius: 12px;
  background-color: #2c7be5;

}

.admission-section .btn{
  width: 80%;
  
}
.input-text::placeholder{
color:white
}
.input-email::placeholder{
color:white
}

.admission-section select{
  width: 80%;
  padding: 5px;
  border-radius: 12px;

}

.gallery-section{
  width: 100px;
  height: 50px;

  
}

.gallery-section h2{
  color:red;
}

.gallery-section .grid-gallery{
display: grid;
}

.grid-gallery {
  display: grid;
}




.contact-section{
  margin-top: 20px;
}

iframe {
  width: 100%;
  height: 250px;
  margin-top: 1rem;
  border-radius: 15px;
}


form {
  max-width: 400px;
  margin: auto;
}

form input, form select, form textarea {
  width: 100%;
  padding: 0.7rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  border: 1px solid #ccc;
}

iframe {
  width: 100%;
  height: 250px;
  margin-top: 1rem;
  border-radius: 15px;
}


.contact-card {
  background: #ffffff;
  padding: 2rem;
  border-radius: 20px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-card h2 {
  text-align: center;
  margin-bottom: 1.5rem;
  color: #2c7be5;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  color: #333;
}

.icon-input {
  position: relative;
}

.icon-input i {
  position: absolute;
  top: 10%;
  left: 12px;
  transform: translateY(-10%);
  color: #999;
}

.icon-input input {
  padding-left: 2.5rem;
}

.form-group input,
.form-group textarea {
  padding: 0.75rem 1rem;
  border-radius: 12px;
  border: 1px solid #ccc;
  font-size: 0.95rem;
  outline: none;
  transition: border 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2c7be5;
  box-shadow: 0 0 0 3px rgba(44,123,229,0.15);
}

.form-group textarea {
  resize: none;
}

.submit-btn {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 30px;
  background: linear-gradient(to right, #6ec1e4, #9be7c4);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}


.reff{
  margin-top: 50px;
}
/*.menu-button {
  display: none;
}*/

@media(max-width: 320px) {
  .sidebar{
    width: 100%;
  }

  
}

@media(max-width: 778px) {
  .hideOnMobile{
display: none;
  }
  /*.menu-button{
    display: block;
  }*/
  
  .hero h1 {
  font-size: 1.2rem;
}

.admission-section h2, 
.admission-section p{
font-size: 20px;
}
}