@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@300;400;500;600;700&display=swap');

/* --- Design Tokens --- */
:root {
  /* Colors */
  --primary-navy: #0f1d43;
  --primary-navy-light: #1a2c5e;
  --primary-navy-dark: #070e24;
  --primary-green: #2d6a4f;
  --primary-green-light: #40916c;
  --primary-green-dark: #1b4332;
  --accent-gold: #c5a059;
  --accent-gold-light: #d8b877;
  --accent-gold-dark: #a9833f;
  --bg-cream: #fbfaf7;
  --bg-white: #ffffff;
  --text-dark: #1c2536;
  --text-muted: #5e6b7e;
  --border-light: #e6e9f0;
  
  /* Fonts */
  --font-headings: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Shadow & Blur */
  --shadow-sm: 0 2px 8px rgba(15, 29, 67, 0.05);
  --shadow-md: 0 8px 24px rgba(15, 29, 67, 0.08);
  --shadow-lg: 0 16px 48px rgba(15, 29, 67, 0.12);
  --blur-glass: saturate(180%) blur(20px);
  --glass-bg: rgba(251, 250, 247, 0.85);
  --glass-border: rgba(241, 237, 229, 0.6);
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  
  /* Transitions */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Typography styling */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headings);
  font-weight: 600;
  line-height: 1.25;
  color: var(--primary-navy);
}

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

/* --- Premium Layout & Utilities --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 4.5rem 0;
}

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

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 2px;
  background-color: var(--accent-gold);
  margin: 1.5rem auto 0;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem;
  font-weight: 300;
}

/* --- Header / Navigation --- */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: #ffffff;
  border-bottom: 1px solid rgba(197, 160, 89, 0.3);
  box-shadow: 0 4px 20px rgba(15, 29, 67, 0.08);
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(197, 160, 89, 0.4);
  box-shadow: 0 8px 30px rgba(15, 29, 67, 0.12);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  transition: var(--transition-smooth);
}

header.scrolled .container {
  height: 80px;
}

.logo img {
  height: 68px;
  max-height: 85%;
  width: auto;
  display: block;
  object-fit: contain;
  transition: var(--transition-smooth);
}

header.scrolled .logo img {
  height: 55px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-headings);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--primary-navy) !important;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2.5px;
  background-color: var(--accent-gold);
  border-radius: 2px;
  transition: var(--transition-fast);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-gold-dark) !important;
}

/* Dynamic Logo Loading */
.home-page .logo img,
.inner-page .logo img,
header.scrolled .logo img {
  content: url('assets/logo-light-bg-transparent.png') !important;
}

/* Header CTA button: Request Quote */
.nav-links a.btn-outline,
.nav-links a.btn {
  background-color: var(--primary-navy) !important;
  color: #ffffff !important;
  border: 2px solid var(--accent-gold) !important;
  border-radius: 6px !important;
  padding: 0.65rem 1.4rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(15, 29, 67, 0.18) !important;
  text-transform: none;
  letter-spacing: 0.05em;
}

.nav-links a.btn-outline::after,
.nav-links a.btn::after {
  display: none !important;
}

.nav-links a.btn-outline:hover,
.nav-links a.btn:hover {
  background-color: var(--accent-gold) !important;
  border-color: var(--accent-gold) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(197, 160, 89, 0.4) !important;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  font-family: var(--font-headings);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1.5px solid transparent;
}

.btn-primary {
  background-color: var(--primary-navy);
  color: var(--bg-white);
}

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

.btn-outline {
  border-color: var(--accent-gold);
  color: var(--primary-navy);
  background-color: transparent;
}

