/* =====================================================
   Hygienic Food Distribution — Qatar
   Main Stylesheet v1.0
   Design: Elegant, Premium, Organic Green + Gold
   Font: DM Sans (all text — consistent clean sans-serif)
===================================================== */

/* ---- CSS Custom Properties ---- */
:root {
  --primary:     #1B5E20;
  --primary-dk:  #0D3D11;
  --primary-lt:  #2E7D32;
  --primary-pale:#E8F5E9;
  --gold:        #C9A84C;
  --gold-dk:     #A0832A;
  --gold-lt:     #E8C96A;
  --accent:      #E07B39;
  --white:       #ffffff;
  --cream:       #FAF7F0;
  --cream-dk:    #F0EBE0;
  --dark:        #1A1A1A;
  --dark-mid:    #2D2D2D;
  --gray:        #6B6B6B;
  --gray-lt:     #B0B0B0;
  --border:      #E0DDD5;
  --shadow-sm:   0 2px 8px rgba(0,0,0,0.08);
  --shadow-md:   0 6px 24px rgba(0,0,0,0.12);
  --shadow-lg:   0 16px 48px rgba(0,0,0,0.16);
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;
  --transition:  all 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  --font-head:   'DM Sans', system-ui, sans-serif;
  --font-body:   'DM Sans', system-ui, sans-serif;
  --max-width:   1280px;
  --header-h:    80px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  line-height: 1.2;
  color: var(--dark);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--gray); }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

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

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-lt);
  border-color: var(--primary-lt);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,94,32,0.3);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-dk);
  border-color: var(--gold-dk);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}

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

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

.btn-sm { padding: 10px 22px; font-size: 0.875rem; }
.btn-lg { padding: 18px 44px; font-size: 1.05rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---- Section Styles ---- */
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-lg { padding: 120px 0; }

.section-head {
  text-align: center;
  margin-bottom: 56px;
}
.section-head.left { text-align: left; }

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.section-title {
  color: var(--dark);
  margin-bottom: 16px;
}

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

.section-subtitle {
  max-width: 600px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.05rem;
}

.section-head.left .section-subtitle { margin: 0; }

.divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  border-radius: 2px;
  margin: 20px auto 0;
}
.section-head.left .divider { margin-left: 0; }

/* ---- Top Bar ---- */
.topbar {
  background: var(--primary-dk);
  padding: 9px 0;
  font-size: 0.82rem;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar-link {
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
}
.topbar-link:hover { color: var(--gold-lt); }
.topbar-link.whatsapp-link { color: #25D366; }

.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  color: rgba(255,255,255,0.7);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}
.topbar-social a:hover { color: var(--gold-lt); }

/* ---- Header ---- */
.site-header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: 0 2px 16px rgba(0,0,0,0.08);
  transition: var(--transition);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.12);
}

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

/* Logo */
.site-logo a { display: flex; align-items: center; }
.site-logo img { height: 52px; width: auto; }
.logo-white { display: none; }

.logo-text {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}
.logo-text .logo-icon {
  width: 42px; height: 42px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.logo-text-white { color: var(--white); }
.logo-text-white .logo-icon { background: rgba(255,255,255,0.2); }

/* Nav */
.main-nav .nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav .nav-list > li {
  position: relative;
}

.main-nav .nav-list > li > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark-mid);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.main-nav .nav-list > li > a:hover,
.main-nav .nav-list > li > a.active {
  color: var(--primary);
  background: var(--primary-pale);
}
.main-nav .nav-list > li > a .fa-chevron-down {
  font-size: 0.65rem;
  transition: var(--transition);
}
.main-nav .nav-list > li:hover > a .fa-chevron-down {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.88rem;
  color: var(--dark-mid);
  border-radius: var(--radius-sm);
}
.dropdown li a:hover {
  background: var(--primary-pale);
  color: var(--primary);
}
.dropdown-divider {
  border-top: 1px solid var(--border);
  margin-top: 4px;
  padding-top: 4px;
}

/* Header CTA */
.header-cta { display: flex; align-items: center; gap: 12px; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---- Hero Slider ---- */
.hero-swiper { width: 100%; height: calc(100vh - var(--header-h) - 40px); min-height: 560px; max-height: 800px; }

.hero-slide {
  position: relative;
  display: flex;
  align-items: center;
}

.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(13,61,17,0.85) 0%, rgba(13,61,17,0.5) 60%, rgba(0,0,0,0.2) 100%);
}

.hero-slide-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary-dk) 0%, var(--primary) 50%, #388E3C 100%);
}
.hero-slide-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
  position: relative;
  z-index: 5;
  max-width: 680px;
  padding: 60px 0;
}

