/* ========================================
   REVIEW.CSS — Vrindavan Misthanna Bhandar
   ======================================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

a, button, .nav-logo, .nav-toggle, .rh-card, .whatsapp-float {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

:root {
  --green:#1a7a2e; --green-light:#2ea845; --green-pale:#edf7f0;
  --orange:#e07b18; --orange-light:#f4a435; --orange-pale:#fff8ee;
  --cream:#fdf8f2; --dark:#1a1a1a; --mid:#444444; --muted:#777777;
  --white:#ffffff; --shadow-sm:0 2px 8px rgba(0,0,0,0.07);
  --shadow-md:0 6px 24px rgba(0,0,0,0.11); --radius:16px;
  --font-display:'Playfair Display',Georgia,serif;
  --font-body:'Inter',system-ui,sans-serif;
  --font-accent:'Poppins',sans-serif;
  --transition:0.3s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--dark); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }

.section-eyebrow { display:inline-block; font-family:var(--font-accent); font-size:0.78rem; font-weight:600; letter-spacing:0.14em; text-transform:uppercase; color:var(--orange); margin-bottom:10px; }
.section-title { font-family:var(--font-display); font-size:clamp(1.8rem,4vw,2.8rem); font-weight:700; color:var(--dark); margin-bottom:14px; }
.section-sub { font-size:1rem; color:var(--muted); max-width:520px; margin:0 auto; }
.section-header { text-align:center; margin-bottom:48px; }

.btn { display:inline-flex; align-items:center; gap:8px; padding:14px 28px; border-radius:50px; font-family:var(--font-accent); font-weight:600; font-size:0.9rem; cursor:pointer; transition:var(--transition); border:2px solid transparent; }
.btn-primary { background:var(--orange); color:var(--white); border-color:var(--orange); }
.btn-primary:hover { background:var(--orange-light); transform:translateY(-2px); box-shadow:0 8px 24px rgba(224,123,24,0.35); }

/* ========================================
   NAVBAR (shared across all pages)
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 16px rgba(0,0,0,0.1);
}

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

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1001;
}
.nav-logo img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-brand { display: flex; flex-direction: column; }
.brand-main {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  transition: color 0.3s ease;
}
.brand-sub {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.3s ease;
}
.navbar.scrolled .brand-main { color: var(--green); }
.navbar.scrolled .brand-sub  { color: var(--muted); }

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  display: block;
  font-family: var(--font-accent);
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  padding: 10px 16px;
  border-radius: 8px;
  transition: background 0.25s ease, color 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}
.navbar.scrolled .nav-links a { color: var(--dark); }
.nav-links a:hover { background: rgba(255,255,255,0.14); }
.navbar.scrolled .nav-links a:hover { background: var(--green-pale); color: var(--green); }
.nav-links a.active { color: var(--orange-light) !important; }

.nav-cta {
  background: var(--orange) !important;
  color: var(--white) !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
}
.nav-cta:hover { background: var(--orange-light) !important; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1001;
  -webkit-tap-highlight-color: transparent;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}
.navbar.scrolled .nav-toggle span { background: var(--dark); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Overlay (dims page behind mobile menu) */
.nav-overlay {
  display: none;
}

/* ---- MOBILE NAV ---- */
@media (max-width: 768px) {
  .navbar { background: rgba(15,36,22,0.97); backdrop-filter: blur(12px); }
  .navbar.scrolled { background: var(--white); }
  .navbar:not(.scrolled) .brand-main { color: var(--white); }
  .navbar:not(.scrolled) .brand-sub  { color: rgba(255,255,255,0.75); }

  .nav-toggle { display: flex; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 999;
  }
  .nav-overlay.open {
    opacity: 1;
    pointer-events: all;
  }

  .nav-links {
    position: fixed;
    top: 78px;
    right: 16px;
    left: auto;
    width: min(62vw, 240px);
    max-height: calc(100vh - 100px);
    background: #14301f;
    border-radius: 18px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 10px;
    margin: 0;
    transform: translateY(-12px) scale(0.96);
    opacity: 0;
    transform-origin: top right;
    transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), opacity 0.2s ease;
    pointer-events: none;
    z-index: 1000;
    box-shadow: 0 16px 40px rgba(0,0,0,0.35), 0 0 0 1px rgba(255,255,255,0.06);
    overflow-y: auto;
  }
  .nav-links.open {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
  }

  .nav-links li { width: 100%; }
  .nav-links a {
    width: 100%;
    padding: 13px 16px;
    font-size: 0.95rem;
    border-radius: 10px;
    border-bottom: none;
    color: rgba(255,255,255,0.92) !important;
  }
  .nav-links a:hover,
  .nav-links a:active { background: rgba(255,255,255,0.08); }
  .nav-links a.active { background: rgba(224,123,24,0.15); }

  .nav-cta-wrap { margin-top: 4px; padding: 0; }
  .nav-cta-wrap a {
    text-align: center;
    border-radius: 10px !important;
    padding: 13px 16px !important;
  }
}

