/* ============================================================
   MASKARWADI — Fresh Green & White
   Clean, professional, and vibrant.
   ============================================================ */

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

:root {
  /* ---- Core Palette ---- */
  --green:         #76AB1B;
  --green-dim:     #0C702A;
  --green-pale:    rgba(118,171,27,0.06);
  --forest:        #0C702A;
  --forest-dim:    #095522;
  --forest-pale:   rgba(12,112,42,0.08);

  /* Buttons use the primary greens */
  --amber:         #76AB1B;
  --amber-dim:     #0C702A;
  --amber-pale:    rgba(118,171,27,0.12);

  /* ---- Backgrounds ---- */
  --bg:            #FFFFFF;
  --bg-alt:        #F8F8F8;
  --card-bg:       #FFFFFF;
  --white:         #FFFFFF;

  /* ---- Text ---- */
  --text:          #2C2C2C;
  --text-light:    #5C6068;
  --text-muted:    #8A8E96;

  /* ---- Borders & Surfaces ---- */
  --border:        #D4CCC2;
  --border-light:  #E4DDD4;
  --shadow-sm:     0 2px 8px rgba(0,0,0,0.04);
  --shadow:        0 8px 32px rgba(0,0,0,0.07);
  --shadow-lg:     0 16px 48px rgba(0,0,0,0.10);
  --shadow-btn:    0 8px 28px rgba(118,171,27,0.25);
  --radius:        16px;
  --radius-sm:     10px;
  --radius-full:   50px;

  /* ---- Transitions ---- */
  --transition:    0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--amber); color: #fff; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== SCROLL INDICATOR ===== */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--forest));
  z-index: 1001; width: 0%;
  transition: width 0.1s ease;
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0;
  background: transparent;
  transition: var(--transition);
}
.header.scrolled {
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
}
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo-svg { height: 38px; width: auto; flex-shrink: 0; }

.nav-group { display: flex; align-items: center; gap: 10px; }
.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  padding: 8px 20px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.header.scrolled .nav-links a { color: var(--text-light); }
.nav-links a:hover {
  background: rgba(255,255,255,0.08);
  color: #fff;
}
.header.scrolled .nav-links a:hover {
  background: var(--green-pale);
  color: var(--green);
}

/* ===== LANGUAGE TOGGLE ===== */
.lang-toggle {
  display: flex; align-items: center; gap: 3px;
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-full);
  padding: 3px;
  flex-shrink: 0;
  margin-left: 6px;
  transition: var(--transition);
}
.header.scrolled .lang-toggle {
  background: var(--white);
  border-color: var(--border-light);
  box-shadow: var(--shadow-sm);
}
.lang-btn {
  padding: 5px 14px; border-radius: var(--radius-full);
  font-size: 0.78rem; font-weight: 600;
  border: none; cursor: pointer;
  background: transparent; color: rgba(255,255,255,0.6);
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
}
.header.scrolled .lang-btn { color: var(--text-muted); }
.lang-btn.active {
  background: var(--green);
  color: #fff;
}
.header.scrolled .lang-btn.active { color: #fff; }
.lang-btn:not(.active):hover { color: #fff; }
.header.scrolled .lang-btn:not(.active):hover { color: var(--text); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px; border-radius: 2px;
  background: var(--white); transition: var(--transition);
}
.header.scrolled .nav-toggle span { background: var(--text); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img,
.hero-bg video { width: 100%; height: 100%; object-fit: cover; }
.hero-bg video { display: block; }

.hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(135deg,
    rgba(12,112,42,0.55) 0%,
    rgba(118,171,27,0.18) 50%,
    rgba(12,112,42,0.35) 100%);
}
.hero-overlay::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--bg));
}
.hero-content {
  position: relative; z-index: 2; text-align: center;
  padding: 120px 24px 60px; max-width: 800px;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 22px; border-radius: var(--radius-full);
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.90);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.hero-badge i { color: var(--amber); }
.hero h1 {
  font-size: clamp(2.4rem, 7vw, 4.8rem);
  font-weight: 700; line-height: 1.12;
  margin-bottom: 20px;
  color: #fff;
}
.hero p {
  font-size: 1.1rem; color: rgba(255,255,255,0.80);
  max-width: 600px; margin: 0 auto 36px;
  line-height: 1.7;
}
.hero-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 32px; border-radius: var(--radius-full);
  font-weight: 600; font-size: 0.92rem;
  transition: var(--transition); cursor: pointer;
  border: none; letter-spacing: 0.3px;
}
.btn-primary {
  background: var(--amber);
  color: #fff;
  box-shadow: var(--shadow-btn);
}
.btn-primary:hover {
  background: var(--amber-dim);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(118,171,27,0.30);
}
.btn-secondary {
  background: rgba(255,255,255,0.10);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.18);
  color: #fff;
}
.btn-secondary:hover {
  transform: translateY(-2px);
  background: rgba(118,171,27,0.10);
  border-color: var(--amber);
}

