*{
  box-sizing:border-box;
}

html, body{
  width:100%;
  overflow-x:hidden;
}

body{
  font-family:'Segoe UI',sans-serif;
  line-height:1.7;
}

.hero-section{
  height:85vh;
  background:linear-gradient(120deg,#0f2027,#203a43,#2c5364);
  color:#fff;
  display:flex;
  align-items:center;
  min-height:75vh;

}

.hero-section h1{
  font-size:3.2rem;
  font-weight:800;
}

.hero-section p{
  font-size:1.1rem;
  margin:20px 0;
}

.stats-section{
  background:#fff;
  padding:40px 0;
}

.stats-section h2{
  color:#203a43;
  font-weight:800;
}

.section{
  padding:80px 0;
}

.image-box{
  height:350px;
  background:#ddd;
  border-radius:12px;
}

.feature-box{
  background:#fff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

.academic-box{
  background:#203a43;
  color:#fff;
  padding:40px;
  border-radius:10px;
  text-align:center;
  font-weight:600;
}

.birthday-img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
}

.cta-section{
  background:linear-gradient(90deg,#b80000,#ff3c3c);
  color:#fff;
  padding:70px 0;
}

.footer{
  background:#0b0b0b;
  color:#aaa;
  padding:30px 0;
}

.news-bar{
  background:#c40000;
  color:#fff;
  font-weight:700;
  padding:10px 0;
  font-size:14px;
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:45px;
  z-index:10000;
  display:flex;
  align-items:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.3);
}


.news-bar marquee{
  letter-spacing:0.5px;
  
}

body{
  padding-top:115px; 
  /* 45px news bar + ~70px navbar */
}


.styx-navbar{
  background:rgba(15,32,39,0.9);
  backdrop-filter: blur(8px);
  position:fixed;
  top:45px; /* 👈 SAME AS NEWS BAR HEIGHT */
  width:100%;
  z-index:9999;
  transition:all 0.3s ease;
}


.styx-navbar .nav-link{
  color:#fff;
  margin:0 8px;
  font-weight:500;
}

.styx-navbar .nav-link:hover{
  color:#ffcc00;
}

.hero-logo{
  max-width:360px;
  width:100%;
  padding:30px;
  border-radius:20px;

  

  /* visual pop */
  filter: brightness(1.15) contrast(1.15) saturate(1.2);
  

  animation: floatLogo 6s ease-in-out infinite;
}

/* Subtle floating animation */
@keyframes floatLogo{
  0%{ transform:translateY(0); }
  50%{ transform:translateY(-12px); }
  100%{ transform:translateY(0); }
}

 .hero-section{
  min-height:80vh;
  display:flex;
  align-items:center;
  margin-top:-20px; /* pulls hero up slightly */
}
/* ================= MOBILE FIXES ================= */

@media (max-width: 991px){

  .hero-section{
    min-height:auto;
    padding:80px 0 60px;
    text-align:center;
  }

  .hero-section h1{
    font-size:2.2rem;
  }

  .hero-section p{
    font-size:1rem;
  }

  .hero-logo-col{
    margin-top:40px;
  }

  .hero-logo{
    max-width:220px;
    padding:20px;
  }
}

@media (max-width: 576px){

  .hero-section h1{
    font-size:1.9rem;
  }

  .hero-logo{
    max-width:180px;
    padding:15px;
  }
}

@media (max-width: 768px){
  .container{
    padding-left:18px;
    padding-right:18px;
  }
}

@media (max-width: 768px){

  h1{
    font-size:2.1rem;
    line-height:1.3;
  }

  h2{
    font-size:1.7rem;
  }

  h3{
    font-size:1.4rem;
  }

  p{
    font-size:0.95rem;
  }
}

@media (max-width: 768px){

  .stats-section .col-md-3{
    margin-bottom:25px;
  }

  .stats-section h2{
    font-size:2rem;
  }
}

@media (max-width: 768px){

  .feature-box{
    margin-bottom:25px;
  }
}

@media (max-width: 768px){

  .academic-box{
    margin-bottom:20px;
    padding:30px;
  }
}

@media (max-width: 768px){

  .birthday-img{
    width:90px;
    height:90px;
  }

  .birthday-section .col-md-3{
    margin-bottom:20px;
  }
}

@media (max-width: 768px){

  .cta-section{
    padding:50px 20px;
  }

  .cta-section h2{
    font-size:1.8rem;
  }

  .cta-section .btn{
    width:100%;
    max-width:260px;
  }
}

@media (max-width: 991px){

  .styx-navbar{
    padding:10px 0;
  }

  .navbar-nav .nav-link{
    padding:10px 0;
    text-align:center;
  }

  .navbar-nav .btn{
    margin-top:10px;
    width:100%;
  }
}

@media (max-width: 768px){

  .section{
    padding:55px 0;
  }
}

/* ================= BIRTHDAY SECTION ================= */

.birthday-section{
  padding:90px 0;
  background:
    radial-gradient(circle at top, #ffffff, #f3f7fa);
  text-align:center;
}

.birthday-header{
  max-width:600px;
  margin:0 auto 60px;
}

.birthday-icon{
  font-size:2.5rem;
  display:block;
}

.birthday-header h2{
  font-weight:800;
  margin:10px 0;
}

.birthday-header p{
  color:#666;
}

.birthday-card{
  position:relative;
  background:#fff;
  border-radius:20px;
  padding:45px 25px 30px;
  box-shadow:0 20px 50px rgba(0,0,0,0.08);
  transition:all 0.35s ease;
  overflow:hidden;
}

.birthday-card:hover{
  transform:translateY(-10px);
  box-shadow:0 30px 70px rgba(0,0,0,0.12);
}

.birthday-ring{
  position:absolute;
  top:-60px;
  left:50%;
  transform:translateX(-50%);
  width:160px;
  height:160px;
  border-radius:50%;
  background:linear-gradient(135deg,#ffcc00,#ff6a00);
  opacity:0.15;
}

.birthday-avatar{
  width:110px;
  height:110px;
  object-fit:cover;
  border-radius:50%;
  border:6px solid #fff;
  box-shadow:0 10px 30px rgba(0,0,0,0.15);
  margin-bottom:15px;
  position:relative;
  z-index:2;
}

.birthday-card h4{
  font-weight:700;
  margin-bottom:5px;
}

.birthday-class{
  font-size:0.9rem;
  color:#777;
}

.birthday-badge{
  margin-top:15px;
  display:inline-block;
  background:linear-gradient(90deg,#ff9800,#ff5722);
  color:#fff;
  padding:6px 14px;
  border-radius:30px;
  font-size:0.85rem;
  font-weight:600;
}

/* ================= MOBILE TWEAKS ================= */

@media (max-width:768px){
  .birthday-section{
    padding:70px 0;
  }

  .birthday-card{
    margin-bottom:25px;
  }
}
.birthday-name{
  font-weight:700;
  margin-bottom:2px;
}

.birthday-class{
  font-size:0.85rem;
  color:#888;
  margin-bottom:12px;
}

.birthday-icon{
  font-size:2.2rem;
  color:#ff9800;
}
.birthday-empty{
  background:#fff;
  padding:40px 30px;
  border-radius:20px;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  text-align:center;
}

.birthday-empty i{
  font-size:2.5rem;
  color:#ccc;
  margin-bottom:15px;
}

.birthday-empty h4{
  font-weight:700;
  margin-bottom:8px;
}

.birthday-empty p{
  color:#777;
  font-size:0.95rem;
}
.hero-section h1{
  font-weight:800;
  letter-spacing:-0.5px;
}

.hero-section p{
  max-width:520px;
  opacity:0.95;
}
.stats-section h2{
  font-weight:800;
  color:#203a43;
}

.stats-section p{
  font-size:0.95rem;
  color:#666;
}
.feature-box{
  background:#fff;
  padding:35px 25px;
  border-radius:16px;
  font-weight:600;
  box-shadow:0 15px 40px rgba(0,0,0,0.08);
  transition:all 0.3s ease;
}

.feature-box:hover{
  transform:translateY(-6px);
  box-shadow:0 25px 60px rgba(0,0,0,0.12);
}
.academic-box{
  font-size:1rem;
  letter-spacing:0.3px;
  box-shadow:0 10px 30px rgba(0,0,0,0.12);
}
.styled-list li{
  font-size:0.95rem;
  color:#444;
}
.motto-section h2{
  font-weight:700;
  letter-spacing:0.5px;
}

.motto-text{
  font-style:italic;
  opacity:0.95;
}
.birthday-name{
  font-size:1.05rem;
}

.birthday-class{
  text-transform:uppercase;
  letter-spacing:0.5px;
}
.section{
  position:relative;
}

.section + .section{
  border-top:1px solid rgba(0,0,0,0.04);
}
@media (max-width:768px){

  h1{ font-size:2rem; }
  h2{ font-size:1.6rem; }
  h3{ font-size:1.3rem; }

  .feature-box,
  .academic-box{
    margin-bottom:20px;
  }
}
.image-box{
  width:100%;
  height:360px;
  border-radius:18px;
  background-image:url("../images/sbd-building.png");
  background-size:cover;
  background-position:center;
  box-shadow:0 20px 50px rgba(0,0,0,0.15);
  position:relative;
  overflow:hidden;
}

/* subtle overlay for premium contrast */
.image-box::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    rgba(0,0,0,0.05),
    rgba(0,0,0,0.25)
  );
}
@media (max-width:768px){
  .image-box{
    height:260px;
    margin-top:25px;
  }
}
/* ===== Leadership Section ===== */

.leadership-section{
  background:#f8f9fb;
}

.leader-img{
  width:220px;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  box-shadow:0 20px 50px rgba(0,0,0,0.18);
  margin-bottom:20px;
}

.leader-title{
  font-weight:700;
  margin-bottom:15px;
}

.leader-name{
  margin-top:20px;
  font-size:0.95rem;
}

.leader-name span{
  color:#777;
  font-size:0.85rem;
}

/* Mobile */
@media (max-width:768px){
  .leader-img{
    width:180px;
    height:180px;
  }

  .leader-title{
    text-align:center;
  }

  .leader-name{
    text-align:center;
  }
}
.gallery-preview-section{
  background:#fff;
}

.gallery-thumb{
  border-radius:16px;
  overflow:hidden;
  box-shadow:0 15px 40px rgba(0,0,0,0.12);
  transition:all 0.3s ease;
}

.gallery-thumb img{
  width:100%;
  height:240px;
  object-fit:cover;
  transition:transform 0.4s ease;
}

.gallery-thumb:hover img{
  transform:scale(1.08);
}
/* ===== Footer ===== */

.main-footer{
  background:#0f172a;
  color:#cbd5e1;
  padding:70px 0 25px;
}

.footer-title{
  color:#fff;
  margin-bottom:18px;
  font-weight:600;
}

.footer-text{
  font-size:0.95rem;
  line-height:1.7;
  margin-bottom:20px;
}

.footer-contact{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-contact li{
  margin-bottom:10px;
  font-size:0.9rem;
}

.footer-contact i{
  color:#38bdf8;
  margin-right:8px;
}

.footer-links{
  list-style:none;
  padding:0;
  margin:0;
}

.footer-links li{
  margin-bottom:10px;
}

.footer-links a{
  color:#cbd5e1;
  text-decoration:none;
  font-size:0.9rem;
  transition:all 0.3s ease;
}

.footer-links a i{
  margin-right:6px;
  font-size:0.8rem;
}

.footer-links a:hover{
  color:#38bdf8;
  padding-left:4px;
}

.footer-map iframe{
  width:100%;
  height:220px;
  border:none;
  border-radius:14px;
}

.footer-bottom{
  margin-top:40px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,0.1);
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  font-size:0.85rem;
}

.footer-bottom a{
  color:#38bdf8;
  text-decoration:none;
  font-weight:600;
}

.footer-bottom a:hover{
  text-decoration:underline;
}

/* Mobile */
@media(max-width:768px){
  .footer-bottom{
    flex-direction:column;
    gap:8px;
    text-align:center;
  }
}
/* ===== Admission Enquiry ===== */

.enquiry-card{
  background:#fff;
  padding:35px;
  border-radius:18px;
  box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

.enquiry-card .form-label{
  font-weight:600;
  font-size:0.9rem;
}

.enquiry-card .btn{
  font-weight:600;
}


/* ===== Safety Manual ===== */

.safety-box{
  background:#ffffff;
  padding:30px;
  border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.safety-box ol{
  padding-left:20px;
  line-height:1.8;
}

.safety-box li{
  margin-bottom:8px;
}

/* Downloads Page */

.downloads-card{
  background:#fff;
  padding:40px;
  border-radius:16px;
  box-shadow:0 20px 60px rgba(0,0,0,0.08);
}

.download-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 0;
  border-bottom:1px solid #eee;
}

.download-item:last-child{
  border-bottom:none;
}

.download-info{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:500;
  font-size:16px;
}

.download-info i{
  color:#e63946;
  font-size:20px;
}

.download-btn{
  min-width:110px;
}