:root {
  --ink: #172313;
  --muted: #61715d;
  --line: #dce8d7;
  --paper: #f6faf2;
  --surface: #ffffff;
  --green: #18733b;
  --deep: #0f4d31;
  --blue: #2166a5;
  --gold: #dba928;
  --soft: #eaf6dd;
  --shadow: 0 18px 45px rgba(24, 115, 59, 0.14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans Bengali", "Nirmala UI", "Segoe UI", Arial, sans-serif;
  line-height: 1.65;
  background: linear-gradient(120deg, rgba(24, 115, 59, 0.08), transparent 40%), var(--paper);
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.18; }
.container, .nav-wrap, .hero-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
}
.nav-wrap { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.brand img { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 8px; background: #fff; object-fit: contain; }
.brand-name, .brand-subtitle { display: block; line-height: 1.25; }
.brand-name { color: var(--deep); font-size: 16px; font-weight: 900; }
.brand-subtitle { color: var(--muted); font-size: 12px; font-weight: 800; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a { border-radius: 8px; color: #374832; font-size: 14px; font-weight: 850; padding: 10px 12px; }
.nav-links a:hover, .nav-links a.active { background: var(--green); color: #fff; }
.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--green);
  font-size: 22px;
  line-height: 1;
  padding: 0;
  cursor: pointer;
}

.hero { position: relative; overflow: hidden; background: #e7f5e8; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(246, 250, 242, 0.96) 0%, rgba(246, 250, 242, 0.84) 46%, rgba(246, 250, 242, 0.14) 100%),
    url("../img/building-front.jpeg") right center / cover;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(340px, 0.72fr);
  gap: 36px;
  align-items: center;
  min-height: 640px;
  padding: 72px 0;
}
.hero-content h1 { max-width: 760px; margin-bottom: 18px; color: var(--deep); font-size: clamp(34px, 5.4vw, 68px); letter-spacing: 0; }
.hero-content p { max-width: 680px; color: #4e6048; font-size: 18px; }
.eyebrow {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  border-radius: 999px;
  background: var(--soft);
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
  padding: 7px 12px;
  text-transform: uppercase;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 8px; padding: 12px 18px; font-weight: 900; }
.btn-primary { background: var(--green); color: #fff; }
.btn-secondary { border-color: rgba(24, 115, 59, 0.35); background: rgba(255, 255, 255, 0.75); color: var(--deep); }
.hero-card { overflow: hidden; border: 1px solid rgba(24, 115, 59, 0.14); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.hero-card img { width: 100%; height: 290px; object-fit: cover; object-position: center center; }
.hero-card div { padding: 22px; }
.hero-card strong { display: block; color: var(--deep); font-size: 20px; }
.hero-card span { display: block; margin-top: 7px; color: var(--muted); font-weight: 800; }

.quick-info { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; width: min(1160px, calc(100% - 32px)); margin: -38px auto 0; position: relative; z-index: 2; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: var(--line); box-shadow: var(--shadow); }
.quick-info div { background: #fff; padding: 20px; }
.quick-info span { display: block; color: var(--muted); font-size: 13px; font-weight: 900; }
.quick-info strong { display: block; margin-top: 4px; color: var(--deep); }

.section { padding: 82px 0; }
.section-soft { background: #edf7e8; }
.section-title { max-width: 760px; margin-bottom: 26px; }
.section-title h2, .page-hero h1 { color: var(--deep); font-size: clamp(28px, 4vw, 46px); }
.section-title p, .panel p, .gallery-card p { color: var(--muted); }
.split, .grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr); gap: 34px; align-items: center; }
.panel, .gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.panel-pad { padding: 26px; }
.feature-photo, .mosaic img { width: 100%; border-radius: 8px; object-fit: cover; box-shadow: var(--shadow); }
.feature-photo { height: 420px; }
.feature-list { display: grid; gap: 14px; padding: 0; margin: 0; list-style: none; }
.feature-list li { border-left: 4px solid var(--gold); border-radius: 8px; background: #fff; padding: 15px 16px; color: #4a5b45; box-shadow: 0 8px 22px rgba(24, 115, 59, 0.08); }
.feature-list strong { display: block; color: var(--deep); }
.info-list {
  display: grid;
  gap: 12px;
  margin: 0;
}
.info-list div {
  display: grid;
  grid-template-columns: minmax(140px, 0.45fr) minmax(0, 1fr);
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.info-list dt {
  color: var(--muted);
  font-weight: 900;
}
.info-list dd {
  margin: 0;
  color: var(--deep);
  font-weight: 800;
}
.director-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.director-list li {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px 14px;
  color: var(--deep);
  font-weight: 850;
}
.director-list span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.mosaic img { height: 250px; }
.mosaic img:first-child { grid-column: span 2; height: 360px; }
.mosaic img:first-child { object-position: center 42%; }
.cta-band {
  border: 1px solid #cfe4c7;
  border-left: 6px solid var(--green);
  border-radius: 8px;
  background:
    repeating-linear-gradient(135deg, rgba(24, 115, 59, 0.055) 0 12px, transparent 12px 24px),
    #fbfff7;
  padding: 34px 30px;
  box-shadow: 0 14px 36px rgba(24, 115, 59, 0.1);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.cta-band .eyebrow {
  background: transparent;
  color: var(--green);
  padding: 0;
}
.cta-band h2 {
  margin-bottom: 14px;
  color: var(--deep);
  font-size: clamp(28px, 4vw, 42px);
}
.cta-band p {
  margin-bottom: 0;
  color: #4d6049;
  font-size: 17px;
}
.cta-band .btn {
  flex: 0 0 auto;
  background: var(--green);
  color: #fff;
}

.page-hero {
  background: linear-gradient(90deg, rgba(15, 77, 49, 0.92), rgba(24, 115, 59, 0.62)), url("../img/main-gate.jpeg") center / cover;
  color: #fff;
  padding: 86px 0;
}
.page-hero h1 { max-width: 820px; color: #fff; }
.page-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255, 255, 255, 0.88); }
.gallery-hero { background: linear-gradient(90deg, rgba(15, 77, 49, 0.92), rgba(33, 102, 165, 0.55)), url("../img/building-front.jpeg") center / cover; }
.service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.service-grid .panel {
  position: relative;
  min-height: 210px;
  border-color: rgba(24, 115, 59, 0.16);
  background:
    linear-gradient(140deg, rgba(24, 115, 59, 0.08), transparent 42%),
    #ffffff;
  box-shadow: 0 12px 28px rgba(24, 115, 59, 0.09);
}
.service-grid .panel::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  width: 5px;
  border-radius: 0 999px 999px 0;
  background: var(--green);
}
.service-grid .panel::after {
  content: "";
  position: absolute;
  top: 22px;
  right: 22px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--gold) 0 4px, transparent 5px),
    rgba(24, 115, 59, 0.1);
}
.service-grid .panel .eyebrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--deep);
  color: #fff;
  padding: 0;
}
.service-grid .panel h2 {
  max-width: 82%;
  color: var(--deep);
  font-size: 22px;
}
.service-grid .panel p {
  margin-bottom: 0;
}
.contact-layout { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1fr); gap: 24px; align-items: start; }
.contact-list { display: grid; gap: 14px; margin: 0; }
.contact-list div { display: grid; gap: 4px; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.contact-list dt { color: var(--muted); font-weight: 900; }
.contact-list dd { margin: 0; color: var(--deep); font-weight: 800; }
.field { display: grid; gap: 7px; margin-bottom: 14px; }
.field label { color: var(--deep); font-weight: 900; }
.field input, .field textarea { width: 100%; border: 1px solid var(--line); border-radius: 8px; padding: 12px 13px; color: var(--ink); font: inherit; }
.field textarea { min-height: 132px; resize: vertical; }
.form-note { min-height: 28px; margin: 12px 0 0; color: var(--green); font-weight: 800; }
.map-section { width: min(1160px, calc(100% - 32px)); margin: 28px auto 0; overflow: hidden; border-radius: 8px; box-shadow: var(--shadow); }
.map-section iframe { width: 100%; height: 360px; border: 0; display: block; }
.gallery-status { color: var(--muted); font-weight: 800; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.gallery-card { cursor: pointer; }
.gallery-card:hover, .gallery-card:focus { outline: 3px solid rgba(24, 115, 59, 0.22); transform: translateY(-2px); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery-card div { padding: 18px; }
.gallery-card h3 { margin: 0 0 4px; color: var(--deep); }
.gallery-lightbox { position: fixed; inset: 0; z-index: 50; display: none; align-items: center; justify-content: center; background: rgba(10, 20, 12, 0.86); padding: 28px; }
.gallery-lightbox.open { display: flex; }
.gallery-lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; border-radius: 8px; object-fit: contain; }
.gallery-lightbox-close, .gallery-lightbox-arrow { position: absolute; border: 0; border-radius: 8px; background: #fff; color: var(--deep); cursor: pointer; font-size: 28px; font-weight: 900; }
.gallery-lightbox-close { top: 20px; right: 20px; width: 44px; height: 44px; }
.gallery-lightbox-prev, .gallery-lightbox-next { top: 50%; width: 46px; height: 58px; transform: translateY(-50%); }
.gallery-lightbox-prev { left: 20px; }
.gallery-lightbox-next { right: 20px; }
.gallery-lightbox-caption { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); max-width: calc(100% - 32px); border-radius: 8px; background: #fff; color: var(--deep); padding: 10px 14px; font-weight: 900; }

.site-footer { background: #102719; color: #fff; padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.7fr 1fr; gap: 32px; }
.footer-brand { display: flex; gap: 14px; }
.footer-brand img { width: 60px; height: 60px; border-radius: 8px; background: #fff; object-fit: contain; }
.footer-brand strong, .footer-heading, .footer-contact > span { display: block; margin-bottom: 10px; font-weight: 900; }
.footer-brand p, .footer-credit, .footer-copy, .footer-address { color: rgba(255,255,255,0.72); }
.footer-links, .footer-contact { display: grid; gap: 8px; }
.footer-links a, .footer-contact a { color: rgba(255,255,255,0.86); }
.footer-bottom { display: flex; justify-content: space-between; gap: 18px; border-top: 1px solid rgba(255,255,255,0.14); margin-top: 34px; padding-top: 20px; }
.footer-credit a, .copy-brand { color: #fff; font-weight: 900; }

@media (max-width: 900px) {
  .menu-toggle { display: inline-flex; }
  .nav-links { position: absolute; left: 16px; right: 16px; top: 76px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 8px; background: #fff; padding: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-inner, .split, .grid-2, .contact-layout, .footer-grid { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding: 54px 0 72px; }
  .quick-info, .service-grid, .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-band-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 620px) {
  .brand-subtitle { display: none; }
  .hero-content h1 { font-size: 34px; }
  .hero-card img, .feature-photo, .mosaic img, .mosaic img:first-child { height: 300px; }
  .quick-info, .service-grid, .gallery-grid, .mosaic, .director-list { grid-template-columns: 1fr; }
  .info-list div { grid-template-columns: 1fr; }
  .mosaic img:first-child { grid-column: auto; }
  .footer-brand, .footer-bottom { display: grid; }
}
