/* ================================================================
   SWAN HYGIENICS — app.css
   Design Tokens, Reset, Layout, Components, Animations, Responsive
   ================================================================ */

/* ---- Google Font Import ---- */
@import url('https://fonts.googleapis.com/css2?family=Sniglet:wght@400;800&display=swap');

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  /* Primary Palette — Eco / Hygiene */
  --green-dark:    #1a6b45;
  --green-mid:     #228b57;
  --green-light:   #34a96e;
  --green-pale:    #d4f0e3;
  --green-faint:   #f0faf5;

  /* Neutrals */
  --white:         #ffffff;
  --off-white:     #f7fbf9;
  --grey-50:       #f2f5f4;
  --grey-100:      #e6ecea;
  --grey-200:      #cdd8d3;
  --grey-400:      #8fa89f;
  --grey-600:      #4e6560;
  --charcoal:      #1c2b27;

  /* Accent */
  --teal:          #1b8ca6;
  --teal-light:    #d0eef5;

  /* Typography */
  --font:          'Sniglet', 'Segoe UI', system-ui, sans-serif;

  /* Spacing */
  --section-pad:   96px 0;
  --container:     1200px;
  --radius:        12px;
  --radius-lg:     20px;
  --radius-pill:   999px;

  /* Shadows */
  --shadow-sm:     0 2px 8px rgba(26,107,69,0.10);
  --shadow-md:     0 6px 24px rgba(26,107,69,0.14);
  --shadow-lg:     0 16px 48px rgba(26,107,69,0.18);

  /* Transitions */
  --ease:          0.28s cubic-bezier(0.4,0,0.2,1);

  /* Navbar height */
  --nav-h:         72px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }
button, input, textarea, select {
  font-family: var(--font);
  font-size: inherit;
}

/* Utility */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-pale);
  padding: 5px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--green-mid);
}

.section-sub {
  font-size: 1rem;
  color: var(--grey-600);
  max-width: 600px;
  line-height: 1.8;
}

/* ================================================================
   SCROLLBAR
   ================================================================ */
::-webkit-scrollbar { width: 7px; }
::-webkit-scrollbar-track { background: var(--grey-50); }
::-webkit-scrollbar-thumb {
  background: var(--green-light);
  border-radius: 4px;
}

/* ================================================================
   NAVBAR
   ================================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: background var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
  background: transparent;
}

#navbar.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(26,107,69,0.12);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.nav-logo img {
  height: 58px;
  width: auto;
  object-fit: contain;
  transition: transform var(--ease);
  filter: brightness(0) invert(1);
}
#navbar.scrolled .nav-logo img{
  filter: unset;
}

.nav-logo:hover img {
  transform: scale(1.04);
}

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

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  position: relative;
  padding: 4px 0;
  transition: color var(--ease);
}

#navbar:not(.scrolled) .nav-links a {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  border-radius: 2px;
  transition: width var(--ease);
}

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

.nav-links a:hover {
  color: var(--green-light);
}

#navbar:not(.scrolled) .nav-links a:hover {
  color: var(--green-pale);
}

.nav-cta {
  background: var(--green-mid) !important;
  color: var(--white) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-pill) !important;
  font-weight: 500 !important;
  font-size: 0.88rem !important;
  box-shadow: var(--shadow-sm) !important;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease) !important;
}

.nav-cta::after { display: none !important; }

.nav-cta:hover {
  background: var(--green-dark) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
  color: var(--white) !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
  transition: background var(--ease);
}

.hamburger:hover { background: var(--green-pale); }

.hamburger span {
  display: block;
  height: 2.5px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform var(--ease), opacity var(--ease), width var(--ease);
}

#navbar:not(.scrolled) .hamburger span {
  background: var(--white);
}

.hamburger span:nth-child(2) { width: 70%; }

.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px 28px;
  box-shadow: 0 16px 40px rgba(26,107,69,0.12);
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease), transform var(--ease);
}

.mobile-nav.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.mobile-nav a {
  display: block;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  border-radius: var(--radius);
  transition: background var(--ease), color var(--ease);
}

.mobile-nav a:hover {
  background: var(--green-faint);
  color: var(--green-dark);
}

.mobile-nav .mob-cta {
  margin-top: 10px;
  text-align: center;
  background: var(--green-mid);
  color: var(--white);
  border-radius: var(--radius-pill);
  padding: 13px 24px;
}

.mobile-nav .mob-cta:hover {
  background: var(--green-dark);
  color: var(--white);
}

/* ================================================================
   HERO SECTION
   ================================================================ */