.btn-outline:hover {
  background-color: var(--accent-gold);
  color: var(--bg-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background-color: var(--accent-gold);
  color: var(--bg-white);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: var(--primary-navy);
  transition: var(--transition-fast);
}

/* --- Hero Section (Cargo Harbor Design) --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('assets/images/hero_shipping_port.webp');
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  padding: 130px 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, 
    var(--bg-cream) 0%, 
    var(--bg-cream) 45%, 
    rgba(251, 250, 247, 0.95) 50%, 
    rgba(251, 250, 247, 0.8) 55%, 
    rgba(251, 250, 247, 0) 75%);
  z-index: 1;
}

.hero-left-content {
  position: relative;
  z-index: 10;
  max-width: 620px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-left-content h1 {
  font-size: 3.8rem;
  font-weight: 700;
  line-height: 1.15;
  color: var(--primary-navy);
  margin-bottom: 1.5rem;
}

.hero-left-content h1 span.text-gold {
  color: var(--accent-gold) !important;
}

.hero-left-content .hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.hero-left-content .hero-actions {
  display: flex;
  gap: 1.5rem;
}

/* Button with arrow slide animation */
.btn-primary svg {
  transition: transform 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.btn-primary:hover svg {
  transform: translateX(4px);
}

/* Navy outline button */
.btn-outline-navy {
  border-color: var(--primary-navy) !important;
  color: var(--primary-navy) !important;
  background-color: transparent !important;
}

.btn-outline-navy:hover {
  background-color: var(--primary-navy) !important;
  color: var(--bg-white) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-tag {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  display: inline-block;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.3rem;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--accent-gold);
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(40px);
  animation: fadeInRight 1.2s 0.3s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-image-bg {
  display: none;
}

.hero-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  border-radius: var(--radius-lg);
}

.hero-slide.active {
  opacity: 1;
  z-index: 3;
}

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

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: var(--transition-fast);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.slider-dots .dot.active {
  background-color: var(--accent-gold);
  width: 24px;
  border-radius: 5px;
}

/* --- Stats Bar --- */
.stats-bar {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 3.5rem 0;
  position: relative;
  z-index: 10;
  box-shadow: var(--shadow-md);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-gold);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
}

/* --- Sourcing / Process Section --- */
.sourcing-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

.sourcing-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.sourcing-image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition-smooth);
}

.sourcing-image-wrapper:hover img {
  transform: scale(1.03);
}

.sourcing-badge {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent-gold);
  box-shadow: var(--shadow-md);
  max-width: 250px;
}

.sourcing-badge h4 {
  color: var(--accent-gold);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

.sourcing-badge p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.sourcing-features {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sourcing-feature-item {
  display: flex;
  gap: 1.5rem;
}

.feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background-color: rgba(197, 160, 89, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-text h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.feature-text p {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 300;
}

/* --- Specifications Section (Tabs) --- */
.specs {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.tabs-nav {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 1.5rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 0.5rem;
}

.tab-btn {
  font-family: var(--font-headings);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  padding: 1rem 1.5rem;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-gold);
  transition: var(--transition-fast);
}

.tab-btn:hover {
  color: var(--primary-navy);
}

.tab-btn.active {
  color: var(--primary-navy);
  font-weight: 600;
}

.tab-btn.active::after {
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.6s ease forwards;
}

.tab-content.active {
  display: block;
}

.spec-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--bg-white);
}

.spec-table th,
.spec-table td {
  padding: 1.2rem 1.8rem;
  border-bottom: 1px solid var(--border-light);
}

.spec-table th {
  background-color: #f7f9fc;
  color: var(--primary-navy);
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:hover td {
  background-color: rgba(251, 250, 247, 0.7);
}

.spec-table td.highlight {
  font-weight: 600;
  color: var(--accent-gold);
}

.spec-note {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
}

/* --- Logistics & Packaging Section --- */
.packaging-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.package-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-sm);
}

.package-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.package-icon-wrapper {
  width: 80px;
  height: 80px;
  background-color: rgba(197, 160, 89, 0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--accent-gold);
  transition: var(--transition-smooth);
}

.package-card:hover .package-icon-wrapper {
  background-color: var(--accent-gold);
  color: var(--bg-white);
}

.package-icon-wrapper svg {
  width: 36px;
  height: 36px;
}

.package-card h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.package-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  font-weight: 300;
}

.package-specs {
  border-top: 1px solid var(--border-light);
  padding-top: 1.5rem;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.package-specs li {
  font-size: 0.9rem;
  color: var(--text-dark);
}

.package-specs li strong {
  color: var(--primary-navy);
}

/* --- Interactive B2B Quote & Calculator Section --- */
.b2b-section {
  background: radial-gradient(circle at 10% 80%, rgba(197, 160, 89, 0.05) 0%, transparent 60%);
}

.b2b-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

/* Form Styling */
.inquiry-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
}

.inquiry-card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.inquiry-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--primary-navy);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  border: 1px solid #d1d5db;
  border-radius: var(--radius-sm);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  transition: var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-gold);
  background-color: var(--bg-white);
  box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230f1d43'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.2rem center;
  background-size: 1.2rem;
}

.inquiry-card button {
  width: 100%;
  margin-top: 1rem;
}

