body{
  font-family:Poppins, sans-serif;
  margin:0;
}

header{
  padding:60px;
  text-align:center;
  background:#f4f6f9;
}

/* About Us Section */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:'Poppins',sans-serif;
}

body{
  background:#f4f6f9;
  color:#333;
  overflow-x:hidden;
}

/* ===== HERO SECTION ===== */
.hero{
  height:75vh;
  background:linear-gradient(rgba(10,29,55,.8),rgba(10,29,55,.8)),
  url('https://images.unsplash.com/photo-1588072432836-e10032774350') center/cover;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  color:#fff;
}

.hero h1{
  font-size:50px;
  letter-spacing:2px;
  animation:fadeDown 1.2s ease forwards;
}

.hero p{
  margin-top:15px;
  font-size:18px;
  opacity:0;
  animation:fadeUp 1.5s ease forwards;
  animation-delay:.5s;
}

/* ===== CONTAINER ===== */
.container{
  max-width:1100px;
  margin:80px auto;
  padding:0 20px;
}

/* SECTION TITLE */
.section-title{
  text-align:center;
  font-size:32px;
  color:#0a1d37;
  margin-bottom:30px;
  position:relative;
}

.section-title::after{
  content:'';
  width:80px;
  height:4px;
  background:#ffd700;
  display:block;
  margin:10px auto;
}

/* TEXT */
.content-text{
  font-size:16px;
  line-height:1.9;
  margin-bottom:20px;
  opacity:0;
  text-align:justify;
  transform:translateY(40px);
  animation:fadeUp 1s forwards;
}

.content-text:nth-child(2){animation-delay:.2s}
.content-text:nth-child(3){animation-delay:.4s}
.content-text:nth-child(4){animation-delay:.6s}
.content-text:nth-child(5){animation-delay:.8s}

/* ===== VALUES SECTION ===== */
.values-section{
  margin-top:80px;
}

.values-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:25px;
}

.value-card{
  background:#fff;
  padding:30px;
  border-radius:15px;
  text-align:center;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transition:.4s;
  opacity:0;
  transform:translateY(40px);
  animation:fadeUp 1s forwards;
}

.value-card:nth-child(1){animation-delay:1s}
.value-card:nth-child(2){animation-delay:1.1s}
.value-card:nth-child(3){animation-delay:1.2s}
.value-card:nth-child(4){animation-delay:1.3s}
.value-card:nth-child(5){animation-delay:1.4s}
.value-card:nth-child(6){animation-delay:1.5s}
.value-card:nth-child(7){animation-delay:1.6s}
.value-card:nth-child(8){animation-delay:1.7s}
.value-card:nth-child(9){animation-delay:1.8s}

.value-card:hover{
  transform:translateY(-10px);
  background:#0a1d37;
  color:#fff;
}

.value-card h3{
  margin-top:10px;
  font-size:18px;
  color:#0a1d37;
}

.value-card:hover h3{
  color:#ffd700;
}

.value-icon{
  font-size:40px;
  color:#ffd700;
}

/* FOOTER */
footer{
  margin-top:100px;
  background:#0a1d37;
  color:#fff;
  text-align:center;
  padding:20px;
}

/* ANIMATIONS */
@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

