/* ==========================================
   GOLDEN NEST EXIM - PREMIUM STYLESHEET
   Rich Green Dark Theme (Recycling at Scale)
   ========================================== */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* Color and Layout Variables */
:root {
  --bg-deep: #ffffff;          /* Pure clean white */
  --bg-dark: #f8fafc;          /* Very soft grey-slate for secondary sections */
  --bg-card: rgba(255, 255, 255, 0.85); /* Frosted white glassmorphic card background */
  --bg-card-hover: rgba(255, 255, 255, 0.98);
  
  --primary: #ff9933;          /* Vibrant Saffron */
  --primary-hover: #ea580c;
  --accent: #128807;           /* Vibrant Green (CPCB/Recycling Compliance) */
  --accent-hover: #15803d;
  --gold: #f97316;             /* Golden/Saffron highlight */
  --gold-hover: #ea580c;
  
  --text-primary: #0f172a;     /* Deep slate for high readability text */
  --text-secondary: #475569;   /* Muted slate grey */
  --text-muted: #64748b;       /* Darker grey for metadata */
  
  --border: rgba(18, 136, 7, 0.12); /* Soft green border */
  --border-hover: rgba(255, 153, 51, 0.35); /* Saffron glow border on hover */
  --glow-green: 0 8px 30px rgba(18, 136, 7, 0.08);
  --glow-mint: 0 8px 30px rgba(34, 197, 94, 0.15);
  --glow-gold: 0 8px 30px rgba(255, 153, 51, 0.15);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset and Global Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-card);
  border: 2px solid var(--bg-deep);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Grid & Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Section Styling */
section {
  padding: 8rem 0;
  position: relative;
}

.section-bg-dark {
  background-color: var(--bg-dark);
}

.section-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-subtitle {
  color: var(--accent);
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: 2.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--text-primary) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.125rem;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

header.scrolled .logo {
  color: var(--text-primary);
}

header.scrolled .nav-link {
  color: var(--text-secondary);
}

header.scrolled .nav-link:hover, header.scrolled .nav-link.active {
  color: var(--accent);
}

header.scrolled .hamburger span {
  background-color: var(--text-primary);
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
  transition: var(--transition-normal);
}

header.scrolled .container {
  height: 65px;
}

/* Logo Design */
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  z-index: 1001;
}

.logo-img {
  height: 45px;
  width: 45px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition-normal);
}

.logo:hover .logo-img {
  transform: rotate(10deg) scale(1.05);
  border-color: var(--accent);
}

.logo-text span {
  color: var(--gold);
}

/* Navigation Links */
nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85); /* Default white on transparent dark hero */
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: #fff;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--accent);
  box-shadow: var(--glow-green);
  transition: var(--transition-fast);
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  box-shadow: var(--glow-mint);
  transform: translateY(-2px);
  color: var(--bg-deep);
}

/* Mobile Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  z-index: 1001;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-heading);
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
  color: #fff;
  border: 1px solid var(--border);
  box-shadow: var(--glow-green);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--glow-mint);
  background: linear-gradient(135deg, var(--accent) 0%, var(--primary) 100%);
  color: var(--bg-deep);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--accent);
  transform: translateY(-3px);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-hover) 100%);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--glow-gold);
}

.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 25px rgba(217, 119, 6, 0.65);
}

/* Hero Section (Video Background) */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  text-align: center;
}

.hero-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5, 8, 7, 0.4) 0%, rgba(5, 8, 7, 0.9) 80%),
              linear-gradient(0deg, var(--bg-deep) 0%, rgba(5, 8, 7, 0.2) 100%);
  z-index: 2;
}

.hero .container {
  position: relative;
  z-index: 3;
  max-width: 900px;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: #4ade80; /* Explicit bright green for dark hero background */
  text-transform: uppercase;
  letter-spacing: 0.25em;
  margin-bottom: 1.5rem;
  display: inline-block;
  background: rgba(74, 222, 128, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(74, 222, 128, 0.2);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #ffffff 40%, #4ade80 80%, var(--primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.85); /* Explicit light text to guarantee readability on dark backgrounds */
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

/* Glassmorphic Cards (General UI) */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 2.5rem;
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(52, 211, 153, 0.05) 0%, transparent 100%);
  pointer-events: none;
  transition: var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  box-shadow: var(--glow-green);
}

.glass-card:hover::before {
  opacity: 0.15;
}