/* Calculator Styling */
.calc-card {
  background-color: var(--primary-navy);
  color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.calc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(197, 160, 89, 0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.calc-card h3 {
  color: var(--bg-white);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.calc-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}

.calc-inputs {
  margin-bottom: 3rem;
}

.calc-slider-wrapper {
  margin-bottom: 2.5rem;
}

.calc-slider-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.calc-slider-header label {
  font-family: var(--font-headings);
  font-weight: 500;
  letter-spacing: 0.05em;
}

.calc-val-display {
  font-family: var(--font-headings);
  font-weight: 700;
  color: var(--accent-gold);
  font-size: 1.3rem;
}

.slider {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  transition: background 450ms ease-in;
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--accent-gold);
  cursor: pointer;
  transition: transform 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
  background: var(--accent-gold-light);
}

.calc-results {
  background-color: var(--primary-navy-light);
  border-radius: var(--radius-md);
  padding: 2rem;
  border-left: 4px solid var(--accent-gold);
}

.calc-results-title {
  font-family: var(--font-headings);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-gold);
  margin-bottom: 1.2rem;
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-label {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.calc-result-value {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--bg-white);
}

.calc-disclaimer {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* --- Certifications Slider/Grid --- */
.certs {
  background-color: var(--bg-white);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 2rem;
  align-items: stretch; /* Stretch cards to equal height */
}

.cert-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.8rem 1rem;
  background-color: var(--bg-cream);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light); /* Define card borders */
  transition: var(--transition-smooth);
  height: 100%;
}

