/* ===== Reset & base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Mulish', system-ui, -apple-system, sans-serif;
  color: #1e1f1a;
  background: #faf5e7;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: #1f4e1f; text-decoration: none; }
a:hover { color: #c49a3d; }
h1, h2, h3, h4 {
  font-family: 'Playfair Display', 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0.005em;
  line-height: 1.18;
  margin: 0 0 0.55em;
  color: #1f4e1f;
}
p { margin: 0 0 1em; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Urdu / Nastaliq accent */
.urdu {
  font-family: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', serif;
  font-weight: 500;
  direction: rtl;
  line-height: 2.1;
  letter-spacing: 0;
  display: inline-block;
}

/* Decorative ornament divider */
.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #c49a3d;
  margin: 16px 0 28px;
}
.ornament::before,
.ornament::after {
  content: '';
  flex: 0 0 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #c49a3d, transparent);
}
.ornament .diamond {
  width: 9px; height: 9px;
  background: #c49a3d;
  transform: rotate(45deg);
}
.ornament-center { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 13px 26px;
  background: #1f4e1f;
  color: #faf5e7;
  font-family: 'Mulish', sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1px solid #1f4e1f;
  border-radius: 0;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}
.btn:hover { background: #c49a3d; color: #fff; border-color: #c49a3d; }
.btn-outline {
  background: transparent;
  color: #faf5e7;
  border-color: rgba(247, 241, 225, 0.55);
}
.btn-outline:hover { background: #c49a3d; color: #fff; border-color: #c49a3d; }
.btn-dark-outline {
  background: transparent;
  color: #1f4e1f;
  border-color: #1f4e1f;
}
.btn-dark-outline:hover { background: #1f4e1f; color: #faf5e7; }

/* ===== Top utility header (logo + address + email) ===== */
.utility-header {
  position: relative;
  background:
    linear-gradient(rgba(250, 245, 231, 0.94), rgba(250, 245, 231, 0.94)),
    url('../img/farm/ventilation-fan.jpg');
  background-size: cover;
  background-position: center;
  border-bottom: 3px solid #c49a3d;
}
.utility-header .container {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 36px;
  padding-top: 18px;
  padding-bottom: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-mark {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.brand-text { line-height: 1.05; }
.brand-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 800;
  font-size: 1.65rem;
  color: #1f4e1f;
  letter-spacing: 0.01em;
}
.brand-sub {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  display: inline-block;
  font-size: 1rem;
  color: #c49a3d;
  margin-top: 4px;
}
.brand-tag {
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #6b6a5d;
  margin-top: 3px;
  display: block;
}

.header-contacts {
  display: flex;
  gap: 28px;
  justify-self: end;
  flex-wrap: wrap;
}
.header-contact {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #2c3329;
}
.header-contact-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #e3d7b1;
  display: grid; place-items: center;
  color: #c49a3d;
}
.header-contact-icon svg { width: 16px; height: 16px; }
.header-contact strong {
  display: block;
  color: #1f4e1f;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 2px;
}

/* ===== Navigation strip ===== */
.nav-strip {
  background: #1f4e1f;
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid #102914;
}
.nav-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.main-nav {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.main-nav a {
  color: #faf5e7;
  font-family: 'Mulish', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 16px 18px;
  position: relative;
  display: inline-block;
}
.main-nav a:hover,
.main-nav a.active {
  background: #163a18;
  color: #c49a3d;
}
.main-nav a.active::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px;
  bottom: 8px;
  height: 2px;
  background: #c49a3d;
}
.nav-extra {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  color: #c49a3d;
  font-size: 0.9rem;
  padding: 0 6px;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 14px 16px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #faf5e7;
  margin: 5px 0;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-color: #102914;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16,30,18,0.55) 0%, rgba(16,30,18,0.78) 100%);
}
.hero .container {
  position: relative;
  z-index: 1;
  padding-top: 90px;
  padding-bottom: 90px;
}
.hero-urdu {
  display: block;
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  font-size: 1.6rem;
  color: #d4af6b;
  margin-bottom: 12px;
  line-height: 2;
}
.hero-eyebrow {
  display: inline-block;
  font-family: 'Mulish', sans-serif;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  padding: 7px 18px;
  border: 1px solid rgba(196,154,61,0.7);
  color: #d4af6b;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  max-width: 820px;
  color: #fff;
  margin-bottom: 22px;
  line-height: 1.1;
}
.hero p.lead {
  font-size: 1.16rem;
  max-width: 660px;
  color: rgba(255,255,255,0.9);
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-page { min-height: 380px; }
.hero-page h1 { font-size: clamp(2rem, 4vw, 3rem); }

/* ===== Sections ===== */
.section { padding: 88px 0; }
.section-cream { background: #f3ead0; }
.section-dark { background: #102914; color: #e9e4cf; }
.section-dark h2 { color: #fff; }
.section-tight { padding: 56px 0; }

.section-eyebrow {
  font-family: 'Mulish', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.26em;
  color: #c49a3d;
  font-weight: 700;
  margin-bottom: 14px;
}
.section h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); }
.section-intro { max-width: 720px; color: #4a4a3e; font-size: 1.06rem; }

/* ===== Split block ===== */
.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}
.split.reverse { grid-template-columns: 1fr 1.05fr; }
.split.reverse .split-text { order: 1; }
.split.reverse .split-image { order: 2; }
.split-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ddd;
}
.split-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.split-text h2 { margin-bottom: 18px; }
.split-text p { color: #3d3d33; font-size: 1.02rem; }
.split-image-wrap {
  position: relative;
  padding-right: 18px;
  padding-bottom: 18px;
}
.split-image-wrap::after {
  content: '';
  position: absolute;
  right: 0; bottom: 0;
  width: 62%; height: 62%;
  border: 2px solid #c49a3d;
  z-index: 0;
}
.split-image-wrap .split-image {
  position: relative;
  z-index: 1;
}

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  margin-top: 48px;
}
.service {
  background: #fff;
  border: 1px solid #e8ddb8;
  border-top: 3px solid #c49a3d;
  padding: 30px 26px;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(31,78,31,0.10);
  border-top-color: #1f4e1f;
}
.service-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 18px;
  color: #1f4e1f;
}
.service h3 {
  font-size: 1.22rem;
  margin-bottom: 10px;
}
.service p {
  font-size: 0.94rem;
  color: #5a5a4f;
  margin: 0;
  line-height: 1.6;
}

/* ===== Stats ===== */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 36px;
  margin-top: 44px;
}
.stat {
  border-left: 3px solid #c49a3d;
  padding-left: 20px;
}
.stat-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.6rem;
  font-weight: 800;
  color: #fff;
  line-height: 1;
}
.stat-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(233,228,207,0.85);
  margin-top: 8px;
  font-weight: 600;
}

