@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@600&family=Nunito+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400&family=Work+Sans:wght@500;700;800&display=swap');

/* ========== CSS VARIABLES ========== */
:root {
  --primary: #0a2540;
  --primary-hover: #061829;
  --primary-light: #1a3f66;
  --accent: #f8c32c;
  --accent-hover: #e5b220;
  --bg-white: #ffffff;
  --bg-alt: #f3f0eb;
  --text-dark: #071524;
  --text-body: #5a6a7a;
  --text-white: #ffffff;
  --font-body: 'Nunito Sans', sans-serif;
  --font-heading: 'Work Sans', sans-serif;
  --font-accent: 'Caveat', cursive;
  --container-width: 1240px;
  --header-h: 85px;
  --topbar-h: 44px;
  --shadow-sm: 0 2px 8px rgba(10,37,64,0.07);
  --shadow-md: 0 8px 30px rgba(10,37,64,0.12);
  --shadow-lg: 0 20px 50px rgba(10,37,64,0.18);
  --radius: 14px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text-body); background: var(--bg-white); line-height: 1.7; font-size: 16px; overflow-x: hidden; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); color: var(--text-dark); font-weight: 700; line-height: 1.2; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img, video { max-width: 100%; height: auto; display: block; }

/* ========== LAYOUT ========== */
.container { width: 100%; max-width: var(--container-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section-sm { padding: 40px 0; }
}

/* Grid */
.grid { display: grid; gap: 30px; }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* Flex Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 12px; }
.gap-3 { gap: 18px; }
.gap-4 { gap: 24px; }

/* Spacing */
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

/* Text */
.text-center { text-align: center; }

/* ========== TYPOGRAPHY ========== */
.accent-label {
  font-family: var(--font-accent);
  color: var(--accent);
  font-size: 2.2rem;
  display: block;
  margin-bottom: 6px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 18px;
  line-height: 1.1;
}

.section-subtitle {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 50px;
  color: var(--text-body);
  line-height: 1.8;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-light);
  border-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: white;
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border-color: white;
}
.btn-outline-white:hover {
  background: white;
  color: var(--primary);
}

/* ========== TOPBAR ========== */
.topbar {
  background: var(--primary);
  color: rgba(255,255,255,0.75);
  height: var(--topbar-h);
  font-size: 0.82rem;
  display: none;
}
@media (min-width: 768px) { .topbar { display: block; } }

.topbar .container {
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.topbar a:hover { color: var(--accent); }
.topbar-badge {
  background: rgba(248,195,44,0.15);
  border: 1px solid rgba(248,195,44,0.3);
  color: var(--accent);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

/* ========== HEADER / NAV ========== */
.header {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--header-h);
  gap: 20px;
}

.logo img { height: 55px; width: auto; }

.nav-links {
  display: none;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) { .nav-links { display: flex; } }

.nav-links a {
  font-weight: 700;
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 4px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: var(--accent);
  transition: var(--transition);
  border-radius: 2px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta { display: none; }
@media (min-width: 1024px) { .nav-cta { display: inline-flex !important; } }

.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}
@media (min-width: 1024px) { .mobile-menu-btn { display: none; } }

/* ========== MOBILE MENU ========== */
.mobile-menu-overlay {
  position: fixed; inset: 0;
  background: rgba(10,37,64,0.75);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-menu-overlay.active { opacity: 1; pointer-events: all; }

.mobile-menu {
  position: fixed;
  top: 0; right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--primary);
  z-index: 2000;
  padding: 30px 28px;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.mobile-menu.active { right: 0; }

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}
.mobile-menu-header img { height: 40px; filter: brightness(10); }
.close-menu {
  background: none; border: none;
  color: var(--accent); font-size: 2rem;
  cursor: pointer; line-height: 1;
}

.mobile-nav-links { display: flex; flex-direction: column; gap: 0; }
.mobile-nav-links a {
  font-size: 1.15rem;
  font-family: var(--font-heading);
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.mobile-nav-links a:hover, .mobile-nav-links a.active { color: var(--accent); }
.mobile-menu-contact { margin-top: auto; padding-top: 30px; }
.mobile-menu-contact a { color: rgba(255,255,255,0.6); font-size: 0.9rem; display: block; margin-bottom: 8px; }
.mobile-menu-contact a:hover { color: var(--accent); }

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
  overflow: hidden;
}
.hero-video {
  position: absolute;
  top: 50%; left: 50%;
  min-width: 100%; min-height: 100%;
  width: auto; height: auto;
  transform: translate(-50%, -50%);
  z-index: 1;
  object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(10,37,64,0.75) 0%, rgba(10,37,64,0.85) 100%);
  z-index: 2;
}
.hero-content {
  position: relative;
  z-index: 3;
  max-width: 820px;
  padding: 0 24px;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  margin-bottom: 22px;
  line-height: 1.08;
  text-transform: uppercase;
  color: white;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  opacity: 0.88;
  line-height: 1.7;
}
.hero-btns { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* Wave Divider  — white wave on bottom of coloured hero */
.wave-bottom {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-top: -2px; /* remove gap */
}
.wave-bottom svg { display: block; width: 100%; }

/* ========== PAGE HERO (inner pages) ========== */
.page-hero {
  position: relative;
  background: var(--primary);
  padding: 110px 0 70px;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath fill='%23ffffff' d='M0,30 Q360,60 720,30 T1440,30 L1440,60 L0,60 Z'/%3E%3C/svg%3E") no-repeat bottom;
  background-size: cover;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); color: white; margin-bottom: 8px; }
