:root {
  --primary-color: #0a2e4f;
  --secondary-color: #0f6fa8;
  --accent-color: #1bb3c8;
  --dark-color: #0b1f33;
  --text-color: #333;
  --light-bg: #f5f8fb;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  color: var(--text-color);
  background: #fff;
  line-height: 1.7;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}

body.page-loaded {
  opacity: 1;
}

/* HEADER */

header {
  position: fixed;
  top: -120px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  transition: top 0.4s ease, box-shadow 0.3s ease;
}

/* HEADER VISIBLE AFTER HERO */
header.header-show {
  top: 0;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

header.scrolled {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* Prevent layout jump */
body {
  margin: 0;
  padding: 0;
}

/* Smooth scroll feel */
html {
  scroll-behavior: smooth;
}

/* Optional shadow on scroll */
header.scrolled {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;

}


.navbar img {
  height: 45px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

.navbar a {
  text-decoration: none;
  color: var(--primary-color);
  font-weight: 500;
}

.navbar a:hover {
  color: var(--secondary-color);
}

/* HERO */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(to right, #f7fbff, #eef6fb);
}



.hero-content {
  padding: 0 40px;
  /* 👈 LEFT & RIGHT GAP */
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}


.hero h1 {
  font-size: 46px;
  line-height: 1.2;
}

.hero p {
  margin: 20px 0;
}

.hero-img {
  width: 100%;
  border-radius: 12px;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  background: var(--secondary-color);
  color: white;
  border-radius: 5px;
  text-decoration: none;
}

/* SECTION */
.section {
  padding: 70px 20px;
}

.section h2 {
  font-size: 34px;
  color: var(--primary-color);
  margin-bottom: 25px;
}

/* GRID */
.grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.card {
  padding: 25px;
  border: 1px solid #eee;
  border-radius: 6px;
}

/* FOOTER */
footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 20px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .navbar ul {
    display: none;
  }
}

.section {
  animation: fadeUp 0.8s ease forwards;
}

.fade-up {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.card {
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
}

.btn {
  transition: all 0.3s ease;
}

.btn:hover {
  background: var(--primary-color);
  transform: scale(1.05);
}

/* =========================
   MOBILE HEADER FINAL FIX
========================= */

/* =========================
   FORCE MOBILE MENU FIX
========================= */

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 30px;
  cursor: pointer;
  color: var(--primary-color);
}

@media screen and (max-width: 768px) {

  .menu-toggle {
    display: block !important;
    z-index: 10000;
  }

  .navbar {
    position: relative;
  }

  .navbar ul {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    gap: 18px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
  }

  .navbar ul.active {
    display: flex !important;
  }
}



.navbar a.active {
  color: var(--secondary-color);
}

.center {
  text-align: center;
}

.sub-text {
  max-width: 600px;
  margin: 0 auto 50px;
  color: #666;
}

/* IMAGE GRID */
.image-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.img-card {
  text-align: center;
  overflow: hidden;
  border-radius: 12px;
  transition: all 0.35s ease;
}

.img-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.img-card h3 {
  margin-top: 15px;
  color: var(--primary-color);
}

.img-card:hover {
  transform: translateY(-10px);
}

.why-cards {
  grid-template-columns: repeat(3, 1fr);
}

.why-card {
  background: white;
  padding: 35px 25px;
  border-radius: 16px;
  text-align: center;
  transition: all 0.35s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.why-card span {
  display: inline-block;
  font-size: 34px;
  margin-bottom: 15px;
}

.why-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.why-card p {
  color: #555;
  font-size: 15px;
}

.why-card i {
  font-size: 38px;
  color: var(--secondary-color);
  /* ya --primary-color */
  margin-bottom: 18px;
}

.why-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.12);
}

.sourcing-grid {
  grid-template-columns: repeat(2, 1fr);
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .image-grid {
    grid-template-columns: 1fr;
  }

  /* FIX FOR WHY BRIGGS CARDS */
  .why-cards {
    grid-template-columns: 1fr;
  }
}

.why-image {
  margin: 50px auto 70px;
  display: block;
  max-width: 800px;
  width: 100%;
  border-radius: 14px;
}

@media (max-width: 768px) {
  .hero-img {
    margin-left: 0;
    margin-bottom: 30px;
  }
}

.social-links {
  margin-top: 15px;
}

.social-links a {
  color: white;
  margin: 0 10px;
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: var(--accent-color);
  transform: translateY(-3px);
}

.about-flex {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.about-img img {
  width: 100%;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .about-flex {
    grid-template-columns: 1fr;
  }
}

.overview-cards {
  grid-template-columns: repeat(3, 1fr);
}

.overview-card {
  background: #fff;
  padding: 35px 28px;
  border-radius: 18px;
  text-align: center;
  transition: 0.35s ease;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
}

.overview-card i {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 15px;
}

.overview-card:hover {
  transform: translateY(-12px);
}

@media (max-width: 768px) {
  .overview-cards {
    grid-template-columns: 1fr;
  }
}

.mission-box {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 45px;
  align-items: center;
}

.mission-box img {
  width: 100%;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .mission-box {
    grid-template-columns: 1fr;
  }
}

.values-cards {
  grid-template-columns: repeat(4, 1fr);
}

.value-card {
  background: #fff;
  padding: 30px 22px;
  border-radius: 16px;
  text-align: center;
  transition: 0.3s ease;
}

.value-card i {
  font-size: 30px;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.value-card:hover {
  transform: translateY(-8px);
}

@media (max-width: 768px) {
  .values-cards {
    grid-template-columns: 1fr;
  }
}

/* PRODUCT LAYOUT */
.product-flex {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.product-flex.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.product-img img {
  width: 100%;
  border-radius: 18px;
}

.product-text h2 {
  margin-bottom: 15px;
}

.product-list {
  margin-top: 18px;
  padding-left: 18px;
}

.product-list li {
  margin-bottom: 10px;
  position: relative;
}

.product-list li::before {
  content: "✔";
  color: var(--secondary-color);
  margin-right: 8px;
}

@media (max-width: 768px) {

  .product-flex,
  .product-flex.reverse {
    grid-template-columns: 1fr;
  }

  .product-img {
    order: -1;
  }
}

/* QUALITY CARDS */
.quality-cards {
  grid-template-columns: repeat(3, 1fr);
}

.quality-card {
  background: #fff;
  padding: 34px 26px;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.07);
  transition: 0.35s ease;
}

.quality-card i {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 14px;
}

.quality-card:hover {
  transform: translateY(-10px);
}

/* SOURCING FLEX */
.sourcing-flex {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 55px;
  align-items: center;
}

.sourcing-flex.reverse {
  grid-template-columns: 1.1fr 1fr;
}

.sourcing-img img {
  width: 100%;
  border-radius: 18px;
}

/* SUSTAINABILITY */
.sustainability-cards {
  grid-template-columns: repeat(3, 1fr);
}

/* MOBILE */
@media (max-width: 768px) {

  .quality-cards,
  .sustainability-cards {
    grid-template-columns: 1fr;
  }

  .sourcing-flex,
  .sourcing-flex.reverse {
    grid-template-columns: 1fr;
  }

  .sourcing-img {
    order: -1;
  }
}

.why-cards {
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.why-card {
  background: #fff;
  padding: 38px 28px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.08);
  transition: 0.35s ease;
}

.why-card i {
  font-size: 38px;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.why-card:hover {
  transform: translateY(-12px);
}

@media (max-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr;
  }
}

.map-box iframe {
  width: 100%;
  height: 380px;
  border: 0;
  border-radius: 18px;
}

.support-box {
  max-width: 800px;
  margin: auto;
  text-align: center;
}

.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #25D366;
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  z-index: 999;
  transition: 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}



.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


.whatsapp-card i {
  font-size: 38px;
  color: #25D366;
  margin-bottom: 15px;
}

.whatsapp-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 12px 22px;
  background: #25D366;
  color: #fff;
  border-radius: 30px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
}

.whatsapp-btn:hover {
  background: #1ebc59;
  transform: translateY(-3px);
}

/* HEADER BASE */
#siteHeader {
  position: fixed;
  top: -120px;           /* 👈 hidden initially */
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9999;
  transition: top 0.45s ease, box-shadow 0.3s ease;
}

