/* Core settings */
:root {
  --primary: #0f6848;
  --primary-light: #0fa678;
  --accent: #fafafa;
  --text: #222;
}

html {
  scroll-behavior: smooth;
}

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

body {
  color: var(--text);
  line-height: 1.6;
  background: #fff;
}
html, body {
  width: 100%;
  overflow-x: hidden;
}

/* Layout helpers */
.taj-mitra-title {
  margin-left: 20px;
  font-size: clamp(1.4rem, 2.5vw, 2rem); /* ✅ responsive */
  font-weight: 700;
  letter-spacing: 3px;
  color: #17744c;
  font-family: 'Poppins', 'Arial', sans-serif;
  text-shadow: 1px 1px 5px #e0e0e0;
  transition: color 0.3s;
  cursor: pointer;
  white-space: nowrap; /* ✅ ek line fix */
}
.taj-mitra-title:hover {
  color: #0c3a21;
}
.navbar {
  min-height: 70px;
}

.highlight-taj {
  color: #14b789;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
}

.logo {
  max-height: 90px;
  width: auto;
}
.nav-links {
  display: flex;
  gap: 18px;              /* ⭐ MAIN FIX */
  list-style: none;
  align-items: center;
}

.nav-links li a {
  font-size: 1.2rem;
  font-weight: bold;
  color: #1D3757;
  text-transform: uppercase;
  text-decoration: none;
  padding: 8px 12px;      /* ⭐ spacing */
  transition: color 0.2s;
}

.nav-links li a:hover {
  color: #D8232F !important;
  background: #FAF3A6 !important;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

header {
  background: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

.hamburger {
  display: none;
  font-size: 1.8rem;
  cursor: pointer;
}
@media(max-width: 768px) {

  .hamburger {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }
  body.menu-open {
    overflow: hidden;
  }
}
/* Hero */
.hero {
  min-height: 100svh;          /* full mobile height */
  background: url('../images/gallery1.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
 
}


.overlay {
  background: rgba(0, 0, 0, 0.55);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
  padding: 2rem;
}

.hero h1 {
  font-size: clamp(1.8rem, 5vw, 3rem); /* Screen ke hisab se apne aap adjust hoga */
  margin-bottom: 1rem;
  font-weight: 600;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-2px);
}

/* Sections */
.section {
  padding: 5rem 0;
  scroll-margin-top: 90px;
}

.section h2 {
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--primary);
}

.bg-light {
  background: #f9f9f9;
}

.bg-accent {
  background: var(--primary);
  color: #fff;
}

.bg-accent h2 {
  color: #fff;
}

.card {
  background: #fff;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease;
}

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

.card h3 {
  margin-bottom: 1.5rem;
  color: var(--primary);
  font-size: 1.4rem;
}

.card p {
  font-size: 1rem;
  line-height: 1.6;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.gallery-grid img {
  width: 100%;
  height: 250px;
  border-radius: 15px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}
/* Official Seal section */
.official-seal {
  margin-top: 40px;
  padding: 25px;
  background: #f9f9f9;
  border-radius: 15px;
  text-align: center;
}

.official-seal h3 {
  margin-bottom: 15px;
  color: var(--primary);
}

.official-seal a {
  display: inline-block;
  margin: 10px 15px;
}

.official-seal img {
  max-width: 180px;
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  transition: transform 0.3s ease;
}

.official-seal img:hover {
  transform: scale(1.05);
}

.official-seal p {
  margin-top: 15px;
  font-size: 14px;
  color: #444;
}

/* Donate */
.donate-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.bank-details {
  background: rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 15px;
  margin: 2rem 0;
  width: 100%;
}

.bank-details p {
  margin: 0.8rem 0;
  font-size: 1.1rem;
}

.qr-wrap {
  margin: 2rem 0;
}

.qr-wrap img {
  width: 200px;
  height: 200px;
  border-radius: 15px;
  background: #fff;
  padding: 1rem;
}

.qr-wrap p {
  margin-top: 1rem;
  font-size: 1.1rem;
}

/* Contact */
/* Contact */

#contact .map-container {
  margin-top: 25px;
  padding-bottom: 25px;
  position: relative;
}

#contact .map-container::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-top: 25px;
}

