/* ============================================================
   MMP TRADERS — Main Stylesheet
   Premium Corporate Design | White + Green + Blue Theme
   Mobile-First Responsive Design
   ============================================================ */

/* ---- Google Fonts ---------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@700;800&display=swap');

/* ---- CSS Variables (Light Mode) -------------------------- */
:root {
  /* Brand Colors */
  --primary:       #0a6640;
  --primary-light: #12a15e;
  --primary-dark:  #064d30;
  --secondary:     #1a4a8a;
  --secondary-light:#2563c7;
  --accent:        #f0a500;

  /* Neutrals */
  --white:     #ffffff;
  --gray-50:   #f9fafb;
  --gray-100:  #f3f4f6;
  --gray-200:  #e5e7eb;
  --gray-300:  #d1d5db;
  --gray-400:  #9ca3af;
  --gray-500:  #6b7280;
  --gray-600:  #4b5563;
  --gray-700:  #374151;
  --gray-800:  #1f2937;
  --gray-900:  #111827;

  /* Semantic Colors */
  --bg-primary:   #ffffff;
  --bg-secondary: #f0f7f4;
  --bg-tertiary:  #e8f4ee;
  --text-primary:   #111827;
  --text-secondary: #4b5563;
  --text-muted:     #9ca3af;
  --border-color:   #e5e7eb;
  --card-bg:        #ffffff;
  --card-shadow:    0 4px 24px rgba(10,102,64,0.08);

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #0a6640 0%, #1a4a8a 100%);
  --grad-hero:     linear-gradient(135deg, #064d30 0%, #0a6640 40%, #1a4a8a 100%);
  --grad-accent:   linear-gradient(135deg, #f0a500 0%, #e07b00 100%);
  --grad-glass:    rgba(255,255,255,0.12);

  /* Typography */
  --font-primary: 'Inter', system-ui, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  /* Spacing */
  --section-py: 35px;
  --container:  1280px;

  /* Radius */
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;
  --radius-full: 9999px;

  /* Transitions */
  --ease: cubic-bezier(0.4,0,0.2,1);
  --transition: 0.3s var(--ease);
  --transition-fast: 0.15s var(--ease);

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg:  0 8px 32px rgba(0,0,0,0.12);
  --shadow-xl:  0 16px 64px rgba(0,0,0,0.15);
  --shadow-primary: 0 8px 32px rgba(10,102,64,0.30);
}

/* ---- Dark Mode ------------------------------------------ */
[data-theme="dark"] {
  --bg-primary:    #0d1117;
  --bg-secondary:  #161b22;
  --bg-tertiary:   #21262d;
  --text-primary:  #f0f6fc;
  --text-secondary:#8b949e;
  --text-muted:    #6e7681;
  --border-color:  #30363d;
  --card-bg:       #161b22;
  --card-shadow:   0 4px 24px rgba(0,0,0,0.4);
  --primary:       #12a15e;
  --primary-light: #1fba70;
}

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

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

body {
  font-family: var(--font-primary);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color var(--transition), color var(--transition);
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

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

.section { padding: var(--section-py) 0; }
.section-sm { padding: 24px 0; }
.section-lg { padding: 60px 0; }

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

.flex  { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-4 { gap: 16px; }
.gap-6 { gap: 24px; }
.gap-8 { gap: 32px; }

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

/* ---- Typography ----------------------------------------- */
h1,h2,h3,h4,h5,h6 { line-height: 1.2; font-weight: 700; color: var(--text-primary); }

.display-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 8px;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
}

.section-header { margin-bottom: 28px; }
.section-header.text-center .section-subtitle { margin: 0 auto; }

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-tertiary);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 8px;
  border: 1px solid rgba(10,102,64,0.2);
}

/* ---- Buttons -------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all var(--transition);
  min-height: 48px;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--grad-primary);
  color: var(--white);
  box-shadow: var(--shadow-primary);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(10,102,64,0.40);
}

.btn-secondary {
  background: var(--secondary);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(26,74,138,0.25);
}
.btn-secondary:hover { transform: translateY(-2px); background: var(--secondary-light); }

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

.btn-outline-white {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
  background: transparent;
}
.btn-outline-white:hover { background: var(--white); color: var(--primary-dark); }

.btn-accent {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 8px 24px rgba(240,165,0,0.30);
}
.btn-accent:hover { transform: translateY(-2px); }

.btn-white {
  background: var(--white);
  color: var(--primary-dark);
  box-shadow: 0 8px 32px rgba(10,102,64,0.15);
}
.btn-white:hover {
  transform: translateY(-2px);
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 12px 40px rgba(0,0,0,0.20);
}

.btn-sm { padding: 9px 20px; font-size: 0.85rem; min-height: 40px; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; min-height: 56px; }

/* ---- Cards ---------------------------------------------- */
.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}
.card-body { padding: 24px; }