/* ---- PAGE HERO ---- */
.page-hero { background:linear-gradient(135deg,var(--green) 0%,#0f4d1e 100%); padding:120px 24px 60px; text-align:center; position:relative; overflow:hidden; }
.page-hero::before { content:''; position:absolute; inset:0; background:radial-gradient(circle at 30% 70%,rgba(224,123,24,0.12),transparent 60%); }
.page-hero-inner { position:relative; z-index:1; }
.page-hero h1 { font-family:var(--font-display); font-size:clamp(2rem,5vw,3.5rem); font-weight:900; color:var(--white); margin:8px 0 14px; }
.page-hero p { color:rgba(255,255,255,0.72); font-size:1rem; margin-bottom:20px; }
.review-stars { display:flex; align-items:center; justify-content:center; gap:6px; }
.review-stars span { font-size:1.6rem; color:var(--orange-light); }
.star-label { font-family:var(--font-accent); font-size:0.88rem; color:rgba(255,255,255,0.8); margin-left:8px; }

/* ---- REVIEW HIGHLIGHTS ---- */
.review-highlights { padding:60px 24px; background:var(--white); }
.rh-container { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); gap:20px; }
.rh-card { background:var(--cream); border:1.5px solid rgba(0,0,0,0.07); border-radius:var(--radius); padding:28px 20px; text-align:center; transition:var(--transition); }
.rh-card:hover { transform:translateY(-4px); box-shadow:var(--shadow-md); border-color:var(--green-light); }
.rh-icon { font-size:2.2rem; margin-bottom:14px; }
.rh-card h3 { font-family:var(--font-display); font-size:1.05rem; font-weight:700; color:var(--dark); margin-bottom:10px; }
.rh-card p { font-size:0.83rem; color:var(--muted); line-height:1.65; font-style:italic; }

/* ---- EMBED SECTION ---- */
.reviews-embed-section { padding:80px 24px; background:var(--cream); }
.reviews-container { max-width:1100px; margin:0 auto; }
.elfsight-wrapper { background:var(--white); border-radius:var(--radius); padding:32px; box-shadow:var(--shadow-sm); min-height:300px; }

/* ---- REVIEW CTA ---- */
.review-cta-section { background:linear-gradient(135deg,var(--green) 0%,#0f4d1e 100%); padding:80px 24px; text-align:center; }
.review-cta-inner { max-width:600px; margin:0 auto; }
.review-cta-inner h2 { font-family:var(--font-display); font-size:clamp(1.6rem,3.5vw,2.4rem); font-weight:700; color:var(--white); margin-bottom:14px; }
.review-cta-inner p { color:rgba(255,255,255,0.75); margin-bottom:28px; font-size:0.97rem; }

/* ---- FOOTER ---- */
.footer { background:#0f2416; color:rgba(255,255,255,0.75); padding:60px 0 0; }
.footer-container { max-width:1180px; margin:0 auto; padding:0 24px 40px; display:grid; grid-template-columns:2fr 1fr 1.5fr; gap:48px; }
.footer-brand img { width:60px; height:60px; object-fit:contain; margin-bottom:14px; }
.footer-brand p { font-size:0.88rem; line-height:1.7; margin-bottom:20px; }
.footer-socials { display:flex; gap:12px; }
.footer-socials a { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.12); display:flex; align-items:center; justify-content:center; color:rgba(255,255,255,0.7); transition:var(--transition); }
.footer-socials a svg { width:17px; height:17px; }
.footer-socials a:hover { background:var(--orange); border-color:var(--orange); color:var(--white); }
.footer-links h4,.footer-contact h4 { font-family:var(--font-accent); font-size:0.85rem; font-weight:600; color:var(--white); text-transform:uppercase; letter-spacing:0.1em; margin-bottom:18px; }
.footer-links ul { list-style:none; }
.footer-links li { margin-bottom:10px; }
.footer-links a { font-size:0.88rem; color:rgba(255,255,255,0.65); transition:var(--transition); }
.footer-links a:hover { color:var(--orange-light); }
.footer-contact p { font-size:0.88rem; margin-bottom:10px; line-height:1.6; }
.footer-contact a { color:rgba(255,255,255,0.65); transition:var(--transition); }
.footer-contact a:hover { color:var(--orange-light); }
.footer-bottom { border-top:1px solid rgba(255,255,255,0.08); padding:18px 24px; text-align:center; font-size:0.8rem; color:rgba(255,255,255,0.4); }

/* ---- WHATSAPP ---- */
.whatsapp-float { position:fixed; bottom:28px; right:28px; z-index:999; width:58px; height:58px; background:#25d366; border-radius:50%; display:flex; align-items:center; justify-content:center; box-shadow:0 6px 24px rgba(37,211,102,0.45); color:var(--white); transition:var(--transition); animation:wa-bounce 3s ease-in-out infinite; }
.whatsapp-float svg { width:28px; height:28px; }
.whatsapp-float:hover { transform:scale(1.12); animation:none; }
.wa-tooltip { position:absolute; right:68px; background:var(--dark); color:var(--white); font-family:var(--font-accent); font-size:0.78rem; padding:7px 14px; border-radius:8px; white-space:nowrap; opacity:0; pointer-events:none; transition:opacity 0.2s; }
.wa-tooltip::after { content:''; position:absolute; right:-6px; top:50%; transform:translateY(-50%); border:4px solid transparent; border-left-color:var(--dark); }
.whatsapp-float:hover .wa-tooltip { opacity:1; }
@keyframes wa-bounce { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ---- RESPONSIVE ---- */
@media (max-width:900px) { .rh-container { grid-template-columns:repeat(2,1fr); } }
@media (max-width:768px) {
  .footer-container { grid-template-columns:1fr; gap:28px; }
  .elfsight-wrapper { padding:16px; }
  .whatsapp-float { bottom:16px; right:14px; width:52px; height:52px; }
}
@media (max-width:480px) { .rh-container { grid-template-columns:1fr; } }
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { animation-duration:0.01ms!important; transition-duration:0.01ms!important; } }