/* ===== Photo strip ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin-top: 48px;
}
.photo-strip img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ===== Quote ===== */
.quote-block {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  font-family: 'Playfair Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.35rem, 2.4vw, 1.8rem);
  color: #1f4e1f;
  line-height: 1.45;
}
.quote-block .urdu-quote {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  font-style: normal;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: #c49a3d;
  display: block;
  margin-bottom: 22px;
  line-height: 2.2;
}
.quote-attr {
  margin-top: 28px;
  font-family: 'Mulish', sans-serif;
  font-style: normal;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #6b6a5d;
  font-weight: 600;
}

/* ===== Operations duty list ===== */
.duty {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 28px;
  padding: 34px 0;
  border-bottom: 1px solid #e8dfc6;
}
.duty:last-child { border-bottom: 0; }
.duty-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #c49a3d;
  line-height: 1;
}
.duty h3 { font-size: 1.3rem; margin-bottom: 10px; }
.duty p { color: #3d3d33; margin-bottom: 10px; font-size: 1rem; }
.duty ul {
  margin: 8px 0 0;
  padding-left: 20px;
  color: #5a5a4f;
  font-size: 0.95rem;
}
.duty ul li { margin-bottom: 5px; }

/* ===== Gallery ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  background: #ddd;
  aspect-ratio: 4 / 3;
  margin: 0;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(16,30,18,0.9) 100%);
  color: #fff;
  padding: 32px 18px 16px;
  font-size: 0.9rem;
}

/* ===== Team ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}
.team-card {
  background: #fff;
  border: 1px solid #e8ddb8;
  border-bottom: 3px solid #c49a3d;
  padding: 30px;
}
.team-card .role {
  font-family: 'Mulish', sans-serif;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #c49a3d;
  font-weight: 700;
  margin-bottom: 10px;
}
.team-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.team-card p { color: #5a5a4f; font-size: 0.95rem; margin: 0; line-height: 1.6; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 48px;
}
.contact-block {
  background: #fff;
  border: 1px solid #e8ddb8;
  border-left: 3px solid #c49a3d;
  padding: 28px 30px;
}
.contact-block h3 {
  font-family: 'Mulish', sans-serif;
  font-size: 0.78rem;
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #c49a3d;
  font-weight: 700;
}
.contact-block + .contact-block { margin-top: 18px; }
.contact-block p { margin: 0; color: #3d3d33; font-size: 1rem; }
.map-wrap {
  border: 1px solid #e8ddb8;
  overflow: hidden;
  min-height: 480px;
}
.map-wrap iframe {
  width: 100%; height: 100%;
  min-height: 480px;
  border: 0;
}

/* ===== News list ===== */
.news-list {
  display: grid;
  gap: 36px;
}
.news-item {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  background: #fff;
  border: 1px solid #e8ddb8;
  border-left: 3px solid #c49a3d;
  overflow: hidden;
  align-items: stretch;
}
.news-item-image {
  position: relative;
  background: #1f2a1d;
  min-height: 280px;
  overflow: hidden;
}
.news-item-image img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.news-item-body {
  padding: 28px 30px;
}
.news-date {
  font-family: 'Mulish', sans-serif;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #c49a3d;
  font-weight: 700;
  margin-bottom: 10px;
}
.news-item h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}
.news-item p { color: #3d3d33; font-size: 0.98rem; margin-bottom: 0; }
.news-item p + p { margin-top: 10px; }
.news-tag {
  display: inline-block;
  background: #1f4e1f;
  color: #faf5e7;
  font-family: 'Mulish', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 4px 12px;
  margin-bottom: 14px;
}
.news-item.reverse { grid-template-columns: 1.4fr 1fr; }
.news-item.reverse .news-item-image { order: 2; }
.news-item.reverse .news-item-body { order: 1; }

@media (max-width: 860px) {
  .news-item,
  .news-item.reverse {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .news-item-image { min-height: 220px; }
  .news-item.reverse .news-item-image { order: 1; }
  .news-item.reverse .news-item-body { order: 2; }
}

/* ===== Footer ===== */
.site-footer {
  background: #102914;
  color: #c3bea7;
  padding: 72px 0 0;
  border-top: 3px solid #c49a3d;
}
.site-footer h4 {
  color: #fff;
  font-family: 'Mulish', sans-serif;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 18px;
  font-weight: 700;
}
.site-footer a { color: #c3bea7; }
.site-footer a:hover { color: #c49a3d; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 44px;
  padding-bottom: 48px;
}
.footer-grid p { font-size: 0.92rem; line-height: 1.75; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 8px; font-size: 0.92rem; }
.footer-brand .brand-name { color: #fff; font-size: 1.4rem; }
.footer-brand .brand-urdu {
  font-family: 'Noto Nastaliq Urdu', serif;
  direction: rtl;
  display: inline-block;
  color: #c49a3d;
  font-size: 1rem;
  margin-top: 4px;
}
.footer-bottom {
  border-top: 1px solid #25342a;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #8c8d7d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Mobile ===== */
@media (max-width: 980px) {
  .utility-header .container {
    grid-template-columns: 1fr;
    gap: 18px;
    text-align: center;
  }
  .brand { justify-content: center; }
  .header-contacts { display: none; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .main-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    display: none;
    border-top: 1px solid #163a18;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 14px 22px; }
  .nav-extra { display: none; }
  .nav-strip .container { padding-top: 0; padding-bottom: 0; }
  .nav-strip > .container { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-mobile-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
  }
  .nav-mobile-label {
    color: #faf5e7;
    font-family: 'Mulish', sans-serif;
    font-size: 0.82rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 14px 24px;
  }
  .hero { min-height: 540px; }
  .split, .split.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .split.reverse .split-text { order: 2; }
  .split.reverse .split-image { order: 1; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .duty { grid-template-columns: 1fr; gap: 8px; }
  .duty-num { font-size: 1.6rem; }
}
@media (max-width: 540px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* hide mobile bar on desktop, show on mobile */
.nav-mobile-bar { display: none; }
@media (max-width: 860px) {
  .nav-mobile-bar { display: flex; }
}