.hero-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-lt);
  margin-bottom: 18px;
  padding: 7px 18px;
  border: 1px solid rgba(201,168,76,0.4);
  border-radius: 50px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 22px;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 38px;
  max-width: 560px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.18);
}

.hero-stat-num {
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold-lt);
  font-weight: 700;
  display: block;
}
.hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Swiper controls */
.hero-swiper .swiper-pagination-bullet {
  width: 10px; height: 10px;
  background: rgba(255,255,255,0.5);
  opacity: 1;
}
.hero-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
  width: 28px;
  border-radius: 5px;
}
.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
  width: 50px; height: 50px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  color: var(--white);
  font-size: 1rem;
}
.hero-swiper .swiper-button-prev:hover,
.hero-swiper .swiper-button-next:hover {
  background: var(--gold);
  border-color: var(--gold);
}
.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
  font-size: 1rem;
}

/* ---- Features Strip ---- */
.features-strip {
  background: var(--primary);
  padding: 30px 0;
}

.features-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-strip-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--white);
  padding: 8px;
}

.feature-strip-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--gold-lt);
  flex-shrink: 0;
}

.feature-strip-text strong {
  display: block;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
}
.feature-strip-text span {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

/* ---- About Section ---- */
.about-section { background: var(--cream); }

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

.about-image-wrap {
  position: relative;
}

.about-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

.about-img-secondary {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 55%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 5px solid var(--white);
  box-shadow: var(--shadow-md);
}

.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-lt) 100%);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.3);
}

.about-badge {
  position: absolute;
  top: 32px;
  right: -20px;
  background: var(--gold);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-badge-num {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  display: block;
  line-height: 1;
}
.about-badge-label { font-size: 0.75rem; margin-top: 4px; opacity: 0.9; }

.about-features {
  margin: 28px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
}
.about-feature i {
  color: var(--primary);
  width: 22px;
  text-align: center;
}

/* ---- Categories Section ---- */
.cats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.cat-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  transition: var(--transition);
  cursor: pointer;
}

.cat-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.cat-icon {
  width: 72px; height: 72px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 16px;
  transition: var(--transition);
}

.cat-card:hover .cat-icon {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.cat-name {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

/* ---- Products Section ---- */
.products-section { background: var(--cream); }

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

.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.product-card:hover .product-card-img img {
  transform: scale(1.06);
}

.product-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale), var(--cream-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--primary);
  opacity: 0.5;
}

.product-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 50px;
}

.badge-halal { background: #E8F5E9; color: var(--primary); }
.badge-featured { background: var(--gold); color: var(--white); }
.badge-new { background: #E3F2FD; color: #1565C0; }

.product-card-body { padding: 20px; }
.product-cat-name {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 6px;
}

.product-card-name {
  font-family: var(--font-head);
  font-size: 1.05rem;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-card-desc {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.55;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--gray-lt);
  margin-bottom: 14px;
}

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

/* ---- Why Choose Us ---- */
.why-section {
  background: var(--primary);
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  right: -200px;
  top: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}
.why-section::after {
  content: '';
  position: absolute;
  left: -100px;
  bottom: -150px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.why-content .section-title { color: var(--white); }
.why-content .section-subtitle { color: rgba(255,255,255,0.8); }
.why-content .divider { margin-left: 0; }

.why-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}

.why-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.why-feature-icon {
  width: 54px; height: 54px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold-lt);
  flex-shrink: 0;
  transition: var(--transition);
}
.why-feature:hover .why-feature-icon {
  background: var(--gold);
  color: var(--white);
}

.why-feature h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 4px;
}
.why-feature p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  margin: 0;
}

.why-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.why-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
}

.why-img-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(255,255,255,0.3);
}

/* ---- Testimonials ---- */
.testimonials-section { background: var(--cream); }

.testimonials-swiper { padding-bottom: 50px !important; }

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  height: auto;
}

.testimonial-stars { color: var(--gold); margin-bottom: 18px; font-size: 0.9rem; }

.testimonial-text {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--dark-mid);
  margin-bottom: 26px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-avatar-placeholder {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--dark);
  font-weight: 600;
  display: block;
}
.testimonial-position {
  font-size: 0.82rem;
  color: var(--gray);
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 38px 30px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--gold));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}
.service-card:hover::after { transform: scaleX(1); }

.service-icon {
  width: 68px; height: 68px;
  background: var(--primary-pale);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  color: var(--primary);
  margin-bottom: 22px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: var(--primary);
  color: var(--white);
}

.service-title {
  font-size: 1.1rem;
  margin-bottom: 12px;
  color: var(--dark);
}

.service-desc {
  font-size: 0.9rem;
  color: var(--gray);
  margin-bottom: 20px;
}

