/* =====================================================
   GLOBAL
===================================================== */

*,
*::before,
*::after{
  box-sizing:border-box;
}

body{
  font-family:'Noto Sans Devanagari', sans-serif;
  margin:0;
  background:#f8fafc;
  line-height:1.7;
  overflow-x:hidden;
  display:flex;
  flex-direction:column;
  min-height:100vh;
}

main{ flex:1; }

.container{
  max-width:1300px;
  margin:auto;
  padding:0 20px;
}

/* =====================================================
   HEADER
===================================================== */

.main-header{
  background:white;
  border-bottom:1px solid #e5e7eb;
   position: relative;
  z-index: 1000;
}

.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:12px 0;
  position:relative;
}

/* Brand */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand img{
  width:55px;
  height:55px;
  border-radius:50%;
}

.brand-text h1{
  margin:0;
  font-size:26px;
  color:#1e3a8a;
  line-height:1.2;
  white-space:nowrap;
}

.tagline{
  font-size:13px;
  color:#2563eb;
  white-space:nowrap;
}

/* Navigation (Desktop Same Line) */
.nav-links{
  display:flex;
  gap:22px;
  align-items:center;
}

.nav-links a{
  text-decoration:none;
  color:#1e3a8a;
  font-size:16px;
  position:relative;
  white-space:nowrap;
}

/* Hover underline */
.nav-links a::after{
  content:"";
  position:absolute;
  left:0;
  bottom:-4px;
  width:0%;
  height:2px;
  background:#2563eb;
  transition:0.3s;
}

.nav-links a:hover::after{
  width:100%;
}

/* Right section */
.header-actions{
  display:flex;
  align-items:center;
  gap:15px;
}

/* English Button */
.lang-btn{
  background:#1e3a8a;
  color:white;
  padding:7px 14px;
  border-radius:6px;
  text-decoration:none;
  font-size:14px;
  white-space:nowrap;
  display:flex;
  align-items:center;
}

.lang-btn::before{
  content:"🌐 ";
}

/* Prevent underline animation */
.lang-btn::after{
  display:none !important;
}

/* Menu Toggle (hidden on desktop) */
.menu-toggle{
  display:none;
  align-items:center;
  gap:6px;
  background:#1e3a8a;
  color:white;
  padding:7px 14px;
  border-radius:6px;
  font-size:14px;
  cursor:pointer;
  white-space:nowrap;
}

/* Hamburger lines */
.hamburger{
  width:18px;
  height:2px;
  background:white;
  position:relative;
}

.hamburger::before,
.hamburger::after{
  content:"";
  position:absolute;
  width:18px;
  height:2px;
  background:white;
  left:0;
}

.close-icon{
  font-size:18px;
  font-weight:bold;
}

.hamburger::before{ top:-6px; }
.hamburger::after{ top:6px; }

/* =====================================================
   MOBILE
===================================================== */

@media(max-width:900px){

  .nav-links{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    width:100%;
    background:#1e3a8a;
    flex-direction:column;
    padding:10px 0;
  }

  .nav-links.active{
    display:flex;
  }

  .nav-links a{
    color:white;
    padding:12px 0;
    text-align:center;
    border-bottom:1px solid rgba(255,255,255,0.2);
  }

  .menu-toggle{
    display:flex;
  }

  .header-actions{
    flex-direction:column;
    align-items:flex-end;
    gap:8px;
  }

  .lang-btn,
  .menu-toggle{
    width:120px;
    height:36px;
    justify-content:center;
    padding:0;
  }

  .brand-text h1{
    font-size:22px;
  }

 .tagline{
    font-size:12px;
    white-space:normal;
    line-height:1.4;
  }

}

/* =====================================================
   SLIDER
===================================================== */

.slider{
  position:relative;
  width:100%;
  height:420px;
  overflow:hidden;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity 1s ease;
}

.slide.active{ opacity:1; }

.slide-text{
  position:absolute;
  bottom:40px;
  left:50%;
  transform:translateX(-50%);
  color:white;
  font-size:26px;
  font-weight:600;
  text-align:center;
  width:90%;
}

/* =====================================================
   WORK SECTION
===================================================== */

.work-section{
  padding:60px 0;
}

.work-section h2{
  text-align:center;
  margin-bottom:25px;
}

.work-section ul{
  max-width:600px;
  margin:0 auto;
  padding-left:20px;
}

/* =====================================================
   PRERNA
===================================================== */

.prerna{
  background:#eff6ff;
  padding:50px 0;
}

.prerna p{
  font-size:16px;
  line-height:1.8;
  color:#444;
}

/* =====================================================
   GALLERY
===================================================== */

.gallery-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(250px,1fr));
  gap:15px;
  margin-top:30px;
}

.gallery-grid img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:10px;
}

/* =====================================================
   FOOTER
===================================================== */

footer{
  text-align:center;
  padding:20px;
  background:#1e3a8a;
  color:white;
}

/* =====================================================
   HEADINGS
===================================================== */

h2{
  color:#1e3a8a;
  font-weight:700;
  margin-bottom:20px;
}
