:root {
  --primary: #0f172a;
  --accent: #F8DF3F;
  --light: #f8fafc;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Noto Sans Devanagari',sans-serif;
}

body {
  background: var(--light);
  color: #1e293b;
}

/* HEADER */
header{
    position: sticky;
    top: 0;
    background: rgba(15,23,42,.9);
    backdrop-filter: blur(10px);
    padding: 10px 50px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    z-index: 99999;
    min-height:90px;
}

nav{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:30px;
    height:100%;
}

.logo{
    display:flex;
    align-items:center;
}

.logo img{
    height:68px;
    width:auto;
    display:block;
}


nav a{
    display:flex;
    align-items:center;
    height:100%;
    color:white;
    text-decoration:none;
    font-size:16px;
    font-weight:500;
    position:relative;
    margin:0;
}

nav a::after {
  content: '';
  position: absolute;
  height: 2px;
  width: 0;
  background: var(--accent);
  bottom: -5px;
  left: 0;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}


/* HAMBURGER */
/* HAMBURGER */

.hamburger{
    display:none;
    background:none;
    border:none;
    color:white;
    font-size:34px;
    cursor:pointer;
}

/* Mobile */
@media (max-width:900px){

header{
    position:relative;
    padding:15px 20px;
}

.hamburger{
    display:block;
    background:none;
    border:none;
    color:#fff;
    font-size:34px;
    cursor:pointer;
    z-index:100001;
}

nav{
    display:none;

    position:absolute;
    top:100%;
    left:0;

    width:100%;

    background:#0f172a;

    flex-direction:column;
    align-items:center;

    padding:20px 0;
    gap:0;

    z-index:100000;
}

nav.active{
    display:flex;
}

nav a{
    width:100%;
    justify-content:center;
    padding:18px 0;
}

}



/* HERO */
img{
    max-width:100%;
    display:block;
}

.hero-video{
    background:#000;
}

.hero{
    position:relative;
    height:100vh;
    overflow:hidden;
}

.hero-video{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    opacity:0;
    transition:none;
    z-index:1;
}

.hero-video.active{
    opacity:1;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.45);
    z-index:2;
}

.hero-content{
    position:absolute;
    top:50%;
    left:8%;
    transform:translateY(-50%);
    z-index:3;
    color:white;
    max-width:750px;
}

.hero-tag{
    display:inline-block;
    padding:10px 22px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    border-radius:40px;
    margin-bottom:25px;
    font-weight:600;
}

.hero h1{
    font-size:48px;
    line-height:1.15;
    margin-bottom:25px;
}

.hero p{
    font-size:20px;
    line-height:1.8;
    margin-bottom:35px;
    color:#eee;
}

.hero-buttons{
    display:flex;
    gap:18px;
    flex-wrap:wrap;
}

.btn-primary{
    background:var(--accent);
    color:#111;
    padding:15px 32px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.btn-secondary{
    border:2px solid white;
    color:white;
    padding:15px 32px;
    border-radius:8px;
    text-decoration:none;
    font-weight:600;
}

.btn-primary:hover{
    background:white;
}

.btn-secondary:hover{
    background:white;
    color:#111;
}

#hero-title,
#hero-desc{
    transition:.5s;
}




/* SECTION */
section {
  padding: 80px 60px;
}

.section-title {
  text-align: center;
  font-size: 2.1rem;
  margin-bottom: 20px;
}

/*  */
/* SPLIT SECTION */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.split.reverse {
  direction: rtl;
}

.split.reverse .split-text {
  direction: ltr;
}

.split-img img {
  width: 100%;
  height: 400px;
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.split-text p {
  margin-bottom: 15px;
  color: #64748b;
  line-height: 1.7;
}


/* FEATURES */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px,1fr));
  gap: 25px;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-8px);
}

/* TEAM */
.team {
  text-align: center;
}

.team img {
  width: 100%;
  border-radius: 12px;
}

/* GALLERY */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  cursor: pointer;
  border-radius: 10px;
  transition: 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.03);
}

.more-gallery{
    display: none;
}

.more-gallery.show{
    display: contents;
}

.gallery-btn{
    display: block;
    margin: 30px auto 0;
    padding: 12px 28px;
    background: #F8DF3F;
    color: #000;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.gallery-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(0,0,0,.15);
}

/* MAP */
.map iframe {
  width: 100%;
  height: 400px;
  border-radius: 10px;
}

/* FOOTER */
footer {
  background: rgba(15,23,42,0.95);
  color: white;
  padding: 50px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 30px;
}


/* FACILITY SECTION */
.facility-wrap{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
  margin-top:50px;
}

.facility-box{
  background:white;
  border-radius:18px;
  padding:35px;
  box-shadow:0 15px 40px rgba(0,0,0,0.06);
  transition:0.35s;
  position:relative;
  overflow:hidden;
}

.facility-box:hover{
  transform:translateY(-10px);
}

.facility-box::before{
  content:'';
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:5px;
  background:var(--accent);
}

.facility-box h3{
  font-size:1.5rem;
  margin-bottom:18px;
  color:var(--primary);
}

.facility-box p{
  color:#64748b;
  line-height:1.8;
  margin-bottom:18px;
}

.facility-list{
  list-style:none;
  margin-top:20px;
}

.facility-list li{
  margin-bottom:14px;
  color:#475569;
  padding-left:28px;
  position:relative;
  line-height:1.6;
}

.facility-list li::before{
  content:'✓';
  position:absolute;
  left:0;
  color:var(--accent);
  font-weight:bold;
}