/* 👇 NEW FIX */
#contact iframe {
  margin-bottom: 40px;
}

footer {
  margin-top: 40px;
  background: #0d2f24;
  color: #cfd8d6;
  text-align: center;
  padding: 2rem 0;
  font-size: 1rem;
}


/* About section styling */
#about .container p {
  font-size: 1.1rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   FINAL RESPONSIVE FIX (Paste this at the end of style.css)
   ============================================================ */

@media (max-width: 768px) {
  /* 1. Hamburger Icon Visibility */
  .hamburger {
    display: block !important;
    font-size: 2.2rem !important;
    color: #17744c !important; /* Dark Green taaki saaf dikhe */
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2001 !important; /* Menu ke upar rahega */
    position: relative;
  }

  /* 2. Nav Links (Mobile Side Drawer) */
  .nav-links {
    display: flex !important;
    flex-direction: column !important;
    position: fixed !important; 
    top: 0 !important;
    right: -100% !important; /* Shuruat mein hidden */
    width: 280px !important;
    height: 100vh !important;
    background: #ffffff !important;
    padding: 90px 20px 20px 20px !important;
    z-index: 2000 !important; /* Hero image ke upar dikhne ke liye */
    transition: right 0.4s ease-in-out !important;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2) !important;
    list-style: none;
  }

  /* 3. Open class (Jab menu toggle hoga) */
  .nav-links.open {
    right: 0 !important;
  }

  .nav-links li {
    width: 100%;
    border-bottom: 1px solid #f0f0f0;
  }

  .nav-links li a {
    display: block !important;
    padding: 15px 0 !important;
    font-size: 1.2rem !important;
    color: #1D3757 !important;
    text-decoration: none;
  }

  /* 4. Logo aur Text adjustments */
  img.logo { height: 50px !important; margin-right: 10px !important; }
  .brand-text { font-size: 1.1rem !important; white-space: normal !important; }
  
  /* 5. General Grid/Hero fixes */
  .grid-2, .grid-3 { grid-template-columns: 1fr !important; gap: 1.5rem; }
  .hero h1 { font-size: 1.8rem !important; }
  .hero p { font-size: 1rem !important; }
  .section { padding: 3rem 0 !important; }
  #contact .map-container { height: 260px !important; width: 100%; }
}

/* 6. Body Scroll Lock */
body.menu-open {
  overflow: hidden !important;
}
.inclusive-banner {
  background: linear-gradient(90deg, #0f6848, #138f66);
  text-align: center;
  padding: 12px 15px;
}

.inclusive-banner p {
  margin: 0;
  color: #ffffff;
  font-weight: 500;
  font-size: 15px;
  letter-spacing: 0.4px;
}

@media (max-width: 600px) {
  .inclusive-banner p {
    font-size: 14px;
  }
}
/* ✅ FORCE hamburger visibility on mobile */
@media (max-width: 768px) {
  .hamburger {
    display: block !important;
    position: relative !important;
    z-index: 3000 !important;
    font-size: 2.2rem !important;
    color: #17744c !important;
  }

  header {
    position: sticky;
    top: 0;
    z-index: 2500;
  }
}
@media (max-width: 768px) {
  .section {
    scroll-margin-top: 110px;
  }
}
/* 🔥 FINAL FIX FOR ABOUT ANCHOR */
#about {
  scroll-margin-top: 140px;
}

@media (max-width: 768px) {
  #about {
    scroll-margin-top: 160px;
  }
}
/* ✅ FINAL MOBILE FIX – DO NOT EDIT ABOVE */



/* FIX title cut */
@media (max-width: 768px) {
  .taj-mitra-title {
    white-space: normal !important;
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-left: 10px;
  }

  .nav-links li a {
    font-size: 1rem !important;
    letter-spacing: 1px;
    width: auto !important;
  }

  .card,
  .card p {
    height: auto !important;
    overflow: visible !important;
    white-space: normal !important;
    text-overflow: unset !important;
    word-break: break-word;
  }
}