/* ---- Hero Scroll ---- */
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: rgba(255,255,255,0.5); font-size: 0.75rem;
  letter-spacing: 1.5px; text-transform: uppercase;
  animation: bob 2.5s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-6px); }
}
.hero-scroll .mouse {
  width: 20px; height: 32px;
  border: 2px solid rgba(255,255,255,0.2);
  border-radius: 10px; position: relative;
}
.hero-scroll .mouse::after {
  content: ''; position: absolute; top: 6px; left: 50%; transform: translateX(-50%);
  width: 2px; height: 6px;
  background: var(--amber);
  border-radius: 2px;
  animation: scrollWheel 1.6s ease-in-out infinite;
}
@keyframes scrollWheel {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: 0.2; transform: translateX(-50%) translateY(8px); }
}

/* ============================================================
   SECTION COMMON
   ============================================================ */
section { padding: 100px 0; position: relative; }

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.5px; margin-bottom: 16px;
  text-transform: uppercase;
}
.section-tag--green {
  background: var(--green-pale);
  color: var(--green-dim);
}
.section-tag--forest {
  background: var(--forest-pale);
  color: var(--forest);
}
.section-title {
  font-size: clamp(1.8rem, 3.8vw, 2.6rem);
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px; line-height: 1.2;
  letter-spacing: -0.3px;
}
.section-subtitle {
  font-size: 1.05rem; color: var(--text-light);
  max-width: 600px; margin-bottom: 48px;
  line-height: 1.6;
}
.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ============================================================
   DECORATIVE SECTION DIVIDERS
   ============================================================ */
.section-divider {
  position: relative; height: 60px; overflow: hidden;
  margin-top: -1px;
}
.section-divider svg {
  position: absolute; bottom: 0; width: 100%; height: 60px;
}
.section-divider--top { transform: rotate(180deg); }

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--white);
  position: relative;
}
.about-section::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--amber), var(--forest), var(--green));
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.about-image-wrap {
  position: relative; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-image-wrap img {
  width: 100%; height: 450px; object-fit: cover;
  transition: transform 0.6s ease;
}
.about-image-wrap:hover img { transform: scale(1.04); }

.about-text h3 {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 16px;
  font-weight: 700;
}
.about-text p { margin-bottom: 16px; color: var(--text-light); line-height: 1.8; }
.about-text .highlight { color: var(--forest); font-weight: 600; }
.about-stats {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px; margin-top: 32px;
  max-width: 320px;
}
.about-stat {
  text-align: center; padding: 24px 16px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}
.about-stat:hover {
  transform: translateY(-3px);
  border-color: var(--amber);
  box-shadow: var(--shadow);
}
.about-stat .num {
  font-size: 1.75rem; font-weight: 800;
  color: var(--amber-dim);
  line-height: 1;
  margin-bottom: 4px;
}
.about-stat .label { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

/* ============================================================
   SVG ICON (shared)
   ============================================================ */
.svg-icon { width: 28px; height: 28px; }
.feature-icon .svg-icon { width: 28px; height: 28px; }
.svg-icon path, .svg-icon circle, .svg-icon rect, .svg-icon line {
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* ============================================================
   VILLAGE LIFE / FEATURES
   ============================================================ */
.features-section {
  background: var(--bg-alt);
  position: relative;
}
.features-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 16px;
}
.feature-card {
  background: var(--card-bg); padding: 32px 26px;
  border-radius: var(--radius);
  transition: var(--transition);
  text-align: center;
  border: 1.5px solid var(--border-light);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--amber);
}
.feature-card:nth-child(3):hover,
.feature-card:nth-child(4):hover {
  border-color: var(--forest);
}

.feature-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 18px;
  transition: var(--transition);
  color: var(--amber-dim);
  background: var(--amber-pale);
}
.feature-card:nth-child(3) .feature-icon,
.feature-card:nth-child(4) .feature-icon {
  background: var(--forest-pale);
  color: var(--forest);
}
.feature-card:nth-child(5) .feature-icon {
  background: var(--forest-pale);
  color: var(--forest);
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--green);
  margin-bottom: 10px;
  font-weight: 600;
}
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.65; }

/* ============================================================
   LOCATION
   ============================================================ */
.location-section {
  background: var(--white);
  position: relative;
}
.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.location-info h3 {
  font-size: 1.5rem;
  color: var(--forest);
  margin-bottom: 12px;
  font-weight: 700;
}
.location-info p { color: var(--text-light); margin-bottom: 20px; line-height: 1.8; }
.location-details { display: grid; gap: 12px; }
.location-detail {
  display: flex; align-items: center; gap: 16px;
  padding: 16px 20px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-light);
  transition: var(--transition);
}
.location-detail:hover {
  transform: translateX(4px);
  border-color: var(--forest);
  box-shadow: var(--shadow-sm);
}
.location-detail .icon {
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  background: var(--forest-pale);
  color: var(--forest);
}
.location-detail:nth-child(3) .icon { background: var(--amber-pale); color: var(--amber-dim); }
.location-detail .icon .svg-icon { width: 18px; height: 18px; }
.location-detail .info h4 { font-size: 0.9rem; color: var(--green); font-weight: 600; }
.location-detail .info p { font-size: 0.82rem; color: var(--text-muted); margin: 0; }