/* ---- Badge ---------------------------------------------- */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-success  { background: #dcfce7; color: #16a34a; }
.badge-warning  { background: #fef3c7; color: #d97706; }
.badge-danger   { background: #fee2e2; color: #dc2626; }
.badge-info     { background: #dbeafe; color: #1d4ed8; }
.badge-primary  { background: #d1fae5; color: #065f46; }

/* ---- Alerts --------------------------------------------- */
.alert {
  padding: 14px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}
.alert--success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.alert--error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.alert--info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }
.alert--warning { background: #fef3c7; color: #92400e; border-left: 4px solid #f59e0b; }

/* ---- Form Styles ---------------------------------------- */
.form-group { margin-bottom: 20px; }

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

.form-control {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg-secondary);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: border-color var(--transition), box-shadow var(--transition);
  min-height: 48px;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(10,102,64,0.12);
}
textarea.form-control { resize: vertical; min-height: 120px; }

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

.form-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='%236b7280'%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 14px center;
  background-size: 18px;
  padding-right: 44px;
}

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition);
}

[data-theme="dark"] .header {
  background: rgba(13,17,23,0.95);
  border-color: var(--border-color);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo__img {
  max-height: 45px;
  width: auto;
  object-fit: contain;
  display: block;
}
.logo__text { font-size: 1.4rem; font-weight: 800; }
.logo__text span { color: var(--primary); }
.logo__sub { font-size: 0.65rem; color: var(--text-muted); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; display: block; margin-top: -2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav__link {
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
}
.nav__link:hover, .nav__link.active {
  color: var(--primary);
  background: var(--bg-tertiary);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-theme {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  font-size: 1rem;
}
.btn-theme:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }

.hamburger {
  display: none;
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border-color);
}
.hamburger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 70px 0 0 0;
  background: var(--bg-primary);
  z-index: 999;
  padding: 24px 20px;
  overflow-y: auto;
  border-top: 1px solid var(--border-color);
}
.mobile-nav.open { display: block; animation: slideDown 0.25s var(--ease); }
.mobile-nav .nav__link {
  display: block;
  padding: 14px 16px;
  font-size: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 4px;
}
.mobile-nav .btn { width: 100%; margin-top: 16px; justify-content: center; }

@keyframes slideDown { from { opacity:0; transform:translateY(-10px); } to { opacity:1; transform:translateY(0); } }

.main-content { padding-top: 70px; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  background: var(--grad-hero);
  overflow: hidden;
  padding: 90px 0 50px; /* Highly compact space: 90px top includes header height */
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(18,161,94,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(37,99,199,0.15) 0%, transparent 50%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero__particles span {
  position: absolute;
  width: 4px; height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 50%;
  animation: float 8s infinite;
}

@keyframes float {
  0%,100% { transform: translateY(0) rotate(0deg); opacity: 0.5; }
  50%      { transform: translateY(-40px) rotate(180deg); opacity: 1; }
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  padding: 0; /* Remove inner padding since parent is padded */
}

.hero__content { color: var(--white); }

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.9);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  margin-bottom: 24px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero__title em { color: #6ee7b7; font-style: normal; }

.hero__text {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero__btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  margin-top: 48px;
}

.hero__stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  display: block;
}
.hero__stat-label { font-size: 0.8rem; color: rgba(255,255,255,0.7); }

.hero__image-wrap {
  position: relative;
}

.hero__image {
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.hero__float-card {
  position: absolute;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 14px 18px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: pulse 3s ease-in-out infinite;
}
.hero__float-card--1 { bottom: -20px; left: -20px; }
.hero__float-card--2 { top: -16px; right: -16px; }
.hero__float-card .icon {
  width: 44px; height: 44px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.2rem;
}
.hero__float-card h4 { font-size: 0.9rem; color: var(--gray-800); margin: 0; }
.hero__float-card p  { font-size: 0.75rem; color: var(--gray-500); margin: 0; }

@keyframes pulse {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-us { background: var(--bg-secondary); }

.why-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  border: 1px solid var(--border-color);
  text-align: center;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.why-card:hover::before { transform: scaleX(1); }

.why-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-lg);
  background: var(--bg-tertiary);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.8rem;
  color: var(--primary);
  transition: all var(--transition);
}
.why-card:hover .why-icon {
  background: var(--grad-primary);
  color: var(--white);
  transform: scale(1.1);
}
.why-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.why-card p  { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   PRODUCTS SECTION / CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px,1fr));
  gap: 24px;
}

.product-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }

.product-card__image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--bg-secondary);
}
.product-card__image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}
.product-card:hover .product-card__image img { transform: scale(1.08); }

.product-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.product-card__category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.product-card__name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.product-card__desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}
.product-card__meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}
.product-card__meta span { display: flex; align-items: center; gap: 4px; }
.product-card__actions { display: flex; gap: 8px; }
.product-card__actions .btn { flex: 1; font-size: 0.85rem; padding: 10px 16px; min-height: 44px; }

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}

.service-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  border: 1px solid var(--border-color);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--primary); }

.service-icon {
  width: 64px; height: 64px;
  border-radius: var(--radius-md);
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 20px;
}

/* ============================================================
   GLOBAL REACH
   ============================================================ */
.global-reach { background: var(--grad-primary); color: var(--white); }
.global-reach .section-title { color: var(--white); }
.global-reach .section-subtitle { color: rgba(255,255,255,0.8); }

.countries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px,1fr));
  gap: 16px;
  margin-top: 48px;
}
.country-card {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { background: var(--bg-secondary); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px,1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 28px;
  border: 1px solid var(--border-color);
  position: relative;
}
.testimonial-stars { color: #f59e0b; margin-bottom: 14px; }
.testimonial-text  { font-style: italic; color: var(--text-secondary); margin-bottom: 20px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-weight: 700;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #0d1117;
  color: rgba(255,255,255,0.8);
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__desc { font-size: 0.9rem; margin: 16px 0 24px; color: rgba(255,255,255,0.6); }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 40px; height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  transition: all var(--transition-fast);
}
.social-link:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer__col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.footer__links li { margin-bottom: 10px; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition-fast);
}
.footer__links a:hover { color: #6ee7b7; }

.footer__contact li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.875rem;
}
.footer__contact .icon { color: #6ee7b7; }

.footer__bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom-links { display: flex; gap: 20px; }

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.floating-btns {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-whatsapp {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
}

.back-to-top {
  width: 44px; height: 44px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--white);
  display: none;
  align-items: center; justify-content: center;
  box-shadow: var(--shadow-primary);
}

/* ============================================================
   LIVE CHAT WIDGET
   ============================================================ */
.chat-widget {
  position: fixed;
  bottom: 100px;
  right: 24px;
  z-index: 1000;
}

.chat-toggle {
  width: 56px; height: 56px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #0084ff 0%, #0056b3 100%);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 24px rgba(0, 132, 255, 0.35);
  transition: all var(--transition-fast);
}
.chat-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 132, 255, 0.45);
}

.chat-box {
  position: absolute;
  bottom: 70px;
  right: 0;
  width: 340px;
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-color);
  display: none;
  flex-direction: column;
}
.chat-box.open { display: flex; }

.chat-box__header {
  background: var(--grad-primary);
  padding: 16px 20px;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-box__header .avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}

.chat-box__messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg { display: flex; max-width: 85%; }
.chat-msg--admin { align-self: flex-start; }
.chat-msg--visitor { align-self: flex-end; flex-direction: row-reverse; }

.chat-msg__bubble {
  padding: 10px 14px;
  border-radius: 16px;
  font-size: 0.875rem;
}
.chat-msg--admin .chat-msg__bubble { background: var(--bg-secondary); }
.chat-msg--visitor .chat-msg__bubble { background: var(--primary); color: white; }

.chat-box__start { padding: 20px; }
.chat-box__input {
  padding: 12px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
}
.chat-input {
  flex: 1;
  padding: 10px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-full);
  outline: none;
}
.chat-send {
  width: 40px; height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: white;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   MODALS
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
}
.modal-overlay.open { opacity: 1; visibility: visible; }