.cert-item:hover {
  background-color: var(--bg-white);
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.cert-badge {
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.85rem; /* Smaller font to prevent text overlap */
  color: var(--primary-navy);
  width: 76px; /* Larger circle diameter */
  height: 76px;
  border: 2px solid var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background-color: var(--bg-white);
  transition: var(--transition-smooth);
  flex-shrink: 0;
}

/* Flag Icon Styling (Bypass OS limitations, specifically Windows) */
.flag-icon {
  width: 24px;
  height: 16px;
  object-fit: cover;
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
  margin-right: 6px;
}

.cert-item:hover .cert-badge {
  background-color: var(--accent-gold);
  color: var(--bg-white);
}

.cert-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-navy);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --- Footer --- */
footer {
  background-color: var(--primary-navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 6rem 0 3rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 5rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.footer-logo img {
  height: 75px;
  width: auto;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition-fast);
}

.social-icon:hover {
  background-color: var(--accent-gold);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--bg-white);
  font-size: 1.15rem;
  margin-bottom: 1.8rem;
  letter-spacing: 0.05em;
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-links a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-contact p {
  margin-bottom: 1.2rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.footer-contact svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 0.2rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a:hover {
  color: var(--accent-gold);
}

/* --- Scroll Fade-in Animation Utility --- */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  visibility: hidden;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
  visibility: visible;
}

/* --- Interactive Success Modal --- */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(7, 14, 36, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  text-align: center;
  max-width: 450px;
  width: 90%;
  transform: scale(0.9);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

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

.modal-icon {
  width: 70px;
  height: 70px;
  background-color: rgba(197, 160, 89, 0.1);
  color: var(--accent-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.modal-icon svg {
  width: 35px;
  height: 35px;
}

.modal-content h3 {
  font-size: 1.8rem;
  margin-bottom: 0.8rem;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes floatImage {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
  html { font-size: 15px; }
  .hero h1 { font-size: 3rem; }
  .sourcing-grid { gap: 3rem; }
  .packaging-grid { gap: 1.5rem; }
  .b2b-grid { gap: 2.5rem; }
  .certs-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
  .section-padding { padding: 5rem 0; }
  
  /* Navigation */
  header .container { height: 75px; }
  .menu-toggle { display: flex; }
  
  .nav-links {
    position: fixed;
    top: 75px;
    left: 0;
    width: 100%;
    background-color: var(--bg-white);
    flex-direction: column;
    padding: 3rem;
    gap: 2rem;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 999;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Specificity overrides for mobile navigation text colors */
  .inner-page header:not(.scrolled) .nav-links a {
    color: var(--primary-navy) !important;
  }
  .inner-page header:not(.scrolled) .nav-links a:hover {
    color: var(--accent-gold-dark) !important;
  }
  
  /* Menu toggle button colors on mobile dark heroes */
  .inner-page header:not(.scrolled) .menu-toggle span {
    background-color: #ffffff !important;
  }
  .inner-page header.scrolled .menu-toggle span {
    background-color: var(--primary-navy) !important;
  }
  
  /* Menu icon active animation */
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* Hero Override for Cargo Harbor Design */
  .hero {
    min-height: 100vh;
    padding: 120px 0 60px;
    background-position: 70% center; /* Shift ship to be visible in background */
  }
  .hero::before {
    background: linear-gradient(to bottom, 
      rgba(251, 250, 247, 0.96) 0%, 
      rgba(251, 250, 247, 0.92) 50%, 
      rgba(251, 250, 247, 0.8) 75%, 
      rgba(251, 250, 247, 0.4) 100%) !important;
  }
  .hero-left-content {
    text-align: center;
    margin: 0 auto;
    max-width: 100%;
  }
  .hero-left-content h1 {
    font-size: 2.6rem !important;
    margin-bottom: 1.2rem;
  }
  .hero-left-content .hero-desc {
    font-size: 1.05rem !important;
    margin-bottom: 2rem;
  }
  .hero-left-content .hero-actions {
    justify-content: center;
    flex-direction: column;
    width: 100%;
    gap: 1rem;
  }
  .hero-left-content .hero-actions .btn {
    width: 100%;
  }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; }
  .stat-item { border-right: none; }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255, 255, 255, 0.1); }

  /* Sourcing */
  .sourcing-grid { grid-template-columns: 1fr; gap: 3rem; }
  .sourcing-image-wrapper { order: -1; }

  /* Specifications */
  .tabs-nav { gap: 0.5rem; }
  .tab-btn { padding: 0.8rem 1rem; font-size: 0.95rem; }
  .spec-table th, .spec-table td { padding: 1rem; }

  /* Packaging */
  .packaging-grid { grid-template-columns: 1fr; gap: 2rem; }

  /* B2B & Calculator */
  .b2b-grid { grid-template-columns: 1fr; gap: 3rem; }
  .form-grid { grid-template-columns: 1fr; }
  .form-group.full-width { grid-column: span 1; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-bottom { flex-direction: column; gap: 1.5rem; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-left-content h1 { font-size: 2.1rem !important; }
  .btn { width: 100%; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1.5rem; }
  .stat-item:last-child { border-bottom: none; padding-bottom: 0; }
  .certs-grid { grid-template-columns: repeat(2, 1fr); }
  
  /* Hide hero overlapping badges on small viewports */
  .hero-badge { display: none !important; }
}

/* --- Header / Navigation Dropdown & Menu styling --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.8rem 0;
  min-width: 250px;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background-color: var(--bg-white);
  border-left: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  position: relative;
  z-index: 2;
}

.dropdown-menu li a {
  display: block;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-dark) !important; /* Force dark text on dropdown */
  text-transform: none;
  letter-spacing: 0.02em;
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background-color: var(--bg-cream);
  color: var(--accent-gold) !important;
  padding-left: 2.2rem;
}

.dropdown-menu li a::after {
  display: none !important;
}

/* Mobile Dropdown Styling adaptation */
@media (max-width: 768px) {
  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    box-shadow: none;
    border: none;
    background-color: rgba(15, 29, 67, 0.03);
    padding: 0.5rem 0 0.5rem 1rem;
    margin-top: 0.5rem;
    width: 100%;
    display: none;
  }
  
  .dropdown-menu::before {
    display: none;
  }
  
  .dropdown.active .dropdown-menu {
    display: block;
  }
  
  .dropdown-menu li a {
    padding: 0.5rem 1rem;
  }
}

/* --- Premium General Page Hero --- */
.page-hero {
  height: 45vh;
  min-height: 350px;
  background-color: var(--primary-navy-dark);
  color: var(--bg-white);
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 120px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-navy-dark) 0%, var(--primary-navy) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(197, 160, 89, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 5;
}

.page-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: var(--bg-white);
  margin-bottom: 0.8rem;
  text-transform: capitalize;
}

.page-hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  font-weight: 300;
}

.breadcrumbs {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-headings);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.breadcrumbs a {
  color: var(--accent-gold-light);
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--accent-gold);
}

.breadcrumbs li::after {
  content: '/';
  margin-left: 0.5rem;
}

.breadcrumbs li:last-child::after {
  content: '';
}

/* --- About Page: Horizontal Timeline --- */
.timeline-section {
  background-color: var(--bg-white);
}

.milestone-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  position: relative;
  margin-top: 3.5rem;
}

.milestone-flow::before {
  content: '';
  position: absolute;
  top: 114px; /* Center of the dot: top padding (32px) + icon (50px) + icon margin (19.2px) + dot radius (12px) */
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(to right, var(--accent-gold-light), var(--accent-gold), var(--accent-gold-light));
  z-index: 1;
}

.milestone-card {
  background: var(--bg-white);
  padding: 2rem 1.2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  border-top: 4px solid rgba(197, 160, 89, 0.3);
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.milestone-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
  border-top-color: var(--accent-gold);
}

