/* 
   Desouza Farms LLP B2B Core Style Document
   Path: /assets/css/style.css
*/

:root {
  --emerald-deep: #0B3D2E;        /* Primary background, headers */
  --emerald-medium: #1A6B4A;      /* Section backgrounds, cards */
  --emerald-light: #2D9B6F;       /* Hover states, accents */
  --gold-primary: #C9A84C;        /* Primary accent, CTAs, borders */
  --gold-light: #E8C875;          /* Hover gold, highlights */
  --gold-pale: #FBF3DC;           /* Background tints */
  --white-pure: #FFFFFF;
  --off-white: #F8F9FA;
  --text-dark: #1C1C1C;
  --text-muted: #6B7280;
  --border-light: #E5E7EB;
  --nutriscore-green: #038141;    /* Nutri-Score A color */
  --trust-strip-bg: #0A2E20;      /* Top trust banner */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Reset & Core Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white-pure);
  overflow-x: hidden;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--emerald-deep);
  line-height: 1.25;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; margin-bottom: 1.5rem; }
h3 { font-size: 1.5rem; margin-bottom: 1rem; }

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* Trust Strip */
.trust-strip {
  background-color: var(--trust-strip-bg);
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--gold-primary);
  position: relative;
  z-index: 1000;
}

.trust-marquee {
  display: flex;
  white-space: nowrap;
}

.trust-marquee-content {
  display: flex;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--gold-light);
  list-style: none;
  padding: 0;
  animation: marquee 25s linear infinite;
}

.trust-marquee-content li {
  padding: 0 2rem;
}

@keyframes marquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

/* Global Header & Navigation */
.global-header {
  background: var(--white-pure);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 999;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
}

.logo-text h1 {
  font-size: 1.4rem;
  letter-spacing: 0.5px;
  margin: 0;
}

.logo-text span {
  font-size: 11px;
  font-weight: 700;
  color: var(--gold-primary);
  text-transform: uppercase;
}

/* Desktop Navigation */
.desktop-nav-system {
  display: none;
}

@media (min-width: 1024px) {
  .desktop-nav-system {
    display: block;
  }
}

.nav-root-list {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-root-item {
  position: relative;
}

.nav-root-trigger {
  font-weight: 600;
  color: var(--emerald-deep);
  cursor: pointer;
  padding: 15px 0;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-root-trigger::after {
  content: '▼';
  font-size: 8px;
}

.nav-root-item > a.nav-root-trigger::after {
  display: none;
}

.nav-root-item:hover .nav-root-trigger {
  color: var(--emerald-light);
}

/* Standard Dropdown */
.standard-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white-pure);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--emerald-deep);
  list-style: none;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.nav-root-item.has-dropdown:hover .standard-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.standard-dropdown-menu li a {
  display: block;
  padding: 12px 20px;
  color: var(--text-dark);
  font-weight: 500;
}

.standard-dropdown-menu li a:hover {
  background: var(--gold-pale);
  color: var(--emerald-deep);
  padding-left: 25px;
}

/* Mega-Menu */
.mega-menu-wrapper {
  position: absolute;
  top: 100%;
  right: -200px;
  width: 1000px;
  background: var(--white-pure);
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--emerald-deep);
  padding: 30px;
  display: flex;
  gap: 30px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

.nav-root-item.has-mega-menu:hover .mega-menu-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.products-mega {
  width: 1100px;
  right: -300px;
}

.mega-menu-grid-8col {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
  flex: 1;
}

.category-nav-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 15px;
  border: 1px solid var(--border-light);
  border-radius: 6px;
  background: var(--off-white);
}

.category-nav-card img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 10px;
}

.category-nav-card span {
  font-size: 12px;
  font-weight: 700;
  color: var(--emerald-deep);
}

.category-nav-card:hover {
  border-color: var(--gold-primary);
  background: var(--gold-pale);
  transform: translateY(-3px);
}

