  *{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family: 'Segoe UI', sans-serif;
}

body{
  background:#f4f6f9;
  
}

/* ===== NAVBAR ===== */

.navbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height: 100px;
    background:#0f172a;
    color:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 40px;
    z-index:1000;
    transition:all 0.3s ease;
}

/* Sticky Effect */
.navbar.scrolled{
    background:#0b1220;
    padding:8px 40px;
    box-shadow:0 6px 20px rgba(0,0,0,0.25);
}

/* Logo */
.logo-section{
    display:flex;
    flex-direction:column;
}

.logo-img{
    height:50px;
    width:auto;
    border-radius: 100px;
}

.motto{
    font-size:12px;
    color:#cbd5e1;
}

/* Navigation Links */
.nav-links{
    display:flex;
    gap:25px;
    align-items:center;
}

.nav-links a{
    text-decoration:none;
    color:white;
    font-size:15px;
    transition:0.3s;
}

.nav-links a:hover{
    color:#38bdf8;
}

/* Confidential */
.confidential{
    border-left:1px solid #334155;
    padding-left:20px;
    margin-left:10px;
    display:flex;
    gap:20px;
}

/* Menu Buttons */
.menu-btn{
    display:none;
    font-size:24px;
    cursor:pointer;
}

.close-btn{
    display:none;
}

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

    .navbar{
        justify-content:center;
        padding:15px 20px;
    }

    .logo-section{
        position:absolute;
        left:50%;
        transform:translateX(-50%);
        align-items:center;
        text-align:center;
    }

    .logo-img{
        height:40px;
    }

    .menu-btn{
        display:block;
        position:absolute;
        right:20px;
    }

    .nav-links{
        position:fixed;
        top:0;
        right:-100%;
        width:100%;
        height:100vh;
        background:#0f172a;
        flex-direction:column;
        align-items:flex-start;
        padding:30px;
        transition:0.4s;
    }

    .nav-links.active{
        right:0;
    }

    .nav-links a{
        width:100%;
        padding:15px 0;
        border-bottom:1px solid #1e293b;
        font-size:16px;
    }

    .confidential{
        border:none;
        padding-left:0;
        margin-left:0;
        flex-direction:column;
        width:100%;
    }

    .close-btn{
        display:block;
        font-size:28px;
        align-self:flex-end;
        margin-bottom:20px;
        cursor:pointer;
    }
}

/* Content */
.content{
    padding-top:120px;
    text-align:center;
}
/* NAVBAR */


/* MOBILE */

@media(max-width:768px){

  nav{
    flex-direction:column;
    align-items:flex-start;
  }

  .hero h2{
    font-size:28px;
  }

}




/* hero section  */
/* HERO */

.hero{
  background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
  url('/home_images/jharschool.png') center/cover;
background-position: 40%;
  height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
  text-align:center;
  color:white;
  padding-top:100px;
}


.hero h2{
  font-size:42px;
  margin-bottom:15px;
   font-weight: bold;
}

.hero p{
  max-width:700px;
  margin:auto;
  margin-bottom:20px;
  font-weight: bold;
}

.hero button{
  padding:12px 28px;
  background:#124e0d;
  border:none;
  color:green;
  font-size:16px;
  border-radius:5px;
  cursor:pointer;
   font-weight: bold;
}

.hero button:hover{
  background:#e68900;
}


/* footer  */

.footer{
background-image:url("/home_images/jharschool4.png");
background-size:cover;
background-position:center;
color:rgb(255, 221, 221);
padding:50px 20px;
position:relative;
}

.footer::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.7);
}

.footer *{
position:relative;
z-index:2;
}


.footer-top{
padding:50px 20px;
max-width:1200px;
margin:auto;
}

.footer-brand{
text-align:center;
margin-bottom:40px;
}

.footer-brand h2{
font-size:30px;
color:#38bdf8;
margin-bottom:10px;
}

.footer-brand p{
color:#cbd5f5;
max-width:600px;
margin:auto;
}

.footer-container{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.footer-col h3{
margin-bottom:15px;
font-size:18px;
border-bottom:2px solid #38bdf8;
display:inline-block;
padding-bottom:5px;
}

.footer-col ul{
list-style:none;
padding:0;
}

.footer-col ul li{
margin-bottom:10px;
}

.footer-col a{
text-decoration:none;
color:#cbd5f5;
font-size:14px;
transition:0.3s;
}

.footer-col a:hover{
color:#38bdf8;
padding-left:5px;
}

.footer-col p{
font-size:14px;
color:#cbd5f5;
}

.social{
margin-top:10px;
}

.social a{
margin-right:10px;
font-size:20px;
text-decoration:none;
color:white;
}

.footer-bottom{
border-top:1px solid #1e293b;
padding:15px;
display:flex;
justify-content:space-between;
align-items:center;
max-width:1200px;
margin:auto;
}

.footer-bottom p{
font-size:14px;
color:#94a3b8;
}

#topBtn{
background:#38bdf8;
border:none;
padding:8px 12px;
cursor:pointer;
border-radius:5px;
font-size:16px;
}

@media (max-width:768px){

.footer-container{
grid-template-columns:1fr;
text-align:center;
}

.footer-bottom{
flex-direction:column;
gap:10px;
}

.footer-col h3{
border:none;
}

}

/* footer ends here */


/* FULL SCREEN SECTION */
.link-section{
  position:fixed;
  top:0;
  left:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,0.5);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:9999;
}

/* BOX */
.link-box{
  width:95%;
  max-width:500px;
  height:80vh;
  background:#fff;
  border-radius:10px;
  padding:20px;
  overflow-y:auto;
  position:relative;
}

