
/* PAGE LOADER */

#loader{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:white;
display:flex;
justify-content:center;
align-items:center;
z-index:5000;
}
.fade{
opacity:0;
transform:translateY(30px);
transition:0.6s;
}

.fade.show{
opacity:1;
transform:translateY(0);
}

.spinner{
width:50px;
height:50px;
border:6px solid #ddd;
border-top:6px solid #003366;
border-radius:50%;
animation:spin 1s linear infinite;
}

@keyframes spin{
100%{transform:rotate(360deg);}
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
  scroll-behavior: smooth;
}

img {
  max-width: 100%;
  height: auto;
}

/* HEADER */
header {
  position: fixed;
  top: 0;
  width: 100%;
  height: 85px;
  background: #003366;
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 50px;
  z-index: 1000;
}

.menu-toggle {
  display: none;
  font-size: 25px;
  cursor: pointer;
  color: white;
}

/* NAVBAR */
nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin: 0 10px;
  padding-top:15px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

nav ul li a:hover {
  color: orange;
}

/* MOBILE SIDEBAR MENU */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  nav {
    position: fixed;
    top: 0;
    left: -260px;
    width: 260px;
    height: 100%;
    background: #003366;
    transition: 0.4s;
    padding-top: 80px;
    z-index: 1500;
  }

  nav.active {
    left: 0;
  }

  nav ul {
    flex-direction: column;
    text-align: left;
    padding-left: 20px;
  }

  nav ul li {
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  }
}

/* NEWS BAR */
.news-bar {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  background: #ff9800;
  color: white;
  padding: 8px;
  overflow: hidden;
  z-index: 999;
}

.news-text {
  white-space: nowrap;
  animation: newsMove 15s linear infinite;
  font-weight: bold;
}

@keyframes newsMove {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}
/* HERO */
.slider{
    position:relative;
    height:100vh;
    width:100vw;     
    overflow:hidden;
}
.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    animation: slideShow 15s infinite;

    padding:0;   
}


/* delay */
.slide:nth-child(1){ animation-delay:0s; }
.slide:nth-child(2){ animation-delay:5s; }
.slide:nth-child(3){ animation-delay:10s; }

@keyframes slideShow{
    0%{opacity:0;}
    10%{opacity:1;}
    30%{opacity:1;}
    40%{opacity:0;}
    100%{opacity:0;}
}
/* HERO SECTION */
.hero{
    margin:0;
    padding:0;
    width:100%;
}

/* SLIDER */
.slider{
    position:relative;
    height:100vh;
    width:100vw;
    overflow:hidden;
}

/* SLIDES */
.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
    opacity:0;
    animation: slideShow 15s infinite;
}

/* SLIDE DELAY */
.slide:nth-child(1){ animation-delay:0s; }
.slide:nth-child(2){ animation-delay:5s; }
.slide:nth-child(3){ animation-delay:10s; }

/* ANIMATION */
@keyframes slideShow{
    0%{opacity:0;}
    10%{opacity:1;}
    30%{opacity:1;}
    40%{opacity:0;}
    100%{opacity:0;}
}

/* DARK OVERLAY */
.overlay{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.4);
    z-index:1;
}

/* TEXT */
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-align: center;
  z-index:2;
  text-shadow: 2px 2px 10px rgba(0,0,0,0.7);
}