.mega-editorial-trust-block {
  width: 260px;
  background: var(--emerald-deep);
  color: var(--white-pure);
  padding: 25px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mega-editorial-trust-block h4 {
  color: var(--gold-light);
  margin-bottom: 10px;
}

.mega-editorial-trust-block p {
  font-size: 12px;
  line-height: 1.5;
  margin-bottom: 15px;
  color: var(--border-light);
}

.mega-editorial-trust-block a {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold-light);
}

/* Solutions Mega */
.solutions-mega {
  width: 1200px;
  right: -400px;
}

.solutions-mega-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 280px;
  gap: 25px;
  width: 100%;
}

.solutions-mega-grid h3 {
  font-size: 14px;
  color: var(--emerald-medium);
  border-bottom: 2px solid var(--gold-primary);
  padding-bottom: 8px;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solutions-mega-grid ul {
  list-style: none;
}

.solutions-mega-grid ul li {
  margin-bottom: 15px;
}

.solutions-mega-grid ul li a strong {
  font-size: 13px;
  color: var(--text-dark);
}

.solutions-mega-grid ul li a span {
  font-size: 11px;
  color: var(--text-muted);
  display: block;
  margin-top: 3px;
}

.solutions-mega-grid ul li a:hover strong {
  color: var(--emerald-light);
}

.solutions-trust-block {
  background: var(--gold-pale);
  border: 1px solid var(--gold-primary);
  padding: 20px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.solutions-trust-block h4 {
  color: var(--emerald-deep);
  margin-bottom: 10px;
}

.solutions-trust-block p {
  font-size: 12px;
  line-height: 1.6;
  margin-bottom: 15px;
  color: var(--text-dark);
  font-weight: 600;
}

.solutions-trust-block a {
  font-size: 13px;
  font-weight: 700;
  color: var(--emerald-deep);
  text-decoration: underline;
}

/* Language Selector */
.lang-selector-container {
  position: relative;
}

.lang-trigger {
  padding: 8px 15px;
  border: 1px solid var(--emerald-deep);
  border-radius: 4px;
  background: var(--white-pure);
  color: var(--emerald-deep);
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: var(--white-pure);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  border: 1px solid var(--border-light);
  border-top: 3px solid var(--emerald-deep);
  list-style: none;
  min-width: 180px;
  max-height: 300px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition-smooth);
}

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

.lang-dropdown li a {
  display: block;
  padding: 10px 15px;
  font-size: 13px;
}

.lang-dropdown li a:hover {
  background: var(--emerald-deep);
  color: var(--white-pure);
}

/* Geo-Suggestion Banner */
.geo-suggestion-banner {
  background: var(--emerald-deep);
  color: var(--white-pure);
  border-bottom: 2px solid var(--gold-primary);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 600;
  display: none;
  justify-content: center;
  align-items: center;
  gap: 15px;
  position: sticky;
  top: 71px; /* Just below header */
  z-index: 998;
  animation: slideDown 0.3s ease-out;
  flex-wrap: wrap;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.geo-suggestion-banner a {
  color: var(--gold-light);
  background: rgba(255,255,255,0.1);
  padding: 6px 12px;
  border-radius: 4px;
  border: 1px solid var(--gold-primary);
  margin-left: 10px;
}

.geo-suggestion-banner a:hover {
  background: var(--gold-primary);
  color: var(--emerald-deep);
}

.geo-banner-close {
  background: none;
  border: none;
  color: var(--white-pure);
  font-size: 16px;
  cursor: pointer;
  margin-left: 20px;
}

@media (max-width: 768px) {
  .geo-suggestion-banner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    padding: 15px 35px 15px 15px;
    top: 60px; /* Adjust for mobile header height */
  }
  .geo-suggestion-banner a {
    margin-left: 0;
    margin-top: 5px;
    display: inline-block;
  }
  .geo-banner-close {
    margin-left: 0;
    margin-top: 0;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }
}


/* Hero Carousel */
.hero-carousel {
  position: relative;
  height: 450px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-carousel { height: 550px; }
}
@media (min-width: 1024px) {
  .hero-carousel { height: 700px; }
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
}

.carousel-slide.active {
  opacity: 1;
  z-index: 10;
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(11,61,46,0.95) 0%, rgba(11,61,46,0.7) 50%, rgba(11,61,46,0.3) 100%);
  z-index: 2;
}