.modal {
  background: var(--bg-primary);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 700px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 36px;
  transform: translateY(20px);
  transition: all var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal__header { display: flex; justify-content: space-between; margin-bottom: 28px; }
.modal__close { font-size: 2rem; cursor: pointer; }

/* ============================================================
   RESPONSIVES
   ============================================================ */
@media (max-width: 1023px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__btns { justify-content: center; }
  .hero__stats { justify-content: center; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .hide-mobile { display: none !important; }
}

/* ============================================================
   LANGUAGE SWITCHER & GOOGLE TRANSLATE STYLES
   ============================================================ */
.lang-switcher {
  position: relative;
  display: inline-block;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.lang-btn:hover {
  border-color: var(--primary);
  background: var(--bg-surface-hover);
}
.lang-flag {
  width: 20px;
  height: 13px;
  border-radius: 2px;
  object-fit: cover;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  display: inline-block;
  vertical-align: middle;
}
.lang-chevron {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-left: 2px;
  transition: transform var(--transition-fast);
}
.lang-switcher.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 140px;
  z-index: 1000;
  display: none;
  overflow-y: auto;
  max-height: 350px;
  animation: slideDown 0.2s ease;
}
.lang-switcher.open .lang-dropdown {
  display: block;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.875rem;
  color: var(--text-primary);
  transition: background var(--transition-fast);
  cursor: pointer;
}
.lang-option:hover {
  background: var(--bg-surface-hover);
  color: var(--primary);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hide Google Translate Top Frame */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt {
  display: none !important;
}
body {
  top: 0px !important;
}
.goog-te-menu-value {
  display: none !important;
}
.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}
iframe.goog-te-banner-frame {
  display: none !important;
}
.skiptranslate {
  display: none !important;
}
body > .skiptranslate {
  display: none !important;
}

/* ============================================================
   HD SCREENS RESPONSIVE OPTIMIZATIONS (Large Screen Scaling)
   ============================================================ */
@media (min-width: 1400px) {
  html {
    font-size: 17px; /* Scales all rem-based sizes & paddings */
  }
  :root {
    --container: 1360px;
    --section-py: 45px;
  }
  .grid-2, .grid-3, .grid-4 {
    gap: 32px;
  }
  .hero {
    padding: 110px 0 60px;
  }
  .hero__inner {
    gap: 60px;
  }
}

@media (min-width: 1800px) {
  html {
    font-size: 18px; /* Scales layouts for Ultra HD / 4K monitors */
  }
  :root {
    --container: 1500px;
    --section-py: 55px;
  }
  .grid-2, .grid-3, .grid-4 {
    gap: 40px;
  }
  .hero {
    padding: 120px 0 70px;
  }
  .hero__inner {
    gap: 80px;
  }
}


/* ============================================================
   HUMAN DESIGN REFINEMENT PASS
   Purpose : Remove generic AI/SaaS template feel.
             Make the site look custom-designed for a real
             Indian B2B Export & Import company.
   Method  : Non-destructive CSS overrides at end of file.
             All original rules above remain intact.
   ============================================================ */

/* ----
   1. BUTTONS — Replace pill-shaped radius with intentional
      business-style moderate radius. Soften shadows.
   ---- */

.btn {
  border-radius: 8px;
  letter-spacing: 0.2px;
  font-weight: 600;
  padding: 12px 26px;
  box-shadow: none;
  min-height: 46px;
}

.btn-primary {
  box-shadow: 0 2px 8px rgba(10,102,64,0.18);
}
.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(10,102,64,0.25);
}

.btn-secondary {
  box-shadow: 0 2px 8px rgba(26,74,138,0.15);
}
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(26,74,138,0.22);
}

.btn-outline:hover {
  transform: none;
}
.btn-outline-white:hover {
  transform: none;
}

.btn-white {
  box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}
.btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.btn-accent {
  box-shadow: 0 2px 8px rgba(240,165,0,0.20);
}
.btn-accent:hover {
  transform: translateY(-1px);
}

.btn-lg {
  padding: 14px 32px;
  min-height: 52px;
  font-size: 1rem;
  border-radius: 8px;
}

.btn-sm {
  padding: 8px 18px;
  min-height: 38px;
  border-radius: 6px;
}


/* ----
   2. SECTION BADGES — Flat rectangular label, less futuristic.
   ---- */

.section-badge {
  border-radius: 4px;
  letter-spacing: 0.4px;
  font-size: 0.75rem;
  padding: 5px 12px;
  font-weight: 700;
  border-width: 1px;
  border-color: rgba(10,102,64,0.15);
}


/* ----
   3. HERO SECTION REFINEMENT
   ---- */

/* 3a. Remove decorative particle dots */
.hero__particles { display: none; }

/* 3b. Soften background gradient blobs */
.hero__bg {
  background:
    radial-gradient(ellipse at 15% 60%, rgba(18,161,94,0.08) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 15%, rgba(37,99,199,0.07) 0%, transparent 55%);
}

/* 3c. Hero badge — understated, less futuristic */
.hero__badge {
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 14px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

/* 3d. Hero image — refined radius, lighter shadow */
.hero__image {
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.28);
}

/* 3e. Float cards — no bouncing animation, intentional design elements */
.hero__float-card {
  animation: none;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.14);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  background: rgba(255,255,255,0.97);
  padding: 12px 16px;
  gap: 10px;
}
.hero__float-card .icon {
  border-radius: 8px;
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}
.hero__float-card--1 { bottom: -16px; left: -14px; }
.hero__float-card--2 { top: -12px;  right: -12px; }


/* ----
   4. CARDS — Reduced radius uniformity, softer hover lifts.
   ---- */

/* Why Choose Us */
.why-card {
  border-radius: 10px;
  padding: 28px 22px;
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
}
.why-card:hover .why-icon {
  transform: none;
}
.why-icon {
  border-radius: 10px;
  width: 64px;
  height: 64px;
  font-size: 1.6rem;
}

/* Product cards */
.product-card {
  border-radius: 8px;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}

/* Service cards */
.service-card {
  border-radius: 8px;
  padding: 30px 24px;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.09);
  border-color: var(--border-color);
}
.service-icon {
  border-radius: 8px;
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

/* Testimonial cards — static, professional */
.testimonial-card {
  border-radius: 8px;
  padding: 24px 22px;
}

/* Country cards — flat, minimal */
.country-card {
  border-radius: 4px;
  padding: 14px 12px;
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.15);
}

/* General card base */
.card {
  border-radius: 10px;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.10);
}


/* ----
   5. SHADOW SYSTEM — More grounded, realistic shadows.
   ---- */

:root {
  --shadow-sm:      0 1px 3px rgba(0,0,0,0.07);
  --shadow-md:      0 3px 12px rgba(0,0,0,0.08);
  --shadow-lg:      0 6px 24px rgba(0,0,0,0.10);
  --shadow-xl:      0 10px 36px rgba(0,0,0,0.11);
  --shadow-primary: 0 4px 16px rgba(10,102,64,0.20);
  --card-shadow:    0 2px 12px rgba(10,102,64,0.06);
}


/* ----
   6. CTA SECTION — Restrained background, no gradient blob.
   ---- */

.cta-section {
  padding: 60px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.cta-section .section-title {
  margin-bottom: 14px;
}
.cta-section p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}
[data-theme="dark"] .cta-section {
  background: var(--bg-secondary);
  border-color: var(--border-color);
}


/* ----
   7. PRELOADER — Minimal, fast, non-intrusive.
   ---- */

.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.preloader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__logo {
  text-align: center;
}
.preloader__logo h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}
.preloader__logo h2 span { color: var(--primary); }

.spinner {
  width: 30px;
  height: 30px;
  border: 3px solid var(--border-color);
  border-top-color: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ----
   8. SCROLL PROGRESS BAR
   ---- */

.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  background: var(--primary);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}


/* ----
   9. HEADER — Corporate underline-style nav, less template-ish.
   ---- */

.nav__link {
  border-bottom: 2px solid transparent;
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 12px 6px;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}
.nav__link:hover,
.nav__link.active {
  color: var(--primary);
  background: transparent;
  border-bottom-color: var(--primary);
  border-radius: 0;
}