.hero-text h1 {
  font-size: 60px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-text p{
  font-size: 22px;
  margin-bottom: 25px;
  font-weight: 400;
}

/* BUTTON */
.btn{
    display:inline-block;
    padding:12px 30px;
    background:linear-gradient(135deg, #38bdf8, #0ea5e9);
    color:white;
    font-size:18px;
    font-weight:600;
    border:none;
    border-radius:30px;
    text-decoration:none;
    transition:0.3s ease;
    box-shadow:0 4px 15px rgba(0,0,0,0.2);
    margin-top:10px;
}

.btn:hover{
    transform:translateY(-3px) scale(1.05);
    box-shadow:0 8px 25px rgba(0,0,0,0.3);
 background: linear-gradient(green);
}

.btn:active{
    transform:scale(0.95);
}

/* RESPONSIVE */
@media(max-width:768px){
    .hero-text h1{
        font-size:32px;
    }

    .hero-text p{
        font-size:16px;
    }

    .btn{
        padding:10px 20px;
        font-size:16px;
    }
}


/* ABOUT */

.about-container {
display:flex;
align-items:center;
justify-content:center;
gap:50px;
flex-wrap:wrap;
max-width:1100px;
margin:auto;
}

.about-image img{
width:420px;
border-radius:12px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
.about-image:hover img{
  transform:scale(1.1);   /* zoom effect */
}

.about-image:hover::after{
  box-shadow:0 0 25px rgba(255,152,0,0.8);
}

.about-image:hover{
  transform:translateY(-8px);
}

.about-text{
max-width:500px;
}

.about-text h3{
color:#003366;
margin-bottom:15px;
}

.about-text p{
line-height:1.7;
margin-bottom:20px;
color:#444;
}

.about-features{
display:grid;
grid-template-columns:repeat(2,1fr);
gap:15px;
}

.feature{
display:flex;
align-items:center;
gap:10px;
background:#f4f4f4;
padding:12px;
border-radius:8px;
transition:0.3s;
}

.feature:hover{
background:#ff9800;
color:white;
transform:translateY(-3px);
}

.feature i{
font-size:20px;
color:#ff9800;
}

/* PRINCIPAL */

.principal-modern{
display:flex;
align-items:center;
justify-content:center;
gap:50px;
margin-top:80px;
flex-wrap:wrap;
}

/* LEFT IMAGE */

.principal-img-box img{
  width:450px;
  height:350px;
  object-fit:contain;   
  background:#f5f5f5;
  border-radius:10px;
  box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* RIGHT CONTENT */

.principal-content{
max-width:550px;
}

.principal-content h2{
font-size:32px;
margin-bottom:20px;
color:#003366;
}

.principal-content p{
line-height:1.7;
margin-bottom:15px;
color:#444;
}

.principal-content h4{
margin-top:20px;
color:#003366;
}

.principal-role{
color:#ff9800;
font-weight:500;
}
.principal-modern:nth-child(2){
  flex-direction: row-reverse;
}
/* IMAGE BOX */
.principal-img-box{
  padding:1px;
  background:#ffffff;
  border-radius:9px;
  box-shadow:0 10px 25px rgba(0,0,0,0.15);
}

.img-wrapper{
  width:100%;
  height:100%;
  background:#f5f5f5;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}


.img-wrapper img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;  
  border-radius:8px;
}


@media(max-width:768px){
  .img-wrapper{
    width:100%;
    height:250px;
  }
}


.vision-mission{
display:flex;
justify-content:center;
gap:40px;
margin-top:60px;
flex-wrap:wrap;
}

.vm-card{
background:white;
padding:30px;
width:260px;
text-align:center;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.1);
transition:0.4s;
}

.vm-card:hover{
transform:translateY(-10px);
box-shadow:0 15px 35px rgba(0,0,0,0.2);
}

.vm-card i{
font-size:35px;
color:#ff9800;
margin-bottom:10px;
}

.vm-card h3{
color:#003366;
margin-bottom:10px;
}

.founder-section{
display:flex;
align-items:center;
gap:40px;
margin-top:70px;
flex-wrap:wrap;
}

.founder-section img{
width:200px;
border-radius:10px;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.founder-text h3{
color:#003366;
}

.founder-text h4{
color:#ff9800;
margin-bottom:10px;
}


.counters{
margin-top:60px;
display:flex;
justify-content:center;
flex-wrap:wrap;
gap:30px;
}

.counter-box{
background:#003366;
color:white;
padding:30px;
border-radius:10px;
text-align:center;
width:180px;
transition:0.3s;
}

.counter-box:hover{
transform:translateY(-5px);
}

.counter-box h3{
font-size:32px;
color:#ff9800;
margin-bottom:5px;
}

/* ANIMATION */

@keyframes fadeUp{
from{
opacity:0;
transform:translateY(40px);
}
to{
opacity:1;
transform:translateY(0);
}
}
/* ACADEMICS */
.academics-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.academic-card {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: default;
}

.academic-card i {
  font-size: 35px;
  color: #ff9800;
  margin-bottom: 15px;
}

.academic-card h3 {
  color: #003366;
  margin-bottom: 10px;
}

.academic-card p {
  font-size: 14px;
  color: #555;
}

.academic-card:hover {
  transform: none;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.student-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.student-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: default;
}

.student-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: 0.4s;
}

.student-overlay {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  text-align: center;
  padding: 15px;
}

.student-card:hover img {
  transform: scale(1.1);
}

/* FACILITIES */
.facility-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1100px;
  margin: auto;
}

.facility-card {
  background: white;
  padding: 30px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: default;
}

.facility-card i {
  font-size: 35px;
  color: #ff9800;
  margin-bottom: 10px;
}

.facility-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

/* BUTTON */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 25px;
  background: orange;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  cursor: pointer;
}
section {
  padding: 80px 40px;
}


.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  max-width: 1100px;
  margin: auto;
}

