/* ========== ROOT & GLOBAL ========== */
:root {
  --green-50: #d8f3dc;
  --green-100: #b7e4c7;
  --green-200: #95d5b2;
  --green-300: #74c69d;
  --green-400: #52b788;
  --green-500: #40916c;
  --green-700: #1b4332;
  --green-900: #081c15;

  --bg-body: #f8fbf9;
  --text-main: #11241a;
  --text-muted: #526b5a;
  --card-bg: #ffffff;

  --radius-lg: 18px;
  --radius-md: 12px;

  --shadow-soft: 0 12px 28px rgba(35, 94, 60, 0.12);
  --shadow-3d: 0 20px 40px rgba(35, 94, 60, 0.22);

  --transition-fast: 0.25s ease;
  --transition-med: 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(216, 243, 220, 0.9), transparent 55%),
    radial-gradient(circle at bottom right, rgba(148, 213, 178, 0.7), transparent 50%),
    var(--bg-body);
}

/* Utility */
.container {
  width: min(1180px, 100% - 2.5rem);
  margin: 0 auto;
}

.highlight {
  color: var(--green-500);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  border-radius: 999px;
  padding: 0.75rem 1.4rem;
  font-weight: 500;
  font-size: .93rem;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast), color var(--transition-fast);
}

.btn-primary {
  background: linear-gradient(135deg, var(--green-300), var(--green-500));
  color: #fff;
  box-shadow: 0 12px 24px rgba(64, 145, 108, .35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(64, 145, 108, .45);
}

.btn-outline {
  background: rgba(255, 255, 255, .9);
  color: var(--green-700);
  border: 1px solid rgba(64, 145, 108, .25);
}

.btn-outline:hover {
  background: var(--green-50);
}

.btn-ghost {
  background: transparent;
  color: var(--green-700);
  border: 1px solid rgba(64, 145, 108, .25);
}

.btn-ghost:hover {
  background: rgba(225, 245, 232, .95);
}

.btn-sm { padding: .55rem 1.1rem; font-size: .84rem; }
.full-width { width: 100%; }

.section-heading {
  text-align: center;
  margin-bottom: 2.4rem;
}

.section-heading h2 {
  margin: 0 0 .6rem;
  font-size: clamp(1.7rem, 2.2vw, 2.2rem);
}

.section-heading p {
  margin: 0;
  color: var(--text-muted);
  font-size: .95rem;
}

/* Card 3D */
.card-3d {
  position: relative;
  padding: 1.3rem 1.2rem;
  border-radius: var(--radius-lg);
  background: var(--card-bg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transform: translateY(0);
  transition: transform var(--transition-med), box-shadow var(--transition-med),
    background var(--transition-med);
}

.card-3d::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(216, 243, 220, .7), transparent 55%);
  opacity: 0;
  transition: opacity var(--transition-med);
  pointer-events: none;
}

.card-3d:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-3d);
}

.card-3d:hover::before {
  opacity: 1;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease-out, transform .6s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Float animation for big visuals */
@keyframes float {
  0%, 100% { transform: translateY(0) translateZ(0); }
  50% { transform: translateY(-10px) translateZ(0); }
}
.float-anim { animation: float 6s ease-in-out infinite; }

/* Icon tilt / 3D feel */
@keyframes iconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}
.icon-float .stat-icon-wrap,
.icon-float i {
  animation: iconFloat 5s ease-in-out infinite;
}

/* ========== HEADER ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: rgba(248, 251, 249, .9);
  border-bottom: 1px solid rgba(148, 213, 178, .5);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: .7rem;
  gap: 1rem;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: .7rem;
}

.logo img {
  height: 40px;
  width: auto;
  display: block;
}

.brand-tagline {
  font-size: .75rem;
  color: var(--text-muted);
}

.main-nav {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nav-link {
  font-size: .9rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: .35rem .7rem;
  border-radius: 999px;
  transition: background var(--transition-fast), color var(--transition-fast),
    transform var(--transition-fast);
}

.nav-link:hover {
  background: rgba(214, 243, 220, .9);
  color: var(--green-700);
  transform: translateY(-1px);
}

.nav-actions { display: flex; gap: .55rem; }

/* ========== HERO ========== */
.hero { padding: 3.4rem 0 3rem; }

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.7rem;
  align-items: center;
}