.milestone-step {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  font-family: var(--font-headings);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(15, 29, 67, 0.04);
  line-height: 1;
  transition: var(--transition-smooth);
}

.milestone-card:hover .milestone-step {
  color: rgba(197, 160, 89, 0.12);
}

.milestone-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.08);
  color: var(--accent-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition-smooth);
  z-index: 2;
}

.milestone-card:hover .milestone-icon-wrapper {
  background-color: var(--accent-gold);
  color: var(--bg-white);
  transform: scale(1.05) rotate(10deg);
}

.milestone-dot {
  width: 24px;
  height: 24px;
  background-color: var(--bg-cream);
  border: 4px solid var(--accent-gold);
  border-radius: 50%;
  margin-bottom: 1.2rem;
  position: relative;
  z-index: 3;
  transition: var(--transition-smooth);
}

.milestone-card:hover .milestone-dot {
  background-color: var(--accent-gold);
  transform: scale(1.25);
  box-shadow: 0 0 12px rgba(197, 160, 89, 0.6);
}

.milestone-date {
  font-family: var(--font-headings);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent-gold-dark);
  margin-bottom: 0.5rem;
}

.milestone-card h3 {
  font-size: 1.1rem;
  color: var(--primary-navy);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.milestone-card p {
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 992px) {
  .milestone-flow {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .milestone-flow::before {
    display: none;
  }
  .milestone-card {
    align-items: flex-start;
    text-align: left;
    padding: 1.5rem;
  }
  .milestone-dot {
    margin-bottom: 1rem;
  }
  .milestone-step {
    top: 1.5rem;
    right: 1.5rem;
    font-size: 2.2rem;
  }
}

/* --- Why Choose Us Cards --- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.why-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.why-card-icon {
  width: 55px;
  height: 55px;
  border-radius: var(--radius-md);
  background-color: rgba(197, 160, 89, 0.08);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.why-card-icon svg {
  width: 28px;
  height: 28px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.why-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* --- Product Divisions Showcase (Homepage) --- */
.divisions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.division-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: var(--transition-smooth);
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.division-image {
  height: 240px;
  overflow: hidden;
  position: relative;
}

.division-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.division-card:hover .division-image img {
  transform: scale(1.05);
}

.division-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  background-color: var(--primary-navy);
  color: var(--bg-white);
  padding: 0.4rem 1rem;
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-sm);
}

.division-card:nth-child(1) .division-badge {
  background-color: var(--primary-green); /* green for coconut oil */
}

.division-card:nth-child(2) .division-badge {
  background-color: #0f1d43; /* navy for chemicals */
}

.division-card:nth-child(3) .division-badge {
  background-color: #582f0e; /* carbon brown */
}

.division-content {
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.division-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.division-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  flex-grow: 1;
  font-weight: 300;
}

.division-link {
  font-family: var(--font-headings);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent-gold-dark);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.division-link svg {
  width: 16px;
  height: 16px;
  transition: var(--transition-fast);
}

.division-card:hover .division-link svg {
  transform: translateX(4px);
}

@media (max-width: 992px) {
  .divisions-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 3rem auto 0;
  }
}

/* --- Product Detail Pages: Grid/Cards --- */
.product-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
  align-items: center;
}

@media (max-width: 992px) {
  .product-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.app-card {
  background-color: var(--bg-white);
  padding: 2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.app-card:hover {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.app-card-num {
  font-family: var(--font-headings);
  font-size: 2.2rem;
  font-weight: 700;
  color: rgba(197, 160, 89, 0.25);
  line-height: 1;
  margin-bottom: 0.8rem;
}

.app-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.app-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.bullets-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1rem;
}

.bullets-list li {
  display: flex;
  gap: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.bullets-list svg {
  color: var(--accent-gold);
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
}

/* --- Markets Page: SVG Map Display --- */
.market-map-container {
  background-color: var(--primary-navy-dark);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  margin-top: 3rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.map-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

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

.map-pulse {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--accent-gold);
  cursor: pointer;
  z-index: 5;
  transform: translate(-50%, -50%);
}

.map-pulse::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--accent-gold);
  animation: mapPulseAnim 2.5s infinite ease-out;
}

@keyframes mapPulseAnim {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(4); opacity: 0; }
}

.map-label {
  position: absolute;
  background-color: rgba(15, 29, 67, 0.92);
  border: 1px solid var(--accent-gold);
  color: var(--bg-white);
  padding: 0.4rem 0.8rem;
  font-size: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transform: translate(-50%, -150%);
  pointer-events: none;
  white-space: nowrap;
  box-shadow: var(--shadow-md);
}