.btn-theme {
  border-radius: 6px;
  width: 36px;
  height: 36px;
}
.hamburger { border-radius: 6px; }

.lang-btn   { border-radius: 6px; padding: 7px 12px; font-size: 0.85rem; }
.lang-dropdown { border-radius: 6px; }
.lang-option { font-size: 0.85rem; padding: 9px 14px; }


/* ----
   10. FOOTER REFINEMENT
   ---- */

.footer__col h4 {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer__links a  { color: rgba(255,255,255,0.68); }
.footer__desc     { color: rgba(255,255,255,0.68); line-height: 1.7; }
.footer__contact li { color: rgba(255,255,255,0.68); }
.footer__bottom   { color: rgba(255,255,255,0.38); }

.social-link {
  border-radius: 6px;
  width: 36px;
  height: 36px;
}
.social-link:hover { transform: none; }


/* ----
   11. TYPOGRAPHY — Natural variation, less mechanical.
   ---- */

.section-header  { margin-bottom: 36px; }
.section-subtitle {
  font-size: 0.975rem;
  line-height: 1.7;
}


/* ----
   12. MODAL — Clean, less SaaS bubble.
   ---- */

.modal {
  border-radius: 10px;
  padding: 32px;
}
.modal-overlay {
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}


/* ----
   13. FORM CONTROLS — Natural inputs.
   ---- */

.form-control {
  border-radius: 6px;
  border-width: 1px;
}
.form-control:focus {
  box-shadow: 0 0 0 2px rgba(10,102,64,0.10);
}


/* ----
   14. DARK MODE — Consistent refinements.
   ---- */

[data-theme="dark"] .hero__float-card {
  background: rgba(22,27,34,0.97);
}
[data-theme="dark"] .hero__float-card h4 { color: var(--text-primary); }
[data-theme="dark"] .hero__float-card p  { color: var(--text-secondary); }
[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link.active    { background: transparent; }


/* ----
   15. ANIMATE-ON-SCROLL — Lightweight entrance.
   ---- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ============================================================
   END OF HUMAN DESIGN REFINEMENT PASS
   ============================================================ */


/* ============================================================
   PHASE 2 — ADDITIONAL IMPACTFUL REFINEMENTS
   Based on live site review. More human-designed visual feel.
   ============================================================ */

/* ----
   A. WHY CHOOSE US — Break the identical-box monotony.
      Give each card a subtle left-border accent instead of
      the identical centered icon + box pattern.
   ---- */

.why-us .why-card,
section.why-us .why-card {
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  padding: 28px 26px !important;
  border-radius: 10px !important;
  border-left: 3px solid var(--primary) !important;
}

.why-us .why-icon,
section.why-us .why-icon {
  margin: 0 0 18px 0 !important;
  background: var(--bg-tertiary);
}

.why-us .why-card:hover::before { transform: scaleX(0); }
.why-us .why-card::before { display: none !important; }

/* Vary accent colors across the 3 cards (homepage grid-3) */
.why-us .grid-3 .why-card:nth-child(1) {
  border-left-color: var(--primary) !important;
}
.why-us .grid-3 .why-card:nth-child(2) {
  border-left-color: var(--secondary) !important;
}
.why-us .grid-3 .why-card:nth-child(3) {
  border-left-color: var(--accent) !important;
}
.why-us .grid-3 .why-card:nth-child(2):hover .why-icon {
  background: var(--secondary);
  color: var(--white);
}
.why-us .grid-3 .why-card:nth-child(3):hover .why-icon {
  background: var(--accent);
  color: var(--white);
}

/* ----
   B. PAGE HERO BANNER (inner pages: about, contact, services)
      Currently missing proper styling.
   ---- */

.page-hero {
  background: var(--grad-hero);
  color: var(--white);
  padding: 56px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-light) 0%, var(--secondary-light) 100%);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.page-hero p {
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}


/* ----
   C. SECTION VISUAL SEPARATOR — Subtle dividers between sections
      for a more structured, editorial feel.
   ---- */

.why-us {
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.testimonials {
  border-top: 1px solid var(--border-color);
}


/* ----
   D. PRODUCT CARD BUTTON ROW — Fix uneven button sizing.
   ---- */

.product-card__actions .btn {
  flex: none;           /* Don't stretch equally */
  min-height: 40px;
  padding: 9px 16px;
  font-size: 0.84rem;
}

/* "Details" button — lighter weight */
.product-card__actions .btn-outline {
  flex: 0 0 auto;
  padding: 9px 18px;
}

/* "Request Quote" button — primary, natural width */
.product-card__actions .btn-primary {
  flex: 1;
}


/* ----
   E. SERVICE CARD — Left-aligned with horizontal icon treatment.
      More editorial, less symmetrical.
   ---- */

.service-card {
  display: flex;
  flex-direction: column;
}

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
}


/* ----
   F. TESTIMONIAL CARD — More editorial feel.
      Quote mark accent, no box hover.
   ---- */

.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '\201C';         /* Large left quotation mark */
  position: absolute;
  top: 14px; left: 20px;
  font-size: 3.5rem;
  color: var(--primary);
  opacity: 0.12;
  font-family: Georgia, serif;
  line-height: 1;
}
.testimonial-text {
  font-style: normal;       /* Remove italic — more credible/readable */
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 0.925rem;
}
.testimonial-stars {
  font-size: 0.85rem;       /* Smaller stars — less cartoonish */
  margin-bottom: 12px;
}
.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
}
.testimonial-company {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}


/* ----
   G. ABOUT SECTION IMAGE — Better composition.
   ---- */

.section .grid-2 img {
  border-radius: 10px;
  box-shadow: 0 6px 28px rgba(0,0,0,0.10);
}


/* ----
   H. CONTACT GRID — Ensure proper layout exists.
   ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-color);
}
.contact-card:last-child { border-bottom: none; }
.contact-card .icon {
  width: 42px; height: 42px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.contact-card h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.contact-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 767px) {
  .contact-grid { grid-template-columns: 1fr; }
}


/* ----
   I. STRONGER FOOTER H4 OVERRIDE (specificity fix).
   ---- */

footer.footer .footer__col h4,
.footer .footer__col h4 {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
  color: var(--white);
}


/* ----
   J. GLOBAL REACH SECTION — More editorial, less generic.
   ---- */

.global-reach .section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.countries-grid {
  gap: 12px;
  margin-top: 32px;
}

.country-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.85);
  font-weight: 500;
}

.country-card .flag {
  font-size: 1.6rem;
  line-height: 1;
}


/* ----
   K. HERO STATS — More visually separated, less identical.
   ---- */

.hero__stats {
  gap: 36px;
  margin-top: 44px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.12);
}

.hero__stat-num {
  font-size: 1.9rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  margin-top: 2px;
  display: block;
}


/* ----
   L. MOBILE RESPONSIVE FIXES FOR PHASE 2
   ---- */