/* SHOW ON SCROLL */
#siteHeader.show {
  top: 0;
  box-shadow: 0 8px 25px rgba(0,0,0,0.08);
}

/* =========================
   PREMIUM HERO SLIDER
========================= */

.hero-premium {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  z-index: 0;
  transition: opacity 1s ease;
}

/* ACTIVE SLIDE */
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

/* OVERLAY */


/* TEXT */
.hero-text {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  text-align: center;
  color: #fff;
  opacity: 0;
}

.hero-text h1 {
  font-size: 46px;
  font-weight: 8www00;

  color: white;
}
.hero-text .highlight {
  color: #6db9ff;
}

/* IMAGE ANIMATIONS */
.slide-left.active { animation: imgLeft 1.2s ease forwards; }
.slide-right.active { animation: imgRight 1.2s ease forwards; }
.slide-top.active { animation: imgTop 1.2s ease forwards; }
.slide-zoom.active { animation: imgZoom 1.5s ease forwards; }

/* TEXT ANIMATIONS */
.text-pop.show { animation: textPop 0.8s ease forwards; }
.text-top.show { animation: textTop 0.9s ease forwards; }
.text-fade.show { animation: textFade 1s ease forwards; }

/* KEYFRAMES */
@keyframes imgLeft {
  from { transform: translateX(-80px); }
  to { transform: translateX(0); }
}

@keyframes imgRight {
  from { transform: translateX(80px); }
  to { transform: translateX(0); }
}

@keyframes imgTop {
  from { transform: translateY(-80px); }
  to { transform: translateY(0); }
}

@keyframes imgZoom {
  from { transform: scale(1.15); }
  to { transform: scale(1); }
}

@keyframes textPop {
  from { opacity: 0; transform: translate(-50%, -30%) scale(0.9); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes textTop {
  from { opacity: 0; transform: translate(-50%, -70%); }
  to { opacity: 1; transform: translate(-50%, -50%); }
}

@keyframes textFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* MOBILE */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 30px;
  }
}