#home {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--charcoal) 0%, #1a3d2e 40%, var(--green-dark) 100%);
  padding-top: var(--nav-h);
}

/* Animated background particles */
.hero-bg-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-bg-particles::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(52,169,110,0.25) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  border-radius: 50%;
  animation: heroFloat1 14s ease-in-out infinite alternate;
}

.hero-bg-particles::after {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(27,140,166,0.18) 0%, transparent 70%);
  bottom: -80px;
  left: 10%;
  border-radius: 50%;
  animation: heroFloat2 18s ease-in-out infinite alternate;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

@keyframes heroFloat1 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(40px,-60px) scale(1.15); }
}
@keyframes heroFloat2 {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(-30px,40px) scale(1.1); }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 60px 0;
}

.hero-text {
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(52,169,110,0.18);
  border: 1px solid rgba(52,169,110,0.35);
  color: var(--green-pale);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 7px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
  animation: fadeSlideDown 0.7s ease both;
}

.hero-badge .dot {
  width: 7px;
  height: 7px;
  background: var(--green-light);
  border-radius: 50%;
  animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.6); }
}

.hero-h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  margin-bottom: 22px;
  animation: fadeSlideUp 0.8s 0.1s ease both;
}

.hero-h1 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green-pale) 0%, #a8f0cc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.1rem);
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 36px;
  animation: fadeSlideUp 0.8s 0.2s ease both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeSlideUp 0.8s 0.3s ease both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green-mid);
  color: var(--white);
  padding: 14px 30px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 6px 28px rgba(34,139,87,0.45);
}

.btn-primary:hover {
  background: var(--green-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(34,139,87,0.55);
}

.btn-primary svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-weight: 500;
  font-size: 0.95rem;
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

.btn-outline svg { width: 18px; height: 18px; flex-shrink: 0; }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 28px;
  margin-top: 48px;
  animation: fadeSlideUp 0.8s 0.45s ease both;
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--white);
  line-height: 1;
}

.hero-stat-lbl {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

.hero-stat-sep {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.15);
  align-self: center;
}

/* Hero visual card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideUp 0.9s 0.2s ease both;
}

.hero-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  width: 100%;
  max-width: 380px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(52,169,110,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.hero-card-title {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-pale);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero-card-title::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--green-light);
  border-radius: 50%;
  display: inline-block;
}

.hero-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
}

.hero-feature-icon {
  width: 36px;
  height: 36px;
  background: rgba(52,169,110,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}

.hero-card-divider {
  height: 1px;
  background: rgba(255,255,255,0.1);
  margin: 18px 0;
}

.hero-capacity-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.hero-cap-label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.55);
}

.hero-cap-value {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--green-pale);
}

/* Hero scroll hint */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.4);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: fadeSlideUp 1s 0.8s ease both, bounce 2s 1.8s ease-in-out infinite;
  cursor: pointer;
  z-index: 2;
}

.scroll-arrow {
  width: 28px;
  height: 28px;
  border: 1.5px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes bounce {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ================================================================
   ABOUT SECTION
   ================================================================ */
#about {
  padding: var(--section-pad);
  background: var(--off-white);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -80px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--green-pale) 0%, transparent 70%);
  pointer-events: none;
}

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

.about-text {}

.about-intro {
  font-size: 1.05rem;
  color: var(--grey-600);
  line-height: 1.85;
  margin-bottom: 32px;
}

/* Strength pillars */
.about-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}

.pillar:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-pale);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--teal-light) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.pillar-text h4 {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 4px;
}

.pillar-text p {
  font-size: 0.83rem;
  color: var(--grey-600);
  line-height: 1.6;
}

/* About visual side */
.about-visual {
  position: relative;
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--teal-light) 50%, #c8e8d8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-factory-illustration {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
}

.factory-icon {
  font-size: 5rem;
  line-height: 1;
}

.factory-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--green-dark);
  text-align: center;
  letter-spacing: 0.04em;
}

/* Stats badge overlay */
.about-stats-badge {
  position: absolute;
  bottom: -28px;
  left: -28px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  gap: 24px;
  border: 1px solid var(--grey-100);
}