@media (max-width: 767px) {
  .why-card {
    border-left-width: 3px;
    padding: 22px 18px;
  }
  .page-hero { padding: 40px 0 32px; }
  .page-hero h1 { font-size: 1.7rem; }
}



/* ============================================================
   END OF PHASE 2 REFINEMENTS
   ============================================================ */


/* ============================================================
   PHASE 3 — REFERENCE DESIGN IMPLEMENTATION
   Based on: Dummy_Website_MMP TRADERS.html
   Design language: Forest Green + Gold | Corporate B2B Export
   All existing content & functionality preserved.
   ============================================================ */

/* ----------------------------------------------------------
   PHASE 3.1 — COLOR SYSTEM OVERRIDE
   Matching reference: #0a3d2e forest green, #c8860a gold
   ---------------------------------------------------------- */

:root {
  --ref-green:       #0a3d2e;
  --ref-green-mid:   #0f5c3e;
  --ref-green-light: #f0f7f4;
  --ref-gold:        #c8860a;
  --ref-gold-light:  #f5a623;
  --ref-gold-bg:     #fdf8f0;
  --ref-bg:          #f5f7f5;
  --ref-text:        #1a1a1a;
  --ref-text-muted:  #555555;
  --ref-border:      #e0e6e0;
  --ref-card-bg:     #ffffff;
  --ref-card-border: #dce8dc;
  --ref-topbar-bg:   #0a3d2e;
}

/* Override primary color to forest green */
:root {
  --primary:       #0a3d2e;
  --primary-light: #0f5c3e;
  --primary-dark:  #072a1f;
  --accent:        #c8860a;
  --bg-secondary:  #f0f7f4;
  --bg-tertiary:   #e4f0e8;
  --border-color:  #dce8dc;
  --card-shadow:   0 2px 12px rgba(10,61,46,0.07);
  --grad-hero:     linear-gradient(135deg, #072a1f 0%, #0a3d2e 50%, #0f5c3e 100%);
}

/* ----------------------------------------------------------
   PHASE 3.2 — TOP INFO BAR
   ---------------------------------------------------------- */

.topbar {
  background: var(--ref-green);
  color: rgba(255,255,255,0.82);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.2px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

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

.topbar__trust {
  display: flex;
  align-items: center;
  gap: 20px;
}

.topbar__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.80);
}

.topbar__trust i {
  color: var(--ref-gold);
  font-size: 0.7rem;
}

.topbar__contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar__contact a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  transition: color 0.2s;
}

.topbar__contact a:hover { color: var(--ref-gold); }
.topbar__contact i { font-size: 0.72rem; }

@media (max-width: 767px) {
  .topbar__trust span:nth-child(2),
  .topbar__trust span:nth-child(3) { display: none; }
  .topbar__contact { display: none; }
}

/* ----------------------------------------------------------
   PHASE 3.3 — HEADER REDESIGN
   White bg, logo left, nav center, gold CTA button right
   ---------------------------------------------------------- */

.header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--ref-border) !important;
  box-shadow: 0 2px 12px rgba(10,61,46,0.06) !important;
  top: 0 !important;
  position: sticky !important;
  z-index: 1000;
}

/* Remove old sticky/scrolled styles */
.header.scrolled {
  background: #ffffff !important;
  box-shadow: 0 2px 16px rgba(10,61,46,0.10) !important;
}

.header__inner {
  height: 68px;
}

/* Nav links — plain corporate style */
.nav__link {
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  color: var(--ref-text) !important;
  letter-spacing: 0.1px !important;
  padding: 6px 2px !important;
  border-radius: 0 !important;
  background: transparent !important;
  border-bottom: 2px solid transparent !important;
  transition: color 0.2s, border-color 0.2s !important;
}

.nav__link:hover {
  color: var(--ref-green) !important;
  background: transparent !important;
  border-bottom-color: var(--ref-gold) !important;
}

.nav__link.active {
  color: var(--ref-green) !important;
  background: transparent !important;
  border-bottom-color: var(--ref-green) !important;
}

/* Gold CTA button — matches reference "REQUEST A QUOTE" */
.header__actions .btn-primary {
  background: var(--ref-gold) !important;
  border-color: var(--ref-gold) !important;
  color: #ffffff !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  border-radius: 4px !important;
  padding: 10px 18px !important;
  box-shadow: none !important;
}

.header__actions .btn-primary:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(200,134,10,0.30) !important;
}

/* Dark mode topbar */
[data-theme="dark"] .topbar {
  background: #061d15;
  border-bottom-color: rgba(255,255,255,0.05);
}

/* ----------------------------------------------------------
   PHASE 3.4 — HERO SECTION REDESIGN
   Full-width background image, text left, gold + outline btns
   No floating cards visible, clean composition
   ---------------------------------------------------------- */

.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--ref-green) !important;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(10,61,46,0.96) 0%, rgba(10,61,46,0.75) 55%, rgba(10,61,46,0.30) 100%),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80&w=1600') center/cover no-repeat;
  z-index: 0;
}

/* Remove particle noise */
.hero__particles { display: none !important; }

/* Hero container layout */
.hero .container { position: relative; z-index: 1; width: 100%; }

.hero__inner {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 48px !important;
  align-items: center !important;
}

/* Content side */
.hero__content {
  max-width: 560px;
}

/* Eyebrow label — gold uppercase */
.hero__badge {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: var(--ref-gold) !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 0 0 14px 0 !important;
  border-radius: 0 !important;
  animation: none !important;
}

.hero__badge i { display: none !important; }

/* Hero heading */
.hero__title {
  font-family: var(--font-primary) !important;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1.12 !important;
  color: #ffffff !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 20px !important;
}

/* Subtitle */
.hero__text {
  color: rgba(255,255,255,0.78) !important;
  font-size: 1rem !important;
  line-height: 1.7 !important;
  margin-bottom: 36px !important;
  max-width: 420px;
}

/* Buttons row */
.hero__btns {
  display: flex !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin-bottom: 48px !important;
}

/* Primary CTA — solid gold */
.hero__btns .btn-white {
  background: var(--ref-gold) !important;
  color: #ffffff !important;
  border: 2px solid var(--ref-gold) !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 13px 28px !important;
  box-shadow: none !important;
}

.hero__btns .btn-white:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
  transform: none !important;
}

/* Outline CTA — white outline */
.hero__btns .btn-outline-white {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.55) !important;
  border-radius: 4px !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  letter-spacing: 0.6px !important;
  text-transform: uppercase !important;
  padding: 13px 28px !important;
}

.hero__btns .btn-outline-white:hover {
  background: rgba(255,255,255,0.10) !important;
  border-color: rgba(255,255,255,0.85) !important;
  transform: none !important;
}

/* Stats row */
.hero__stats {
  display: flex !important;
  gap: 40px !important;
  margin-top: 0 !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(255,255,255,0.14) !important;
}

.hero__stat-num {
  font-size: 1.9rem !important;
  font-weight: 800 !important;
  color: var(--ref-gold) !important;
  letter-spacing: -0.5px !important;
  display: block;
}