.carousel-content {
  position: relative;
  z-index: 3;
  max-width: 900px;
  margin-left: 10%;
  padding: 20px;
  color: var(--white-pure);
}

.carousel-content h1, .carousel-content h2, .carousel-content h3 {
  color: var(--white-pure);
  margin-bottom: 15px;
}

.carousel-content h1 {
  font-size: 2.5rem;
}
@media (min-width: 768px) {
  .carousel-content h1 { font-size: 3.5rem; }
}

.carousel-content p.trust-line {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 700;
  margin-bottom: 25px;
}

.carousel-ctas {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 25px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background: var(--gold-primary);
  color: var(--emerald-deep);
  border: 1px solid var(--gold-primary);
}

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--white-pure);
  border: 1px solid var(--white-pure);
}

.btn-secondary:hover {
  background: var(--white-pure);
  color: var(--emerald-deep);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid var(--gold-primary);
  color: var(--white-pure);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  font-size: 20px;
}

.carousel-arrow-left { left: 20px; }
.carousel-arrow-right { right: 20px; }

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 20;
}

.carousel-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
}

.carousel-dot.active {
  background: var(--gold-primary);
}

/* Credentials Strip */
.credentials-strip {
  background: var(--off-white);
  padding: 40px 20px;
  border-bottom: 1px solid var(--border-light);
}

.credentials-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .credentials-container { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1200px) {
  .credentials-container { grid-template-columns: repeat(6, 1fr); }
}

.credential-card {
  background: var(--white-pure);
  border: 1px solid var(--gold-primary);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(11,61,46,0.1);
}

.credential-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.credential-card span {
  font-weight: 700;
  color: var(--emerald-deep);
  font-size: 12px;
}

/* Section Common Styles */
.section-padding {
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

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

/* Grid Layouts */
.grid-2col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 768px) {
  .grid-2col { grid-template-columns: repeat(2, 1fr); }
}

.grid-3col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
@media (min-width: 768px) {
  .grid-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .grid-3col { grid-template-columns: repeat(3, 1fr); }
}

/* Form Styling */
.form-wrapper {
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
@media (min-width: 768px) {
  .form-grid { grid-template-columns: repeat(2, 1fr); }
  .form-full-width { grid-column: span 2; }
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--emerald-deep);
}

.form-control {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-family: inherit;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--emerald-light);
  outline: none;
}

/* Footer */
.global-footer {
  background: var(--emerald-deep);
  color: var(--white-pure);
  padding: 60px 20px 20px;
  border-top: 5px solid var(--gold-primary);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .footer-container { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .footer-container { grid-template-columns: 2fr 1fr 1fr 1.5fr; }
}

.footer-brand h2 {
  color: var(--gold-light);
  margin-bottom: 15px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--border-light);
  line-height: 1.7;
}

.footer-links h3 {
  color: var(--white-pure);
  margin-bottom: 20px;
  font-size: 16px;
  border-left: 3px solid var(--gold-primary);
  padding-left: 10px;
}

.footer-links ul {
  list-style: none;
}

.footer-links ul li {
  margin-bottom: 12px;
}

.footer-links ul li a {
  font-size: 13px;
  color: var(--border-light);
}

.footer-links ul li a:hover {
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-bottom {
  max-width: 1400px;
  margin: 40px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  font-size: 12px;
  color: var(--border-light);
}

@media (min-width: 768px) {
  .footer-bottom { flex-direction: row; }
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

/* Mobile Menu System */
.mobile-hamburger-trigger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .mobile-hamburger-trigger { display: none; }
}

.mobile-hamburger-trigger span {
  width: 100%;
  height: 3px;
  background: var(--emerald-deep);
  transition: var(--transition-smooth);
}

/* Mobile Nav Modal */
.mobile-navigation-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11,61,46,0.98);
  z-index: 10000;
  display: none;
  flex-direction: column;
  padding: 40px;
  overflow-y: auto;
}