.page-hero .accent-label { font-size: 1.8rem; }

/* Page hero food variant */
.page-hero-food {
  background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 100%);
}

/* ========== SECTION DIVIDERS ========== */
.divider-alt-to-white {
  display: block; width: 100%; overflow: hidden; line-height: 0; background: var(--bg-alt);
}
.divider-alt-to-white svg { display: block; width: 100%; }

/* ========== ABOUT SECTION ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 50px;
  align-items: center;
}
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.1fr 1fr; }
}

.about-img-wrap {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-img-wrap img { width: 100%; height: 420px; object-fit: cover; }
.about-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  background: var(--accent);
  color: var(--primary);
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 800;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  line-height: 1.3;
  box-shadow: var(--shadow-md);
}
.about-badge span { display: block; font-size: 2rem; }

.check-list { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 600;
}
.check-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 22px; height: 22px;
  background: var(--accent);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  margin-top: 2px;
}

/* ========== FEATURE CARDS (floating circle icon) ========== */
.cards-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 60px 30px;
  padding-top: 60px; /* space for overflowing circles */
}
@media (min-width: 640px) { .cards-wrap { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-wrap { grid-template-columns: repeat(3, 1fr); } }

.feat-card {
  background: var(--primary);
  color: white;
  border-radius: var(--radius);
  padding: 60px 28px 36px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.feat-icon {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px; height: 90px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 20px rgba(248,195,44,0.35);
  border: 4px solid white;
  transition: var(--transition);
}
.feat-card:hover .feat-icon { transform: translateX(-50%) scale(1.08); }

.feat-card-img {
  position: absolute;
  top: -50px; left: 50%;
  transform: translateX(-50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid white;
  box-shadow: 0 8px 20px rgba(248,195,44,0.35);
  background: var(--accent);
  transition: var(--transition);
}
.feat-card:hover .feat-card-img { transform: translateX(-50%) scale(1.06); }

.feat-card h3 {
  color: white;
  font-size: 1.25rem;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 14px;
}
.feat-card h3::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 36px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.feat-card p { color: rgba(255,255,255,0.78); flex-grow: 1; margin-bottom: 24px; }

.feat-link {
  color: rgba(255,255,255,0.7);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1px;
  margin-top: auto;
}
.feat-link:hover { color: var(--accent); }
.feat-link svg { transition: transform 0.3s; }
.feat-link:hover svg { transform: translateX(4px); }

/* ========== PRODUCT CARDS ========== */
.product-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid rgba(0,0,0,0.06);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--bg-alt);
}
.product-card-img-placeholder {
  width: 100%;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
}
.product-card-body { padding: 20px 22px; }
.product-card-body h3 { font-size: 1.1rem; color: var(--primary); margin-bottom: 8px; }
.product-card-body p { font-size: 0.92rem; color: var(--text-body); line-height: 1.6; }

/* ========== STATS SECTION ========== */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  position: relative;
  padding: 80px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
@media (min-width: 768px) { .stats-grid { grid-template-columns: repeat(4, 1fr); } }

.stat-box { text-align: center; padding: 20px 10px; }
.stat-number {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--accent);
  line-height: 1;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ========== CERTIFICATIONS ========== */
.cert-box {
  background: white;
  border-radius: var(--radius);
  padding: 28px 20px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border-bottom: 3px solid var(--accent);
  transition: var(--transition);
}
.cert-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.cert-icon { font-size: 2.5rem; margin-bottom: 12px; }
.cert-name { font-family: var(--font-heading); font-weight: 800; color: var(--primary); font-size: 1rem; }

/* ========== IMAGE GALLERY ========== */
.img-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
@media (min-width: 640px) { .img-gallery { grid-template-columns: repeat(3, 1fr); } }
.img-gallery img { width: 100%; height: 200px; object-fit: cover; border-radius: 8px; }

/* ========== FOOTER ========== */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.5fr; } }