.service-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.service-link i { transition: var(--transition); }
.service-card:hover .service-link i { transform: translateX(4px); }

/* ---- Partners / Brands ---- */
.partners-section { background: var(--white); padding: 60px 0; }

.partners-swiper .swiper-wrapper { align-items: center; }

.partner-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
  padding: 10px 20px;
}

.partner-slide img {
  max-height: 60px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
}
.partner-slide:hover img {
  filter: grayscale(0);
  opacity: 1;
}
.partner-placeholder {
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-lt);
  white-space: nowrap;
}

/* ---- Blog ---- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.blog-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.blog-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-img-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-pale), var(--cream-dk));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: var(--primary);
  opacity: 0.5;
}

.blog-card-body { padding: 24px; }

.blog-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 0.8rem;
  color: var(--gray-lt);
  margin-bottom: 12px;
}
.blog-meta span { display: flex; align-items: center; gap: 5px; }

.blog-card-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  color: var(--dark);
  line-height: 1.4;
}
.blog-card-title a { color: inherit; }
.blog-card-title a:hover { color: var(--primary); }

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--gray);
  margin-bottom: 18px;
}

.blog-read-more {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.blog-read-more i { transition: var(--transition); }
.blog-card:hover .blog-read-more i { transform: translateX(4px); }

/* ---- Stats / Counter ---- */
.stats-section {
  background: var(--dark);
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
}

.stat-item {
  text-align: center;
  padding: 24px;
  border-right: 1px solid rgba(255,255,255,0.08);
}
.stat-item:last-child { border-right: none; }

.stat-icon {
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.stat-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  color: var(--white);
  font-weight: 700;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
  display: block;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--gold) 0%, #A0832A 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -60%;
  left: -20%;
  width: 600px; height: 600px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
}

.cta-section h2 { color: var(--white); margin-bottom: 14px; position: relative; }
.cta-section p { color: rgba(255,255,255,0.88); margin-bottom: 32px; font-size: 1.05rem; position: relative; }
.cta-section .btn-outline { border-color: var(--white); }

/* ---- Page Header ---- */
.page-header {
  background: linear-gradient(120deg, var(--primary-dk) 0%, var(--primary) 100%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}
/* Dark overlay when bg image is set */
.page-header[style*="background-image"]::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(13,61,17,0.85) 0%, rgba(27,94,32,0.7) 100%);
  z-index: 0;
}
.page-header[style*="background-image"] .container {
  position: relative;
  z-index: 1;
}
.page-header::after {
  content: '';
  position: absolute;
  right: -100px;
  top: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}

.page-header h1 { color: var(--white); margin-bottom: 12px; }
.page-header p { color: rgba(255,255,255,0.8); margin: 0; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 18px;
  font-size: 0.85rem;
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold-lt); }
.breadcrumb .sep { color: rgba(255,255,255,0.4); }
.breadcrumb .current { color: var(--gold-lt); }

/* ---- Contact Section ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin: 28px 0;
}

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

.contact-info-icon {
  width: 52px; height: 52px;
  background: var(--primary-pale);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.contact-info-text strong {
  display: block;
  font-weight: 600;
  margin-bottom: 3px;
  color: var(--dark);
}
.contact-info-text a, .contact-info-text span {
  font-size: 0.92rem;
  color: var(--gray);
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.form-control:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(27,94,32,0.1);
}

.form-control::placeholder { color: var(--gray-lt); }
textarea.form-control { resize: vertical; min-height: 130px; }
select.form-control { cursor: pointer; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-error {
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 5px;
  display: block;
}

.alert {
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 20px;
  font-size: 0.92rem;
}
.alert-success { background: #E8F5E9; color: var(--primary); border: 1px solid #A5D6A7; }
.alert-error { background: #FFEBEE; color: #c0392b; border: 1px solid #FFCDD2; }
.alert-warning { background: #FFF8E1; color: #E65100; border: 1px solid #FFE082; }

/* ---- Map ---- */
.map-section { padding: 0; }
.map-wrap { height: 450px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }
.map-placeholder {
  width: 100%;
  height: 100%;
  background: var(--cream-dk);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--gray-lt);
}
.map-placeholder i { font-size: 3rem; }

/* ---- Footer ---- */
.site-footer { background: var(--dark); }

.footer-top { padding: 70px 0; }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
}

.footer-title {
  font-family: var(--font-head);
  color: var(--white);
  font-size: 1.1rem;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  display: inline-block;
}

.footer-desc {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 22px;
}

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

.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); color: var(--white); }

.footer-links li {
  margin-bottom: 10px;
}
.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold); padding-left: 4px; }
.footer-links a i { font-size: 0.7rem; color: var(--primary-lt); }