.gallery-container img {
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
}

.gallery-container img:hover {
  transform: scale(1.05);
}


#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

#lightbox img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

/* NEWS */
.news-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  max-width: 1200px;
  margin: auto;
}

.news-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
  cursor: default;
}

.news-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.news-content {
  padding: 15px;
}

.news-date {
  font-size: 13px;
  color: #ff9800;
  font-weight: bold;
}

.news-content h3 {
  margin: 8px 0;
  color: #003366;
}

.news-content p {
  font-size: 14px;
  color: #555;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}


form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

button {
  padding: 12px;
  background: #003366;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* FOOTER */
.footer {
  background: #0a2540;
  color: white;
  padding: 50px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-box h3 {
  margin-bottom: 15px;
}

.footer-box ul {
  list-style: none;
}

.footer-box ul li {
  margin: 8px 0;
}

.footer-box ul li a {
  text-decoration: none;
  color: white;
}

.footer-box ul li a:hover {
  color: orange;
}

.social-icons a {
  color: white;
  font-size: 20px;
  margin-right: 12px;
  transition: 0.3s;
}

.social-icons a:hover {
  color: orange;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 10px;
  font-size: 14px;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  header {
    padding: 0 20px;
  }

  .hero-text h1 {
    font-size: 35px;
  }

  .about-container {
    flex-direction: column;
    padding: 0 20px;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

  section {
    padding: 60px 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .counter-box {
    width: 120px;
    padding: 15px;
  }

  .gallery-container,
  .news-container {
    grid-template-columns: 1fr;
  }
}
/* LOGIN DROPDOWN */

.dropdown{
position:relative;
}

.dropdown-menu{
position:absolute;
top:40px;
left:0;
background:#003366;
list-style:none;
display:none;
min-width:180px;
border-radius:5px;
padding:5px 0;
}

.dropdown-menu li{
padding:10px 15px;
}

.dropdown-menu li a{
color:white;
text-decoration:none;
display:block;
}

.dropdown-menu li:hover{
background:#ff9800;
}


.dropdown-menu.show{
display:block;
}


.dropdown{
position:relative;
}

.dropdown-menu{
position:absolute;
top:100%;
left:0;
background:#003366;
list-style:none;
display:none;
min-width:180px;
border-radius:5px;
}

.dropdown-menu li{
padding:10px 15px;
}

.dropdown-menu li a{
color:white;
text-decoration:none;
display:block;
}

.dropdown-menu li:hover{
background:#ff9800;
}
.dropdown-menu{
opacity:0;
visibility:hidden;
transform:translateY(10px);
transition:0.3s;
}
.dropdown:hover .dropdown-menu{
opacity:1;
visibility:visible;
transform:translateY(0);
}
@media (hover: hover){
.dropdown:hover .dropdown-menu{
display:block;
}
}
.popup {
  display: none;
}

.popup.show {
  display: flex;
}

.popup.show{
opacity:1;
visibility:visible;
}


.popup-box::before{
content:"";
position:absolute;
top:-50%;
left:-50%;
width:200%;
height:200%;
background:linear-gradient(60deg,transparent,rgba(255,255,255,0.3),transparent);
transform:rotate(25deg);
animation:shine 4s infinite;
}

.input-group input{
width:100%;
padding:12px 10px 12px 35px;
border:none;
border-radius:6px;
outline:none;
background:rgba(255,255,255,0.9);
}

.login-btn{
width:100%;
padding:12px;
background:linear-gradient(45deg,#ff9800,#ff5722);
color:white;
border:none;
border-radius:6px;
cursor:pointer;
font-size:16px;
transition:0.3s;
}

.login-btn:hover{
transform:scale(1.05);
box-shadow:0 8px 20px rgba(0,0,0,0.3);
}

.close-btn{
position:absolute;
right:15px;
top:10px;
font-size:26px;
cursor:pointer;
color:white;
transition:0.3s;
}

.close-btn:hover{
transform:rotate(90deg) scale(1.2);
color:#ff9800;
}
.login-btn:active{
transform:scale(0.95);
}
.input-group input:focus{
box-shadow:0 0 15px rgba(255,152,0,0.8);
}


.popup{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
backdrop-filter:blur(5px);
display:flex;
justify-content:center;
align-items:center;
opacity:0;
visibility:hidden;
transition:0.4s;
z-index:3000;
}

.popup.show{
opacity:1;
visibility:visible;
}


.popup-box{
background:linear-gradient(135deg,#003366,#0066cc);
padding:40px;
width:380px;
border-radius:15px;
text-align:center;
color:white;
position:relative;
overflow:hidden;
transform:translateY(-80px) scale(0.8);
opacity:0;

transition:0.4s;
}

.popup.show .popup-box{
transform:translateY(0) scale(1);
opacity:1;
animation:popupIn 0.4s ease;
}

@keyframes popupIn{
0%{
transform:translateY(-100px) scale(0.8);
opacity:0;
}
100%{
transform:translateY(0) scale(1);
opacity:1;
}
}
#admissionPopup .popup-box{
width:950px;
max-width:95%;
max-height:90vh;
overflow-y:auto;
background:white;
color:#333;
padding:35px;
border-radius:10px;
}

#admissionPopup .form-columns{
display:flex;
gap:30px;
margin-bottom:20px;
}

#admissionPopup .column{
flex:1;
}

#admissionPopup h3{
margin-top:20px;
margin-bottom:10px;
color:#003366;
border-bottom:2px solid #eee;
padding-bottom:5px;
}



#admissionPopup label{
font-weight:bold;
font-size:14px;
}



#admissionPopup input,
#admissionPopup select,
#admissionPopup textarea{
width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:6px;
margin-bottom:10px;
}

/* textarea */

#admissionPopup textarea{
min-height:70px;
resize:vertical;
}

