/* =============================================
   KEZIZ MAIZE FLOUR — Complete Stylesheet
   =============================================
   Zero whitespace between sections.
   Poppins font throughout.
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

img, picture, video, svg {
  max-width: 100%;
  height: auto;
}

:root {
  --yellow: #f5c800;
  --green:  #2e9e47;
  --dark-green: #1a6b2a;
  --white:  #ffffff;
  --black: #000000;
  --nav-h:  76px;
  --font:   'Poppins', system-ui, sans-serif;
}

html, body {
  font-family: var(--font);
  background: #fff;
  color: #111;
  font-size: 14px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Reduced Headings for Architectural Elegance */
h1 { font-size: 2.2rem; line-height: 1.1; }
h2 { font-size: 1.8rem; line-height: 1.2; }
h3 { font-size: 1.4rem; line-height: 1.3; }

/* Section Specific Refinements */
.hero__title { font-size: 3.2rem; }
.hero__subtitle { font-size: 1rem; }

/* Utility */
.g, .green    { color: var(--green); }
.y, .yellow   { color: var(--yellow); }
.w, .white    { color: var(--white); }
.b, .bold     { font-weight: 700; }
.grey         { color: rgba(255, 255, 255, 0.65); } /* Elegant subtle grey */

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 70px;
  background: rgba(255, 255, 255, 0.97);
  z-index: 999;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 2px 24px rgba(0,0,0,0.05);
}

.navbar__inner {
  max-width: 1440px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  gap: 16px;
}

.navbar__logo { 
  flex-shrink: 0;
}
.navbar__logo img { height: 44px; width: auto; display: block; }

.navbar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.navbar__link {
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.navbar__link:hover { background: #f5f5f5; color: #111; }
.navbar__link.active {
  color: var(--green);
  font-weight: 700;
  background: rgba(46, 158, 71, 0.08);
}

/* Navbar Toggle (Mobile Only) */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background-color: transparent !important;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1100;
  margin-left: 15px;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
}

.navbar__toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--black);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.navbar__toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.navbar__toggle.active span:nth-child(2) { opacity: 0; transform: translateX(-10px); }
.navbar__toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

.navbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-shrink: 0;
  z-index: 1002;
}

/* =============================================
   MOBILE VIEW (max-width: 992px)
   ============================================= */
@media (max-width: 992px) {
  .navbar__toggle { display: flex; }

  .navbar__nav {
    position: fixed;
    top: 0;
    right: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    width: 280px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 100px 40px;
    gap: 25px !important;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: transform 0.4s cubic-bezier(0.77,0.2,0.05,1.0), opacity 0.4s, visibility 0.4s;
    z-index: 1099 !important;
    align-items: flex-start !important;
  }

  .navbar__nav.active {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
  }

  .navbar__link {
    font-size: 18px;
    font-weight: 600;
    width: 100%;
    padding: 10px 0;
  }
}

.navbar__socials {
  display: none; /* Hidden on main layout — shown in footer */
}