.hero__stat-label {
  font-size: 0.76rem !important;
  color: rgba(255,255,255,0.62) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.6px !important;
  margin-top: 3px !important;
  display: block;
}

/* Image side — clean, no floating cards */
.hero__image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__image {
  width: 100% !important;
  max-width: 500px !important;
  border-radius: 6px !important;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35) !important;
  object-fit: cover !important;
  aspect-ratio: 4/3;
}

/* Hide floating glassmorphic cards completely */
.hero__float-card {
  display: none !important;
}

/* Mobile hero */
@media (max-width: 767px) {
  .hero { padding: 56px 0 48px; min-height: auto; }
  .hero__inner {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .hero__image-wrap { display: none !important; }
  .hero__title { font-size: 2.1rem !important; }
  .hero__stats { gap: 24px !important; }
}

/* ----------------------------------------------------------
   PHASE 3.5 — FEATURE STRIP BELOW HERO
   4-item horizontal strip: icons + title + desc
   ---------------------------------------------------------- */

.hero-features {
  background: #ffffff;
  border-bottom: 1px solid var(--ref-border);
  padding: 0;
}

.hero-features__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-left: 1px solid var(--ref-border);
}

.hero-features__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 24px;
  border-right: 1px solid var(--ref-border);
  border-top: 0;
  border-bottom: 0;
  transition: background 0.2s;
}

.hero-features__item:hover { background: var(--ref-green-light); }

.hero-features__icon {
  color: var(--ref-green);
  font-size: 1.4rem;
  flex-shrink: 0;
  width: 32px;
  text-align: center;
}

.hero-features__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ref-text);
  margin-bottom: 3px;
}

.hero-features__desc {
  font-size: 0.78rem;
  color: var(--ref-text-muted);
  line-height: 1.4;
}

@media (max-width: 767px) {
  .hero-features__grid { grid-template-columns: repeat(2, 1fr); border-left: none; }
  .hero-features__item { border: 1px solid var(--ref-border); margin: -1px 0 0 -1px; }
}

/* ----------------------------------------------------------
   PHASE 3.6 — SECTION LABELS
   Gold uppercase plain text (NOT pill badges)
   ---------------------------------------------------------- */

.section-badge,
.section-badge-ref {
  display: inline-block !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--ref-gold) !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 0 0 10px 0 !important;
  border-radius: 0 !important;
  margin-bottom: 8px !important;
}

.section-badge i {
  display: none !important; /* Hide icons from pill badges */
}

/* Section heading system — reference style */
.section-title {
  font-family: var(--font-primary) !important;
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: var(--ref-green) !important;
  line-height: 1.18 !important;
  letter-spacing: -0.3px !important;
  margin-bottom: 16px !important;
}

.section-subtitle {
  font-size: 0.96rem !important;
  color: var(--ref-text-muted) !important;
  line-height: 1.7 !important;
  max-width: 540px !important;
}

/* ----------------------------------------------------------
   PHASE 3.7 — SECTION BACKGROUNDS
   Alternating white and light green-grey
   ---------------------------------------------------------- */

.section { padding: 80px 0; }
.section:nth-of-type(even) { background: var(--ref-bg); }

.why-us {
  background: var(--ref-bg) !important;
  border-top: 1px solid var(--ref-border) !important;
  border-bottom: 1px solid var(--ref-border) !important;
}

/* ----------------------------------------------------------
   PHASE 3.8 — PRODUCT CARDS (Reference style)
   Clean white card, image top, category pill, outline btn
   ---------------------------------------------------------- */

.product-card {
  background: var(--ref-card-bg) !important;
  border: 1px solid var(--ref-card-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(10,61,46,0.06) !important;
  overflow: hidden;
  transition: box-shadow 0.25s, transform 0.25s !important;
}

.product-card:hover {
  box-shadow: 0 8px 28px rgba(10,61,46,0.13) !important;
  transform: translateY(-3px) !important;
}

.product-card__img {
  aspect-ratio: 4/3;
  object-fit: cover;
  width: 100%;
  display: block;
  border-radius: 0;
}

/* Category badge on product card */
.product-card .product-category,
.product-card__category {
  display: inline-block;
  background: var(--ref-green-light) !important;
  color: var(--ref-green) !important;
  border: 1px solid rgba(10,61,46,0.15) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  padding: 3px 9px !important;
  border-radius: 3px !important;
  margin-bottom: 8px !important;
}

.product-card__body {
  padding: 18px 18px 20px;
}

.product-card__title {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ref-green) !important;
  margin-bottom: 6px !important;
  line-height: 1.3;
}

.product-card__desc {
  font-size: 0.83rem !important;
  color: var(--ref-text-muted) !important;
  margin-bottom: 14px !important;
  line-height: 1.5;
}

/* Product card actions */
.product-card__actions {
  display: flex;
  gap: 8px;
  padding: 0 18px 18px;
}

.product-card__actions .btn-outline {
  flex: 1;
  background: transparent !important;
  border: 1.5px solid var(--ref-green) !important;
  color: var(--ref-green) !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  padding: 9px 12px !important;
  text-align: center;
  box-shadow: none !important;
  transition: background 0.2s, color 0.2s !important;
}

.product-card__actions .btn-outline:hover {
  background: var(--ref-green) !important;
  color: #ffffff !important;
  transform: none !important;
}

.product-card__actions .btn-primary {
  flex: 1;
  background: var(--ref-gold) !important;
  border-color: var(--ref-gold) !important;
  color: #fff !important;
  border-radius: 4px !important;
  font-size: 0.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.3px !important;
  text-transform: uppercase !important;
  padding: 9px 12px !important;
  text-align: center;
  box-shadow: none !important;
}

.product-card__actions .btn-primary:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
  transform: none !important;
}

/* ----------------------------------------------------------
   PHASE 3.9 — WHY CHOOSE US CARDS (Reference style)
   Centered icon, bold green title, clean minimal card
   ---------------------------------------------------------- */

.why-us .why-card,
section.why-us .why-card {
  background: #ffffff !important;
  border: 1px solid var(--ref-card-border) !important;
  border-left: none !important;
  border-radius: 8px !important;
  padding: 28px 22px 26px !important;
  text-align: center !important;
  align-items: center !important;
  box-shadow: 0 2px 8px rgba(10,61,46,0.05) !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
}

.why-us .why-card:hover,
section.why-us .why-card:hover {
  box-shadow: 0 8px 24px rgba(10,61,46,0.12) !important;
  transform: translateY(-3px) !important;
}

.why-us .why-icon,
section.why-us .why-icon {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  background: var(--ref-green-light) !important;
  color: var(--ref-green) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.3rem !important;
  margin: 0 auto 18px !important;
}

.why-card h3 {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--ref-green) !important;
  margin-bottom: 10px !important;
}

.why-card p {
  font-size: 0.875rem !important;
  color: var(--ref-text-muted) !important;
  line-height: 1.6 !important;
}