.mobile-menu-close {
  align-self: flex-end;
  color: var(--white-pure);
  font-size: 30px;
  cursor: pointer;
}

.mobile-menu-links {
  list-style: none;
  margin-top: 40px;
}

.mobile-menu-links li {
  margin-bottom: 25px;
}

.mobile-menu-links li a {
  font-size: 20px;
  font-weight: 700;
  color: var(--white-pure);
}

.mobile-menu-links li a:hover {
  color: var(--gold-light);
}

/* Dynamic timeline styles for legacy.html */
.timeline-matrix {
  position: relative;
  padding: 40px 0;
}

.timeline-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 40px;
}

@media (min-width: 768px) {
  .timeline-card {
    flex-direction: row;
    align-items: center;
  }
  .timeline-card:nth-child(even) {
    flex-direction: row-reverse;
  }
}

.timeline-img-frame {
  flex: 1;
}

.timeline-img-frame img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--gold-primary);
}

.timeline-content-frame {
  flex: 1.2;
}

.timeline-year {
  font-size: 24px;
  font-weight: 800;
  color: var(--gold-primary);
  margin-bottom: 10px;
  display: inline-block;
  border-bottom: 2px solid var(--emerald-deep);
  padding-bottom: 4px;
}

/* Nutri-score quality page styles */
.nutriscore-highlight-card {
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  background: var(--gold-pale);
  padding: 40px;
  margin-bottom: 40px;
}

.nutriscore-inner {
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .nutriscore-inner { flex-direction: row; align-items: center; }
}

.nutriscore-img {
  max-width: 200px;
  height: auto;
  object-fit: contain;
}

.nutriscore-text {
  flex: 1;
}

/* SVG map coordinates */
.map-container-wrapper {
  position: relative;
  background: var(--off-white);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
}

.world-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

.map-anchor-point {
  position: absolute;
  background: var(--emerald-deep);
  border: 2px solid var(--gold-primary);
  color: var(--white-pure);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.map-anchor-point:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--emerald-deep);
  color: var(--white-pure);
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 11px;
  white-space: nowrap;
  border: 1px solid var(--gold-primary);
  z-index: 100;
}

/* Infrastructure grid layout */
.infra-sections-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.infra-block-item {
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 60px;
}

.infra-block-item:last-child {
  border-bottom: none;
}

.infra-gallery-row {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
  margin-top: 30px;
}
@media (min-width: 576px) {
  .infra-gallery-row { grid-template-columns: repeat(3, 1fr); }
}

.infra-gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--border-light);
}

/* FAQ Layout */
.faq-accordion-group {
  margin-top: 40px;
}

.faq-item {
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 15px;
  background: var(--off-white);
}

.faq-question {
  padding: 20px;
  font-weight: 700;
  color: var(--emerald-deep);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px 20px;
  font-size: 14px;
  color: var(--text-dark);
}

/* B2B Sample Request Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--white-pure);
  border: 2px solid var(--gold-primary);
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  padding: 35px;
  box-shadow: var(--shadow-deep);
  position: relative;
  transform: translateY(-20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
  margin-bottom: 20px;
}

.modal-header h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--emerald-deep);
  font-size: 20px;
  margin: 0;
  font-weight: 700;
}

.modal-close-btn {
  font-size: 28px;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-smooth);
}

.modal-close-btn:hover {
  color: var(--emerald-deep);
}

.form-group {
  margin-bottom: 18px;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--emerald-deep);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border-light);
  border-radius: 4px;
  font-size: 14px;
  font-family: 'Inter', sans-serif;
  box-sizing: border-box;
  background: var(--off-white);
  transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-medium);
  background: var(--white-pure);
  box-shadow: 0 0 0 3px rgba(16,124,65,0.1);
}

/* --- Phase 3 Video Testimonial & Cross-Sell Styles --- */

/* Video Testimonial Carousel */
.video-carousel-wrapper {
  position: relative;
  width: 100%;
  margin: 30px auto;
  overflow: hidden;
  padding: 10px 0;
}

.video-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.video-slide {
  flex: 0 0 100%;
  padding: 0 10px;
  box-sizing: border-box;
  position: relative;
}