/* Video Showcase Cards */
.video-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  background: var(--bg-dark);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(0deg, rgba(5, 8, 7, 0.9) 0%, rgba(5, 8, 7, 0.1) 70%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  z-index: 2;
  transition: var(--transition-normal);
}

.video-card:hover .video-card-overlay {
  background: linear-gradient(0deg, rgba(5, 8, 7, 0.95) 0%, rgba(5, 8, 7, 0.2) 70%);
}

.video-card-title {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.video-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Info Badges & Licenses */
.badge-container {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.badge-gold {
  color: #fff;
  background: rgba(217, 119, 6, 0.15);
  border: 1px solid rgba(217, 119, 6, 0.35);
}

.badge-gold i {
  color: var(--gold);
}

/* Grid Layouts for Products (Import/Export) */
.split-sections {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.product-group-title {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.product-group-title span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  background: var(--border);
  color: var(--accent);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 660px; /* Ensure uniform heights including image headers */
}

.product-card > *:last-child {
  margin-top: auto; /* Pin buttons and link wrappers to the bottom of the card */
}

.product-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.product-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.5rem;
}

.product-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 700;
}

.tag-import {
  background: rgba(16, 185, 129, 0.1);
  color: var(--accent);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.tag-export {
  background: rgba(217, 119, 6, 0.1);
  color: var(--gold);
  border: 1px solid rgba(217, 119, 6, 0.2);
}

.product-card-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.product-card-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 2rem;
  flex-grow: 1;
}

.subcategories-list {
  list-style: none;
  margin-bottom: 2rem;
}

.subcategories-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.subcategories-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: bold;
}

.product-card-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--accent);
  margin-top: auto;
}

.product-card-link i {
  transition: transform var(--transition-fast);
}

.product-card:hover .product-card-link {
  color: var(--accent);
}

.product-card:hover .product-card-link i {
  transform: translateX(5px);
}

/* Certifications Showcase */
.certifications-sec {
  background: linear-gradient(180deg, var(--bg-deep) 0%, var(--bg-dark) 100%);
  overflow: hidden;
}

.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.cert-badges-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.cert-card {
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cert-icon {
  font-size: 2.5rem;
  color: var(--gold);
}

.cert-title {
  font-size: 1.25rem;
  color: var(--text-primary);
}

.cert-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Global Supplier Map (Stat Cards) */
.global-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 4rem;
}

.stat-card {
  text-align: center;
  padding: 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.global-map-container {
  position: relative;
  background: var(--bg-dark);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
  overflow: hidden;
  min-height: 350px;
}

.map-placeholder {
  position: relative;
  z-index: 2;
  text-align: center;
}

.map-title {
  font-size: 1.75rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.map-countries {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.country-pill {
  padding: 0.75rem 1.5rem;
  background: rgba(18, 136, 7, 0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.country-pill i {
  color: var(--accent);
}

.map-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(var(--border) 1px, transparent 1px),
    radial-gradient(var(--border) 1px, transparent 1px);
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
  opacity: 0.35;
  z-index: 1;
}

/* Contact Details & Embedded Google Map */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.office-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.office-icon {
  font-size: 1.75rem;
  color: var(--accent);
  background: rgba(16, 185, 129, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.office-details h4 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.office-details p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.office-details a {
  color: var(--accent);
}

.office-details a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.contact-form-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.25rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(52, 211, 153, 0.2);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-embed {
  margin-top: 2rem;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  height: 300px;
  box-shadow: var(--glow-green);
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(0.2) contrast(1.1);
}

/* Continuous Floating WhatsApp Button */
.whatsapp-widget {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 999;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #fff;
  border-radius: 50%;
  font-size: 2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  position: relative;
  transition: var(--transition-normal);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Pulsing effect for WhatsApp button */
.whatsapp-btn::after {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  right: -6px;
  bottom: -6px;
  border: 2px solid #25D366;
  border-radius: 50%;
  opacity: 0;
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-whatsapp {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.15);
    opacity: 0;
  }
}

/* About Us Layout (Interior Pages) */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 85%),
    url('../images/BG%20About%20Us.jpg?v=1') no-repeat center right;
  background-size: cover;
  position: relative;
}

@media (max-width: 768px) {
  .about-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/BG%20About%20Us.jpg?v=1') no-repeat center;
    background-size: cover;
    padding: 8rem 0 4rem 0;
  }
}

/* Products Hero Layout (Interior Pages) */
.products-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 35%, rgba(255, 255, 255, 0.8) 55%, rgba(255, 255, 255, 0.1) 100%), 
    url('../images/scrap_to_finished_products.jpg?v=1') no-repeat center right;
  background-size: cover;
  position: relative;
}

@media (max-width: 768px) {
  .products-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
      linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), 
      url('../images/scrap_to_finished_products.jpg?v=1') no-repeat center;
    background-size: cover;
    padding: 8rem 0 4rem 0;
  }
}