.hero-content h1 {
  font-size: clamp(2.2rem, 3.2vw, 3rem);
  margin: 1rem 0 .8rem;
  line-height: 1.12;
}

.hero-content p {
  margin: 0 0 1.4rem;
  color: var(--text-muted);
  max-width: 520px;
}

.badge-soft {
  display: inline-flex;
  align-items: center;
  padding: .35rem .9rem;
  border-radius: 999px;
  background: rgba(216, 243, 220, .9);
  border: 1px solid rgba(148, 213, 178, .8);
  font-size: .8rem;
  font-weight: 500;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-bottom: 1.7rem;
}

.hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.metric {
  display: flex;
  flex-direction: column;
  min-width: 120px;
}

.metric-value { font-size: 1.4rem; font-weight: 600; }
.metric-label { font-size: .8rem; color: var(--text-muted); }

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-card-3d {
  border-radius: 24px;
  padding: .8rem;
  background:
    radial-gradient(circle at top left, rgba(216, 243, 220, .8), transparent 55%),
    #ffffff;
  box-shadow: 0 26px 52px rgba(8, 28, 21, .3);
  transform: rotateX(8deg) rotateY(-11deg);
  transform-style: preserve-3d;
}

.hero-image {
  display: block;
  width: 100%;
  border-radius: 20px;
}

/* ========== STATS ========== */
.stats-section { padding: 2.1rem 0 2.6rem; }

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
}

.stat-card h3 {
  font-size: 1rem;
  margin: 0 0 .4rem;
}

.stat-card p {
  margin: 0;
  font-size: .85rem;
  color: var(--text-muted);
}

.stat-icon-wrap {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green-100), var(--green-300));
  box-shadow: 0 14px 26px rgba(116, 198, 157, .4);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .75rem;
}

.stat-icon-wrap i { color: var(--green-700); }

/* ========== ABOUT + MAP ========== */
.about-section { padding: 2.2rem 0 2.8rem; }

.about-grid {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 2.4rem;
  align-items: center;
}

.about-photo img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

.about-content h2 {
  margin: 0 0 .8rem;
}

.about-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.1rem;
}

.about-list li {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .9rem;
  margin-bottom: .35rem;
}

.about-list i { color: var(--green-500); }

/* Map */
.map-section { padding: 2.8rem 0; }

.map-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 2.3rem;
  align-items: center;
}

.map-content p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.map-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
}

.metric.pill {
  padding: .55rem .95rem;
  border-radius: 999px;
  background: rgba(216, 243, 220, .95);
  border: 1px solid rgba(148, 213, 178, .85);
}

.map-visual img {
  width: 100%;
  border-radius: 18px;
  display: block;
}

/* ========== WHY CHOOSE ========== */
.why-section { padding: 2.8rem 0; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.why-card i {
  font-size: 1.4rem;
  margin-bottom: .6rem;
  color: var(--green-500);
}

.why-card h3 {
  margin: 0 0 .4rem;
  font-size: 1rem;
}
.why-card p {
  margin: 0;
  font-size: .86rem;
  color: var(--text-muted);
}

/* ========== CALCULATOR ========== */
.calc-section { padding: 3rem 0; }

.calc-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(0,1fr);
  gap: 2.4rem;
  align-items: flex-start;
}

.calc-left h2 { margin: 0 0 .6rem; }
.calc-left > p { margin: 0 0 1.4rem; color: var(--text-muted); }

.calc-block { margin-bottom: 1.6rem; }
.calc-block h3 { margin: 0 0 .8rem; font-size: 1rem; }

.calc-size-list,
.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: .8rem;
}

.calc-size-list input,
.plan-list input { display: none; }

.calc-card,
.plan-card {
  cursor: pointer;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.calc-icon {
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--green-100), var(--green-300));
  box-shadow: 0 12px 22px rgba(116, 198, 157, .45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.calc-icon i { color: var(--green-700); }

.calc-title { font-weight: 600; font-size: .96rem; }
.calc-meta { font-size: .78rem; color: var(--text-muted); }

.plan-main { font-weight: 600; font-size: .95rem; }
.plan-sub { font-size: .8rem; color: var(--text-muted); }

.calc-size-list input:checked + .calc-card,
.plan-list input:checked + .plan-card {
  background: linear-gradient(135deg, var(--green-50), #ffffff);
  border: 1px solid rgba(64, 145, 108, .22);
  box-shadow: var(--shadow-3d);
}

/* Range */
.range-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .7rem;
  margin-bottom: .6rem;
  font-size: .9rem;
}

.range-label { font-weight: 500; }

.range-input-wrap {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .25rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 213, 178, .9);
  background: rgba(255, 255, 255, .98);
  font-size: .8rem;
}