.nav-icon {
  color: #444;
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 8px;
  border-radius: 10px;
  transition: background 0.2s, color 0.2s;
  position: relative;
}
.nav-icon:hover { background: #f5f5f5; color: #111; }
.cart-icon { color: var(--green); }
.cart-icon:hover { background: rgba(46,158,71,0.08); }
.cart-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.cart-badge.active {
  opacity: 1;
  transform: scale(1);
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  width: 100%;
  height: calc(82vh - var(--nav-h));
  min-height: 520px;
  margin-top: var(--nav-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__glass {
  position: relative;
  z-index: 2;
  margin-left: 10%;
  width: 450px;
  max-width: 88%;
  padding: 25px 35px 55px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(0, 0, 0, 0.12); /* Glass restored */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  border-radius: 40px 0px 40px 0px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
  animation: heroReveal 1.2s ease-out;
}

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

.hero__heading {
  /* font-size: clamp(36px, 5vw, 42px); */
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 25px;
  color: var(--black);
}

.hero__sub {
  font-size: 14px;
  color: rgba(255, 253, 253, 0.9);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 380px;
}

.hero__btn {
  display: inline-block;
  background: #fff;
  color: var(--dark-green);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 14px 44px;
  border-radius: 50px;
  transition: background .2s, transform .15s;
  align-self: flex-end; /* Restored left alignment for the card style */
}
.hero__btn:hover { background: var(--yellow); transform: translateY(-2px); }

/* =============================================
   FEATURES STRIP
   ============================================= */
.features {
  background: #fff;
  padding: 40px 40px;
}

.features__card {
  max-width: 1100px;
  margin: 0 auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 28px rgba(0,0,0,0.07);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 44px 32px;
}

.feat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid #f0f0f0;
}
.feat-item:last-child { border-right: none; }

.feat-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.feat-icon--green  { color: #2e9e47; border-color: #2e9e47; background: rgba(46,158,71,.06); }
.feat-icon--blue   { color: #1976d2; border-color: #1976d2; background: rgba(25,118,210,.06); }
.feat-icon--red    { color: #e53935; border-color: #e53935; background: rgba(229,57,53,.06); }
.feat-icon--orange { color: #e65100; border-color: #e65100; background: rgba(230,81,0,.06); }

.feat-title { font-size: 14.5px; font-weight: 700; margin-bottom: 8px; color: #111; }
.feat-desc  { font-size: 13px; color: #666; line-height: 1.5; }

/* =============================================
   ABOUT US
   ============================================= */
.about {
  background: #fff;
  padding: 40px 40px;
  text-align: center;
}

.about__heading {
  font-size: 34px;
  font-weight: 700;
  color: #1a6b2a;
  margin-bottom: 22px;
}

.about__body {
  font-size: 15.5px;
  color: #222;
  line-height: 1.8;
  max-width: 820px;
  margin: 0 auto;
}

/* =============================================
   MISSION & VISION
   ============================================= */
.mission {
  background: #fff;
  padding: 50px 40px;
}

.mission__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 72px;
}

.mission__img-wrap { flex-shrink: 0; width: 360px; height: 390px; }
.mission__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
}

.mission__text { flex: 1; display: flex; flex-direction: column; gap: 32px; }
.mission__title { font-size: 20px; font-weight: 700; color: #111; margin-bottom: 10px; }
.mission__body { font-size: 15px; color: #333; line-height: 1.72; }

.mission__more { display: flex; justify-content: flex-end; }

.btn-dark {
  display: inline-block;
  background: var(--dark-green);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 13px 44px;
  border-radius: 50px;
  transition: background .2s, transform .15s;
}
.btn-dark:hover { background: #0f4218; transform: translateY(-2px); }

/* =============================================
   WHY CHOOSE KEZIZ
   ============================================= */
.why {
  background: linear-gradient(135deg, #ffffff 0%, #f5fff6 100%);
  padding: 10px 70px;
}

.why__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 60px;
}

.why__text { flex: 1; }

.why__heading {
  font-size: 30px;
  font-weight: 800;
  color: #111;
  margin-bottom: 36px;
  line-height: 1.2;
}

.why__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-left: 40px;
}

.why__list li {
  font-size: 15.5px;
  font-weight: 500;
  color: #222;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Stylish bold green checkmark — matches the reference screenshot */
.why__list li::before {
  content: '';
  flex-shrink: 0;
  width: 28px;
  height: 24px;
  background-color: var(--green);
  /* Bold angled tick shape via clip-path */
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.5 12.5l6 6L21.5 5'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M2.5 12.5l6 6L21.5 5'/%3E%3C/svg%3E");
  -webkit-mask-size: 100%; mask-size: 100%;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: center; mask-position: center;
}

.why__img-wrap { flex-shrink: 0; width: 360px; }
.why__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 36px rgba(0,0,0,0.13));
  
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 960px) {
  .navbar__inner { padding: 0 24px; }
  .hero { min-height: 70vh; height: auto; padding: 90px 0 40px; }
  .hero__glass { margin-left: 5%; width: 90%; padding: 32px 24px 44px; }
  .hero__heading { font-size: clamp(2rem, 6vw, 2.8rem); }
  .hero__sub { font-size: 0.95rem; max-width: 100%; }
  .hero__btn { width: fit-content; padding: 14px 32px; }
  .features { padding: 32px 20px; }
  .features__card { grid-template-columns: repeat(2,1fr); gap: 24px; }
  .feat-item { border-right: none; border-bottom: 1px solid #f0f0f0; padding-bottom: 20px; }
  .feat-item:last-child { border-bottom: none; }
  .about, .mission, .why, .cta, .stats, .footer { padding-left: 20px; padding-right: 20px; }
  .mission__inner, .why__inner { flex-direction: column; gap: 40px; text-align: center; }
  .mission__img-wrap { width: 280px; height: 300px; }
  .mission__more, .why__img-wrap { justify-content: center; align-self: center; }
  .why__img-wrap { width: 260px; }
  .why__list li { justify-content: center; }
  .stats__inner { flex-wrap: wrap; justify-content: center; gap: 24px; }
  .stats__divider { display: none; }
}

@media (max-width: 760px) {
  .hero { min-height: 62vh; padding-top: 90px; justify-content: center; }
  .hero__glass { margin: 0 auto; width: min(100%, 92%); padding: 28px 20px 38px; border-radius: 30px 0 30px 0; }
  .hero__heading { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero__sub { font-size: 0.94rem; margin-bottom: 28px; }
  .hero__btn { width: 100%; text-align: center; padding: 14px 18px; }
  .features__card { padding: 32px 0 0; }
  .about__heading, .why__heading, .mission__title, .cta__heading { font-size: clamp(1.8rem, 6vw, 2.4rem); }
  .mission__img-wrap { width: 100%; max-width: 320px; height: auto; }
  .why__img-wrap { width: 100%; max-width: 320px; }
  .stats__item { flex: 1 1 45%; }
  .footer { padding: 60px 18px 0 !important; }
}

@media (max-width: 560px) {
  .navbar__nav { display: flex !important; }
  .navbar__socials { display: none; }
  .navbar__inner { gap: 10px; padding: 0 18px; }
  .hero { min-height: auto; padding: 88px 0 32px; }
  .hero__glass { width: 100%; padding: 28px 18px 34px; border-radius: 24px; }
  .hero__heading { font-size: clamp(1.7rem, 10vw, 2.1rem); }
  .hero__sub { font-size: 0.92rem; max-width: 100%; }
  .features__card { grid-template-columns: 1fr; }
  .feat-item { padding-bottom: 18px; }
  .about, .mission, .why, .cta { padding: 32px 18px; }
  .mission__img-wrap, .why__img-wrap { width: 100%; }
  .why__list { margin-left: 0; gap: 16px; }
  .why__list li { justify-content: flex-start; gap: 12px; }
  .cta__btn { padding: 14px 22px; width: 100%; }
  .stats__inner { flex-direction: column; gap: 18px; }
  .footer__grid { grid-template-columns: 1fr !important; gap: 28px; }
  .footer { padding: 50px 18px 30px !important; }
}

/* =============================================
   CTA — EXPERIENCE THE KEZIZ DIFFERENCE
   ============================================= */
.cta {
  background: #fff;
  padding: 80px 40px;
  text-align: center;
  border-top: 1px solid #f0f0f0;
}

.cta__heading {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: #111;
  margin-bottom: 18px;
  line-height: 1.15;
}

.cta__sub {
  font-size: 15.5px;
  color: #444;
  margin-bottom: 40px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  color: #111;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  padding: 15px 40px;
  border: 2px solid #ddd;
  border-radius: 50px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  transition: border-color .2s, box-shadow .2s, transform .15s;
}

.cta__btn:hover {
  border-color: var(--green);
  box-shadow: 0 6px 20px rgba(46,158,71,0.15);
  transform: translateY(-2px);
}

.cta__icon {
  display: flex;
  align-items: center;
}

/* =============================================
   FOOTER
   ============================================= */
/* =============================================
   FOOTER REDESIGN
   ============================================= */
.footer {
  background-color: #0c0c0c !important;
  color: #aaa !important;
  padding: 80px 40px 0 !important;
  font-family: var(--font);
  width: 100%;
}

.footer__grid {
  display: grid !important;
  grid-template-columns: 2fr 1fr 1fr 1.2fr !important;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 60px;
}

.footer__brand .footer__logo {
  height: 55px;
  margin-bottom: 25px;
  background: white;
  padding: 8px 15px;
  border-radius: 8px;
  display: inline-block;
}

.footer__brand-text {
  font-size: 14px;
  line-height: 1.8;
  color: #888;
}

.footer__title {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 30px;
}

.footer__list {
  list-style: none !important;
  padding: 0;
  margin: 0;
}

.footer__list-item {
  margin-bottom: 12px;
}

.footer__link {
  color: #777;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer__link:hover {
  color: var(--yellow) !important;
  padding-left: 5px;
}

.footer__contact-info {
  font-size: 14px;
  line-height: 1.8;
  color: #888;
  margin-bottom: 25px;
}

.footer__socials {
  display: flex !important;
  gap: 15px;
}

.footer__social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #777;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__social-link:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: #000;
  transform: translateY(-3px);
}

.footer__bottom {
  border-top: 1px solid #1a1a1a;
  padding: 30px 0;
  text-align: center;
}

.footer__bottom-text {
  font-size: 12px;
  color: #444;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.admin-link {
    display: inline-block;
    color: #555;
    font-size: 11px;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.4;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.admin-link:hover {
    opacity: 1;
    color: var(--green);
    border-bottom-color: var(--green);
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer__grid { grid-template-columns: 1fr 1fr !important; gap: 40px; }
}

@media (max-width: 700px) {
  .footer { padding: 60px 25px 0 !important; }
  .footer__grid { grid-template-columns: 1fr !important; gap: 40px; }
  .footer__title { margin-bottom: 20px; }
}

/* =============================================
   HERO ENHANCEMENTS
   ============================================= */
.hero__badge {
  display: inline-block;
  background: rgba(245, 200, 0, 0.18);
  border: 1px solid rgba(245, 200, 0, 0.55);
  color: #f5c800;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero__product {
  position: absolute;
  right: 8%;
  bottom: 0;
  height: 92%;
  z-index: 1;
  animation: floatProduct 3.5s ease-in-out infinite alternate;
  filter: drop-shadow(0 24px 52px rgba(0, 0, 0, 0.32));
  pointer-events: none;
}
.hero__product img {
  height: 100%;
  width: auto;
  display: block;
}
@keyframes floatProduct {
  from { transform: translateY(0px) rotate(-1deg); }
  to   { transform: translateY(-18px) rotate(1deg); }
}

.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__scroll-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.15);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0);    opacity: 0.75; }
  50%       { transform: translateY(10px); opacity: 1;    }
}

/* =============================================
   STATS STRIP
   ============================================= */
.stats {
  background: linear-gradient(135deg, #1a6b2a 0%, #2e9e47 60%, #3db856 100%);
  padding: 52px 40px;
}
.stats__inner {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 24px;
}
.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.stats__num {
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  line-height: 1;
  letter-spacing: -0.5px;
}
.stats__label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.3px;
}
.stats__divider {
  width: 1px;
  height: 50px;
  background: rgba(255, 255, 255, 0.22);
  border-radius: 2px;
}

/* =============================================
   CTA — GREEN VARIANT
   ============================================= */
.cta--green {
  background: linear-gradient(135deg, #0f3d1a 0%, #1a6b2a 55%, #2e9e47 100%);
  border-top: none;
}
.cta--green .cta__heading { color: #fff; }
.cta--green .cta__sub     { color: rgba(255, 255, 255, 0.72); }
.cta__brand               { color: var(--yellow); }
.cta--green .cta__btn {
  background: var(--yellow);
  color: #111;
  border-color: var(--yellow);
  box-shadow: 0 4px 20px rgba(245, 200, 0, 0.3);
}
.cta--green .cta__btn:hover {
  background: #e6b800;
  border-color: #e6b800;
  box-shadow: 0 8px 28px rgba(245, 200, 0, 0.45);
  transform: translateY(-3px);
}

/* =============================================
   SCROLL FADE-UP ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s cubic-bezier(.22, .61, .36, 1),
              transform 0.75s cubic-bezier(.22, .61, .36, 1);
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE — HERO PRODUCT + STATS
   ============================================= */
@media (max-width: 960px) {
  .hero__product { display: none; }
  .hero__scroll  { display: none; }
  .stats__divider { display: none; }
  .stats__inner { flex-wrap: wrap; gap: 32px; }
}
@media (max-width: 640px) {
  .stats { padding: 40px 24px; }
  .stats__num { font-size: 28px; }
}