/* Shipping Lane Lines animation */
.shipping-lane {
  stroke: var(--accent-gold-light);
  stroke-dasharray: 6;
  animation: dash 20s linear infinite;
  opacity: 0.6;
}

@keyframes dash {
  to {
    stroke-dashoffset: -100;
  }
}

/* --- Certifications Page Elements --- */
.cert-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.cert-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-gold);
}

.cert-card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.cert-card-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--accent-gold);
  background-color: rgba(197, 160, 89, 0.05);
  color: var(--primary-navy);
  font-family: var(--font-headings);
  font-weight: 700;
  font-size: 0.8rem; /* Smaller font-size to prevent SCOMET/AGMARK text overflow */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  text-align: center;
  padding: 4px;
}

.cert-card-title h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.cert-card-title span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.cert-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.cert-compliance-tag {
  display: inline-block;
  background-color: rgba(27, 67, 50, 0.08);
  color: #1b4332;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-family: var(--font-headings);
  font-weight: 600;
  border-radius: var(--radius-sm);
}

/* --- Contact Us Enhancements --- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-item {
  display: flex;
  gap: 1.2rem;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: rgba(197, 160, 89, 0.08);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
}

.contact-info-text h4 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}

.contact-info-text p,
.contact-info-text a {
  font-size: 1.05rem;
  color: var(--primary-navy);
  font-weight: 500;
}

.contact-info-text a:hover {
  color: var(--accent-gold);
}

.map-embed-wrapper {
  margin-top: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
}

.map-embed-wrapper iframe {
  width: 100%;
  height: 380px;
  border: none;
  display: block;
}

/* --- Floating WhatsApp Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 2.2rem;
  right: 2.2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  color: var(--bg-white);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.5);
  color: var(--bg-white);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* --- Footer Logo Alignment Fixing --- */
.footer-brand .footer-logo {
  display: inline-block;
}

/* --- Lush Green Custom Design Accents (Premium International Standard) --- */
.btn-green {
  background-color: var(--primary-green) !important;
  color: var(--bg-white) !important;
  border-color: var(--primary-green) !important;
}

.btn-green:hover {
  background-color: var(--primary-green-light) !important;
  border-color: var(--primary-green-light) !important;
  color: var(--bg-white) !important;
}

.btn-outline-green {
  border-color: var(--primary-green) !important;
  color: var(--primary-green) !important;
  background-color: transparent !important;
}

.btn-outline-green:hover {
  background-color: var(--primary-green) !important;
  color: var(--bg-white) !important;
}

.text-green {
  color: var(--primary-green) !important;
}

.bg-green-light {
  background-color: rgba(45, 106, 79, 0.04) !important;
}

/* --- Brand Showcase (Premium Products) --- */
.brand-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 3rem;
  margin-top: 3.5rem;
}

.brand-card {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green-light);
}

.brand-card-img-wrapper {
  flex: 0 0 45%;
  background: linear-gradient(135deg, #f7f9f6 0%, #edf2ec 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.brand-card-img-wrapper img:not(.agmark-badge) {
  max-width: 100%;
  max-height: 380px;
  object-fit: contain;
  transition: var(--transition-smooth);
}

.brand-card:hover .brand-card-img-wrapper img:not(.agmark-badge) {
  transform: scale(1.05);
}

.brand-card-img-wrapper img.agmark-badge {
  position: absolute !important;
  top: 1.5rem !important;
  left: 1.5rem !important;
  width: 60px !important;
  height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  object-fit: contain !important;
  z-index: 5 !important;
  background-color: var(--bg-white) !important;
  border-radius: 50% !important;
  padding: 5px !important;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid var(--border-light) !important;
  transition: var(--transition-smooth) !important;
  transform: none;
}

.brand-card:hover .brand-card-img-wrapper img.agmark-badge {
  transform: rotate(5deg) scale(1.05) !important;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12) !important;
}

.brand-card-content {
  flex: 1;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-card-content .product-badge {
  font-family: var(--font-headings);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--primary-green);
  text-transform: uppercase;
  background-color: rgba(45, 106, 79, 0.08);
  padding: 0.35rem 0.8rem;
  border-radius: 50px;
  display: inline-block;
  align-self: flex-start;
  margin-bottom: 1.2rem;
}

.brand-card-content h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green-dark);
}

