:root {
  --ink: #17231c;
  --muted: #64736a;
  --line: #dfe6dc;
  --paper: #f8f7f0;
  --surface: #ffffff;
  --green: #17664a;
  --deep: #163a32;
  --field: #5f7f32;
  --gold: #c8962d;
  --clay: #a9683f;
  --soft: #edf3e7;
  --shadow: 0 18px 44px rgba(33, 55, 37, 0.12);
}

* { 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(135deg, rgba(95, 127, 50, 0.12), transparent 34%),
    linear-gradient(315deg, rgba(169, 104, 63, 0.08), transparent 34%),
    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; letter-spacing: 0; }
.container, .nav-wrap, .hero-inner { width: min(1160px, calc(100% - 32px)); margin: 0 auto; }

.site-header { position: sticky; top: 12px; z-index: 30; border-bottom: 0; background: transparent; }
.nav-wrap { min-height: 74px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border: 1px solid rgba(23, 102, 74, 0.14); border-radius: 18px; background: rgba(255, 255, 255, 0.93); padding: 0 14px; backdrop-filter: blur(16px); box-shadow: 0 14px 34px rgba(33, 55, 37, 0.1); }
.brand, .footer-brand { display: flex; min-width: 0; align-items: center; gap: 12px; }
.brand-mark { display: inline-flex; width: 52px; height: 52px; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid rgba(200, 150, 45, 0.36); border-radius: 50%; background: radial-gradient(circle at 30% 25%, #f8df8e, var(--gold) 36%, var(--green) 37%, var(--deep)); color: #fff; font-size: 23px; font-weight: 900; box-shadow: 0 12px 26px rgba(23, 102, 74, 0.18); }
.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: 2px; }
.nav-links a { border-radius: 999px; color: #2d4437; font-size: 14px; font-weight: 850; padding: 9px 13px; }
.nav-links a:hover, .nav-links a.active { background: #173a32; 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; margin-top: -86px; background: #edf3e7; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(248, 247, 240, 0.28) 0%, rgba(248, 247, 240, 0.58) 36%, rgba(248, 247, 240, 0.9) 62%, rgba(248, 247, 240, 0.97) 100%), url("../img/building-front.jpeg") right center / cover; }
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: repeating-linear-gradient(90deg, var(--green) 0 54px, var(--gold) 54px 88px, var(--clay) 88px 126px); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(360px, 0.74fr) minmax(0, 0.9fr); gap: 48px; align-items: center; min-height: 680px; padding: 150px 0 82px; }
.hero-content { order: 2; }
.hero-content h1 { max-width: 780px; margin-bottom: 18px; color: #0f332b; font-size: clamp(34px, 5.2vw, 66px); font-weight: 950; }
.hero-content p { max-width: 680px; color: #33463e; font-size: 18px; font-weight: 650; }
.eyebrow { display: inline-flex; width: fit-content; margin-bottom: 14px; border-radius: 999px; background: #fff7df; color: #7c5520; font-size: 13px; font-weight: 900; padding: 7px 12px; text-transform: uppercase; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; padding: 12px 19px; font-weight: 900; }
.btn-primary { background: var(--deep); color: #fff; }
.btn-secondary { border-color: rgba(22, 58, 50, 0.28); background: rgba(255, 255, 255, 0.72); color: var(--deep); }
.hero-card { position: relative; order: 1; overflow: hidden; border: 8px solid rgba(255, 255, 255, 0.82); border-radius: 30px 30px 8px 30px; background: #fff; box-shadow: 0 26px 42px -18px rgba(23, 35, 28, 0.42); transform: none; }
.hero-card img { width: 100%; height: 340px; object-fit: cover; object-position: center 18%; border-radius: 22px 22px 0 0; }
.hero-card div { border-radius: 0 0 0 22px; background: #fff; }
.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: 14px; width: min(1160px, calc(100% - 32px)); margin: -34px auto 0; position: relative; z-index: 2; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.quick-info div { border: 1px solid rgba(23, 102, 74, 0.14); border-top: 5px solid var(--gold); border-radius: 18px; background: #fff; padding: 18px 20px; box-shadow: var(--shadow); }
.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: 74px 0; }
.section-soft { background: #eef4e8; }
.section-title { max-width: 800px; margin-bottom: 28px; }
.section-title h2, .page-hero h1 { color: var(--deep); font-size: clamp(28px, 4vw, 44px); }
.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.82fr); gap: 34px; align-items: center; }
.panel, .gallery-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); }
.panel-pad { padding: 28px; }
.feature-photo, .mosaic img { width: 100%; border-radius: 26px 26px 8px 26px; 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: 0; border-radius: 16px; background: linear-gradient(90deg, #fff, #fbf7ea); padding: 16px 18px; color: #425b55; box-shadow: 0 8px 22px rgba(23, 102, 74, 0.08); }
.feature-list li::before { content: ""; display: block; width: 34px; height: 4px; margin-bottom: 10px; border-radius: 999px; background: var(--gold); }
.feature-list strong { display: block; color: var(--deep); }

.villages-section { background: linear-gradient(135deg, #173a32, #23513f); color: #fff; }
.villages-section .section-title h2 { color: #fff; }
.villages-section .eyebrow { background: rgba(255, 255, 255, 0.12); color: #ffe2a0; }
.village-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.village-grid article { border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 24px 8px 24px 8px; background: rgba(255, 255, 255, 0.08); padding: 26px; box-shadow: none; }
.village-grid span { display: block; color: #f0c567; font-weight: 900; }
.village-grid strong { display: block; color: #fff; font-size: 27px; }
.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; object-position: center 45%; border-radius: 34px 8px 34px 8px; }

.page-hero { position: relative; overflow: hidden; margin-top: -86px; background: linear-gradient(90deg, rgba(22, 58, 50, 0.92), rgba(95, 127, 50, 0.64)), url("../img/building-front.jpeg") center / cover; color: #fff; padding: 150px 0 78px; border-bottom: 0; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: repeating-linear-gradient(90deg, var(--gold) 0 42px, var(--clay) 42px 78px, var(--green) 78px 130px); }
.page-hero h1 { max-width: 820px; color: #fff; }
.page-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255, 255, 255, 0.88); }
.about-hero { background-image: linear-gradient(90deg, rgba(22, 58, 50, 0.92), rgba(95, 127, 50, 0.58)), url("../img/building-side.jpeg"); }
.service-hero { background-image: linear-gradient(90deg, rgba(22, 58, 50, 0.9), rgba(95, 127, 50, 0.62)), url("../img/office-service.jpeg"); }
.gallery-hero { background-image: linear-gradient(90deg, rgba(22, 58, 50, 0.92), rgba(95, 127, 50, 0.5)), url("../img/building-front.jpeg"); }
.contact-hero { background-image: linear-gradient(90deg, rgba(22, 58, 50, 0.92), rgba(95, 127, 50, 0.58)), url("../img/meeting-room.jpeg"); }

.about-intro { align-items: stretch; }
.about-card { position: relative; display: grid; align-content: center; overflow: hidden; border: 1px solid rgba(23, 102, 74, 0.18); border-radius: 28px 8px 28px 8px; background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(255, 250, 235, 0.94)); padding: clamp(26px, 4vw, 44px); box-shadow: 0 24px 60px rgba(33, 55, 37, 0.12); }
.about-card::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 6px; background: linear-gradient(180deg, var(--green), var(--gold)); }
.about-card h2 { margin-bottom: 16px; color: var(--deep); font-size: clamp(28px, 3.6vw, 42px); }
.about-card > p { color: #4f6260; font-size: 17px; }
.about-meta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 24px 0; }
.about-meta div { border: 1px solid rgba(11, 127, 115, 0.14); border-radius: 12px; background: #fff; padding: 14px 16px; box-shadow: 0 10px 26px rgba(6, 63, 100, 0.06); }
.about-meta span { display: block; margin-bottom: 4px; color: var(--muted); font-size: 12px; font-weight: 900; text-transform: uppercase; }
.about-meta strong { display: block; color: var(--deep); font-size: 16px; line-height: 1.35; }
.about-note { margin: 0; border-radius: 12px; background: linear-gradient(90deg, rgba(219, 168, 58, 0.16), rgba(11, 127, 115, 0.08)); padding: 14px 16px; color: var(--deep) !important; font-weight: 800; }
.about-photo { position: relative; margin: 0; overflow: hidden; border: 8px solid #fff; border-radius: 8px 34px 8px 34px; background: #fff; box-shadow: 0 24px 60px rgba(33, 55, 37, 0.14); }
.about-photo .feature-photo { height: 100%; min-height: 420px; border-radius: 0; box-shadow: none; }
.about-photo figcaption { position: absolute; left: 18px; right: 18px; bottom: 18px; border-radius: 12px; background: rgba(6, 63, 100, 0.78); color: #fff; padding: 12px 14px; font-weight: 900; backdrop-filter: blur(10px); }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.info-card { border: 1px solid var(--line); border-radius: 8px 24px 8px 24px; background: #fff; padding: 24px; box-shadow: var(--shadow); }
.info-card span { display: block; margin-bottom: 10px; color: var(--green); font-size: 13px; font-weight: 900; text-transform: uppercase; }
.info-card strong { display: block; margin-bottom: 10px; color: var(--deep); font-size: 24px; line-height: 1.2; }
.info-card p { margin-bottom: 0; color: var(--muted); }

.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.service-row { position: relative; min-height: 210px; overflow: hidden; border: 1px solid rgba(23, 102, 74, 0.14); border-radius: 22px 8px 22px 8px; background: linear-gradient(135deg, rgba(248, 247, 240, 0.95), rgba(255, 255, 255, 0.98)); padding: 28px; box-shadow: var(--shadow); }
.service-row::after { content: ""; position: absolute; right: 18px; bottom: 18px; width: 56px; height: 56px; border-right: 4px solid rgba(200, 150, 45, 0.28); border-bottom: 4px solid rgba(200, 150, 45, 0.28); border-radius: 0 0 18px 0; background: transparent; }
.service-row div { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.service-row span { display: inline-flex; width: 46px; height: 46px; align-items: center; justify-content: center; border-radius: 12px 12px 12px 2px; background: var(--deep); color: #fff; font-weight: 900; }
.service-row h2 { margin: 0; color: var(--deep); font-size: 26px; }
.service-row p { margin: 0; color: var(--muted); font-size: 17px; }
.computerised-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin-top: 28px;
  border: 1px solid rgba(23, 102, 74, 0.18);
  border-left: 6px solid var(--green);
  border-radius: 8px 24px 8px 24px;
  background:
    linear-gradient(135deg, rgba(23, 102, 74, 0.08), rgba(200, 150, 45, 0.1)),
    linear-gradient(90deg, #f8fbf3, #ffffff);
  padding: clamp(24px, 4vw, 34px);
  box-shadow: 0 20px 48px rgba(33, 55, 37, 0.1);
}
.computerised-band span {
  display: block;
  margin-bottom: 8px;
  color: var(--field);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}
.computerised-band h2 {
  margin-bottom: 14px;
  color: var(--deep);
  font-size: clamp(28px, 3.4vw, 40px);
}
.computerised-band p {
  margin: 0;
  color: #52645c;
  font-size: 17px;
}
.computerised-band .btn {
  flex: 0 0 auto;
  background: var(--deep);
  box-shadow: 0 16px 30px rgba(23, 102, 74, 0.16);
}
.commitment-section { background: linear-gradient(135deg, rgba(22, 58, 50, 0.08), rgba(200, 150, 45, 0.12) 46%), #f2f4ea; }
.commitment-wrap { grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.82fr); align-items: stretch; }
.service-banner {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(23, 102, 74, 0.16);
  border-radius: 24px;
  background: #fff;
  padding: 12px;
  box-shadow: 0 24px 58px rgba(33, 55, 37, 0.13);
}
.service-banner img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  object-position: center center;
  border-radius: 16px;
  background: #f7fbfc;
}
.service-banner figcaption {
  margin-top: 12px;
  border-radius: 12px;
  background: var(--field);
  color: #fff;
  padding: 13px 16px;
  font-weight: 900;
}
.commitment-card { border: 1px solid rgba(23, 102, 74, 0.16); border-radius: 30px 8px 30px 8px; background: #fff; padding: clamp(26px, 4vw, 38px); box-shadow: 0 24px 58px rgba(33, 55, 37, 0.12); }
.commitment-card h2 { margin-bottom: 12px; color: var(--deep); font-size: clamp(28px, 3.5vw, 40px); }
.commitment-card p { margin-bottom: 22px; color: var(--muted); font-size: 16px; }
.tick-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.tick-list li { display: flex; align-items: center; gap: 12px; border: 1px solid rgba(23, 102, 74, 0.12); border-radius: 14px 4px 14px 4px; background: linear-gradient(90deg, rgba(95, 127, 50, 0.08), rgba(255, 255, 255, 0.94)); color: var(--deep); padding: 13px 14px; font-weight: 850; }
.tick-list li::before { content: ""; flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--deep)); box-shadow: inset 0 0 0 6px rgba(255, 255, 255, 0.86); }

.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: 14px 4px 14px 4px; 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: 12px; box-shadow: var(--shadow); }
.map-section iframe { width: 100%; height: 360px; border: 0; display: block; }

.gallery-section { padding-top: 58px; }
.gallery-title { max-width: 820px; margin-bottom: 30px; }
.gallery-title .eyebrow { background: rgba(11, 127, 115, 0.1); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.gallery-card { cursor: pointer; transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease; border-radius: 24px 6px 24px 6px; }
.gallery-card:hover, .gallery-card:focus { outline: 0; border-color: rgba(23, 102, 74, 0.35); box-shadow: 0 22px 46px rgba(33, 55, 37, 0.14); transform: translateY(-4px) rotate(-0.4deg); }
.gallery-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: #eaf2f4; }
.gallery-card div { padding: 18px 20px 22px; }
.gallery-card h3 { margin: 0 0 4px; color: var(--deep); font-size: 22px; }
.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: linear-gradient(135deg, #173a32, #2c4b2c); color: #fff; padding: 54px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1.35fr 0.7fr 1fr; gap: 32px; align-items: start; }
.footer-brand { align-items: flex-start; }
.footer-mark { background: #fff; color: var(--deep); box-shadow: none; }
.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: 86px; display: none; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 16px; background: #fff; padding: 10px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .hero-inner, .split, .grid-2, .contact-layout, .footer-grid, .commitment-wrap { grid-template-columns: 1fr; }
  .hero-inner { min-height: auto; padding: 132px 0 72px; }
  .hero-content { order: 1; }
  .hero-card { order: 2; }
  .computerised-band { align-items: flex-start; flex-direction: column; }
  .quick-info, .service-list, .cards-3, .gallery-grid, .village-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-photo .feature-photo { min-height: 360px; }
  .service-banner img { min-height: 320px; max-height: none; }
}
@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; }
  .service-banner img { min-height: 260px; }
  .quick-info, .service-list, .cards-3, .gallery-grid, .mosaic, .village-grid { grid-template-columns: 1fr; }
  .about-meta { grid-template-columns: 1fr; }
  .mosaic img:first-child { grid-column: auto; }
  .footer-brand, .footer-bottom { display: grid; }
}