.location-map {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-lg);
  height: 350px;
  border: 1.5px solid var(--border-light);
}
.location-map iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   CTA
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green) 0%, var(--green-dim) 100%);
  position: relative; overflow: hidden;
}
.cta-section .container { position: relative; z-index: 1; text-align: center; }
.cta-section h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.cta-section p {
  color: rgba(255,255,255,0.70);
  font-size: 1rem; max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}
.cta-section .btn-secondary {
  background: var(--amber);
  color: #fff;
  border: none;
  font-size: 1rem;
  padding: 16px 40px;
  box-shadow: var(--shadow-btn);
}
.cta-section .btn-secondary:hover {
  background: var(--amber-dim);
  transform: translateY(-2px);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--green-dim);
  color: rgba(255,255,255,0.55);
  padding: 64px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), var(--forest));
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo-svg { height: 44px; width: auto; margin-bottom: 16px; opacity: 0.85; }
.footer-brand p { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); }
.footer h4 {
  font-size: 0.9rem; margin-bottom: 18px;
  color: var(--amber);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.footer ul li { margin-bottom: 10px; }
.footer ul li a {
  font-size: 0.88rem; transition: var(--transition);
  display: inline-flex; align-items: center; gap: 6px;
  color: rgba(255,255,255,0.5);
}
.footer ul li a:hover {
  color: var(--amber);
  transform: translateX(4px);
}
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.footer-social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 0.9rem;
  background: rgba(255,255,255,0.05);
  color: rgba(255,255,255,0.4);
}
.footer-social a:hover {
  background: var(--amber);
  color: var(--green);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px; text-align: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
}

/* ===== FOOTER DEVELOPER CREDIT ===== */
.footer-dev { text-align: center; padding: 32px 0 24px; border-top: 1px solid rgba(255,255,255,0.05); margin-top: 16px; }
.footer-dev h4 {
  font-size: 0.75rem; font-weight: 500;
  color: rgba(255,255,255,0.3);
  margin-bottom: 20px; letter-spacing: 1.5px; text-transform: uppercase;
  -webkit-text-fill-color: rgba(255,255,255,0.3);
}
.footer-dev-grid { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.footer-dev-card { display: flex; flex-direction: column; align-items: center; gap: 8px; transition: var(--transition); }
.footer-dev-card:hover { transform: translateY(-3px); }
.footer-dev-img {
  width: 56px; height: 56px; border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.footer-dev-card:hover .footer-dev-img { border-color: var(--amber); }
.footer-dev-name { font-size: 0.82rem; color: rgba(255,255,255,0.45); font-weight: 500; }

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-35px); transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(35px); transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-right.visible { opacity: 1; transform: translateX(0); }
.reveal-scale { opacity: 0; transform: scale(0.92); transition: all 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94); }
.reveal-scale.visible { opacity: 1; transform: scale(1); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap img { height: 300px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(12,112,42,0.97), rgba(9,85,34,0.95));
    flex-direction: column; justify-content: center; gap: 4px; z-index: 999;
  }
  .nav-links.open { display: flex; }
  .header.scrolled .nav-links a { color: rgba(255,255,255,0.85); }
  .nav-links a { font-size: 1.15rem; padding: 14px 30px; }
  .lang-toggle { margin-left: auto; margin-right: 8px; }
  .header.scrolled .lang-toggle { background: rgba(255,255,255,0.10); border-color: rgba(255,255,255,0.12); }
  .header.scrolled .lang-btn { color: rgba(255,255,255,0.6); }
  .header.scrolled .lang-btn.active { background: var(--green); color: #fff; }
  .header.scrolled .lang-btn:not(.active):hover { color: #fff; }
  .nav-toggle { display: flex; z-index: 1000; }
  .nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); background: var(--amber); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); background: var(--amber); }
  .header.scrolled .nav-toggle span { background: var(--white); }
  .features-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.4rem; }
  section { padding: 60px 0; }
  .section-divider { height: 35px; }
  .section-divider svg { height: 35px; }
}

@media (max-width: 480px) {
  .about-stats { grid-template-columns: 1fr; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .hero h1 { font-size: 2rem; }
  .logo-svg { height: 30px; }
  .about-image-wrap img { height: 220px; }
  .location-map { height: 260px; }
  .hero-content { padding: 100px 16px 50px; }
  section { padding: 48px 0; }
  .section-title { font-size: 1.5rem; }
  .container { padding: 0 16px; }
}

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-content {
  display: flex;
  align-items: center;
  justify-content: center;
}
.loader-content svg {
  max-width: 90vw;
  height: auto;
}

@media (max-width: 480px) {
  .loader-content svg {
    max-width: 95vw;
  }
}