.footer-contact-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer-contact-list i {
  color: var(--gold);
  width: 16px;
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-contact-list a { color: rgba(255,255,255,0.65); }
.footer-contact-list a:hover { color: var(--gold); }

.footer-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.75);
}
.cert-badge i { color: var(--gold); }

.footer-bottom {
  background: rgba(0,0,0,0.3);
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.copyright { color: rgba(255,255,255,0.5); font-size: 0.83rem; margin: 0; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.5); font-size: 0.83rem; }
.footer-bottom-links a:hover { color: var(--gold); }

/* ---- WhatsApp Float ---- */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 800;
  width: 56px; height: 56px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  animation: pulse-whatsapp 2.5s infinite;
}

@keyframes pulse-whatsapp {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5); }
  50% { box-shadow: 0 4px 30px rgba(37,211,102,0.8), 0 0 0 8px rgba(37,211,102,0.15); }
}

.whatsapp-tooltip {
  position: absolute;
  right: 64px;
  background: var(--dark);
  color: var(--white);
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  pointer-events: none;
}
.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 800;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--primary-lt); transform: translateY(-3px); }

/* Newsletter Popup */
.newsletter-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.newsletter-popup.show {
  display: flex;
}
.newsletter-popup.hidden { display: none; }

.newsletter-popup-inner {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 52px 44px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px; height: 36px;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.popup-close:hover { background: #FFE5E5; color: #c0392b; }

.popup-icon {
  width: 70px; height: 70px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--primary);
  margin: 0 auto 22px;
}

.popup-form { margin: 22px 0 12px; }
.popup-form input {
  width: 100%;
  padding: 13px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.92rem;
  margin-bottom: 12px;
  outline: none;
}
.popup-form input:focus { border-color: var(--primary); }
.popup-note { font-size: 0.78rem; color: var(--gray-lt); margin: 0; }

/* Mobile Navigation */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 950;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-nav-overlay.active { opacity: 1; visibility: visible; }

.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: var(--white);
  z-index: 960;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
}
.mobile-nav.open { right: 0; }

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: var(--white);
}

.mobile-nav-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.2rem;
  cursor: pointer;
  width: 36px; height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition);
}
.mobile-nav-close:hover { background: rgba(255,255,255,0.15); }

.mobile-nav-list { padding: 16px; flex: 1; }
.mobile-nav-list li { border-bottom: 1px solid var(--border); }
.mobile-nav-list > li > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 12px;
  color: var(--dark);
  font-size: 0.95rem;
  font-weight: 500;
}
.mobile-nav-list > li > a:hover { color: var(--primary); }

.mobile-sub { padding-left: 20px; }
.mobile-sub li a { padding: 10px 12px; color: var(--gray); font-size: 0.88rem; display: block; }

.mobile-nav-footer {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mobile-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  background: var(--primary-pale);
  color: var(--primary);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  padding: 20px 24px;
  background: var(--white);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--dark);
  transition: var(--transition);
}
.faq-question:hover { color: var(--primary); }
.faq-question.open { background: var(--primary-pale); color: var(--primary); }
.faq-icon { transition: var(--transition); flex-shrink: 0; }
.faq-question.open .faq-icon { transform: rotate(180deg); }

.faq-answer {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--gray);
  font-size: 0.92rem;
}
.faq-answer.open {
  padding: 18px 24px;
  max-height: 300px;
}

/* Team Cards */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  text-align: center;
}

.team-photo-wrap {
  width: 160px; height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid var(--primary-pale);
  transition: var(--transition);
}
.team-card:hover .team-photo-wrap { border-color: var(--primary); }

.team-photo { width: 100%; height: 100%; object-fit: cover; }
.team-photo-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--primary-lt));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 2.5rem;
  color: var(--white);
  font-weight: 700;
}

.team-name { font-size: 1.05rem; margin-bottom: 6px; }
.team-position { font-size: 0.85rem; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 0.85rem; color: var(--gray); }

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .cats-grid { grid-template-columns: repeat(4, 1fr); }
  .products-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .why-grid, .about-grid { gap: 50px; }
}

@media (max-width: 900px) {
  :root { --header-h: 70px; }
  .topbar { display: none; }
  .main-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .features-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .cats-grid { grid-template-columns: repeat(3, 1fr); }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid, .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image-wrap { max-width: 500px; margin: 0 auto; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 32px 24px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .hero-swiper { height: 80vw; min-height: 400px; }
  .features-strip-grid { grid-template-columns: 1fr 1fr; }
  .cats-grid { grid-template-columns: repeat(2, 1fr); }
  .products-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px; flex-wrap: wrap; }
  .hero-btns { flex-direction: column; align-items: flex-start; }
  .section { padding: 60px 0; }
  .about-badge { right: 0; }
}
