:root{
  --primary:#550000;
  --accent:#f5a623;
  --text:#222;
  --muted:#666;
  --maxW:1400px;
  --pad:20px;
}

*{box-sizing:border-box}
body{
  font-family:"Helvetica Neue",Arial,sans-serif;
  color:var(--text);
  line-height:1.6;
  margin:0;
  background:#ffabab;
}

.container{
  max-width:var(--maxW);
  margin:0 auto;
  padding:0 var(--pad);
}

/* Header */
.site-header{
  background:var(--primary);
  color:#fff;
  position:sticky;
  top:0;
  z-index:50;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
}

/* Logo */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
}
.logo img{height:60px;width:auto;}
.logo-text{display:flex;flex-direction:column;line-height:1.1;font-weight:700;letter-spacing:1px;font-size:30px;}
.logo-text span{font-weight:400;font-size:15px;}

/* Menu */
.main-nav{
  display:flex;
  gap:20px;
  align-items:center;
}
.main-nav a{
  text-decoration:none;
  color:#fff;
  font-weight:600;
  padding:8px 6px;
  font-size:12px;
}
.main-nav a:hover{opacity:0.95;}
.nav-toggle{
  display:none;
  background:none;
  border:none;
  color:#fff;
  font-size:26px;
}

/* Hero */
.hero{
  position: relative;
  height: 70vh;
  color:#fff;
  text-align:center;
  overflow: hidden;
}
.hero-slider .slide{
  position: absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background-size:cover;
  background-position:center;
  opacity:0;
  transition: opacity 1.5s ease-in-out;
}
.hero-slider .slide.active{opacity:1;}
.hero-content{
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%, -50%);
  z-index:10;
  text-shadow: 0px 0px 20px black;
}
.hero h1{font-size:3rem;margin:0 0 10px;}
.hero p{font-size:1.2rem;opacity:0.95;}

/* Sections */
section{padding:48px 0;}
section.alt{background:#fafafa;}
h2{font-size:1.4rem;margin-bottom:12px;color:var(--primary);}
p{margin-bottom:12px;}

/* Grid */
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:12px;}

/* Cards */
.card{
  background:#fff;
  padding:12px;
  border-radius:8px;
  box-shadow:0 2px 6px rgba(0,0,0,0.06);
  text-align:center;
}
.card img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:8px;
}

/* Row Images */
.row.images-row{
  display:flex;
  gap:16px;
  margin-top:12px;
}
.images-row img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:8px;
}

/* Gallery */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
}
.gallery-grid img,
.gallery-grid video,
.gallery-grid iframe{
  width:250px;
  height:250px;
  object-fit:cover;
  border-radius:10px;
  border:3px solid #fff;
  box-shadow:0 3px 8px rgba(0,0,0,0.2);
  margin-bottom:10px;
}

/* Bullets */
.bullets{list-style:disc;margin-left:20px;color:var(--text);}

/* Contact */
.contact-block{
  background:var(--primary);
  color:#fff;
  padding:36px 0;
}
.contact-info a{color:#fff;text-decoration:underline;}
#contact h2{text-align:center;font-size:1.5rem;font-weight:800;margin-bottom:20px;color:#fff;}
#contact .contact-info{text-align:center;font-size:1rem;}

/* Footer */
.site-footer{
  background:#111;
  color:#fff;
  padding:14px 0;
  text-align:center;
  font-size:0.9rem;
}

/* Center text */
.center{text-align:center;}

/* Responsive */
@media (max-width:1000px){
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .gallery-grid{grid-template-columns:repeat(2,1fr);}
  .hero h1{font-size:2.5rem;}
  .hero p{font-size:1rem;}
}

@media (max-width:700px){
  .main-nav{
    position:fixed;
    right:20px;
    top:70px;
    background:var(--primary);
    flex-direction:column;
    padding:16px;
    border-radius:8px;
    display:none;
    gap:12px;
  }
  .main-nav.open{display:flex;}
  .nav-toggle{display:block;}
  .grid-3{grid-template-columns:1fr;}
  .gallery-grid{grid-template-columns:1fr;}
  .logo img{height:40px;}
}

/* Full Gallery Button */
.btn-gallery{
  display:inline-block;
  padding:12px 24px;
  background:var(--primary);
  color:#fff;
  font-weight:600;
  text-decoration:none;
  border-radius:6px;
  transition:0.3s;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
}
.btn-gallery:hover{
  background:#440000;
  transform:translateY(-3px);
  box-shadow:0 6px 10px rgba(0,0,0,0.15);
}

/* Achievement Section */
.achievement-slider{
  margin-top:20px;
  width:100%;
  overflow:hidden;
}
.achievement-slider .slide-track{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:15px;
}
.achievement-slider .slide-track img{
  width:260px;
  height:300px;
  object-fit:cover;
  border-radius:10px;
  border:3px solid #fff;
  box-shadow:0 3px 8px rgba(0,0,0,0.2);
  margin-bottom:10px;
}

/* Infrastructure & Labs */
#infra .infra-img,
#labs .labs-img{
  width:250px;
  height:250px;
  object-fit:cover;
  border-radius:10px;
  border:3px solid #fff;
  box-shadow:0 3px 8px rgba(0,0,0,0.2);
  margin-bottom:10px;
}

/* Extracurricular Activities */
#activities .slide-track img{
  width:250px;
  height:250px;
  object-fit:cover;
  border-radius:10px;
  border:3px solid #fff;
  box-shadow:0 3px 8px rgba(0,0,0,0.2);
  margin-bottom:10px;
}

/* Speciality Section */
#speciality{
  display:flex;
  justify-content:center;
  padding:48px 0;
  background:#fafafa;
}
#speciality .container{
  max-width:700px;
  width:90%;
  background:#fff;
  padding:25px 20px;
  border-radius:10px;
  box-shadow:0 4px 12px rgba(0,0,0,0.15);
  text-align:center;
}
#speciality ul.bullets{
  list-style:none;
  padding:0;
  margin:0;
}
#speciality ul.bullets li{
  margin-bottom:10px;
}
.text-center {
  text-align: center;
}
.text-center p {
  margin-left: auto;
  margin-right: auto;
  display: inline-block; /* optional: makes long paragraphs nicely centered */
}
.footer {
    text-align: center;
    background: #111;
    padding: 40px 20px;
    color: white;
}

.footer h2 {
    font-size: 28px;
    margin-bottom: 20px;
    font-weight: 600;
    color: white;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 35px;
    margin-bottom: 25px;
}

.social-icons a {
    color: white;
    font-size: 32px;
    transition: 0.3s ease;
}

.social-icons a:hover {
    color: #ffcc00; /* Gold hover like your screenshot */
    transform: scale(1.2);
}

.footer .copyright {
    margin-top: 15px;
    font-size: 15px;
    color: #ddd;
}