/* submit button */

#admissionPopup button{
width:100%;
padding:12px;
background:#003366;
color:white;
border:none;
border-radius:6px;
font-size:16px;
cursor:pointer;
margin-top:15px;
}

#admissionPopup button:hover{
background:#00aa0e;
}



#admissionPopup .popup-box::-webkit-scrollbar{
width:8px;
}

#admissionPopup .popup-box::-webkit-scrollbar-thumb{
background:#003366;
border-radius:5px;
}
#admissionPopup .close-btn{
position:absolute;
top:15px;
right:20px;
font-size:28px;
color:#003366;
cursor:pointer;
z-index:5000;
}

#admissionPopup .close-btn:hover{
color:#ff9800;
transform:rotate(90deg) scale(1.2);
}
.popup-box{
position:relative;
}

/* mobile */

@media(max-width:768px){

#admissionPopup .form-columns{
flex-direction:column;
}

}

section{
scroll-margin-top:90px;
}

.form-header h1{

margin:0;
color:#e0921d;
font-size:24px;

}



/* checkbox */

.checkbox{

display:flex;
gap:10px;
margin-top:10px;

}

/* button */

#admissionPopup button{

width:100%;
padding:12px;
background:#003366;
color:white;
border:none;
border-radius:5px;
font-size:16px;
margin-top:20px;
cursor:pointer;

}

#admissionPopup button:hover{

background:#0055aa;

}

/* HEADER */

#admissionPopup .form-header{

display:flex;
align-items:center;
margin-top: 0;
margin-bottom: 0s;
background:linear-gradient(orange);
border-radius:8px;
color:white;
}

#admissionPopup .school-logo{

width:170px;
height: 100%;

}

/* TITLE */

#admissionPopup .school-title{

font-size:24px;

}

#admissionPopup .school-subtitle{

font-size:14px;

}

/* SECTION TITLE */

#admissionPopup h2{

background:#003366;

color:white;

padding:8px;

border-radius:4px;

margin-top:25px;

}
section h2{
text-align:center;
font-size:32px;
color:#003366;
margin-bottom:40px;
position:relative;
}

section h2::after{
content:"";
width:80px;
height:4px;
background:#ff9800;
display:block;
margin:10px auto 0;
border-radius:5px;
}


#admissionPopup .form-row{

display:grid;

grid-template-columns:200px 1fr;

gap:15px;

align-items:center;

margin-bottom:12px;

}

/* LABEL */

#admissionPopup label{

font-weight:bold;

color:#003366;

}

/* INPUT */

#admissionPopup input,
#admissionPopup select,
#admissionPopup textarea{

padding:10px;

border:1px solid #ccc;

border-radius:6px;

font-size:14px;

background:white;

}

/* PLACEHOLDER */