.brand-card-content .product-tagline {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--accent-gold-dark);
  margin-bottom: 1.2rem;
  font-weight: 500;
}

.brand-card-content .product-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.brand-card-content .product-highlights {
  margin-bottom: 1.8rem;
  list-style: none;
}

.brand-card-content .highlight-item {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.brand-card-content .highlight-item::before {
  content: "✓";
  color: var(--primary-green);
  font-weight: bold;
  margin-right: 0.6rem;
}

.brand-card-content .btn {
  align-self: flex-start;
  padding: 0.7rem 1.8rem;
  font-size: 0.9rem;
}

/* Secondary Packaging Configuration (Cans, Drums) */
.secondary-packaging-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.secondary-package-card {
  background-color: var(--bg-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.secondary-package-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-green);
}

.secondary-package-card-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: rgba(45, 106, 79, 0.05);
  color: var(--primary-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.secondary-package-card-icon svg {
  width: 24px;
  height: 24px;
}

.secondary-package-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
  color: var(--primary-navy);
}

.secondary-package-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  flex-grow: 1;
  line-height: 1.5;
}

.secondary-package-card .package-specs {
  list-style: none;
  border-top: 1px solid var(--border-light);
  padding-top: 1rem;
}

.secondary-package-card .package-specs li {
  font-size: 0.85rem;
  margin-bottom: 0.4rem;
  color: var(--text-dark);
}

/* Media Query overrides for mobile responsive brand-card */
@media (max-width: 992px) {
  .brand-showcase-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .brand-card {
    flex-direction: column;
  }
  .brand-card-img-wrapper {
    flex: 0 0 auto;
    width: 100%;
    height: 320px;
    padding: 2rem;
  }
  .brand-card-img-wrapper img:not(.agmark-badge) {
    max-height: 280px;
  }
  .brand-card-content {
    padding: 2rem;
  }
}

/* --- Fix navigation dropdown items visibility on product/inner pages --- */
.inner-page header:not(.scrolled) .nav-links .dropdown-menu a {
  color: var(--text-dark) !important;
}

.inner-page header:not(.scrolled) .nav-links .dropdown-menu a:hover {
  color: var(--accent-gold) !important;
  background-color: var(--bg-cream) !important;
}

/* --- Homepage Hero Product Showcase --- */
.hero-product-showcase {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.hero-showcase-bg-circle {
  position: absolute;
  width: 90%;
  height: 90%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.12) 0%, rgba(197, 160, 89, 0.04) 50%, transparent 70%);
  z-index: 1;
}

.hero-product-images {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-product-bottle {
  position: absolute;
  bottom: 8%;
  left: 18%;
  height: 380px;
  width: auto;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 15px 35px rgba(15, 29, 67, 0.15));
  transition: var(--transition-smooth);
}

.hero-product-pouch {
  position: absolute;
  bottom: 4%;
  right: 15%;
  height: 330px;
  width: auto;
  object-fit: contain;
  z-index: 3;
  filter: drop-shadow(0 20px 45px rgba(15, 29, 67, 0.22));
  transition: var(--transition-smooth);
}

.hero-product-showcase:hover .hero-product-bottle {
  transform: translateY(-12px) rotate(-1.5deg);
}

.hero-product-showcase:hover .hero-product-pouch {
  transform: translateY(-16px) rotate(1.5deg);
}

.hero-badge {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--blur-glass);
  border: 1px solid rgba(255, 255, 255, 0.6);
  padding: 0.65rem 1.3rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-headings);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-navy);
  box-shadow: var(--shadow-md);
  z-index: 10;
  transition: var(--transition-smooth);
}

.hero-badge svg {
  color: var(--primary-green);
  flex-shrink: 0;
}

.badge-top-left {
  top: 15%;
  left: 5%;
  animation: float-slow 4.5s ease-in-out infinite;
}

.badge-bottom-right {
  bottom: 12%;
  right: 5%;
  animation: float-slow 4.5s ease-in-out infinite 2.25s;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (max-width: 992px) {
  .hero-product-showcase {
    min-height: 400px;
    margin-top: 2rem;
  }
  .hero-product-bottle {
    height: 300px;
    left: 22%;
  }
  .hero-product-pouch {
    height: 260px;
    right: 18%;
  }
  .badge-top-left {
    top: 10%;
    left: 10%;
  }
  .badge-bottom-right {
    bottom: 8%;
    right: 10%;
  }
}

@media (max-width: 576px) {
  .hero-product-showcase {
    min-height: 320px;
  }
  .hero-product-bottle {
    height: 240px;
    left: 15%;
  }
  .hero-product-pouch {
    height: 210px;
    right: 12%;
  }
  .hero-badge {
    padding: 0.45rem 0.9rem;
    font-size: 0.75rem;
  }
}

/* --- Responsive Brand Showcase Custom Split --- */
.brand-showcase-split {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3.5rem;
}

.brand-showcase-images {
  position: relative;
  height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, rgba(45, 106, 79, 0.02) 0%, rgba(45, 106, 79, 0.06) 100%);
  border-radius: var(--radius-lg);
  padding: 2rem;
  overflow: hidden;
  border: 1px solid rgba(45, 106, 79, 0.08);
}