.footer-logo-wrap {
  display: inline-flex;
  background: white;
  padding: 10px 18px;
  border-radius: 8px;
  margin-bottom: 18px;
}
.footer-logo-wrap img { height: 38px; }

.footer-title {
  color: white;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  padding-bottom: 10px;
  position: relative;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
}

.footer-links li { margin-bottom: 12px; }
.footer-links a {
  color: rgba(255,255,255,0.65);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-links .icon { font-size: 0.8rem; opacity: 0.5; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.footer-contact-item .ico {
  color: var(--accent);
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ========== FORM ========== */
.form-group { margin-bottom: 18px; }
.form-label { display: block; margin-bottom: 7px; font-weight: 700; color: rgba(255,255,255,0.85); font-family: var(--font-heading); font-size: 0.9rem; }
.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  background: rgba(255,255,255,0.08);
  color: white;
  transition: var(--transition);
}
.form-control::placeholder { color: rgba(255,255,255,0.35); }
.form-control:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.12); }
textarea.form-control { resize: vertical; }

/* Contact info on light bg */
.contact-info-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 32px;
}
.contact-info-icon {
  width: 52px; height: 52px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}
.contact-info-text h4 { color: var(--primary); margin-bottom: 4px; font-size: 1rem; }
.contact-info-text a { color: var(--text-body); }
.contact-info-text a:hover { color: var(--accent); }

/* ========== BADGE / PILL ========== */
.badge-pill {
  display: inline-block;
  padding: 5px 14px;
  background: rgba(248,195,44,0.12);
  border: 1px solid rgba(248,195,44,0.4);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* ========== RESPONSIVE MISC ========== */
@media (max-width: 640px) {
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* ========== MOBILE SPECIFIC ========== */
@media (max-width: 768px) {
  /* Contact page team banner: stack on mobile */
  .contact-banner-grid { grid-template-columns: 1fr !important; }
  /* Section title & hero clamping already handled via clamp() */
  /* Pill badges wrap gracefully */
  .grid { gap: 20px; }
  .cards-wrap { gap: 70px 20px; }
  /* Footer grid single column */
  .footer-grid { gap: 28px; }
  /* Stats */
  .stats-grid { gap: 24px; }
  .stat-number { font-size: 2.6rem; }
  /* About grid */
  .about-img-wrap img { height: 280px; }
  /* Page hero */
  .page-hero { padding: 80px 0 60px; }
  .page-hero h1 { font-size: 2rem; }
  /* Section labels */
  .accent-label { font-size: 1.8rem; }
  /* Hero */
  .hero { min-height: 80vh; }
  .hero-btns { flex-direction: column; align-items: center; }
  .hero-btns .btn { width: 100%; max-width: 280px; justify-content: center; }
  /* Product card image */
  .product-card-img, .product-card-img-placeholder { height: 160px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .section { padding: 55px 0; }
  .section-title { font-size: 1.75rem; }
  .grid-4 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 2.2rem; }
  .feat-card { padding: 55px 20px 28px; }
  /* Contact banner: single column */
  .about-grid { gap: 32px; }
}