.range-input-wrap input {
  width: 80px;
  border: none;
  outline: none;
  background: transparent;
  font: inherit;
  text-align: right;
}
.range-input-wrap .unit { color: var(--text-muted); }

#areaRange {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green-400) 0%, #dfe7e2 0%);
  outline: none;
}

#areaRange::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--green-400);
  box-shadow: 0 4px 12px rgba(64, 145, 108, .55);
  cursor: pointer;
}
#areaRange::-moz-range-thumb {
  width: 20px; height: 20px; border-radius: 50%;
  background: #ffffff; border: 2px solid var(--green-400);
  box-shadow: 0 4px 12px rgba(64, 145, 108, .55);
  cursor: pointer;
}

.input-error {
  font-size: .78rem;
  color: #c0392b;
  margin-top: .35rem;
}

.calc-btn { margin-top: .4rem; }

/* Right side summary */
.calc-right { padding: 1.6rem 1.5rem 1.9rem; }

.calc-right h3 { margin: 0 0 .5rem; }
.calc-right .hint {
  margin: 0 0 1.1rem;
  font-size: .8rem;
  color: var(--text-muted);
}

.total-display {
  padding: .95rem 1rem;
  border-radius: 18px;
  background: linear-gradient(120deg, var(--green-300), var(--green-500));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.total-label { font-size: .85rem; opacity: .9; }

.total-amount {
  display: flex;
  align-items: baseline;
  gap: .15rem;
  font-size: 1.6rem;
  font-weight: 600;
}
.total-amount .rupee { font-size: 1.1rem; }

/* Gauge style */
.total-gauge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,.7), transparent 55%),
    rgba(0,0,0,.15);
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.gauge-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background:
    conic-gradient(#ffffff 0% 0%, rgba(255,255,255,.35) 0%);
  display: block;
}

/* Budget grid */
.budget-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: .8rem;
  margin-bottom: 1.1rem;
}

.budget-item {
  border-radius: 14px;
  background: rgba(216, 243, 220, .75);
  padding: .8rem .9rem;
}

.budget-item .label {
  font-size: .78rem;
  color: var(--text-muted);
}
.budget-item .value {
  margin-top: .2rem;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  gap: .2rem;
  align-items: baseline;
}

/* ========== CATEGORIES ========== */
.categories-section { padding: 2.9rem 0; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.1rem;
}

.category-card {
  text-align: center;
  padding-block: 1.3rem;
}

.category-card i {
  font-size: 1.6rem;
  color: var(--green-500);
  margin-bottom: .6rem;
}
.category-card h3 {
  margin: 0;
  font-size: .9rem;
}

/* ========== SUPPORT ========== */
.support-section { padding: 2.8rem 0; }

.support-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.support-card i {
  font-size: 1.4rem;
  color: var(--green-500);
  margin-bottom: .5rem;
}
.support-card h3 {
  margin: 0 0 .35rem;
  font-size: 1rem;
}
.support-card p {
  margin: 0;
  font-size: .86rem;
  color: var(--text-muted);
}

/* ========== PROCESS ========== */
.process-section { padding: 3rem 0 2.8rem; }

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1.1rem;
}

.process-card { padding-top: 1.1rem; }

.process-card .step {
  display: inline-block;
  padding: .18rem .75rem;
  border-radius: 999px;
  background: rgba(216, 243, 220, .9);
  font-size: .75rem;
  color: var(--green-700);
  margin-bottom: .6rem;
}
.process-card h3 { margin: 0 0 .4rem; font-size: 1rem; }
.process-card p { margin: 0; font-size: .86rem; color: var(--text-muted); }

/* ========== FAQ ========== */
.faq-section { padding: 2.8rem 0; }

.faq-list { max-width: 780px; margin: 0 auto; }