/* TITLE */
.link-box h2{
  margin-bottom:15px;
}

/* CLOSE */
.close-x{
  position:absolute;
  top:10px;
  right:10px;
  border:none;
  background:none;
  font-size:22px;
  cursor:pointer;
}

/* LINKS */
.section-links a{
  display:block;
  padding:10px;
  border-bottom:1px solid #eee;
  text-decoration:none;
  color:#333;
}

/* MOBILE FIX */
@media(max-width:500px){
  .link-box{
    height:90vh;
    padding:15px;
  }
}


/* triable lang section  */

/* ===== Section ===== */
.lang-section{
  width:100%;
  padding:12px;
  background:#f7f7f7;
  display:flex;
  justify-content:center;
}

/* ===== Card ===== */
.lang-card{
  width:100%;
  max-width:420px;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* ===== Image ===== */
.img-box{
  width:100%;
}

.img-box img{
  width:100%;
  height:auto;
  display:block;
}

/* ===== Content ===== */
.content{
  padding:14px;
}

.content h2{
  font-size:17px;
  margin-bottom:6px;
  color:#222;
}

.content p{
  font-size:14px;
  line-height:1.5;
  color:#444;
}

/* ===== Anchor Button ===== */
.content a{
  display:inline-block;
  margin-top:10px;
  padding:9px 14px;
  background:#0b7a35;
  color:#fff;
  text-decoration:none;
  border-radius:7px;
  font-size:14px;
}

/* ===== Responsive ===== */
@media (min-width:600px){
  .content h2{font-size:19px;}
  .content p{font-size:15px;}
}


/*  festival  */

/* ===== Section ===== */
.festival-section{
  width:100%;
  padding:12px;
  background:#f4f6f5;
  display:flex;
  justify-content:center;
}

/* ===== Card ===== */
.festival-card{
  width:100%;
  max-width:420px;
  background:#ffffff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* ===== Image ===== */
.festival-img img{
  width:100%;
  height:auto;
  display:block;
}

/* ===== Content ===== */
.festival-content{
  padding:14px;
}

.festival-content h2{
  font-size:17px;
  margin-bottom:6px;
  color:#222;
}

.festival-content p{
  font-size:14px;
  color:#444;
  line-height:1.5;
}

/* ===== Anchor Button ===== */
.festival-content a{
  display:inline-block;
  margin-top:10px;
  padding:9px 14px;
  background:#c45b12;
  color:#fff;
  text-decoration:none;
  border-radius:7px;
  font-size:14px;
}

/* ===== Responsive ===== */
@media (min-width:600px){
  .festival-content h2{font-size:19px;}
  .festival-content p{font-size:15px;}
}


/*  translation  */

.translate-box{
font-size:12px;
display:flex;
align-items:center;
gap:6px;
}

.translate-box select{
font-size:12px;
padding:2px 4px;
cursor:pointer;
}

/* intro jhar */
.jh-intro{
  width:100%;
  padding:12px;
  background:#f5f6f7;
  display:flex;
  justify-content:center;
}

/* ===== Box ===== */
.jh-box{
  width:100%;
  max-width:460px;
  background:#fff;
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 3px 10px rgba(0,0,0,0.08);
}

/* ===== Image ===== */
.jh-img img{
  width:100%;
  height:auto;
  display:block;
}

/* ===== Text ===== */
.jh-text{
  padding:14px;
}

.jh-text h2{
  font-size:17px;
  margin-bottom:6px;
  color:#222;
}

.jh-text p{
  font-size:14px;
  color:#444;
  line-height:1.5;
  margin-bottom:6px;
}

/* ===== Anchor ===== */
.jh-text a{
  display:inline-block;
  margin-top:8px;
  padding:9px 14px;
  background:#0a7b34;
  color:#fff;
  text-decoration:none;
  border-radius:7px;
  font-size:14px;
}

/* ===== Responsive ===== */
@media (min-width:600px){
  .jh-text h2{font-size:19px;}
  .jh-text p{font-size:15px;}
}




/* SECTION */

.main-tribal-section{
  padding:60px 5%;
  background:#f4f6f9;
  text-align:center;
}

.section-title{
  font-size:28px;
  margin-bottom:40px;
  color:#0b3d2e;
}

/* MAIN CARD */

.main-tribal-card{
  display:flex;
  flex-wrap:wrap;
  background:white;
  border-radius:12px;
  overflow:hidden;
  box-shadow:0 6px 15px rgba(0,0,0,0.1);
  max-width:1000px;
  margin:auto;
}

/* IMAGE */

.tribal-image-box{
  flex:1 1 400px;
}

.tribal-image-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* CREDIT */

.image-credit{
  font-size:12px;
  padding:5px;
  background:#eee;
  text-align:left;
}

/* CONTENT */

.tribal-content-box{
  flex:1 1 400px;
  padding:30px;
  text-align:left;
}

.tribal-content-box h3{
  font-size:24px;
  margin-bottom:15px;
  color:#0b3d2e;
}

.tribal-content-box p{
  margin-bottom:20px;
  line-height:1.6;
}

/* BUTTON */

.read-more-btn{
  text-decoration:none;
  background:#ff9800;
  color:white;
  padding:10px 18px;
  border-radius:6px;
  display:inline-block;
}

.read-more-btn:hover{
  background:#e68900;
}

/* MOBILE */

@media(max-width:768px){

  .main-tribal-card{
    flex-direction:column;
  }

  .tribal-content-box{
    padding:20px;
  }

}