/* Nth-child color variations — reference uses same color for all */
.why-us .grid-3 .why-card:nth-child(1),
.why-us .grid-3 .why-card:nth-child(2),
.why-us .grid-3 .why-card:nth-child(3) {
  border-left: none !important;
}

/* ----------------------------------------------------------
   PHASE 3.10 — ABOUT SECTION
   ---------------------------------------------------------- */

.section .grid-2 img {
  border-radius: 6px !important;
  box-shadow: 0 8px 32px rgba(10,61,46,0.12) !important;
}

/* ----------------------------------------------------------
   PHASE 3.11 — SERVICES SECTION
   ---------------------------------------------------------- */

.service-card {
  background: #ffffff !important;
  border: 1px solid var(--ref-card-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(10,61,46,0.05) !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
}

.service-card:hover {
  box-shadow: 0 8px 24px rgba(10,61,46,0.12) !important;
  transform: translateY(-3px) !important;
  border-color: rgba(10,61,46,0.25) !important;
}

/* ----------------------------------------------------------
   PHASE 3.12 — TESTIMONIAL SECTION
   ---------------------------------------------------------- */

.testimonial-card {
  background: #ffffff !important;
  border: 1px solid var(--ref-card-border) !important;
  border-radius: 8px !important;
  box-shadow: 0 2px 8px rgba(10,61,46,0.05) !important;
}

.testimonial-text {
  font-style: normal !important;
  color: var(--ref-text-muted) !important;
  font-size: 0.9rem !important;
  line-height: 1.7 !important;
}

.testimonial-stars { color: var(--ref-gold) !important; }

/* ----------------------------------------------------------
   PHASE 3.13 — CTA SECTION
   Clean centered section with forest green background
   ---------------------------------------------------------- */

.cta-section,
section.cta {
  background: var(--ref-green) !important;
  padding: 72px 0 !important;
  text-align: center;
  position: relative;
}

.cta-section h2,
section.cta h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 14px !important;
}

.cta-section p,
section.cta p {
  color: rgba(255,255,255,0.75) !important;
  font-size: 1rem !important;
  margin-bottom: 32px !important;
}

.cta-section .btn-accent,
section.cta .btn-accent,
.cta-section .btn,
section.cta .btn {
  background: var(--ref-gold) !important;
  border-color: var(--ref-gold) !important;
  color: #ffffff !important;
  border-radius: 4px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  padding: 14px 32px !important;
  box-shadow: 0 4px 16px rgba(200,134,10,0.35) !important;
}

.cta-section .btn:hover,
section.cta .btn:hover {
  background: #a36d08 !important;
  transform: none !important;
}

/* ----------------------------------------------------------
   PHASE 3.14 — FOOTER REDESIGN
   Deep forest green, 4-col layout, clean links
   ---------------------------------------------------------- */

.footer {
  background: var(--ref-green) !important;
  border-top: none !important;
}

footer.footer .footer__col h4,
.footer .footer__col h4 {
  color: #ffffff !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin-bottom: 18px !important;
  padding-bottom: 10px !important;
  border-bottom: 1px solid rgba(255,255,255,0.12) !important;
}

.footer__links a {
  color: rgba(255,255,255,0.68) !important;
  font-size: 0.875rem !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer__links a::before {
  content: '→';
  font-size: 0.7rem;
  color: var(--ref-gold);
}

.footer__links a:hover { color: rgba(255,255,255,0.95) !important; }

.footer__desc {
  color: rgba(255,255,255,0.62) !important;
  font-size: 0.875rem !important;
  line-height: 1.7 !important;
}

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.45) !important;
  font-size: 0.78rem !important;
}

.footer__social a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 4px !important;
  background: rgba(255,255,255,0.10) !important;
  color: rgba(255,255,255,0.75) !important;
  border: 1px solid rgba(255,255,255,0.15) !important;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s !important;
}

.footer__social a:hover {
  background: var(--ref-gold) !important;
  color: #ffffff !important;
  border-color: var(--ref-gold) !important;
  transform: none !important;
}

/* ----------------------------------------------------------
   PHASE 3.15 — PAGE HERO BANNERS (inner pages)
   ---------------------------------------------------------- */

.page-hero {
  background: var(--ref-green) !important;
  padding: 64px 0 52px !important;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(7,42,31,0.97) 0%, rgba(10,61,46,0.92) 100%),
    url('https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&q=80&w=1200') center/cover no-repeat;
  z-index: 0;
}

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

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem) !important;
  font-weight: 800 !important;
  color: #ffffff !important;
  margin-bottom: 12px !important;
  letter-spacing: -0.3px !important;
  font-family: var(--font-primary) !important;
}

.page-hero p {
  color: rgba(255,255,255,0.72) !important;
  font-size: 1rem !important;
  max-width: 520px !important;
  margin: 0 auto !important;
  line-height: 1.65 !important;
}

/* Accent line below page hero */
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--ref-gold) 0%, transparent 100%);
  z-index: 1;
}

/* ----------------------------------------------------------
   PHASE 3.16 — BUTTONS GLOBAL OVERRIDE
   ---------------------------------------------------------- */

.btn {
  border-radius: 4px !important;
  font-weight: 600 !important;
  letter-spacing: 0.3px !important;
  padding: 11px 22px !important;
  min-height: 44px !important;
  box-shadow: none !important;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s !important;
}

.btn-primary {
  background: var(--ref-green) !important;
  border-color: var(--ref-green) !important;
  color: #fff !important;
}

.btn-primary:hover {
  background: var(--ref-green-mid) !important;
  border-color: var(--ref-green-mid) !important;
  transform: none !important;
  box-shadow: 0 4px 14px rgba(10,61,46,0.25) !important;
}

.btn-accent {
  background: var(--ref-gold) !important;
  border-color: var(--ref-gold) !important;
  color: #fff !important;
}

.btn-accent:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
  transform: none !important;
}

.btn-secondary {
  background: var(--ref-green) !important;
  border-color: var(--ref-green) !important;
  color: #fff !important;
}

/* ----------------------------------------------------------
   PHASE 3.17 — SCROLL PROGRESS BAR COLOR
   ---------------------------------------------------------- */

.scroll-progress {
  background: var(--ref-gold) !important;
  height: 3px !important;
}

/* ----------------------------------------------------------
   PHASE 3.18 — PRELOADER
   ---------------------------------------------------------- */

.preloader {
  background: var(--ref-green) !important;
}

.preloader__logo span {
  color: var(--ref-gold) !important;
}

.spinner {
  border-color: rgba(255,255,255,0.15) !important;
  border-top-color: var(--ref-gold) !important;
}

/* ----------------------------------------------------------
   PHASE 3.19 — DARK MODE OVERRIDES
   ---------------------------------------------------------- */

[data-theme="dark"] .header {
  background: #0d1117 !important;
  border-bottom-color: rgba(255,255,255,0.06) !important;
}

[data-theme="dark"] .nav__link {
  color: rgba(255,255,255,0.82) !important;
}

[data-theme="dark"] .nav__link:hover,
[data-theme="dark"] .nav__link.active {
  color: #ffffff !important;
  border-bottom-color: var(--ref-gold) !important;
}