.faq-item {
  margin-bottom: .65rem;
  border-radius: 16px;
  border: 1px solid rgba(148, 213, 178, .8);
  background: rgba(255, 255, 255, .96);
  padding: .7rem 1rem;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 500;
  font-size: .92rem;
}
.faq-item summary::-webkit-details-marker { display:none; }
.faq-item summary::after {
  content: "+";
  float: right;
  font-weight: 600;
  color: var(--green-500);
}
.faq-item[open] summary::after { content: "–"; }

.faq-item p {
  margin: .35rem 0 .1rem;
  font-size: .86rem;
  color: var(--text-muted);
}

/* ========== CONTACT ========== */
.contact-section { padding: 3rem 0 3.4rem; }

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-intro h2 { margin: 0 0 .6rem; }
.contact-intro p { margin: 0 0 1rem; color: var(--text-muted); }

.contact-highlight {
  display: flex;
  align-items: center;
  gap: .8rem;
}

.contact-highlight i {
  font-size: 1.4rem;
  color: var(--green-500);
}

.contact-form { padding: 1.4rem 1.5rem 1.6rem; }

.field-row {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap;
}

.field {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  margin-bottom: .75rem;
}

.field label {
  font-size: .78rem;
  margin-bottom: .2rem;
  color: var(--text-muted);
}

.field input,
.field select,
.field textarea {
  border-radius: 10px;
  border: 1px solid rgba(148, 213, 178, .95);
  padding: .55rem .7rem;
  font: inherit;
  outline: none;
  background: rgba(255,255,255,.97);
  transition: border var(--transition-fast), box-shadow var(--transition-fast),
    background var(--transition-fast);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--green-500);
  box-shadow: 0 0 0 3px rgba(148, 213, 178, .55);
  background: #ffffff;
}

.form-note {
  font-size: .8rem;
  color: var(--green-700);
  margin-top: .5rem;
}

/* ========== FOOTER ========== */
.site-footer {
  background: radial-gradient(circle at top left, rgba(8,28,21,.9), #081c15);
  color: #e1f4ea;
  margin-top: 1.2rem;
  padding-top: 2.1rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(0,.9fr) minmax(0,.9fr);
  gap: 1.7rem;
  padding-bottom: 1.8rem;
}

.footer-brand img {
  height: 38px;
  margin-bottom: .7rem;
}
.footer-brand p {
  margin: 0;
  font-size: .85rem;
  color: #cde7d8;
}

.footer-links h3,
.footer-contact h3 {
  margin: 0 0 .7rem;
  font-size: .95rem;
}

.footer-links a,
.footer-contact a {
  display: block;
  text-decoration: none;
  color: #cde7d8;
  font-size: .85rem;
  margin-bottom: .25rem;
}
.footer-links a:hover,
.footer-contact a:hover { color: #ffffff; }

.social {
  display: flex;
  gap: .5rem;
  margin-top: .45rem;
}
.social a {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid rgba(148, 213, 178, .8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #cde7d8;
  text-decoration: none;
  font-size: .8rem;
}
.social a:hover {
  background: rgba(148, 213, 178, .3);
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(148, 213, 178, .5);
  text-align: center;
  padding: .75rem 0;
  font-size: .8rem;
  color: #b1d6c1;
}

/* WhatsApp floating */
.whatsapp-float {
  position: fixed;
  right: 1.15rem;
  bottom: 1.15rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(0,0,0,.32);
  font-size: 1.4rem;
  z-index: 70;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .main-nav, .nav-actions { display: none; }

  .hero-grid,
  .about-grid,
  .map-grid,
  .calc-grid,
  .contact-grid {
    grid-template-columns: minmax(0,1fr);
  }

  .hero { padding-top: 2.5rem; }
  .hero-card-3d { transform: none; }

  .stats-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .why-grid,
  .process-grid,
  .support-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }

  .category-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .calc-size-list,
  .plan-list { grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .nav-container { padding-block: .6rem; }
  .brand-tagline { display: none; }

  .hero-grid { gap: 1.9rem; }
  .stats-grid,
  .why-grid,
  .category-grid,
  .process-grid,
  .support-grid {
    grid-template-columns: minmax(0,1fr);
  }
  .calc-size-list,
  .plan-list {
    grid-template-columns: minmax(0,1fr);
  }
  .footer-grid {
    grid-template-columns: minmax(0,1fr);
  }
}