/* ============================================================
   InCleanHome – styles.css
   ============================================================ */

/* ---------- CSS Variables ---------- */
:root {
  --green: #00b272;
  --green-dark: #009960;
  --green-light: #e6f9f2;
  --navy: #1a2e4a;
  --text: #3a4a5c;
  --text-light: #7a8fa6;
  --bg: #f7fafc;
  --white: #ffffff;
  --border: #e2edf5;
  --shadow: 0 4px 24px rgba(26,46,74,0.08);
  --shadow-lg: 0 12px 40px rgba(26,46,74,0.14);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Nunito', sans-serif;
  --font-body: 'Inter', sans-serif;
  --transition: 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,178,114,0.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  font-weight: 800;
}
.btn-white:hover {
  background: var(--green-light);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
}
.btn-link {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  transition: color var(--transition);
}
.btn-link:hover { color: var(--green); }

/* ---------- Section Labels ---------- */
.section-label {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--green);
  margin-bottom: 10px;
}
section h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 800;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}
.section-sub {
  text-align: center;
  color: var(--text-light);
  max-width: 520px;
  margin: 12px auto 0;
  font-size: 15px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(26,46,74,0.05);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.logo-icon { font-size: 22px; }
.logo-text {
  font-family: var(--font-head);
  font-weight: 900;
  font-size: 18px;
  color: var(--navy);
}
.nav-links {
  display: flex;
  gap: 28px;
  margin-left: 8px;
}
.nav-links a {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--green); }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--text);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, #f0fbf7 0%, #e8f5ff 100%);
  padding: 80px 0 60px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 20px;
  box-shadow: var(--shadow);
}
.badge-dot {
  width: 8px; height: 8px;
  background: var(--green);
  border-radius: 50%;
  display: inline-block;
}
.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 18px;
  text-align: left;
}
.hero h1 .highlight {
  color: var(--green);
  position: relative;
}
.hero p {
  color: var(--text);
  font-size: 16px;
  max-width: 480px;
  margin-bottom: 28px;
}
.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat strong {
  display: block;
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--navy);
}
.stat span {
  font-size: 12px;
  color: var(--text-light);
}

/* Hero Image */
.hero-image { position: relative; }
.hero-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  object-fit: cover;
  height: 420px;
  box-shadow: var(--shadow-lg);
}
.hero-badge-float {
  position: absolute;
  bottom: 24px;
  left: -24px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  animation: floatBadge 3s ease-in-out infinite;
}
.hero-badge-float i { color: var(--green); font-size: 20px; }

@keyframes floatBadge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding: 80px 0;
  background: var(--white);
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.feature-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  transition: var(--transition);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-light);
}
.feat-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 22px;
}
.feat-icon.green {
  background: var(--green-light);
  color: var(--green-dark);
}
.feature-card h3 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--navy);
  margin-bottom: 10px;
}
.feature-card p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 18px;
}
.feat-link {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.feat-link:hover { gap: 10px; }

/* ============================================================
   SEARCH SECTION
   ============================================================ */
.search-section {
  padding: 90px 0;
  background: var(--bg);
}
.search-wrap {
  max-width: 860px;
  margin: 0 auto;
}
.search-wrap h2 { margin-bottom: 6px; }

.search-tabs {
  display: flex;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 6px;
  width: fit-content;
  margin: 32px auto 0;
}
.tab {
  padding: 9px 22px;
  border-radius: 7px;
  border: none;
  background: transparent;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--text-light);
  cursor: pointer;
  transition: var(--transition);
}
.tab.active, .tab:hover {
  background: var(--navy);
  color: var(--white);
}

.search-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-top: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 20px;
}
.form-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group label i { color: var(--green); }
.form-group select,
.form-group input {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--text);
  background: var(--bg);
  outline: none;
  transition: border-color var(--transition);
  cursor: pointer;
}
.form-group select:focus,
.form-group input:focus {
  border-color: var(--green);
  background: var(--white);
}
.btn-search {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 16px;
  border-radius: 10px;
}
.search-note {
  text-align: center;
  font-size: 12px;
  color: var(--text-light);
  margin-top: 12px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  padding: 90px 0;
  background: var(--white);
}
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.review-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.stars {
  color: #fbbf24;
  font-size: 17px;
  margin-bottom: 14px;
  letter-spacing: 2px;
}
.review-card p {
  font-size: 14px;
  color: var(--text);
  margin-bottom: 20px;
  font-style: italic;
  line-height: 1.7;
}
.reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 13px;
  color: var(--white);
  flex-shrink: 0;
}
.avatar.green  { background: var(--green); }
.avatar.blue   { background: #3b82f6; }
.avatar.teal   { background: #0891b2; }
.reviewer strong {
  display: block;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
}
.reviewer span {
  font-size: 12px;
  color: var(--green);
  font-weight: 600;
}
.reviews-more {
  text-align: center;
  margin-top: 36px;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #0f4c8a 100%);
  padding: 60px 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.cta-text h2 {
  text-align: left;
  color: var(--white);
  font-size: clamp(22px, 3vw, 32px);
}
.cta-text p {
  color: rgba(255,255,255,0.75);
  font-size: 15px;
  margin-top: 8px;
}
.cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 14px;
  margin-top: 14px;
  line-height: 1.7;
}
.socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}
.socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  transition: var(--transition);
}
.socials a:hover {
  background: var(--green);
  color: var(--white);
}
.footer-col h4 {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-col a:hover { color: var(--green); }
.footer-newsletter p { font-size: 14px; margin-bottom: 16px; }
.newsletter-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.newsletter-form input {
  flex: 1;
  min-width: 160px;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color var(--transition);
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form input:focus { border-color: var(--green); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 13px; }
.footer-legal {
  display: flex;
  gap: 20px;
}
.footer-legal a {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-legal a:hover { color: var(--green); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
[data-animate] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
  opacity: 1;
  transform: none;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions { display: none; }
  .hamburger { display: flex; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: left;
  }
  .hero-image { order: -1; }
  .hero-img-wrap img { height: 280px; }
  .hero-badge-float { left: 10px; }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .form-row { grid-template-columns: 1fr 1fr; }

  .reviews-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner { flex-direction: column; }
  .cta-text h2 { text-align: center; }
  .cta-text p { text-align: center; }
  .cta-btns { justify-content: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .hero-btns { flex-direction: column; }
  .form-row { grid-template-columns: 1fr; }
  .search-tabs { flex-wrap: wrap; width: 100%; }
  .hero-stats { gap: 20px; }
}
