/* ============================================================
   महालक्ष्मी कृषी सेवा केंद्र — style.css
   Colors: Green #1B8A4B | Orange #FF7A00 | Dark #0B1E36
   Font: Poppins
   ============================================================ */

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 100px;
}


body {
  font-family: 'Poppins', sans-serif;
  color: #0B1E36;
  background: #fff;
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  color: #0B1E36;
}

.section-heading.centered {
  text-align: center;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: #FF7A00;
  border-radius: 4px;
  margin: 12px auto 48px;
}

.section-title {
  font-size: 1.9rem;
  font-weight: 700;
  color: #1B8A4B;
  margin-bottom: 8px;
}

.underline-orange {
  width: 50px;
  height: 4px;
  background: #FF7A00;
  border-radius: 4px;
  margin-bottom: 24px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  letter-spacing: 0.3px;
}

.btn-primary {
  background: #FF7A00;
  color: #fff;
  border: 2px solid #FF7A00;
}

.btn-primary:hover {
  background: #e06a00;
  border-color: #e06a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 122, 0, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #0B1E36;
  transform: translateY(-2px);
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 16px rgba(11, 30, 54, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 108px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-title {
  font-size: 1.20rem;
  font-weight: 700;
  color: #1B8A4B;
}

.logo-sub {
  font-size: 0.80rem;
  color: #666;
  font-weight: 400;
}

/* Nav Links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 1.2rem;
  font-weight: 500;
  color: #0B1E36;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #FF7A00;
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover {
  color: #1B8A4B;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Hamburger (CSS only) */
.nav-toggle {
  display: none;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 100;
  flex-shrink: 0;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 3px;
  background: #0B1E36;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  /* Adjust according to navbar height */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 80px 20px;
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  text-align: center;
  color: #fff;
  padding: 0 20px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 15px;
  margin-bottom: 25px;
}

.hero-heading {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 25px;
}

.hero-para {
  max-width: 750px;
  margin: 0 auto 35px;
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.8;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 55px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all .3s ease;
}

.btn-primary {
  background: #99113a;
  color: #fff;
  border: 2px solid #99113a;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 2px solid #fff;
  color: #fff;
}

.btn-outline:hover {
  background: #fff;
  color: #111;
}

@media (max-width: 992px) {

  .hero {
    min-height: 85vh;
  }

  .hero-heading {
    font-size: 4rem;
  }

  .hero-para {
    max-width: 650px;
  }
}

@media (max-width: 768px) {

  .hero {
    min-height: 80vh;
    padding: 60px 15px;
  }

  .hero-heading {
    font-size: 2.8rem;
    line-height: 1.2;
  }

  .hero-para {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-btns {
    flex-direction: column;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 260px;
  }
}

@media (max-width: 480px) {

  .hero-heading {
    font-size: 2.2rem;
  }

  .hero-badge {
    font-size: 13px;
    padding: 6px 14px;
  }

  .hero-para {
    font-size: 15px;
  }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  padding: 100px 0;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(27, 138, 75, 0.18);
}

.about-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.about-text p {
  color: #4a5568;
  margin-bottom: 16px;
  font-size: 0.97rem;
}

.gst-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f0faf4;
  border: 1.5px solid #1B8A4B;
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.gst-label {
  font-size: 0.78rem;
  font-weight: 600;
  color: #1B8A4B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gst-number {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0B1E36;
  font-family: 'Poppins', monospace;
  word-break: break-all;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services {
  padding: 100px 0;
  background: #f0faf4;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: #fff;
  border-radius: 16px;
  padding: 36px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(27, 138, 75, 0.09);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  border-bottom: 3px solid transparent;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(27, 138, 75, 0.18);
  border-bottom-color: #1B8A4B;
}

.service-icon {
  font-size: 2.6rem;
  margin-bottom: 18px;
  display: block;
  line-height: 1;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0B1E36;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.875rem;
  color: #617080;
  line-height: 1.6;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact {
  padding: 100px 0;
  background: #f7fafd;
}

.contact-en {
  color: #1B8A4B;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

.contact-info-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px 36px;
  box-shadow: 0 4px 24px rgba(11, 30, 54, 0.08);
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #1B8A4B;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item p {
  font-size: 0.93rem;
  color: #4a5568;
  line-height: 1.7;
  word-break: break-word;
}

.contact-item a {
  color: #0B1E36;
  font-weight: 500;
  transition: color 0.2s;
  word-break: break-word;
}

.contact-item a:hover {
  color: #FF7A00;
}

.contact-map-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(11, 30, 54, 0.08);
  min-height: 320px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0B1E36;
  color: rgba(255, 255, 255, 0.8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #1B8A4B;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col p {
  font-size: 0.875rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.65);
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #FF7A00;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact li {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  word-break: break-word;
}

/* Footer bottom bar */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
  flex-wrap: wrap;
  gap: 8px;
}

.footer-brand {
  color: #FF7A00;
  font-weight: 600;
}

.footer-logo-img {
  height: 90px;
  width: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

/* ============================================================
   RESPONSIVE — TABLET (max 1024px)
   ============================================================ */
@media (max-width: 1024px) {
  .nav-container {
    height: 90px;
  }

  .nav-logo-img {
    height: 78px;
  }

  .nav-links {
    gap: 24px;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: 1 / -1;
  }

  .hero-content {
    padding: 60px 24px 60px 48px;
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (max 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Navbar height adjust */
  .nav-container {
    height: 70px;
  }

  /* Hamburger visible */
  .hamburger {
    display: flex;
  }

  /* Logo text hide on small screens */
  .logo-title {
    font-size: 1rem;
  }

  .nav-logo-img {
    height: 54px;
  }

  /* Nav hidden by default, shown when checkbox checked */
  .nav-links {
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    box-shadow: 0 8px 24px rgba(11, 30, 54, 0.12);
  }

  .nav-links a {
    display: block;
    padding: 14px 24px;
    border-bottom: 1px solid #f0f0f0;
    font-size: 0.95rem;
  }

  .nav-links a::after {
    display: none;
  }

  /* Checkbox toggle opens menu */
  .nav-toggle:checked~.nav-links {
    max-height: 400px;
  }

  /* Animate hamburger to X */
  .nav-toggle:checked~.hamburger span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle:checked~.hamburger span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked~.hamburger span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero */
  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 40px 20px;
    max-width: 100%;
  }

  .hero-heading {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .hero-para {
    font-size: 0.9rem;
  }

  /* About */
  .about {
    padding: 64px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  /* Services */
  .services {
    padding: 64px 0;
  }

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

  .service-card {
    padding: 24px 16px;
  }

  /* Contact */
  .contact {
    padding: 64px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info-card {
    padding: 28px 20px;
    gap: 24px;
  }

  .contact-map-card {
    min-height: 260px;
  }

  .contact-map-card iframe {
    min-height: 260px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 40px;
  }

  .footer-grid .footer-col:first-child {
    grid-column: auto;
  }

  .footer-logo-img {
    height: 70px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 16px 24px;
    gap: 6px;
  }

  /* Section headings */
  .section-heading {
    font-size: 1.5rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
   ============================================================ */
@media (max-width: 480px) {

  /* Navbar logo text */
  .logo-sub {
    display: none;
  }

  .nav-logo-img {
    height: 48px;
  }

  /* Hero */
  .hero-content {
    padding: 32px 16px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
  }

  .hero-heading {
    font-size: clamp(1.4rem, 8vw, 1.9rem);
  }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-btns .btn {
    width: 100%;
    text-align: center;
    padding: 12px 20px;
  }

  /* About */
  .about {
    padding: 48px 0;
  }

  .gst-badge {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  /* Services */
  .services {
    padding: 48px 0;
  }

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

  /* Contact */
  .contact {
    padding: 48px 0;
  }

  .contact-item {
    gap: 12px;
  }

  /* Footer */
  .footer-grid {
    padding-top: 36px;
    padding-bottom: 28px;
  }

  .footer-contact li {
    flex-direction: column;
    gap: 4px;
  }
}