@media (min-width: 768px) {
  .video-slide {
    flex: 0 0 33.3333%;
  }
}

.video-thumb-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: #000;
  aspect-ratio: 16/9;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-thumb-container:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(16, 124, 65, 0.15);
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.video-thumb-container:hover .video-thumb-img {
  opacity: 0.7;
  transform: scale(1.05);
}

.video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--emerald-deep);
  border: 2px solid var(--gold-primary);
  color: var(--white-pure);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s, border-color 0.3s;
  z-index: 2;
}

.video-thumb-container:hover .video-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--gold-primary);
  border-color: var(--emerald-deep);
  color: var(--emerald-deep);
}

.video-play-btn::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px solid var(--gold-primary);
  animation: pulse-gold 2s infinite;
  opacity: 0;
  top: -2px;
  left: -2px;
  box-sizing: content-box;
}

@keyframes pulse-gold {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.video-carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
  border: 1px solid var(--border-light);
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-light);
  color: var(--emerald-deep);
  transition: var(--transition-smooth);
}

.video-carousel-arrow:hover {
  background: var(--emerald-deep);
  color: var(--white-pure);
  border-color: var(--emerald-deep);
  box-shadow: var(--shadow-deep);
}

.video-arrow-left {
  left: 15px;
}

.video-arrow-right {
  right: 15px;
}

.video-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}

.video-carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border-light);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.video-carousel-dot.active {
  background: var(--emerald-deep);
  transform: scale(1.2);
}

/* Video Modal Overlay */
.video-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 24, 18, 0.95);
  z-index: 20000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.3s;
  backdrop-filter: blur(10px);
}

.video-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.video-modal-content {
  position: relative;
  width: 90%;
  max-width: 800px;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  border: 2px solid var(--gold-primary);
  transform: scale(0.7);
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-modal-overlay.active .video-modal-content {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 20001;
  line-height: 0.8;
  transition: color 0.2s ease;
}

.video-modal-close:hover {
  color: var(--gold-primary);
}

/* Continuous Scrolling Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  background: var(--off-white);
  padding: 25px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  margin-top: 50px;
  margin-bottom: 30px;
}

.ticker-title {
  font-family: 'Outfit', sans-serif;
  color: var(--emerald-deep);
  font-size: 24px;
  text-align: center;
  margin-bottom: 25px;
}

.ticker-viewport {
  width: 100%;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-slide 35s linear infinite;
  will-change: transform;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes ticker-slide {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

.ticker-card {
  flex: 0 0 230px;
  margin: 0 12px;
  background: var(--white-pure);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
}

.ticker-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-primary);
  box-shadow: 0 8px 20px rgba(16, 124, 65, 0.08);
}

/* Product Detail Badges and Breadcrumbs */
.breadcrumb-container {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.breadcrumb-container a {
  color: var(--emerald-medium);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.breadcrumb-container a:hover {
  color: var(--emerald-deep);
  text-decoration: underline;
}

.product-title-row {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

.product-badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 6px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-family: 'Outfit', sans-serif;
}

.category-badge {
  background: var(--gold-pale);
  color: var(--gold-primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.badge-fssai {
  background: rgba(16, 124, 65, 0.08);
  color: var(--emerald-deep);
  border: 1px solid rgba(16, 124, 65, 0.2);
}

.badge-iso {
  background: rgba(0, 0, 0, 0.04);
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.badge-halal {
  background: rgba(197, 160, 89, 0.08);
  color: var(--gold-primary);
  border: 1px solid rgba(197, 160, 89, 0.3);
}

.badge-nutri {
  background: #039855;
  color: var(--white-pure);
  border: 1px solid #027a48;
}

/* Export Docs list */
.docs-list-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 12px;
  margin-top: 20px;
}

@media (min-width: 576px) {
  .docs-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .docs-list-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.doc-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white-pure);
  padding: 12px 15px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.doc-list-item::before {
  content: "✔";
  color: var(--gold-primary);
  font-weight: 800;
  font-size: 14px;
}