[data-theme="dark"] .hero-features { background: #161b22 !important; }
[data-theme="dark"] .hero-features__item:hover { background: rgba(10,61,46,0.25) !important; }
[data-theme="dark"] .why-us .why-card { background: #161b22 !important; border-color: rgba(255,255,255,0.07) !important; }
[data-theme="dark"] .product-card { background: #161b22 !important; border-color: rgba(255,255,255,0.07) !important; }
[data-theme="dark"] .service-card { background: #161b22 !important; border-color: rgba(255,255,255,0.07) !important; }
[data-theme="dark"] .testimonial-card { background: #161b22 !important; border-color: rgba(255,255,255,0.07) !important; }

/* ----------------------------------------------------------
   PHASE 3.20 — RESPONSIVE FIXES
   ---------------------------------------------------------- */

@media (max-width: 1023px) {
  .hero-features__grid { grid-template-columns: repeat(2, 1fr); }
  .hero-features__item:nth-child(2),
  .hero-features__item:nth-child(4) { border-right: 1px solid var(--ref-border); }
}

@media (max-width: 767px) {
  .section { padding: 56px 0; }
  .page-hero { padding: 48px 0 40px !important; }
  .hero__btns { gap: 10px !important; }
  .hero__btns .btn-white,
  .hero__btns .btn-outline-white {
    font-size: 0.82rem !important;
    padding: 11px 18px !important;
  }
  .hero__stats { flex-wrap: wrap; gap: 20px !important; }
}

/* ============================================================
   END OF PHASE 3 REFERENCE DESIGN IMPLEMENTATION
   ============================================================ */

/* ============================================================
   PHASE 3 CRITICAL FIXES — Specificity Overrides
   ============================================================ */

/* Fix 1: Topbar + Header sticky stacking
   Original header was position:fixed. We change to sticky
   so topbar shows above it. body padding-top adjusted.
   ---------------------------------------------------------- */

.header {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background: #ffffff !important;
  z-index: 999 !important;
}

/* Topbar must be sticky too and z-index above header */
.topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
}

/* Remove old body padding-top that accounted for fixed header */
body {
  padding-top: 0 !important;
}

/* Fix 2: Hero buttons — gold solid + white outline */
.hero .hero__btns a:first-child,
.hero__btns .btn-white,
section.hero .btn-white {
  background: #c8860a !important;
  color: #ffffff !important;
  border: 2px solid #c8860a !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  padding: 13px 28px !important;
}

.hero .hero__btns a:first-child:hover,
.hero__btns .btn-white:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
  transform: none !important;
}

.hero .hero__btns a:last-child,
.hero__btns .btn-outline-white,
section.hero .btn-outline-white {
  background: transparent !important;
  color: #ffffff !important;
  border: 2px solid rgba(255,255,255,0.5) !important;
  border-radius: 4px !important;
  box-shadow: none !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-transform: uppercase !important;
  padding: 13px 28px !important;
}

/* Fix 3: Hero badge — plain uppercase gold text */
.hero .hero__badge,
section.hero .hero__badge {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  color: #c8860a !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  letter-spacing: 1.8px !important;
  text-transform: uppercase !important;
  padding: 0 0 14px 0 !important;
  animation: none !important;
  display: inline-flex !important;
}

/* Fix 4: Section badges — no background, gold text */
body .section-badge {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #c8860a !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  padding: 0 0 10px 0 !important;
  border-radius: 0 !important;
}

body .section-badge i { display: none !important; }

/* Fix 5: Section title — forest green */
body .section-title {
  color: #0a3d2e !important;
  font-weight: 800 !important;
}

/* Fix 6: Footer — deep forest green */
body .footer,
footer.footer {
  background: #0a3d2e !important;
}

body footer .footer__col h4 {
  color: #ffffff !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}

/* Fix 7: Footer links arrow */
body footer .footer__links li a,
body footer .footer__links a {
  color: rgba(255,255,255,0.68) !important;
}

body footer .footer__links li a:hover,
body footer .footer__links a:hover {
  color: rgba(255,255,255,0.95) !important;
}

/* Fix 8: CTA Button gold */
body .cta-section .btn,
body section .btn-accent {
  background: #c8860a !important;
  border-color: #c8860a !important;
  color: #ffffff !important;
  border-radius: 4px !important;
}

body .cta-section .btn:hover,
body section .btn-accent:hover {
  background: #a36d08 !important;
  border-color: #a36d08 !important;
}

/* Fix 9: Nav underline active style */
.nav .nav__link {
  background: transparent !important;
  border-radius: 0 !important;
  padding: 8px 14px !important;
  border-bottom: 2px solid transparent !important;
}

.nav .nav__link:hover {
  background: transparent !important;
  color: #0a3d2e !important;
  border-bottom-color: #c8860a !important;
}

.nav .nav__link.active {
  background: transparent !important;
  color: #0a3d2e !important;
  border-bottom-color: #0a3d2e !important;
}

/* Fix 10: Why Choose Us cards — centered layout */
.why-us .why-card {
  text-align: center !important;
  align-items: center !important;
  flex-direction: column !important;
  display: flex !important;
  border-left: none !important;
  padding: 28px 22px !important;
}

.why-us .why-icon {
  margin: 0 auto 18px !important;
}

/* Fix 11: Stat numbers gold */
.hero__stat-num {
  color: #c8860a !important;
}

/* Fix 12: Feature strip — ensure it shows after hero */
.hero-features {
  display: block !important;
  background: #ffffff !important;
}

/* Fix 13: Inner Page Hero Banners */
.page-hero {
  background: #0a3d2e !important;
  color: #ffffff !important;
  padding: 80px 0 60px !important;
  position: relative !important;
  overflow: hidden !important;
}

.page-hero h1 {
  color: #ffffff !important;
  font-family: 'Playfair Display', serif !important;
  font-size: 3rem !important;
  margin-bottom: 16px !important;
}

.page-hero p {
  color: rgba(255,255,255,0.8) !important;
  font-size: 1.1rem !important;
}

/* ============================================================
   END OF PHASE 3 CRITICAL FIXES
   ============================================================ */

/* Fix 16: Desktop Header Layout explicitly preserving Mobile view */
@media (min-width: 992px) {
    .custom-header-inner {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;
        height: auto;
        min-height: 74px;
        width: 100%;
    }
    .custom-logo-link {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        text-decoration: none !important;
        flex-shrink: 0;
        min-width: 0;
    }
    .custom-nav {
        display: flex !important;
        gap: 24px !important;
        align-items: center !important;
        margin-left: 32px !important;
    }
    .custom-header-actions {
        display: flex !important;
        align-items: center !important;
        gap: 16px !important;
        margin-left: auto !important;
        flex-shrink: 0;
    }
}

/* Ensure logo img sizing applies everywhere (desktop & mobile) */
.custom-logo-img {
    max-height: 48px !important;
    width: auto !important;
    max-width: 100% !important;
    object-fit: contain !important;
}
