@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Devanagari:wght@400;600;700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --green-900: #1a3a15;
  --green-800: #2d5a27;
  --green-700: #3a7233;
  --green-600: #4a8c3f;
  --green-100: #e8f5e3;
  --green-50: #f3faf1;
  --gold: #c5961a;
  --gold-light: #f5e6b8;
  --text: #1e293b;
  --text-light: #64748b;
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --border-radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--white);
}

body[data-lang="hi"] {
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
}

body[data-lang="en"] [data-lang-hi],
body[data-lang="hi"] [data-lang-en] {
  display: none !important;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Header ── */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}

.header-top {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px 10px;
  gap: 16px;
}

.logo-group {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: inherit;
}

.logo-group img {
  height: 50px;
  width: auto;
  border: 1px solid var(--green-700);
  border-radius: 6px;
  padding: 3px;
  background: var(--white);
}

.logo-text {
  line-height: 1.25;
}

.logo-text .name-en {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--green-800);
}

.logo-text .name-hi {
  font-weight: 600;
  font-size: 0.82rem;
  color: var(--green-700);
}

.logo-text .name-reg {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  margin-top: 2px;
  letter-spacing: 0.02em;
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-nav {
  background: var(--green-800);
}

.nav-links {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 10px 20px;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.nav-links a.active {
  background: rgba(255,255,255,0.15);
  color: var(--white);
  font-weight: 600;
}

.lang-toggle {
  display: flex;
  background: var(--gray-100);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  flex-shrink: 0;
}

.lang-btn {
  padding: 5px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  border: none;
  background: transparent;
  cursor: pointer;
  color: var(--text-light);
  transition: all 0.2s;
}

.lang-btn.active {
  background: var(--green-700);
  color: var(--white);
  border-radius: 20px;
}

/* ── Mobile menu ── */
.mobile-menu-btn {
  display: none;
  background: var(--green-800);
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  padding: 0;
  position: relative;
  flex-shrink: 0;
}

.mobile-menu-btn span,
.mobile-menu-btn span::before,
.mobile-menu-btn span::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  position: absolute;
  left: 10px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.mobile-menu-btn span {
  top: 50%;
  transform: translateY(-50%);
}

.mobile-menu-btn span::before {
  content: '';
  top: -6px;
  left: 0;
}

.mobile-menu-btn span::after {
  content: '';
  top: 6px;
  left: 0;
}

.mobile-menu-btn.active span {
  background: transparent;
}

.mobile-menu-btn.active span::before {
  top: 0;
  transform: rotate(45deg);
}

.mobile-menu-btn.active span::after {
  top: 0;
  transform: rotate(-45deg);
}

/* ── Hero ── */
.hero {
  background: linear-gradient(135deg, var(--green-800) 0%, var(--green-600) 100%);
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 16px;
  line-height: 1.3;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.92;
  max-width: 650px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── Section ── */
.section {
  padding: 56px 0;
}

.section:nth-child(even) {
  background: var(--gray-50);
}

.section-title {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 12px;
  text-align: center;
}

.section-subtitle {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 40px;
  font-size: 1rem;
}

/* ── Services grid ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  padding: 28px 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
  border-color: var(--green-600);
}

.service-icon {
  font-size: 1.7rem;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--green-100);
  border-radius: 50%;
}

.service-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-900);
  margin-bottom: 4px;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Contact ── */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.contact-item {
  text-align: center;
  padding: 24px;
  background: var(--white);
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
}

.contact-item .icon {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.contact-item h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--green-800);
}

.contact-item p,
.contact-item a {
  font-size: 0.9rem;
  color: var(--text-light);
  text-decoration: none;
  line-height: 1.6;
}

.contact-item a:hover {
  color: var(--green-700);
}

.wa-icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.1em;
  color: #25d366;
}

/* ── Legal pages ── */
.legal-page {
  padding: 48px 24px 64px;
}

.legal-page h1 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--green-800);
  margin-bottom: 8px;
}

.legal-meta {
  color: var(--text-light);
  font-size: 0.88rem;
  margin-bottom: 36px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.legal-page h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-900);
  margin-top: 32px;
  margin-bottom: 12px;
}

.legal-page p,
.legal-page li {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
}

.legal-page ul,
.legal-page ol {
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-page li {
  margin-bottom: 6px;
}

/* ── Footer ── */
.site-footer {
  background: var(--green-900);
  color: rgba(255,255,255,0.8);
  padding: 36px 0;
  font-size: 0.85rem;
  text-align: center;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-links {
  margin-bottom: 14px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin: 0 12px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-copy {
  opacity: 0.65;
  font-size: 0.8rem;
}

/* ── Map ── */
.map-wrapper {
  margin-top: 32px;
  text-align: center;
}

.map-label {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 14px;
}

.map-embed {
  width: 100%;
  height: 350px;
  border-radius: var(--border-radius);
  border: 1px solid var(--gray-200);
}

.map-link {
  margin-top: 10px;
  font-size: 0.88rem;
}

.map-link a {
  color: var(--green-700);
  text-decoration: none;
  font-weight: 500;
}

.map-link a:hover {
  text-decoration: underline;
}

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

.gallery-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius);
  overflow: hidden;
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.15s;
}

.gallery-card:hover {
  box-shadow: 0 6px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.gallery-card img {
  width: 100%;
  height: auto;
  display: block;
  border-bottom: 1px solid var(--gray-200);
}

.gallery-caption {
  padding: 18px 20px;
}

.gallery-caption h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-800);
  margin-bottom: 6px;
}

.gallery-caption p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── Lightbox ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.85);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 90vw;
  max-height: 88vh;
  border-radius: 6px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.4);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .header-top {
    padding: 10px 16px 8px;
  }

  .header-top {
    flex-wrap: wrap;
  }

  .logo-group {
    gap: 10px;
    flex: 1;
    min-width: 0;
  }

  .logo-group img {
    height: 36px;
  }

  .logo-text .name-en {
    font-size: 0.72rem;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .logo-text .name-hi {
    display: none;
  }

  .logo-text .name-reg {
    font-size: 0.56rem;
    margin-top: 1px;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-nav {
    display: none;
    border-top: 1px solid rgba(255,255,255,0.15);
  }

  .header-nav.open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    padding: 0;
    gap: 0;
  }

  .nav-links li {
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links li:last-child {
    border-bottom: none;
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    font-size: 0.95rem;
  }

  .nav-links a.active {
    background: rgba(255,255,255,0.12);
    font-weight: 600;
  }

  .hero {
    padding: 40px 20px;
  }

  .hero h1 {
    font-size: 1.5rem;
  }

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

  .section {
    padding: 36px 0;
  }
}