@keyframes fadeDown{
  from{
    opacity:0;
    transform:translateY(-40px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* RESPONSIVE */
@media(max-width:768px){
  .hero h1{font-size:32px;}
  .section-title{font-size:24px;}
}

/*Header Image*/
.page-header {
  background-image:
    linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.65)),
    url("https://images.unsplash.com/photo-1606761568499-6d2451b23c66");
  
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  height: 320px;
  color: #fff;
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.page-header h1 {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: 2px;
  margin: 0;
}

.page-header p {
  font-size: 18px;
  opacity: 0.9;
  margin-top: 10px;
}

/* BACKGROUND IMAGE */
header{
 background:linear-gradient(rgba(0,0,0,.6),rgba(0,0,0,.6)),
 url("https://images.unsplash.com/photo-1588072432836-e10032774350") center/cover;
 color:white;text-align:center;padding:120px 20px;
}

*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif}
html{scroll-behavior:smooth}
body{background:#f4f6f9;color:#333}

/* NAVBAR */
nav{
 position:fixed;top:0;width:100%;z-index:999;
 background:#0a1d37;
 display:flex;justify-content:space-between;
 align-items:center;padding:15px 50px;
}
nav h2{color:#ffd700}
nav ul{display:flex;list-style:none;gap:25px}
nav ul li a{color:white;text-decoration:none;font-weight:500}
nav ul li a:hover{color:#ffd700}

/* SLIDER */
.slider{height:100vh;position:relative;overflow:hidden}
.slide{
 position:absolute;width:100%;height:100%;
 opacity:0;transition:1.2s;
}
.slide.active{opacity:1}
.slide img{
 width:100%;height:100%;object-fit:cover;
 animation:zoom 10s infinite;
}
@keyframes zoom{from{transform:scale(1)}to{transform:scale(1.15)}}
.slide::after{
 content:'';position:absolute;inset:0;
 background:rgba(0,0,0,.6);
}
.content{
 position:absolute;top:50%;left:50%;
 transform:translate(-50%,-50%);
 color:white;text-align:center;z-index:5;
}
.content h1{font-size:55px}
.content p{margin:15px 0}
.content a{
 background:#ffd700;padding:12px 28px;
 border-radius:30px;text-decoration:none;
 color:black;font-weight:600;
}
.controls span{
 position:absolute;top:50%;
 font-size:40px;color:white;
 cursor:pointer;padding:10px;
}
.prev{left:20px}.next{right:20px}

/* SECTION */
section{padding:90px 60px}
.title{text-align:center;margin-bottom:40px}
.title h2{font-size:32px;color:#0a1d37}

/* CARDS */
.cards{
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
 gap:30px;
}
.card{
 background:white;padding:25px;
 border-radius:15px;
 box-shadow:0 10px 25px rgba(0,0,0,.1);
 transition:.4s;
}
.card:hover{transform:translateY(-10px)}

/* COUNTER */
.counter{
 background:#0a1d37;color:white;
 display:grid;
 grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
 padding:60px;text-align:center;
}
.counter h2{color:#ffd700;font-size:40px}

/* FOOTER */
footer{
 background:#06152b;color:white;
 text-align:center;padding:20px;
}

/* RESPONSIVE */
@media(max-width:768px){
 nav{padding:15px 20px}
 nav ul{display:none}
 .content h1{font-size:35px}
 section{padding:70px 30px}
}

/* ===== GALLERY ===== */
.gallery-section{
  padding:100px 60px;
  background:#f4f6f9;
  text-align:center;
}

.gallery-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.gallery-item{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  cursor:pointer;
  box-shadow:0 15px 30px rgba(0,0,0,.2);
}

.gallery-item img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:0.6s;
}

.gallery-item:hover img{
  transform:scale(1.15);
}

.overlay{
  position:absolute;
  inset:0;
  background:linear-gradient(to top,rgba(0,0,0,.8),transparent);
  display:flex;
  align-items:flex-end;
  justify-content:center;
  color:white;
  font-size:18px;
  font-weight:600;
  padding:20px;
  opacity:0;
  transition:0.5s;
}

.gallery-item:hover .overlay{
  opacity:1;
}

/* ===== SCHOOL FOOTER ===== */
.school-footer{
  background:#0a1d37;
  color:#ffffff;
  padding:60px 80px 0;
}

.footer-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:40px;
  text-align:left;              
}

.footer-box h3{
  margin-bottom:15px;
  font-size:18px;
  color:#ffd700;
  text-align:left;
}

.footer-box p{
  font-size:14px;
  line-height:1.6;
  text-align:left;
}

.footer-box ul{
  list-style:none;
  padding:0;
  margin:0;
  text-align:left;
}

.footer-box ul li{
  margin-bottom:10px;
  font-size:14px;
}

.footer-box ul li a{
  color:#ffffff;
  text-decoration:none;
  transition:0.3s;
}

.footer-box ul li a:hover{
  color:#ffd700;
  padding-left:5px;
}

/* RIGHT SIDE MAP */
.footer-map{
  flex:1;
  min-width:270px;
  height:200px;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 10px 25px rgba(0,0,0,.4);
}

.footer-map iframe{
  width:100%;
  height:100%;
  border:0;
}

/* COPYRIGHT BAR */
.footer-bottom{
  margin-top:40px;
  background:#06152b;
  padding:15px 80px;
  font-size:13px;
  text-align:left;  

/* RESPONSIVE */
@media(max-width:900px){
  .footer-container{
    flex-direction:column;
  }
  .footer-map{
    width:100%;
    height:300px;
  }
}  
}

/* ===== GOOGLE MAP ===== */
.map-section{
  padding:90px 60px;
  background:#fff;
  text-align:center;
}

.map-container{
  margin-top:40px;
  width:100%;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.map-container iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ===== CONTACT US ===== */
*{margin:0;padding:0;box-sizing:border-box;font-family:'Poppins',sans-serif}
body{background:#f4f6f9}
nav{background:#0a1d37;padding:15px 50px;display:flex;justify-content:space-between}
nav a{color:white;text-decoration:none;margin-left:20px}
header{
 background:#0a1d37;color:white;text-align:center;
 padding:80px 20px;
}
section{padding:70px 60px}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:30px}
.card{background:white;padding:25px;border-radius:15px;box-shadow:0 10px 25px rgba(0,0,0,.1)}
input,textarea{
 width:100%;padding:12px;margin-top:10px;
 border-radius:8px;border:1px solid #ccc
}
button{
 background:#ffd700;border:none;padding:12px 25px;
 border-radius:30px;font-weight:600;cursor:pointer
}
footer{background:#06152b;color:white;text-align:center;padding:20px}

/* ===== DROPDOWN MENU ===== */
.menu li{
  position:relative;
}

.dropdown .submenu{
  position:absolute;
  top:100%;
  left:0;
  background:#0a1d37;
  min-width:220px;
  display:none;
  flex-direction:column;
  padding:10px 0;
  border-radius:8px;
  box-shadow:0 10px 25px rgba(0,0,0,.3);
}

.dropdown:hover .submenu{
  display:block;
}

.submenu li{
  padding:8px 20px;
}

.submenu li a{
  color:white;
  font-size:14px;
}

.submenu li a:hover{
  color:#ffd700;
}

/* ===== ANIMATED DOWNLOAD BUTTON ===== */
.calendar-btn{
  display:inline-block;
  margin-top:25px;
  padding:14px 30px;
  background:#ffd700;
  color:#000;
  font-weight:600;
  border-radius:30px;
  text-decoration:none;
  animation:pulseBtn 2s infinite;
}

.calendar-btn:hover{
  background:#ffcc00;
}

@keyframes pulseBtn{
  0%{box-shadow:0 0 0 0 rgba(255,215,0,.7)}
  70%{box-shadow:0 0 0 18px rgba(255,215,0,0)}
  100%{box-shadow:0 0 0 0 rgba(255,215,0,0)}
}

/* ===== CONTINUOUS SCROLLING EVENTS ===== */
.events-scroll{
  height:220px;
  overflow:hidden;
  position:relative;
}

.events-list{
  list-style:none;
  padding:0;
  margin:0;
  animation:scrollEvents 14s linear infinite;
}

.events-list li{
  padding:12px 0;
  font-size:15px;
  border-bottom:1px solid #eee;
}

@keyframes scrollEvents{
  0%{transform:translateY(0)}
  100%{transform:translateY(-50%)}
}

/* ===== CALENDAR + EVENTS ===== */
.calendar-events-section{
  padding:90px 80px;
  background:#f4f6f9;
}

.calendar-events-section .title{
  text-align:left;
  margin-bottom:30px;
}

.calendar-events-container{
  display:flex;
  gap:40px;
  align-items:flex-start;
}

/* LEFT BOX */
.calendar-box{
  flex:1;
  background:white;
  padding:30px;
  border-radius:18px;
  box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.calendar-box h3{
  margin-bottom:20px;
  color:#0a1d37;
}

.calendar-list{
  list-style:none;
  padding:0;
}

.calendar-list li{
  padding:10px 0;
  border-bottom:1px dashed #ccc;
  font-size:15px;
}

.calendar-list li span{
  font-weight:600;
  color:#0a1d37;
  display:inline-block;
  width:120px;
}

/* RIGHT BOX */
.events-box{
  flex:1;
  background:white;
  padding:30px;
  border-radius:18px;
  box-shadow:0 15px 30px rgba(0,0,0,.12);
}

.events-box h3{
  margin-bottom:20px;
  color:#0a1d37;
}

.events-list{
  list-style:none;
  padding:0;
}

.events-list li{
  padding:12px 0;
  font-size:15px;
  border-bottom:1px solid #eee;
}

/* RESPONSIVE */
@media(max-width:900px){
  .calendar-events-container{
    flex-direction:column;
  }
}

/* PAY FEES FLOAT BUTTON */
.pay-fees-float{
  position:fixed;
  bottom:95px;                
  right:25px;
  background:#ff9800;
  color:#fff;
  padding:14px 18px;
  border-radius:30px;
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:600;
  text-decoration:none;
  z-index:9999;
  animation:feesPulse 2s infinite;
}

/* ICON */
.pay-fees-float i{
  font-size:20px;
}

/* HOVER */
.pay-fees-float:hover{
  background:#e68900;
  transform:scale(1.05);
}

/* PULSE ANIMATION */
@keyframes feesPulse{
  0%{box-shadow:0 0 0 0 rgba(255,152,0,.7)}
  70%{box-shadow:0 0 0 18px rgba(255,152,0,0)}
  100%{box-shadow:0 0 0 0 rgba(255,152,0,0)}
}

/* MOBILE: ICON ONLY */
@media(max-width:768px){
  .pay-fees-float span{
    display:none;
  }
}

/* ===== GOOGLE MAP ===== */
.map-section{
  padding:90px 60px;
  background:#fff;
  text-align:center;
}

.map-container{
  margin-top:40px;
  width:100%;
  height:420px;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 15px 30px rgba(0,0,0,.15);
}

.map-container iframe{
  width:100%;
  height:100%;
  border:0;
}

/* ===== FOOTER SOCIAL ICONS ===== */
.footer-social{
  margin-top:15px;
  display:flex;
  gap:12px;
}

.footer-social a{
  width:38px;
  height:38px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#132b4f;
  color:#fff;
  font-size:16px;
  text-decoration:none;
  transition:all .3s ease;
}

/* HOVER ANIMATION */
.footer-social a:hover{
  background:#ffd700;
  color:#000;
  transform:translateY(-5px) scale(1.1);
  box-shadow:0 8px 20px rgba(0,0,0,.3);
}

/* OPTIONAL: CONTINUOUS PULSE */
.footer-social a{
  animation:socialPulse 3s infinite;
}

@keyframes socialPulse{
  0%{box-shadow:0 0 0 0 rgba(255,215,0,.4)}
  70%{box-shadow:0 0 0 10px rgba(255,215,0,0)}
  100%{box-shadow:0 0 0 0 rgba(255,215,0,0)}
}

/* ===== ADMISSION IMAGE POPUP ===== */
.admission-popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:10000;
  display:none;
  align-items:center;
  justify-content:center;
}

.admission-popup-box{
  position:relative;
  max-width:420px;
  width:90%;
  animation:popupZoom .4s ease;
}

.admission-popup-box img{
  width:100%;
  border-radius:14px;
  cursor:pointer;
}

/* CLOSE BUTTON */
.popup-close{
  position:absolute;
  top:-12px;
  right:-12px;
  width:32px;
  height:32px;
  background:#ff0000;
  color:#fff;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:20px;
  cursor:pointer;
  font-weight:bold;
}

/* ANIMATION */
@keyframes popupZoom{
  from{transform:scale(.7);opacity:0}
  to{transform:scale(1);opacity:1}
}

/* ===== LEFT ICON FLOAT PANEL ===== */
.left-icon-panel{
  position:fixed;
  top:45%;
  left:0;
  transform:translateY(-50%);
  z-index:9999;
}

/* BUTTON BASE */
.icon-btn{
  display:flex;
  align-items:center;
  width:48px;                /* ICON ONLY WIDTH */
  padding:12px;
  margin:6px 0;
  background:#0a1d37;
  color:#fff;
  border-radius:0 30px 30px 0;
  text-decoration:none;
  overflow:hidden;
  transition:width .4s ease;
}

/* ICON */
.icon-btn i{
  font-size:20px;
  min-width:24px;
  text-align:center;
}

/* TEXT (HIDDEN INITIALLY) */
.icon-btn span{
  margin-left:10px;
  white-space:nowrap;
  opacity:0;
  transition:opacity .3s ease;
  font-size:14px;
}

/* HOVER EFFECT */
.icon-btn:hover{
  width:160px;               /* EXPAND ON HOVER */
}

.icon-btn:hover span{
  opacity:1;
}

/* COLORS */
.icon-btn.erp{background:#1e3c72;}
.icon-btn.app{background:#3ddc84;}
.icon-btn.whatsapp{
  background:#25D366;
  animation:whatsPulse 2s infinite;
}

/* WHATSAPP PULSE */
@keyframes whatsPulse{
  0%{box-shadow:0 0 0 0 rgba(37,211,102,.6)}
  70%{box-shadow:0 0 0 14px rgba(37,211,102,0)}
  100%{box-shadow:0 0 0 0 rgba(37,211,102,0)}
}

/* MOBILE: KEEP ICON ONLY */
@media(max-width:768px){
  .icon-btn:hover{
    width:48px;
  }
  .icon-btn span{
    display:none;
  }
}

.admission-tab{
  position:fixed;
  right:-5px;
  top:50%;
  transform:translateY(-50%);
  background:#ffd700;
  padding:15px 20px;
  border-radius:10px 0 0 10px;
  z-index:1000;
  animation:pulse 2s infinite;
}
.admission-tab a{
  text-decoration:none;
  font-weight:600;
  color:#000;
}
@keyframes pulse{
  0%{transform:translateY(-50%) scale(1)}
  50%{transform:translateY(-50%) scale(1.05)}
  100%{transform:translateY(-50%) scale(1)}
}

/* ===== 7 C’s SECTION ===== */
.seven-c-section{
  padding:50px 40px;
  background:#0a1d37;
  color:#fff;
  text-align:center;
}

.seven-c-title{
  font-size:24px;
  margin-bottom:30px;
}

/* GRID */
.seven-c-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
  gap:20px;
}

/* CARD */
.c-card{
  perspective:800px;
}

.c-inner{
  position:relative;
  width:100%;
  height:150px;
  transform-style:preserve-3d;
  transition:transform .6s;
}

.c-card:hover .c-inner{
  transform:rotateY(180deg);
}

/* FRONT & BACK */
.c-front,.c-back{
  position:absolute;
  width:100%;
  height:100%;
  border-radius:12px;
  background:#132b4f;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  backface-visibility:hidden;
  padding:10px;
}

.c-front i{
  font-size:26px;
  color:#ffd700;
  margin-bottom:6px;
}

.c-front h3{
  font-size:14px;
}

.c-back{
  transform:rotateY(180deg);
  font-size:13px;
  cursor:pointer;
}

/* ===== POPUP ===== */
.popup{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:9999;
}

.popup-content{
  background:#fff;
  color:#000;
  width:360px;
  max-width:90%;
  margin:120px auto;
  padding:25px;
  border-radius:12px;
  text-align:center;
}

.popup-content h2{
  color:#0a1d37;
}

.close{
  float:right;
  font-size:22px;
  cursor:pointer;
}

.news{padding:80px 60px;background:#f4f6f9}
.news-cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}
.news-card{
  background:white;
  padding:25px;
  border-radius:15px;
  box-shadow:0 10px 25px rgba(0,0,0,.1);
  transform:translateY(30px);
  opacity:0;
  animation:fadeInUp 1s forwards;
}
.news-card:nth-child(2){animation-delay:.3s}
.news-card:nth-child(3){animation-delay:.6s}

@keyframes fadeInUp{
  to{opacity:1;transform:translateY(0)}
}

.newsletter-btn{
  display:inline-flex;
  align-items:center;
  gap:12px;
  padding:15px 36px;
  background:linear-gradient(135deg,#0a1d37,#1e90ff);
  color:#fff;
  font-size:16px;
  font-weight:600;
  border-radius:50px;
  text-decoration:none;
  position:relative;
  overflow:hidden;
  animation:newsletterPulse 2s infinite;
}

/* ICON ANIMATION */
.newsletter-btn i{
  font-size:20px;
  animation:iconFloat 1.6s infinite ease-in-out;
}

/* HOVER EFFECT */
.newsletter-btn:hover{
  transform:scale(1.08);
}

/* PULSE GLOW */
@keyframes newsletterPulse{
  0%{box-shadow:0 0 0 0 rgba(30,144,255,.7)}
  70%{box-shadow:0 0 0 18px rgba(30,144,255,0)}
  100%{box-shadow:0 0 0 0 rgba(30,144,255,0)}
}

/* ICON FLOAT */
@keyframes iconFloat{
  0%,100%{transform:translateY(0)}
  50%{transform:translateY(-6px)}
}