.brand-showcase-bg-circle {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(45, 106, 79, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: 1;
}

.brand-showcase-images-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

.brand-showcase-img-bottle {
  height: 320px;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transform: rotate(-3deg);
  transition: transform 0.3s;
}

.brand-showcase-img-bottle:hover {
  transform: rotate(-3deg) scale(1.05);
}

.brand-showcase-img-pouch {
  height: 280px;
  border-radius: var(--radius-sm);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  transform: rotate(5deg);
  margin-top: 2rem;
  transition: transform 0.3s;
}

.brand-showcase-img-pouch:hover {
  transform: rotate(5deg) scale(1.05);
}

.brand-showcase-details {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

@media (max-width: 992px) {
  .brand-showcase-split {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .brand-showcase-images {
    height: 360px;
  }
  .brand-showcase-img-bottle {
    height: 270px;
  }
  .brand-showcase-img-pouch {
    height: 230px;
  }
}

/* --- Hero Image Container Sizing & Layout --- */
.hero-image-container {
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
  transform: translateY(30px);
  opacity: 0;
  animation: fadeInUp 1.2s 0.2s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

/* --- Footer Contact Form Section Refinements --- */
.footer-contact-section {
  background: linear-gradient(135deg, #091026 0%, #12214e 100%);
  color: var(--bg-white);
  padding: 5.5rem 0;
  border-top: 2px solid var(--accent-gold);
  position: relative;
  overflow: hidden;
}

.footer-contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 15%, rgba(197, 160, 89, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

.footer-contact-container {
  max-width: 1150px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.footer-contact-text h2 {
  font-size: 2.5rem;
  color: var(--bg-white);
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
  font-weight: 700;
  line-height: 1.2;
}

.footer-contact-text h2 span {
  color: var(--accent-gold);
}

.footer-contact-text p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.8rem;
}

.footer-contact-form {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  padding: 3rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.footer-contact-form h3 {
  color: var(--primary-navy);
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-family: var(--font-headings);
}

.footer-contact-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.footer-contact-form .form-group.full-width {
  grid-column: span 2;
}

.footer-contact-form label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--primary-navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-contact-form input,
.footer-contact-form select,
.footer-contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: var(--bg-white);
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: var(--text-dark) !important;
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.footer-contact-form input::placeholder,
.footer-contact-form textarea::placeholder {
  color: #9ca3af;
}

.footer-contact-form input:focus,
.footer-contact-form select:focus,
.footer-contact-form textarea:focus {
  border-color: var(--primary-navy);
  background: var(--bg-white);
  box-shadow: 0 0 0 4px rgba(15, 29, 67, 0.1);
}

.footer-contact-form select option {
  background: var(--bg-white);
  color: var(--text-dark);
  padding: 10px;
}

.phone-input-wrapper {
  display: flex !important;
  gap: 0.8rem !important;
  width: 100% !important;
}

.phone-input-wrapper select {
  width: 130px !important;
  flex-shrink: 0 !important;
}

.phone-input-wrapper input {
  flex-grow: 1 !important;
}

.footer-contact-form button[type="submit"] {
  width: 100%;
  padding: 1rem;
  background: var(--accent-gold);
  border: 1px solid var(--accent-gold);
  border-radius: 6px;
  color: #091026;
  font-weight: 700;
  font-size: 1.05rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-contact-form button[type="submit"]:hover {
  background: var(--accent-gold-light);
  border-color: var(--accent-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(197, 160, 89, 0.45);
}

@media (max-width: 992px) {
  .footer-contact-container {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .footer-contact-form {
    padding: 2rem;
  }
}

@media (max-width: 576px) {
  .footer-contact-form {
    padding: 1.5rem;
  }
  .footer-contact-form .form-grid {
    grid-template-columns: 1fr;
  }
  .footer-contact-form .form-group.full-width {
    grid-column: span 1;
  }
  .phone-input-wrapper select {
    width: 110px !important;
  }
}

