﻿@font-face {
  font-family: "Jameel Noori Nastaleeq";
  src: url("build/fonts/jameel-noori-nastaleeq-regular.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --green-900: #003d18;
  --green-800: #005323;
  --green-700: #087029;
  --green-600: #128537;
  --field: #116d24;
  --red: #b60705;
  --gold: #f7c748;
  --cream: #fff7d3;
  --ink: #0b1f12;
  --sky: #78ccff;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  background: #ffffff;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.16);
}

.top-bar {
  min-height: 46px;
  padding: 8px clamp(16px, 6vw, 88px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--white);
  background: linear-gradient(90deg, var(--green-900), #005f25 55%, var(--green-900));
  font-weight: 700;
}

.top-contact,
.social-links,
.main-nav,
.nav-links {
  display: flex;
  align-items: center;
}

.top-contact {
  gap: clamp(12px, 4vw, 42px);
  flex-wrap: wrap;
}

.top-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.round-icon,
.social-links a,
.contact-icon {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-600);
  font-weight: 900;
}

.social-links {
  gap: 10px;
}

.social-links a {
  width: 28px;
  height: 28px;
  font-size: 11px;
  line-height: 1;
  letter-spacing: 0;
}

.social-links a:first-child {
  font-size: 16px;
}

.main-nav {
  min-height: 104px;
  padding: 14px clamp(16px, 6vw, 88px);
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(#bfeaff, #e8f8ff);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 260px;
}

.brand-logo {
  width: min(390px, 46vw);
  max-height: 94px;
  object-fit: contain;
}

.nav-links {
  gap: clamp(8px, 2vw, 28px);
  flex-wrap: wrap;
  justify-content: flex-end;
  font-weight: 900;
}

.nav-links a {
  min-height: 38px;
  padding: 10px 18px;
  border-radius: 22px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
  background: linear-gradient(#14903d, #00551f);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  background:
    linear-gradient(to bottom, rgba(255, 255, 255, 0) 0 48%, rgba(5, 92, 20, 0.2) 49% 100%),
    linear-gradient(180deg, #81d4ff 0 46%, #42ad31 47% 60%, #0a691e 61% 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  background:
    repeating-linear-gradient(100deg, rgba(255, 255, 255, 0.15) 0 2px, transparent 2px 16px),
    linear-gradient(180deg, transparent, rgba(0, 60, 18, 0.9));
}

.hero-sky {
  position: absolute;
  inset: 0 0 auto;
  height: 170px;
  background:
    radial-gradient(circle at 16% 36%, rgba(255, 255, 255, 0.92) 0 28px, transparent 29px),
    radial-gradient(circle at 23% 29%, rgba(255, 255, 255, 0.75) 0 38px, transparent 39px),
    radial-gradient(circle at 80% 26%, rgba(255, 255, 255, 0.72) 0 34px, transparent 35px);
  opacity: 0.85;
}

.hero-content {
  position: relative;
  min-height: 500px;
  padding: 32px clamp(18px, 5vw, 72px) 24px;
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(320px, 1.55fr) minmax(210px, 0.8fr);
  align-items: center;
  gap: 24px;
}

.rice-feature {
  align-self: end;
  margin-bottom: 30px;
}

.rice-feature img {
  width: min(370px, 100%);
  aspect-ratio: 1 / 0.82;
  object-fit: cover;
  border: 5px solid rgba(255, 255, 255, 0.72);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.25);
}

.hero-copy {
  text-align: center;
}

.company-name {
  margin: 0;
  color: #d60606;
  font-family: "Jameel Noori Nastaleeq", "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", "Urdu Typesetting", serif;
  font-size: clamp(48px, 8vw, 108px);
  font-weight: 900;
  line-height: 1.35;
  text-shadow: 0 4px 0 #ffffff, 0 7px 8px rgba(0, 0, 0, 0.35);
}

.tagline {
  width: min(620px, 100%);
  margin: 8px auto 12px;
  padding: 12px 30px 16px;
  color: var(--white);
  border: 4px solid var(--gold);
  border-radius: 18px;
  background: linear-gradient(180deg, #b30a05, #7f0403);
  box-shadow: inset 0 0 0 2px #5c2700, 0 5px 0 rgba(0, 0, 0, 0.25);
  font-family: "Jameel Noori Nastaleeq", "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", "Urdu Typesetting", serif;
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.3;
}

.owner {
  margin: 0;
  color: #ffffff;
  font-family: "Jameel Noori Nastaleeq", "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", "Urdu Typesetting", serif;
  font-size: clamp(26px, 3.2vw, 48px);
  font-weight: 800;
  line-height: 1.4;
  text-shadow: 0 3px 2px #07470e, 0 0 7px #07470e;
}

.hero-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  color: #064e16;
  font-size: clamp(42px, 6vw, 74px);
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 3px 0 #ffffff;
}

.hero-phone span {
  display: inline-grid;
  place-items: center;
  width: clamp(58px, 7vw, 78px);
  height: clamp(58px, 7vw, 78px);
  border-radius: 50%;
  color: #ffffff;
  background: #14a43a;
  border: 6px solid #ffffff;
  font-size: clamp(34px, 4vw, 46px);
  text-shadow: none;
}

.tractor-panel {
  position: relative;
  align-self: end;
  width: min(310px, 100%);
  height: 220px;
  margin-bottom: 72px;
}

.tractor-body,
.tractor-cabin,
.tractor-wheel {
  position: absolute;
}

.tractor-body {
  right: 12px;
  bottom: 56px;
  width: 230px;
  height: 88px;
  border-radius: 10px 18px 8px 8px;
  background: linear-gradient(100deg, #113d35 0 22%, #19aa43 23% 78%, #0b6129 79%);
  border: 4px solid #062d22;
}

.tractor-cabin {
  right: 92px;
  bottom: 130px;
  width: 100px;
  height: 82px;
  border: 5px solid #063426;
  border-radius: 8px 8px 2px 2px;
  background: linear-gradient(135deg, rgba(198, 241, 255, 0.95), rgba(38, 166, 209, 0.8));
}

.tractor-wheel {
  border-radius: 50%;
  background: radial-gradient(circle, #dce6e4 0 18%, #152620 19% 38%, #0a0a0a 39% 100%);
  border: 8px solid #243630;
}

.wheel-large {
  right: 24px;
  bottom: 4px;
  width: 116px;
  height: 116px;
}

.wheel-small {
  right: 166px;
  bottom: 22px;
  width: 76px;
  height: 76px;
}

.product-strip {
  position: relative;
  z-index: 2;
  margin: -42px auto 0;
  width: min(1430px, calc(100% - 40px));
  padding: 12px 16px;
  display: grid;
  grid-template-columns: repeat(6, minmax(130px, 1fr));
  gap: 14px;
  border: 2px solid var(--cream);
  border-radius: 20px;
  background: linear-gradient(180deg, #064f1b, #003b14);
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.28);
}

.product-card {
  overflow: hidden;
  border: 2px solid var(--cream);
  border-radius: 12px;
  background: #063b18;
}

.product-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.product-card span {
  display: grid;
  place-items: center;
  min-height: 48px;
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(15px, 1.5vw, 20px);
  font-weight: 900;
}

.home-info,
.content-grid,
.contact-layout {
  width: min(1430px, calc(100% - 40px));
  margin: 34px auto;
  display: grid;
  gap: 26px;
}

.home-info {
  grid-template-columns: 1.35fr 0.9fr 0.8fr 0.8fr;
  align-items: center;
}

.about-preview h1,
.why-card h2,
.page-hero h1,
.text-panel h2,
.contact-details h2 {
  margin: 0 0 16px;
  color: #064719;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 3vw, 42px);
  line-height: 1.1;
}

.about-preview p,
.text-panel p,
.service-list p,
.contact-details p {
  font-size: 18px;
  line-height: 1.7;
}

.field-photo img,
.image-panel img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 20px;
}

.why-card {
  min-height: 226px;
  padding: 22px 28px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff, #d9f5df);
}

.why-card ul {
  padding: 0;
  margin: 0;
  list-style: none;
  display: grid;
  gap: 12px;
  font-weight: 800;
}

.why-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.why-card li span {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--white);
  background: var(--green-700);
}

.contact-card {
  min-height: 160px;
  padding: 26px 22px;
  border-radius: 30px;
  display: grid;
  place-items: center;
  align-content: center;
  color: var(--white);
  background: linear-gradient(140deg, #00541e, #003d14);
  text-align: center;
}

.contact-card .contact-icon {
  width: 52px;
  height: 52px;
  font-size: 32px;
  background: #16a43d;
  border: 4px solid #ffffff;
}

.contact-card a {
  display: block;
  margin: 8px 0;
  font-size: clamp(31px, 3.4vw, 43px);
  font-weight: 900;
}

.contact-card p {
  margin: 0;
  color: #ffffff;
  font-family: "Jameel Noori Nastaleeq", "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", "Urdu Typesetting", serif;
  font-size: clamp(23px, 2.4vw, 34px);
  line-height: 1.35;
}

.site-footer {
  padding: 24px clamp(16px, 6vw, 88px);
  color: #ffffff;
  background: var(--green-900);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-weight: 700;
}

.site-footer p {
  margin: 0;
}

.page-main {
  min-height: 70vh;
}

.page-hero {
  padding: 64px 20px;
  color: #ffffff;
  text-align: center;
  background:
    linear-gradient(rgba(0, 61, 24, 0.62), rgba(0, 61, 24, 0.7)),
    linear-gradient(180deg, #77cdf8 0 48%, #36a83c 49% 100%);
}

.compact-hero h1 {
  color: #ffffff;
  text-shadow: 0 3px 4px rgba(0, 0, 0, 0.35);
}

.compact-hero p,
.compact-hero strong {
  display: block;
  margin: 8px 0 0;
  font-family: "Jameel Noori Nastaleeq", "Jameel Noori Nastaliq", "Noto Nastaliq Urdu", "Urdu Typesetting", serif;
  font-size: clamp(26px, 3.4vw, 44px);
  line-height: 1.4;
}

.content-grid {
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
}

.text-panel,
.contact-details,
.service-list article {
  padding: 28px;
  border: 1px solid #cfe4d0;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.image-panel img {
  height: 360px;
}

.products-grid,
.gallery-grid,
.service-list {
  width: min(1200px, calc(100% - 40px));
  margin: 42px auto;
  display: grid;
  grid-template-columns: repeat(3, minmax(220px, 1fr));
  gap: 24px;
}

.product-tile,
.gallery-grid figure {
  overflow: hidden;
  margin: 0;
  border-radius: 8px;
  border: 1px solid #cfe4d0;
  background: #063b18;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.13);
}

.product-tile img,
.gallery-grid img {
  width: 100%;
  height: 230px;
  object-fit: cover;
}

.product-tile h2,
.gallery-grid figcaption {
  margin: 0;
  min-height: 62px;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-weight: 900;
}

.service-list {
  grid-template-columns: repeat(4, minmax(190px, 1fr));
}

.service-list article {
  min-height: 190px;
}

.service-list h2 {
  margin: 0 0 12px;
  color: var(--green-800);
}

.contact-layout {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.9fr);
  align-items: stretch;
}

.contact-card.large {
  min-height: 320px;
}

@media (max-width: 1180px) {
  .main-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }

  .hero-content {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .tractor-panel {
    display: none;
  }

  .product-strip {
    grid-template-columns: repeat(3, minmax(170px, 1fr));
  }

  .home-info,
  .service-list {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 760px) {
  .top-bar,
  .main-nav {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-bar {
    align-items: flex-start;
    flex-direction: column;
  }

  .social-links {
    align-self: flex-end;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: min(310px, 78vw);
    max-height: 82px;
  }

  .nav-links {
    width: 100%;
    gap: 8px;
  }

  .nav-links a {
    flex: 1 1 135px;
    text-align: center;
    padding: 10px 12px;
  }

  .hero,
  .hero-content {
    min-height: auto;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding-top: 22px;
  }

  .rice-feature {
    margin: 0 auto;
    width: min(280px, 82vw);
  }

  .company-name {
    font-size: clamp(42px, 14vw, 68px);
  }

  .tagline {
    padding: 10px 18px 14px;
  }

  .hero-phone {
    font-size: clamp(38px, 12vw, 58px);
  }

  .product-strip,
  .home-info,
  .content-grid,
  .products-grid,
  .gallery-grid,
  .service-list,
  .contact-layout {
    width: calc(100% - 24px);
    grid-template-columns: 1fr;
  }

  .product-strip {
    margin-top: -10px;
  }

  .product-card img,
  .product-tile img,
  .gallery-grid img {
    height: 210px;
  }

  .site-footer {
    display: grid;
  }
}

/* Responsive refinements */
.brand-logo {
  width: clamp(210px, 24vw, 330px);
  max-height: 96px;
  object-fit: contain;
}

.main-nav {
  min-height: 92px;
  padding: 10px clamp(16px, 4vw, 60px);
}

.nav-links {
  flex: 1 1 620px;
  gap: 8px;
  justify-content: flex-end;
}

.nav-links a {
  min-height: 36px;
  padding: 9px 13px;
  font-size: clamp(13px, 1vw, 16px);
  white-space: nowrap;
}

.hero-content,
.product-strip,
.home-info,
.content-grid,
.contact-layout {
  max-width: 1480px;
}

.hero-content {
  width: 100%;
  margin: 0 auto;
  grid-template-columns: minmax(180px, 0.65fr) minmax(360px, 1.55fr) minmax(190px, 0.65fr);
}

.home-info {
  grid-template-columns: minmax(330px, 1.25fr) minmax(240px, 0.85fr) minmax(250px, 0.8fr) minmax(270px, 0.8fr);
}

.top-contact a {
  min-width: 0;
  overflow-wrap: anywhere;
}

@media (max-width: 1320px) {
  .main-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    flex: none;
    justify-content: flex-start;
  }

  .product-strip {
    grid-template-columns: repeat(3, minmax(180px, 1fr));
  }

  .home-info {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
  }
}

@media (max-width: 900px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 14px 28px;
  }

  .tractor-panel {
    display: none;
  }

  .rice-feature {
    width: min(330px, 88vw);
    margin: 0 auto;
  }

  .product-strip,
  .home-info,
  .content-grid,
  .products-grid,
  .gallery-grid,
  .service-list,
  .contact-layout {
    width: min(100% - 24px, 680px);
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .top-bar {
    gap: 10px;
  }

  .top-contact {
    width: 100%;
    gap: 8px;
  }

  .top-contact a {
    font-size: 14px;
  }

  .round-icon,
  .social-links a {
    width: 30px;
    height: 30px;
  }

  .main-nav {
    min-height: 0;
  }

  .brand-logo {
    width: min(285px, 86vw);
    max-height: 78px;
  }

  .nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-links a {
    min-width: 0;
    min-height: 38px;
    padding: 10px 8px;
    font-size: 13px;
  }

  .company-name {
    font-size: clamp(36px, 13vw, 58px);
    line-height: 1.45;
  }

  .tagline {
    font-size: clamp(24px, 9vw, 38px);
  }

  .owner {
    font-size: clamp(23px, 8vw, 34px);
  }

  .hero-phone {
    font-size: clamp(34px, 11vw, 48px);
  }

  .product-card img,
  .product-tile img,
  .gallery-grid img {
    height: 190px;
  }
}
/* si6 hero slider */
.home-page .hero.hero-slider {
  display: block;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  background: #ffffff;
}

.home-page .hero.hero-slider::before,
.home-page .hero.hero-slider .hero-sky {
  display: none;
}

.home-page .hero-slider-image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.home-page .product-strip {
  margin-top: 0;
}