#admissionPopup input::placeholder,
#admissionPopup textarea::placeholder{

color:#8899aa;

}

/* INPUT FOCUS */

#admissionPopup input:focus,
#admissionPopup select:focus,
#admissionPopup textarea:focus{

border-color:#00aaff;

box-shadow:0 0 6px rgba(0,170,255,0.5);

outline:none;

}

/* BUTTON */

#admissionPopup button{

width:100%;

padding:14px;

background:linear-gradient(90deg,#086600,#00aaff);

border:none;

border-radius:6px;

color:white;

font-size:16px;

cursor:pointer;

transition:0.3s;

}

#admissionPopup button:hover{

transform:translateY(-2px);

box-shadow:0 6px 15px rgba(0,0,0,0.2);

}

/* MOBILE */

@media(max-width:700px){

#admissionPopup .form-row{

grid-template-columns:1fr;

}

}
.form-columns{

display:flex;
gap:30px;

}

.column{

flex:1;
display:flex;
flex-direction:column;
gap:10px;

}

#admissionForm h3{

background:#0b4d89;
color:white;

padding:8px;
border-radius:4px;

font-size:15px;

}
/* popup animation */

@keyframes popupFade{

from{
opacity:0;
transform:scale(0.9);
}

to{
opacity:1;
transform:scale(1);
}

}


/* heading */

.form-header h1{

margin:0;
font-size:26px;

}


/* labels */

.form-row label{

font-weight:600;
margin-bottom:5px;
color:#003366;

}

/* inputs */

.form-row input,
.form-row select,
.form-row textarea{

padding:10px;
border:2px solid #ddd;
border-radius:6px;
transition:0.3s;

}

/* input focus animation */

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus{

border-color:#00aaff;
box-shadow:0 0 6px rgba(0,170,255,0.4);
outline:none;

}

/* textarea */

textarea{

resize:vertical;

}

/* checkbox */

.checkbox{

display:flex;
gap:10px;
margin-top:10px;

}

/* submit button */

#admissionPopup button{

width:100%;
padding:14px;
border:none;
border-radius:6px;

background:linear-gradient(45deg,#003366,#00aaff);

color:white;
font-size:17px;
font-weight:bold;

cursor:pointer;

transition:0.3s;

}

/* button hover animation */

#admissionPopup button:hover{

transform:translateY(-2px);

background:linear-gradient(45deg,#0055aa,#00ccff);

box-shadow:0 6px 15px rgba(0,0,0,0.2);

}

#admissionPopup .school-title{
font-size:28px;
color:#003366;
font-weight:bold;
}

#admissionPopup .school-subtitle{
font-size:16px;
color:#555;
}

#admissionPopup input:focus,
#admissionPopup select:focus,
#admissionPopup textarea:focus{

border-color:#00aaff;
box-shadow:0 0 8px rgba(0,170,255,0.4);

}

#admissionPopup .form-row{
display:grid;
grid-template-columns:200px 1fr;
align-items:center;
gap:15px;
margin-bottom:12px;
}

/* input style */

#admissionPopup input,
#admissionPopup select,
#admissionPopup textarea{

width:100%;
padding:10px;
border:1px solid #ccc;
border-radius:6px;
font-size:14px;
}


.form-row{
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 20px;
margin-bottom: 15px;
}

/* FULL WIDTH FIELD */
.form-group{
display: flex;
flex-direction: column;
}

.form-group.full{
grid-column: 1 / -1;
}

/* INPUT STYLE */
.form-group input,
.form-group select,
.form-group textarea{
padding: 10px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 14px;
width: 100%;
}


@media (max-width:768px){
.form-row{
grid-template-columns: 1fr;
}
}

.checkbox{
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
cursor: pointer;
}

.checkbox input[type="checkbox"]{
width: 14px;
height: 14px;
margin: 0;
cursor: pointer;
}

.checkbox-group{
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
border-color: #ff6600;
outline: none;
box-shadow: 0 0 5px rgba(255,102,0,0.3);
}


.form-btn{
background: #0b3c6d;
color: #fff;
padding: 12px;
border: none;
border-radius: 6px;
cursor: pointer;
font-size: 16px;
transition: 0.3s;
}

.form-btn:hover{
background: #ff6600;
}


@media(max-width:700px){
#admissionPopup .form-row{
grid-template-columns:1fr;
}
}

@keyframes shine{
0%{transform:translateX(-100%) rotate(25deg);}
100%{transform:translateX(100%) rotate(25deg);}
}

