/* ================= ROOT ================= */
:root {
  --header-h: 64px;
}

@media (min-width: 768px) {
  :root {
    --header-h: 80px;
  }
}

/* ================= HERO ================= */
.hero-bg {
  min-height: 320px;
  background-image: url("/assets/hero-home.webp"), linear-gradient(to bottom, #cb2c01ff, #f6f2ea);
  background-position: top right 30px, center;
  background-repeat: no-repeat, no-repeat;
  background-size: clamp(160px, 18vw, 260px) auto, cover;
}

@media (max-width: 768px) {
  .hero-bg {
    background-size: 120px auto, cover;
    background-position: top right 10px, center;
  }
}

.hero-heading-en {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #3a0b00;
}

.hero-heading-ml {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: #3a0b00;
}

.hero-text-en {
  font-size: 1rem;
  line-height: 1.6;
  max-width: 42rem;
  color: #5a1a0f;
}

.hero-text-ml {
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 72rem;
  color: #5a1a0f;
}

@media (min-width: 768px) {
  .hero-heading-en {
      font-size: 2rem;
  }
  
  .hero-heading-ml {
    font-size: 1.75rem;
  }

  .hero-text-en {
    font-size: 1.125rem;
  }

  .hero-text-ml {
    font-size: 1.05rem;
  }
}
/* ================= HEADER ================= */
.header-scrolled {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0.45),
    rgba(0, 0, 0, 0.15)
  );
  backdrop-filter: blur(8px);
}


/* ================= NAV ================= */
.nav-link {
  color: #ffffff;
  line-height: 1.5;
  display: inline-block;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover {
  color: #ffb733;
  text-decoration: underline;
}

.nav-link.active {
  color: #ffa101;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ================= LANGUAGE SWITCHER ================= */

/* Base circular icon button */
.icon-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.icon-btn:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Icon inside button */
.icon-img {
  width: 16px;
  height: 16px;
  filter: invert(1);
}

.lang-switcher {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  background-color: rgba(255, 255, 255, 0.3);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.lang-switcher:hover {
  background-color: rgba(255, 161, 1, 0.9);
  transform: translateY(-1px);
}
/* ================= FOOTER ================= */
.footer-link {
  color: #cbd5e1;
  line-height: 1.5;
  display: inline-block;
}

.footer-link:hover,
.footer-link.active {
  color: #ffb733;
}

/* ================= SECTIONS ================= */
.section-subheading {
  font-size: 1rem;
  font-weight: 600;
  color: #2f3a38;
  margin-bottom: 0.25rem;
}

.section-subtext {
  font-size: 1rem;
  color: #475569;
}

/* ================= CARDS ================= */
.soft-card {
  background-color: #f6f2ea;
  padding: 1.75rem;
  border-radius: 0.75rem;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.soft-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
}

/* ================= PRODUCTS ================= */
.product-card {
  background-color: white;
  padding: 1rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

.product-img {
  height: 160px;
  max-height: 150px;
  width: 100%;
  object-fit: contain;
  border-radius: 0.5rem;
}

.product-title {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.25;
  color: #2f3a38;
  margin-bottom: 0.25rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2f3a38;
}

/* ================= CTA ================= */
.cta-button {
  display: inline-block;
  background-color: #ffa101;
  color: #0f172a;
  padding: 0.75rem 2rem;
  border-radius: 9999px;
  font-weight: 600;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease;
}

.cta-button:hover {
  background-color: #ffb733;
}

/* ================= PROCESS ================= */
.process-step {
  background-color: #f6f2ea;
  padding: 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.process-step:hover {
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.18);
  transform: translateY(-3px);
}

.process-step-number {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffb733;
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
}

.process-step-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #2f3a38;
  margin-bottom: 0.5rem;
}

.process-step-text {
  font-size: 0.95rem;
  color: #5b5b52;
  line-height: 1.6;
}