/* Contact Hero Layout (Interior Pages) */
.contact-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0;
  background: 
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.7) 60%, rgba(255, 255, 255, 0) 85%),
    url('../images/contact_hero_bg.jpg?v=1') no-repeat center right;
  background-size: cover;
  position: relative;
}

@media (max-width: 768px) {
  .contact-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url('../images/contact_hero_bg.jpg?v=1') no-repeat center;
    background-size: cover;
    padding: 8rem 0 4rem 0;
  }
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: flex-start;
}

.about-content h3 {
  font-size: 2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.about-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.compliance-box {
  background: rgba(16, 185, 129, 0.05);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  border-radius: 0 16px 16px 0;
  margin-bottom: 2.5rem;
}

.compliance-box h4 {
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.compliance-box p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* Individual Product Category Layout */
.product-hero {
  padding: 12rem 0 6rem;
  background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-deep) 100%);
}

.product-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  margin-bottom: 6rem;
}

.product-detail-info h2 {
  font-size: 2.5rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
}

.product-detail-info p {
  color: var(--text-secondary);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.specification-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
  margin-bottom: 3rem;
}

.specification-table th, .specification-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.specification-table th {
  background: rgba(18, 136, 7, 0.08);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
}

.specification-table td {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.specification-table tr:hover td {
  color: var(--primary);
}

.product-media-side {
  position: sticky;
  top: 100px;
}

.subpage-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.gallery-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.gallery-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--bg-dark);
}

.gallery-card-body {
  padding: 1.5rem;
}

.gallery-card-title {
  color: var(--text-primary);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.gallery-card-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* Footer Design */
footer {
  background-color: var(--bg-deep);
  border-top: 1px solid var(--border);
  padding: 5rem 0 2rem;
}

footer .logo {
  color: var(--text-primary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--accent);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--primary);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
}

/* Animations using scroll trigger class */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.5rem;
  }
  .split-sections {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .global-stats {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header .container {
    height: 70px;
  }
  .hamburger {
    display: block;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--bg-deep);
    border-top: 1px solid var(--border);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    transition: var(--transition-normal);
    z-index: 998;
  }
  
  nav.active {
    left: 0;
  }
  
  .hero-title {
    font-size: 2.75rem;
  }
  .hero-desc {
    font-size: 1.1rem;
  }
  .hero-actions {
    flex-direction: column;
    gap: 1rem;
    padding: 0 1rem;
  }
  .section-title {
    font-size: 2.25rem;
  }
  .cert-grid, .contact-layout, .about-grid, .product-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cert-badges-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
  .whatsapp-widget {
    bottom: 1.5rem;
    right: 1.5rem;
  }
  .whatsapp-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
}



/* ==========================================
   NAVBAR DROPDOWN STYLES
   ========================================== */

/* Dropdown wrapper - behaves like a nav item */
.nav-dropdown {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
}

/* Hidden by default - MUST override flex layout */
.nav-dropdown .dropdown-menu {
  display: none !important;
  position: absolute !important;
  top: calc(100% + 14px) !important;
  left: 0 !important;
  flex-direction: column !important;
  background: #ffffff !important;
  border: 1px solid rgba(0,0,0,0.1) !important;
  border-radius: 10px !important;
  box-shadow: 0 8px 30px rgba(0,0,0,0.14) !important;
  min-width: 210px !important;
  z-index: 9999 !important;
  padding: 0.5rem 0 !important;
  white-space: nowrap !important;
  margin: 0 !important;
  gap: 0 !important;
}

/* Show on hover */
.nav-dropdown:hover > .dropdown-menu {
  display: flex !important;
}

/* Dropdown links */
.nav-dropdown .dropdown-menu a {
  display: block !important;
  padding: 0.6rem 1.25rem !important;
  color: #222 !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.nav-dropdown .dropdown-menu a:hover {
  background: #f0f7f0 !important;
  color: var(--primary, #2d6a4f) !important;
}