.input-group i{
position:absolute;
left:10px;
top:50%;
transform:translateY(-50%);
color:#003366;
}

.input-group input{
width:100%;
padding:12px 12px 12px 35px;
border:none;
border-radius:6px;
outline:none;
transition:0.3s;
}

.input-group input:focus{
box-shadow:0 0 10px rgba(255,255,255,0.6);
transform:scale(1.03);
}
.login-btn{
width:100%;
padding:12px;
background:linear-gradient(45deg,#ff9800,#ff5722);
border:none;
border-radius:6px;
color:white;
font-size:16px;
cursor:pointer;
transition:0.3s;
}

.login-btn:hover{
transform:scale(1.08);
box-shadow:0 0 20px rgba(255,152,0,0.8);
}


.input-group{
position:relative;
margin-bottom:20px;
}

.input-group input{
width:100%;
padding:12px 40px 12px 40px;
border-radius:8px;
border:none;
outline:none;
background:rgba(255,255,255,0.9);
font-size:15px;
}

.input-group i{
position:absolute;
left:12px;
top:50%;
transform:translateY(-50%);
color:#003366;
}


.eye-icon{
position:absolute;
right:12px;
top:50%;
transform:translateY(-50%);
cursor:pointer;
color:#333;
}
body{
transform:none !important;
transition:none !important;
}

section:hover{
transform:none !important;
}

.container:hover{
transform:none !important;
}
body{
margin:0;
padding:0;
}

*{
box-sizing:border-box;
}

html, body{
overflow-x:hidden;
width:100%;
}

.logo-area {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

/* LOGO IMAGE */
.logo-area img {
  height: 55px;
  width: auto;
  object-fit: contain;
  transition: 0.3s;
}

/* HOVER EFFECT */
.logo-area img:hover {
  transform: scale(1.05);
}

.admission-icon{
color:white;
font-size:22px;
margin-left:10px;
transition:0.3s;
}

.admission-icon:hover{
color:#ff9800;
transform:scale(1.2);
}
.contact-title{
text-align:center;
font-size:32px;
margin-bottom:40px;
color:#003366;
}



.contact-container{
display:flex;
gap:40px;
flex-wrap:wrap;
justify-content:center;
}

/* LEFT */

.contact-left{
flex:1;
min-width:300px;
max-width:500px;
}

.contact-left h3{
color:#003366;
margin-bottom:15px;
}

.contact-left p{
margin-bottom:10px;
color:#444;
}

.contact-left i{
color:#ff9800;
margin-right:8px;
}

/* FORM */

.contact-form input,
.contact-form textarea{
width:100%;
padding:10px;
margin-top:10px;
border:1px solid #ccc;
border-radius:6px;
outline:none;
}

.contact-form button{
margin-top:10px;
width:100%;
padding:12px;
background:#003366;
color:white;
border:none;
border-radius:6px;
cursor:pointer;
transition:0.3s;
}

.contact-form button:hover{
background:#ff9800;
}

/* MAP */

.contact-map{
flex:1;
min-width:300px;
}

.contact-map iframe{
width:100%;
height:350px;
border:0;
border-radius:10px;
box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

#contact {
  padding: 80px 40px;
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  align-items: flex-start;
}

/* LEFT SIDE FIX */
.contact-left {
  flex: 1;
  min-width: 300px;
}

/* RIGHT SIDE MAP FIX */
.contact-map {
  flex: 1;
  min-width: 300px;
}


.contact-left,
.contact-map {
  padding: 0;
}


@media (max-width: 768px) {
  #contact {
    padding: 60px 20px;
  }

  .contact-container {
    flex-direction: column;
    gap: 20px;
  }
}
.contact-left {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.contact-map iframe {
  height: 100%;
  min-height: 350px;
}


#news {
  padding: 80px 40px;
  background: linear-gradient(135deg, #e3f2fd, #ffffff);
}

.section-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 40px;
  color: #003366;
}

.news-wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  justify-content: center;
}

/* GLASS CARD */
.news-card {
  flex: 1;
  min-width: 280px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(10px);
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: 0.4s;
  position: relative;
}

.news-card:hover {
  transform: translateY(-10px) scale(1.02);
}



/* ===== AUTO SLIDER ===== */
.news-slider {
  height: 180px;
  overflow: hidden;
  position: relative;
}