/* OBJECTIVES SECTION */
.objectives{
  background:linear-gradient(135deg,#0f172a,#1e293b);
  color:white;
  border-radius:20px;
  padding:60px;
  margin-top:50px;
}

.objectives h2{
  text-align:center;
  margin-bottom:40px;
  font-size:2.5rem;
}

.objective-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:25px;
}

.objective-card{
  background:rgba(255,255,255,0.06);
  padding:25px;
  border-radius:16px;
  backdrop-filter:blur(8px);
  border:1px solid rgba(255,255,255,0.08);
}

.objective-card h4{
  margin-bottom:12px;
  color:#F8DF3F;
}

.objective-card p{
  color:#e2e8f0;
  line-height:1.7;
}

/* INFO STRIP */
.info-strip{
  background:white;
  border-radius:16px;
  padding:35px;
  box-shadow:0 10px 35px rgba(0,0,0,0.05);
  margin-top:50px;
}

.info-strip h3{
  margin-bottom:20px;
  color:var(--primary);
  font-size:1.8rem;
}

.info-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:20px;
}

.info-item{
  background:#f8fafc;
  padding:20px;
  border-radius:14px;
  border-left:4px solid var(--accent);
}

.info-item h4{
  margin-bottom:10px;
  color:#0f172a;
}

.info-item p{
  color:#64748b;
  line-height:1.7;
}


section{
    scroll-margin-top:100px;
}

.footer-link{
  color:white;
  text-decoration:none;
  display:block;
  margin-bottom:14px;
  position:relative;
  width:fit-content;
  transition:0.3s;
}

.footer-link::after{
  content:'';
  position:absolute;
  height:2px;
  width:0;
  background:var(--accent);
  bottom:-5px;
  left:0;
  transition:0.3s;
}

.footer-link:hover::after{
  width:100%;
}



/* images full screen pop up */
.lightbox{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
}

.lightbox.active{
    display:flex;
}

.lightbox img{
    width:55vw;
    height:55vh;
    object-fit:contain;
    border-radius:10px;
}

.close{
    position:absolute;
    top:25px;
    right:40px;
    font-size:45px;
    color:white;
    cursor:pointer;
}





/* ======================================================
   RESPONSIVE DESIGN
====================================================== */

/* ---------- Tablets ---------- */
@media (max-width:1024px){

header{
    padding:12px 30px;
}

section{
    padding:70px 35px;
}

.hero-content{
    left:6%;
    max-width:650px;
}

.hero h1{
    font-size:42px;
}

.hero p{
    font-size:18px;
}

.split{
    gap:35px;
}

.split-img img{
    height:340px;
}

.gallery{
    grid-template-columns:repeat(2,1fr);
}

.objectives{
    padding:45px 35px;
}

}


/* ---------- Mobile ---------- */
@media (max-width:768px){

header{
    padding:12px 20px;
    min-height:75px;
}

.logo img{
    height:55px;
}

section{
    padding:55px 20px;
}

.section-title{
    font-size:1.7rem;
}

/* Hero */

.hero{
    height:85vh;
}

.hero-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    width:90%;
    max-width:500px;

    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
}
.hero-tag{
    font-size:14px;
    padding:8px 18px;
    margin-bottom:20px;

}

.hero h1{
    font-size:1.7rem;   /* 32px */
    line-height:1.2;
    margin-bottom:15px;
}

.hero p{
    font-size:17px;
    margin-bottom:28px;
}

.hero-buttons{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
    width:100%;
}

.btn-primary,
.btn-secondary{
    width:220px;
    padding:12px 20px;
    font-size:15px;
    text-align:center;
}
/* Split sections */

.split,
.split.reverse{
    grid-template-columns:1fr;
    direction:ltr;
    gap:25px;
}

.split-img{
    order:1;
}

.split-text{
    order:2;
}

.split-img img{
    height:auto;
}

/* Cards */

.grid{
    grid-template-columns:1fr;
}

.facility-wrap{
    grid-template-columns:1fr;
}

.objective-grid{
    grid-template-columns:1fr;
}

.info-grid{
    grid-template-columns:1fr;
}

.objectives{
    padding:35px 22px;
}

.objectives h2{
    font-size:2rem;
}

.info-strip{
    padding:25px;
}

/* Gallery */

.gallery{
    grid-template-columns:1fr;
}

.gallery img{
    height:240px;
}

/* Contact */

#contact > div{
    grid-template-columns:1fr !important;
}

/* Footer */

footer{
    padding:50px 20px 25px;
}

.footer-grid{
    grid-template-columns:1fr;
    gap:40px;
}

.lightbox img{
    width:90vw;
    height:70vh;
}

}


/* ---------- Small Phones ---------- */
@media (max-width:480px){

    .hero-content{
    left:50%;
    top:50%;
    transform:translate(-50%, -50%);
    width:92%;
    max-width:380px;

    text-align:center;

    display:flex;
    flex-direction:column;
    align-items:center;
}

    .hero{
        height:80vh;
    }

    .hero h1{
        font-size:1.45rem;
        line-height:1.25;
    }

    .hero p{
        font-size:16px;
    }

    .section-title{
        font-size:1.45rem;
    }

    .card,
    .facility-box{
        padding:22px;
    }

    .facility-box h3{
        font-size:1.2rem;
    }

    .objectives h2{
        font-size:1.6rem;
    }

.btn-primary,
.btn-secondary{
    width:100%;
    max-width:260px;
    padding:12px 18px;
    font-size:15px;
}

    .hero-buttons{
    width:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}
    .logo img{
        height:48px;
    }

    nav a{
        font-size:17px;
    }

}