.about-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-stat-num {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--green-mid);
}

.about-stat-lbl {
  font-size: 0.7rem;
  color: var(--grey-600);
  text-align: center;
  margin-top: 2px;
}

/* ================================================================
   CATEGORIES SECTION
   ================================================================ */
#categories {
  padding: var(--section-pad);
  background: var(--white);
}

.categories-header {
  text-align: center;
  margin-bottom: 56px;
}

.categories-header .section-sub {
  margin: 0 auto;
}

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

.product-card {
  background: var(--off-white);
  border: 1.5px solid var(--grey-100);
  border-radius: var(--radius-lg);
  padding: 32px 24px 28px;
  text-align: center;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease), background var(--ease);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--green-mid), var(--teal));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--green-pale);
  background: var(--white);
}

.product-card:hover::before {
  transform: scaleX(1);
}

.product-emoji {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 18px;
  display: block;
  transition: transform var(--ease);
}

.product-card:hover .product-emoji {
  transform: scale(1.15) rotate(-5deg);
}

.product-icon-wrap {
  width: 64px;
  height: 64px;
  background: var(--green-faint);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  border: 1.5px solid var(--green-pale);
  transition: background var(--ease), border-color var(--ease), transform var(--ease);
}

.product-card:hover .product-icon-wrap {
  background: var(--green-pale);
  border-color: var(--green-light);
  transform: scale(1.1) rotate(-4deg);
}

.product-card-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 10px;
  line-height: 1.4;
}

.product-card-desc {
  font-size: 0.78rem;
  color: var(--grey-600);
  line-height: 1.6;
}

.product-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-faint);
  border: 1px solid var(--green-pale);
  border-radius: var(--radius-pill);
  padding: 4px 12px;
  transition: background var(--ease), color var(--ease);
}

.product-card:hover .product-tag {
  background: var(--green-pale);
  color: var(--green-dark);
}

/* ================================================================
   NEWS & EVENTS SECTION
   ================================================================ */
#news {
  padding: var(--section-pad);
  background: var(--green-faint);
  position: relative;
  overflow: hidden;
}

#news::before {
  content: '';
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--green-pale) 0%, transparent 70%);
  pointer-events: none;
}

.news-header {
  text-align: center;
  margin-bottom: 56px;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--grey-100);
  transition: transform var(--ease), box-shadow var(--ease);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.news-card-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.news-card-thumb.thumb-green  { background: linear-gradient(135deg, var(--green-pale) 0%, #b8e6d0 100%); }
.news-card-thumb.thumb-teal   { background: linear-gradient(135deg, var(--teal-light) 0%, #a8dce8 100%); }
.news-card-thumb.thumb-grey   { background: linear-gradient(135deg, var(--grey-50) 0%, var(--grey-100) 100%); }

.news-card-body {
  padding: 22px 22px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-tag {
  width: max-content;
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-mid);
  background: var(--green-faint);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
}

.news-tag.tag-teal {
  color: var(--teal);
  background: var(--teal-light);
}

.news-card-title {
  font-size: 1rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.4;
  margin-bottom: 8px;
}

.news-card-excerpt {
  font-size: 0.82rem;
  color: var(--grey-600);
  line-height: 1.65;
  flex: 1;
}

.news-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--grey-100);
}

.news-date {
  font-size: 0.73rem;
  color: var(--grey-400);
  display: flex;
  align-items: center;
  gap: 5px;
}

.news-read-more {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--green-mid);
  display: flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--ease), color var(--ease);
}

.news-card:hover .news-read-more {
  gap: 8px;
  color: var(--green-dark);
}

/* ================================================================
   CONTACT SECTION
   ================================================================ */
#contact {
  padding: var(--section-pad);
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  align-items: start;
}

/* Contact Info Side */
.contact-info {}

.contact-info .section-sub {
  margin-bottom: 36px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

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

.contact-item-icon {
  width: 46px;
  height: 46px;
  background: var(--green-faint);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  border: 1.5px solid var(--green-pale);
  transition: background var(--ease), border-color var(--ease);
}

.contact-item:hover .contact-item-icon {
  background: var(--green-pale);
  border-color: var(--green-light);
}

.contact-item-text {}

.contact-item-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--grey-400);
  margin-bottom: 3px;
}