/* ONLY NEWS SLIDER */
.news-slider .news-slide {
  padding: 15px;
  animation: slideMove 8s infinite;
  border-bottom: 1px solid #eee;
}

/* NEW TAG */
.news-slide span {
  background: orange;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 5px;
  border-radius: 5px;
}

/* EVENTS */
.event {
  display: flex;
  gap: 15px;
  padding: 15px;
  align-items: center;
  border-bottom: 1px solid #eee;
}

.date {
  background: linear-gradient(135deg,#007bff,#00c6ff);
  color: white;
  padding: 10px;
  border-radius: 10px;
  text-align: center;
  font-weight: bold;
}

/* NOTICE */
.news-card ul {
  list-style: none;
  padding: 20px;
}

.news-card ul li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}

/* SLIDER ANIMATION */
@keyframes slideMove {
  0% { transform: translateY(0); }
  25% { transform: translateY(-50px); }
  50% { transform: translateY(-100px); }
  75% { transform: translateY(-150px); }
  100% { transform: translateY(0); }
}

/* MOBILE */
@media(max-width:768px){
  #news {
    padding: 60px 20px;
  }
}
#campus-events {
  padding: 80px 40px;
}

#news h2 {

  font-size: 36px;
  text-align: center;
  font-weight: 800;


  background: linear-gradient(90deg, #003366, #007bff, #ff9800,red, #003366);
  background-size: 300%;

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  animation: newsGradient 5s linear infinite;

  margin-bottom: 40px;
  position: relative;
}


@keyframes newsGradient {
  0% { background-position: 0% }
  100% { background-position: 300% }
}


#news h2::after {
  content: "";
  width: 100px;
  height: 4px;
  background: linear-gradient(90deg,#ff9800,#ff5722);
  display: block;
  margin: 10px auto;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(255,152,0,0.7);
}
/* COMMON HEADING STYLE */
#news h2,
#campus-events h2 {
  text-align: center;
  font-size: 32px;
  color: #003366; /* main blue */
  margin-bottom: 30px;
  position: relative;
}

/* ORANGE UNDERLINE EFFECT */
#news h2::after,
#campus-events h2::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #ff9800;
  display: block;
  margin: 10px auto 0;
  border-radius: 2px;
} 

#news {
  background: white;
  padding: 80px 40px;
  color: white;
}

/* HEADING */
#news h2 {
  text-align: center;
  font-size: 38px;
  font-weight: 800;
  margin-bottom: 50px;
  position: relative;
}

/* UNDERLINE */
#news h2::after {
  content: "";
  width: 120px;
  height: 4px;
  background: #ff9800;
  display: block;
  margin: 12px auto;
  border-radius: 5px;
}

/* GRID */
.news-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 25px;
}

/* CARD */
.news-card {
  background: white;
  color: #333;
  padding: 20px;
  border-radius: 12px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

/* CARD HOVER */
.news-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

/* CARD TOP GLOW LINE */
.news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg,#ff9800,#ff5722);
}

/* CARD TITLE */
.news-card h3 {
  margin-bottom: 15px;
  color: #003366;
}


.news-slide span {
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 3px;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,100% {opacity:1;}
  50% {opacity:0.5;}
}
.news-wrapper{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 25px;
margin-top: 40px;
}
/* SLIDER CONTAINER */
.news-slider {
  height: 160px;
  overflow: hidden;
  position: relative;
}


.news-track {
  display: flex;
  flex-direction: column;
  animation: scrollNews 12s linear infinite;
}

/* EACH NEWS */
.news-slide {
  height: 40px;
  display: flex;
  align-items: center;
  font-size: 14px;
  padding: 5px 0;
}

/* ANIMATION */
@keyframes scrollNews {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

/* HOVER = PAUSE 🔥 */
.news-slider:hover .news-track {
  animation-play-state: paused;
}

/* NEW TAG */
.news-slide span {
  background: red;
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  margin-left: 8px;
  border-radius: 3px;
}

/* EVENTS */
.event {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
  padding: 10px;
  border-radius: 8px;
  transition: 0.3s;
}

.event:hover {
  background: #f5f5f5;
  transform: translateX(5px);
}

/* DATE BOX */
.date {
  background: #ff9800;
  color: white;
  padding: 10px;
  text-align: center;
  font-weight: bold;
  border-radius: 6px;
  min-width: 50px;
}

/* NOTICE LIST */
.news-card ul {
  padding-left: 15px;
}

.news-card ul li {
  margin-bottom: 10px;
  transition: 0.3s;
}

.news-card ul li:hover {
  color: #ff9800;
  transform: translateX(5px);
}
 /* FIXED CARD SIZE */
.news-card{
  height: 450px !important;
  display:flex;
  flex-direction:column;
  overflow:hidden;
}

/* HEADER COLOR (LIGHT BLUE) */
.news-card h3{
  background:#2196f3 !important;
  color:white;
  padding:10px;
  margin:0;
}

/* SCROLL AREA */
.scroll-box{
  flex:1;
  overflow-y:auto;
  padding:10px;
}

/* SCROLLBAR */
.scroll-box::-webkit-scrollbar{
  width:5px;
}
.scroll-box::-webkit-scrollbar-thumb{
  background:#cccccd;
}

/* NEWS TICKER */
.news-ticker{
  overflow:hidden;
  padding:10px;
}

.news-track{
  display:inline-block;
  white-space:nowrap;
  animation:scroll 15s linear infinite;
}

/* PAUSE ON HOVER */
.news-ticker:hover .news-track{
  animation-play-state: paused;
}

/* ANIMATION */
@keyframes scroll{
  0%{transform:translateX(100%)}
  100%{transform:translateX(-100%)}
}
/* NEWS TICKER BOX */
.news-ticker{
  flex:1;
  overflow:hidden;
  position:relative;
  padding:10px;
}

/* VERTICAL TRACK */
.news-track{
  display:flex;
  flex-direction:column;
  animation:scrollUp 12s linear infinite;
}

/* EACH NEWS ITEM */
.news-track span{
  display:block;
  padding:8px 0;
  font-size:14px;
}

/* ANIMATION (BOTTOM → TOP) */
@keyframes scrollUp{
  0%{transform:translateY(100%);}
  100%{transform:translateY(-100%);}
}

/* HOVER PAUSE */
.news-ticker:hover .news-track{
  animation-play-state: paused;
}
/* NEW BADGE */
.new-badge{
  background:red;
  color:white;
  font-size:10px;
  padding:2px 6px;
  margin-left:6px;
  border-radius:10px;
  font-weight:bold;
  animation:blink 1s infinite;
}

/* BLINK EFFECT */
@keyframes blink{
  0%{opacity:1;}
  50%{opacity:0.4;}
  100%{opacity:1;}
}
.new-badge{
  display:inline-block;  
  width:auto;             
  background:red;
  color:white;
  font-size:10px;
  padding:2px 6px;
  margin-left:6px;
  border-radius:6px;
  font-weight:bold;
  animation:blink 1s infinite;
}

.news-track span{
  display:flex;
  align-items:center;
  gap:5px;
}
.new-badge{
  background:linear-gradient(45deg,red,#ff4d4d);
  box-shadow:0 0 5px rgba(255,0,0,0.5);
}

/* container */
.news-bar{
    overflow: hidden;
    white-space: nowrap;
    background:orangered;
    color: white;
    padding: 10px;
}

/* moving text */
.news-text{
    display: inline-block;
    padding-left: 100%;
    animation: scrollNews 12s linear infinite;
}

/* animation */
@keyframes scrollNews{
    0%{
        transform: translateX(0%);
    }
    100%{
        transform: translateX(-100%);
    }
}

/* PAUSE ON HOVER */
.news-bar:hover .news-text{
    animation-play-state: paused;
}


.principal-modern {
  display: flex;
  align-items: center;
  gap: 40px;
  margin: 60px 0;
  flex-wrap: wrap;
}

.principal-modern.reverse {
  flex-direction: row-reverse;
}

/* IMAGE BOX FIX */
.img-box.large {
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.2);
}

.img-box.large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* TEXT */
.principal-content {
  flex: 1;
}

.principal-content h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.principal-content p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.principal-content h4 {
  margin-top: 15px;
  font-weight: bold;
}

.principal-role {
  color: #666;
  font-size: 14px;
}

/* MOBILE */
@media(max-width: 768px){
 .principal-modern {
  display: flex;
  gap: 40px;
  align-items: center;
}

  .principal-modern.reverse {
    flex-direction: column;
  }

  .img-box.large {
    width: 100%;
    height: 300px;
  }
}
/* Reverse layout for manager */
.principal-modern.reverse {
  flex-direction: row-reverse;
}
.top-success{
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: #28a745;
  color: #fff;
  padding: 15px 25px;
  border-radius: 8px;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.5s;
  z-index: 9999;
}

.top-success.show{
  top: 20px;
}