.contact-item-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  line-height: 1.5;
}

.contact-item-value a {
  color: var(--green-mid);
  transition: color var(--ease);
}

.contact-item-value a:hover {
  color: var(--green-dark);
}

/* Map / Visual placeholder */
.contact-map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--green-faint) 0%, var(--teal-light) 100%);
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--grey-100);
  font-size: 0.85rem;
  color: var(--grey-600);
  gap: 8px;
}

/* Contact Form Side */
.contact-form-wrap {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1.5px solid var(--grey-100);
  box-shadow: var(--shadow-sm);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.form-sub {
  font-size: 0.85rem;
  color: var(--grey-600);
  margin-bottom: 28px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.form-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: 0.04em;
}

.form-label .required { color: var(--green-mid); margin-left: 2px; }

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--charcoal);
  font-size: 0.9rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
  appearance: none;
}

.form-control:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 4px rgba(34,139,87,0.10);
}

.form-control::placeholder { color: var(--grey-400); }

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 14px 24px;
  background: var(--green-mid);
  color: var(--white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--ease), transform var(--ease), box-shadow var(--ease);
  box-shadow: 0 4px 20px rgba(34,139,87,0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.form-submit:hover {
  background: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(34,139,87,0.45);
}

.form-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-submit svg { width: 18px; height: 18px; }

/* Form success / error messages */
#form-feedback {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 500;
  margin-top: 14px;
  animation: scaleIn 0.35s ease both;
  align-items: center;
  gap: 10px;
}

#form-feedback.success {
  display: flex;
  background: var(--green-faint);
  color: var(--green-dark);
  border: 1.5px solid var(--green-pale);
}

#form-feedback.error {
  display: flex;
  background: #fff0f0;
  color: #b93232;
  border: 1.5px solid #f7c8c8;
}

/* ================================================================
   FOOTER
   ================================================================ */
#footer {
  background: var(--charcoal);
  color: rgba(255,255,255,0.75);
}

.footer-top {
  padding: 64px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
}

/* Footer brand */
.footer-brand {}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.footer-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.9);
}

.footer-tagline {
  font-size: 0.88rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  max-width: 280px;
  margin-bottom: 24px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: background var(--ease), border-color var(--ease), color var(--ease), transform var(--ease);
}

.social-link:hover {
  background: var(--green-mid);
  border-color: var(--green-mid);
  color: var(--white);
  transform: translateY(-3px);
}

/* Footer nav column */
.footer-col {}

.footer-col-title {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  transition: color var(--ease), padding-left var(--ease);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '›';
  color: var(--green-light);
  font-size: 1rem;
  line-height: 1;
  transition: transform var(--ease);
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 4px;
}

.footer-links a:hover::before {
  transform: translateX(2px);
}

/* Footer contact column */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
}

.footer-contact-item .fi {
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
  color: var(--green-light);
}

.footer-contact-item a {
  color: rgba(255,255,255,0.55);
  transition: color var(--ease);
}

.footer-contact-item a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: rgba(255,255,255,0.35);
  transition: color var(--ease);
}

.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ================================================================
   GLOBAL ANIMATIONS
   ================================================================ */
@keyframes fadeSlideDown {
  from { opacity:0; transform:translateY(-18px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes fadeSlideUp {
  from { opacity:0; transform:translateY(22px); }
  to   { opacity:1; transform:translateY(0); }
}

@keyframes scaleIn {
  from { opacity:0; transform:scale(0.88); }
  to   { opacity:1; transform:scale(1); }
}

/* Intersection Observer reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ================================================================
   RESPONSIVE — Tablet ( ≤ 1024px )
   ================================================================ */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .hero-content {
    gap: 40px;
  }
}

/* ================================================================
   RESPONSIVE — Mobile ( ≤ 768px )
   ================================================================ */
@media (max-width: 768px) {
  :root {
    --section-pad: 64px 0;
    --nav-h: 64px;
  }

  /* Navbar */
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: flex; }

  /* Hero */
  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 0 60px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  .about-stats-badge {
    position: static;
    margin-top: 20px;
    justify-content: center;
  }

  /* Products */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  /* News */
  .news-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-form-wrap {
    padding: 28px 22px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

/* ================================================================
   RESPONSIVE — Small Mobile ( ≤ 480px )
   ================================================================ */
@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .hero-stat-sep { display: none; }
}
