/* ============================================
   ECO CARBON CCC - MAIN STYLESHEET
   Tropical Caribbean Theme
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&family=Figtree:wght@300;400;500;600;700&display=swap');

:root {
  --primary: #0E7C5A;
  --primary-dark: #064E3B;
  --primary-light: #10B981;
  --secondary: #0891B2;
  --secondary-dark: #155E75;
  --accent: #06B6D4;
  --warm: #D4A843;
  --warm-light: #F0D78C;
  --bg-light: #F0F9F6;
  --bg-cream: #FAFDF9;
  --bg-dark: #0F2A20;
  --bg-darker: #081C15;
  --text-primary: #1E293B;
  --text-secondary: #475569;
  --text-light: #94A3B8;
  --white: #FFFFFF;
  --border: #E2E8F0;
  --shadow-sm: 0 1px 3px rgba(14, 124, 90, 0.08);
  --shadow-md: 0 4px 16px rgba(14, 124, 90, 0.12);
  --shadow-lg: 0 12px 40px rgba(14, 124, 90, 0.16);
  --shadow-xl: 0 20px 60px rgba(14, 124, 90, 0.2);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-heading: 'Bricolage Grotesque', sans-serif;
  --font-body: 'Figtree', sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: 700;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: var(--transition); }

/* ============================================
   NAVBAR
   ============================================ */
.eco-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: var(--transition);
  background: transparent;
}

.eco-navbar.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  padding: 8px 0;
}

.eco-navbar .nav-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eco-navbar .nav-logo img {
  height: 100px;
  width: auto;
  transition: var(--transition);
  filter: brightness(0) invert(1);
}

.eco-navbar.scrolled .nav-logo img {
  filter: none;
  height: 95px;
}

.eco-navbar .nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.eco-navbar .nav-links > li {
  position: relative;
}

.eco-navbar .nav-links a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.eco-navbar.scrolled .nav-links a {
  color: var(--text-primary);
}

.eco-navbar .nav-links a:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.eco-navbar.scrolled .nav-links a:hover {
  background: var(--bg-light);
  color: var(--primary);
}

/* Dropdown */
.eco-navbar .nav-dropdown {
  position: relative;
}

.eco-navbar .nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  list-style: none;
  z-index: 100;
}

.eco-navbar .nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.eco-navbar .nav-dropdown-menu a {
  color: var(--text-primary) !important;
  padding: 10px 16px;
  font-size: 13px;
  border-radius: var(--radius-sm);
}

.eco-navbar .nav-dropdown-menu a:hover {
  background: var(--bg-light) !important;
  color: var(--primary) !important;
}

.eco-navbar .nav-cta {
  background: var(--primary) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 10px 24px !important;
  font-weight: 600 !important;
}

.eco-navbar .nav-cta:hover {
  background: var(--primary-dark) !important;
  transform: translateY(-1px);
}

/* Dropdown arrow */
.eco-navbar .nav-dropdown > a::after {
  content: '';
  display: inline-block;
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  margin-left: 6px;
  vertical-align: middle;
  transition: var(--transition);
}

.eco-navbar .nav-dropdown:hover > a::after {
  transform: rotate(180deg);
}

/* Mobile nav */
.eco-navbar .nav-toggle {
  display: none;
  background: none;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 20px;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.eco-navbar.scrolled .nav-toggle {
  border-color: var(--border);
  color: var(--text-primary);
}

.eco-navbar .mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 320px;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 1001;
  padding: 24px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.eco-navbar .mobile-menu.open {
  right: 0;
}

.eco-navbar .mobile-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s;
}

.eco-navbar .mobile-overlay.open {
  opacity: 1;
}

.eco-navbar .mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-navbar .mobile-menu-header img {
  height: 40px;
  filter: brightness(0) invert(1);
}

.eco-navbar .mobile-close {
  background: none;
  border: none;
  color: var(--white);
  font-size: 28px;
  cursor: pointer;
  padding: 4px;
}

.eco-navbar .mobile-links {
  list-style: none;
  padding: 0;
}

.eco-navbar .mobile-links li {
  margin-bottom: 4px;
}

.eco-navbar .mobile-links a {
  display: block;
  padding: 12px 16px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.eco-navbar .mobile-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--accent);
}

.eco-navbar .mobile-links .mobile-sub-title {
  color: var(--accent);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 16px 16px 6px;
  font-weight: 700;
}

.eco-navbar .mobile-contact {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.eco-navbar .mobile-contact a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  padding: 8px 0;
}

.eco-navbar .mobile-contact a:hover {
  color: var(--accent);
}

@media (max-width: 1100px) {
  .eco-navbar .nav-links { display: none; }
  .eco-navbar .nav-toggle { display: flex; }
  .eco-navbar .mobile-menu { display: block; }
  .eco-navbar .mobile-overlay { display: block; }
}

/* ============================================
   HERO VIDEO SECTION
   ============================================ */
.hero-video {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background: var(--bg-darker);
}

.hero-video video,
.hero-video .hero-video-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
}

.hero-video::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    180deg,
    rgba(8, 28, 21, 0.4) 0%,
    rgba(8, 28, 21, 0.2) 40%,
    rgba(8, 28, 21, 0.6) 100%
  );
  z-index: 1;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 800px;
}

.hero-content .hero-logo {
  width: 280px;
  max-width: 60%;
  margin-bottom: 32px;
  filter: brightness(0) invert(1);
  animation: fadeInDown 1s ease-out;
}

.hero-content h1 {
  font-size: clamp(24px, 4vw, 42px);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 12px;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-content p {
  font-size: clamp(16px, 2vw, 20px);
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-scroll-indicator .scroll-line {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.hero-scroll-indicator .scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--accent);
  animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
  0% { top: -50%; }
  100% { top: 100%; }
}

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

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

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

/* ============================================
   TWO-COLUMN CAROUSEL
   ============================================ */
.company-carousel {
  padding: 100px 0;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.company-carousel::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.06);
  pointer-events: none;
}

.carousel-wrapper {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: 500px;
}

.carousel-images {
  position: relative;
  height: 500px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.carousel-images .carousel-slide {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-images .carousel-slide.active {
  opacity: 1;
}

.carousel-images .carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-text-side {
  padding: 20px 0;
}

.carousel-text-side .section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 16px;
  padding: 6px 14px;
  background: rgba(8, 145, 178, 0.1);
  border-radius: 50px;
}

.carousel-text-content {
  position: relative;
  min-height: 300px;
}

.carousel-text-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s ease, transform 0.8s ease;
  pointer-events: none;
}

.carousel-text-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.carousel-text-item h2 {
  font-size: clamp(28px, 3vw, 40px);
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.15;
}

.carousel-text-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 32px;
}

.carousel-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: transparent;
  cursor: pointer;
  transition: var(--transition);
  padding: 0;
}

.carousel-dots button.active {
  background: var(--primary);
  transform: scale(1.2);
}

.carousel-progress {
  margin-top: 20px;
  height: 2px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
}

.carousel-progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: 2px;
  transition: width 0.3s linear;
}

/* ============================================
   SECTIONS
   ============================================ */
.eco-section {
  padding: 100px 0;
  position: relative;
}

.eco-section .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-header .section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--secondary);
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 44px);
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

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

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

.product-card .card-image {
  height: 200px;
  overflow: hidden;
}

.product-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

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

.product-card .card-body h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 10px;
}

.product-card .card-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Process Steps */
.process-steps {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 40px;
}

.process-step {
  display: flex;
  align-items: center;
  gap: 0;
}

.process-step .step-box {
  background: var(--bg-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--primary-dark);
  min-width: 140px;
  transition: var(--transition);
}

.process-step .step-box:hover {
  background: var(--primary);
  color: var(--white);
}

.process-step .step-arrow {
  color: var(--primary);
  font-size: 24px;
  padding: 0 12px;
}

/* Quality at Source */
.quality-section {
  background: var(--bg-dark);
  color: var(--white);
  padding: 100px 0;
}

.quality-section .section-header h2 {
  color: var(--white);
}

.quality-section .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

.quality-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.quality-list {
  counter-reset: quality-counter;
  list-style: none;
  padding: 0;
}

.quality-list li {
  counter-increment: quality-counter;
  padding: 20px 20px 20px 60px;
  position: relative;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}

.quality-list li::before {
  content: counter(quality-counter);
  position: absolute;
  left: 0;
  top: 20px;
  width: 36px;
  height: 36px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--white);
}

.quality-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.quality-image img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* Raw Materials */
.raw-materials {
  background: linear-gradient(135deg, var(--bg-light) 0%, #E6F7F1 100%);
  padding: 80px 0;
  text-align: center;
}

.raw-materials .container {
  max-width: 800px;
}

/* ============================================
   BTN
   ============================================ */
.btn-eco {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

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

.btn-eco-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(14, 124, 90, 0.3);
  color: var(--white);
}

.btn-eco-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-eco-white {
  background: var(--white);
  color: var(--primary-dark);
}

.btn-eco-white:hover {
  background: var(--bg-light);
  transform: translateY(-2px);
}

/* ============================================
   FOOTER
   ============================================ */
.eco-footer {
  background: var(--bg-darker);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.eco-footer .footer-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand img {
  height: 50px;
  filter: brightness(0) invert(1);
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.7;
  margin-bottom: 24px;
  max-width: 320px;
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  transition: var(--transition);
}

.footer-socials a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item i {
  color: var(--accent);
  font-size: 16px;
  margin-top: 3px;
  min-width: 18px;
}

.footer-contact-item a {
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact-item a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 0;
}

/* ============================================
   PRODUCT PAGE
   ============================================ */
.page-hero {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-dark) 100%);
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.1);
}

.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--white);
  z-index: 1;
  position: relative;
}

.product-content {
  padding: 80px 0;
}

.product-content .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 48px;
}

.product-image-wrap {
  position: sticky;
  top: 100px;
}

.product-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.product-info h2 {
  font-size: 32px;
  color: var(--primary-dark);
  margin-bottom: 6px;
}

.product-info h3 {
  font-size: 16px;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 20px;
}

.product-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
}

.product-info b {
  color: var(--primary-dark);
}

.product-features {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.product-features li {
  padding: 8px 0 8px 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================
   TABLES - Professional spec tables
   ============================================ */
.spec-table-wrapper {
  margin: 40px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.spec-table-title {
  background: var(--primary-dark);
  color: var(--white);
  padding: 16px 24px;
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 600;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table thead {
  background: var(--primary);
  color: var(--white);
}

.spec-table thead th {
  padding: 14px 16px;
  font-weight: 600;
  text-align: center;
  border: none;
  font-size: 13px;
  letter-spacing: 0.3px;
}

.spec-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.spec-table tbody tr:hover {
  background: var(--bg-light);
}

.spec-table tbody tr:nth-child(even) {
  background: #FAFCFB;
}

.spec-table tbody tr:nth-child(even):hover {
  background: var(--bg-light);
}

.spec-table tbody td {
  padding: 12px 16px;
  text-align: center;
  color: var(--text-primary);
  vertical-align: middle;
}

.spec-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
}

.spec-table tbody th {
  padding: 12px 16px;
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
}

/* Collapsible table */
.spec-table-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 15px;
  transition: var(--transition);
  margin-bottom: 0;
  width: 100%;
}

.spec-table-toggle:hover {
  background: #E6F7F1;
}

.spec-table-toggle .toggle-icon {
  transition: transform 0.3s;
  font-size: 20px;
}

.spec-table-toggle.open .toggle-icon {
  transform: rotate(180deg);
}

.spec-table-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.spec-table-collapse.open {
  max-height: 2000px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}

.contact-form-wrap h2 {
  font-size: 28px;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.contact-form-wrap .form-subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 32px;
}

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

.eco-form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.3px;
}

.eco-form input,
.eco-form textarea,
.eco-form select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-primary);
  transition: var(--transition);
  background: var(--white);
}

.eco-form input:focus,
.eco-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(14, 124, 90, 0.1);
}

.eco-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 300px;
  box-shadow: var(--shadow-md);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-details {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
}

.contact-details h3 {
  font-size: 20px;
  margin-bottom: 24px;
  color: var(--white);
}

.contact-detail-item {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
  align-items: flex-start;
}

.contact-detail-item i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 2px;
  min-width: 20px;
}

.contact-detail-item span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
}

.contact-detail-item a {
  color: rgba(255, 255, 255, 0.75);
}

.contact-detail-item a:hover {
  color: var(--accent);
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-story {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 60px;
  padding: 0 24px;
}

.about-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-image img {
  width: 100%;
  object-fit: cover;
}

.about-text h2 {
  font-size: clamp(28px, 3vw, 36px);
  color: var(--primary-dark);
  margin-bottom: 20px;
}

.about-text p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 14px;
}

.why-dr {
  background: linear-gradient(135deg, var(--bg-dark) 0%, #0B3D2E 100%);
  padding: 80px 0;
  color: var(--white);
}

.value-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: var(--transition);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.value-card h4 {
  color: var(--accent);
  font-size: 16px;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* ============================================
   MISC / UTILITIES
   ============================================ */
.bg-light-eco { background: var(--bg-light); }
.bg-dark-eco { background: var(--bg-dark); color: var(--white); }

.text-primary-eco { color: var(--primary); }
.text-accent { color: var(--accent); }

/* Scroll reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Video commercial section */
.video-section {
  padding: 80px 0;
  background: var(--white);
}

.video-wrapper {
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.video-wrapper video {
  width: 100%;
  display: block;
}

/* Feature stat cards */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.stat-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

.stat-card .stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  color: var(--primary);
  display: block;
}

.stat-card .stat-label {
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Mission/Vision cards */
.mv-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary);
  margin-bottom: 20px;
}

.mv-card h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.mv-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 32px;
}

/* Form messages */
.form-message {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 20px;
  font-size: 14px;
  font-weight: 500;
  display: none;
}

.form-message.success {
  display: block;
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-message.error {
  display: block;
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* QA Cards */
.qa-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}

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

.qa-card .qa-icon {
  width: 48px;
  height: 48px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.qa-card .qa-icon img {
  width: 28px;
  height: 28px;
}

.qa-card p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Process section dark */
.process-section {
  background: var(--white);
  padding: 80px 0;
}

.process-block {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 32px;
  margin-bottom: 24px;
  border: 1px solid var(--border);
}

.process-block h3 {
  font-size: 20px;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.process-block p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* ============================================
   PACKING PAGE
   ============================================ */
.packing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

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

.packing-card:hover {
  box-shadow: var(--shadow-md);
}

.packing-card h3 {
  font-size: 22px;
  color: var(--primary-dark);
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary);
}

.packing-card ul {
  list-style: none;
  padding: 0;
}

.packing-card ul li {
  padding: 10px 0 10px 28px;
  position: relative;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

.packing-card ul li:last-child {
  border-bottom: none;
}

.packing-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 16px;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  margin: 24px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.comparison-table thead th {
  background: var(--primary);
  color: var(--white);
  padding: 16px;
  font-weight: 600;
  text-align: center;
}

.comparison-table thead th:first-child {
  text-align: left;
}

.comparison-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
  text-align: center;
  vertical-align: top;
}

.comparison-table tbody td:first-child {
  text-align: left;
  font-weight: 600;
  color: var(--primary-dark);
  background: #FAFCFB;
}

.comparison-table tbody tr:hover {
  background: var(--bg-light);
}

/* Hidden SEO text fix */
.hidden-seo-text {
  position: absolute;
  left: -9999px;
  visibility: hidden;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Ensure no white text on white bg */
.eco-section p, .eco-section li { color: var(--text-secondary); }
.eco-section h2, .eco-section h3 { color: var(--primary-dark); }

/* ============================================
   COMPREHENSIVE RESPONSIVE RULES
   ============================================ */

/* --- Table horizontal scroll on all small screens --- */
.spec-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.spec-table {
  min-width: 500px;
}

/* ============================================
   LARGE DESKTOP (1400px+)
   ============================================ */
@media (min-width: 1400px) {
  .carousel-wrapper { max-width: 1400px; }
  .carousel-images { height: 560px; }
}

/* ============================================
   LAPTOP / SMALL DESKTOP (992px - 1100px)
   ============================================ */
@media (max-width: 1100px) and (min-width: 993px) {
  .eco-navbar .nav-links a { padding: 8px 10px; font-size: 13px; }
  .eco-navbar .nav-cta { padding: 8px 18px !important; }
  .carousel-wrapper { gap: 36px; }
}

/* ============================================
   TABLET LANDSCAPE (769px - 992px)
   ============================================ */
@media (max-width: 992px) {
  .eco-section { padding: 70px 0; }

  .carousel-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .carousel-images { height: 380px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .quality-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .product-image-wrap { position: static; }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .packing-cards {
    grid-template-columns: 1fr;
  }

  .page-hero { height: 220px; }
  .page-hero h1 { font-size: 36px; }

  .process-step .step-box {
    padding: 12px 16px;
    min-width: 110px;
    font-size: 13px;
  }
  .process-step .step-arrow { padding: 0 8px; font-size: 20px; }

  .quality-section { padding: 70px 0; }
  .quality-list li { padding: 16px 16px 16px 52px; font-size: 14px; }
  .quality-list li::before { width: 32px; height: 32px; font-size: 13px; top: 16px; }
}

/* ============================================
   TABLET PORTRAIT (577px - 768px)
   ============================================ */
@media (max-width: 768px) {
  .eco-section { padding: 56px 0; }

  .hero-video { min-height: 500px; }
  .hero-content h1 { font-size: 24px; }
  .hero-content p { font-size: 15px; }
  .hero-content .hero-logo { width: 200px; margin-bottom: 24px; }
  .hero-scroll-indicator { bottom: 24px; }
  .hero-scroll-indicator span { font-size: 10px; }

  .company-carousel { padding: 56px 0; }
  .carousel-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .carousel-images { height: 260px; }
  .carousel-text-side { padding: 0; }
  .carousel-text-item h2 { font-size: 26px; }
  .carousel-text-content { min-height: 220px; }

  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 15px; }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .product-card .card-image { height: 180px; }
  .product-card .card-body { padding: 20px; }
  .product-card .card-body h3 { font-size: 18px; }

  .quality-section { padding: 56px 0; }
  .quality-grid { grid-template-columns: 1fr; gap: 24px; }
  .quality-list li { padding: 14px 14px 14px 48px; font-size: 14px; }
  .quality-list li::before { width: 30px; height: 30px; font-size: 12px; top: 14px; }

  .process-steps { flex-direction: column; gap: 4px; margin-top: 24px; }
  .process-step { flex-direction: row; }
  .process-step .step-box { min-width: auto; width: 100%; max-width: 240px; padding: 12px 16px; font-size: 13px; }
  .process-step .step-arrow { transform: rotate(90deg); padding: 2px 0; font-size: 18px; }

  .page-hero { height: 180px; }
  .page-hero h1 { font-size: 28px; }

  .product-content { padding: 48px 0; }
  .product-layout { grid-template-columns: 1fr; gap: 24px; }
  .product-image-wrap { position: static; }
  .product-info h2 { font-size: 26px; }
  .product-features li { padding: 6px 0 6px 24px; font-size: 14px; }
  .product-features li::before { top: 12px; width: 8px; height: 8px; }

  .spec-table-toggle { padding: 14px 16px; font-size: 14px; }
  .spec-table thead th { padding: 10px 8px; font-size: 12px; }
  .spec-table tbody td { padding: 10px 8px; font-size: 13px; }

  .contact-section { padding: 48px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .contact-form-wrap { padding: 24px; }
  .contact-form-wrap h2 { font-size: 24px; }

  .about-story { padding: 48px 0; }
  .about-grid { grid-template-columns: 1fr; gap: 24px; padding: 0 16px; }
  .about-text h2 { font-size: 26px; }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .stat-card { padding: 24px 16px; }
  .stat-card .stat-number { font-size: 28px; }

  .mv-card { padding: 24px; }
  .mv-card h3 { font-size: 18px; }

  .packing-cards { grid-template-columns: 1fr; gap: 16px; }
  .packing-card { padding: 24px; }

  .process-block { padding: 24px; }

  .video-section { padding: 48px 0; }

  .raw-materials { padding: 48px 0; }

  .why-dr { padding: 56px 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .eco-footer { padding: 48px 0 0; }
  .footer-brand p { max-width: 100%; }
}

/* ============================================
   MOBILE LARGE (426px - 576px)
   ============================================ */
@media (max-width: 576px) {
  .eco-section { padding: 44px 0; }

  .hero-video { min-height: 100vh; min-height: 100svh; }
  .hero-content .hero-logo { width: 180px; margin-bottom: 20px; }
  .hero-content h1 { font-size: 22px; }
  .hero-content p { font-size: 14px; }

  .company-carousel { padding: 44px 0; }
  .carousel-wrapper { padding: 0 16px; gap: 20px; }
  .carousel-images { height: 220px; border-radius: var(--radius-md); }
  .carousel-text-item h2 { font-size: 22px; margin-bottom: 14px; }
  .carousel-text-item p { font-size: 14px; line-height: 1.7; }
  .carousel-text-content { min-height: 200px; }
  .carousel-dots { margin-top: 20px; }

  .section-header { margin-bottom: 28px; padding: 0 4px; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }

  .page-hero { height: 160px; }
  .page-hero h1 { font-size: 24px; }

  .product-content { padding: 36px 0; }
  .product-info h2 { font-size: 24px; }
  .product-info h3 { font-size: 14px; }
  .product-info p { font-size: 14px; }

  .btn-eco { padding: 10px 22px; font-size: 13px; }

  .contact-section { padding: 36px 0; }
  .contact-grid { padding: 0 12px; }
  .contact-form-wrap { padding: 20px; border-radius: var(--radius-md); }
  .contact-form-wrap h2 { font-size: 22px; }
  .contact-details { padding: 24px; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .eco-footer { padding: 40px 0 0; }
  .footer-col h4 { margin-bottom: 14px; font-size: 14px; }
  .footer-bottom { padding: 20px 0; font-size: 12px; }

  .about-story { padding: 36px 0; }
  .about-grid { padding: 0 12px; gap: 20px; }

  .quality-section { padding: 44px 0; }
  .quality-list li { padding: 12px 12px 12px 44px; font-size: 13px; }
  .quality-list li::before { width: 28px; height: 28px; font-size: 11px; top: 12px; }

  .stat-card .stat-number { font-size: 24px; }
  .stat-card .stat-label { font-size: 12px; }

  .process-block { padding: 20px; margin-bottom: 16px; }
  .process-block h3 { font-size: 18px; }
  .process-block p { font-size: 14px; }

  .packing-card { padding: 20px; }
  .packing-card h3 { font-size: 18px; margin-bottom: 14px; padding-bottom: 12px; }
  .packing-card ul li { font-size: 14px; padding: 8px 0 8px 24px; }

  .why-dr { padding: 44px 0; }
  .value-card { padding: 20px; }
  .value-card h4 { font-size: 15px; }
  .value-card p { font-size: 13px; }

  .mv-card { padding: 20px; }
  .mv-card h3 { font-size: 16px; }
  .mv-card p { font-size: 14px; }

  .qa-card { padding: 20px; }

  .video-section { padding: 36px 0; }
  .raw-materials { padding: 36px 0; }

  /* Fix form grid on small mobile */
  .eco-form .row.g-3 > .col-md-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ============================================
   MOBILE SMALL (375px and below)
   ============================================ */
@media (max-width: 375px) {
  .hero-content h1 { font-size: 20px; }
  .hero-content p { font-size: 13px; }
  .hero-content .hero-logo { width: 150px; }

  .carousel-images { height: 180px; }
  .carousel-text-item h2 { font-size: 20px; }
  .carousel-text-content { min-height: 180px; }

  .section-header h2 { font-size: 20px; }

  .page-hero { height: 140px; }
  .page-hero h1 { font-size: 22px; }

  .product-info h2 { font-size: 22px; }

  .contact-form-wrap { padding: 16px; }

  .nav-toggle { width: 40px; height: 40px; font-size: 18px; }

  .mobile-menu { width: 280px; padding: 20px; }
}

/* ============================================
   VERY SMALL (320px)
   ============================================ */
@media (max-width: 320px) {
  .hero-content h1 { font-size: 18px; }
  .carousel-images { height: 160px; }
  .carousel-text-item h2 { font-size: 18px; }
  .page-hero h1 { font-size: 20px; }
  .stat-card { padding: 16px 10px; }
  .stat-card .stat-number { font-size: 22px; }
}

/* ============================================
   LANDSCAPE MOBILE (max-height: 500px)
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
  .hero-video { min-height: 100vh; }
  .hero-content h1 { font-size: 22px; }
  .hero-content .hero-logo { width: 160px; margin-bottom: 12px; }
  .hero-scroll-indicator { display: none; }
}

/* ============================================
   PRINT
   ============================================ */
@media print {
  .eco-navbar, .hero-scroll-indicator, .eco-footer, .nav-toggle, .mobile-menu, .mobile-overlay { display: none !important; }
  .hero-video { height: auto; min-height: 0; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .eco-section { padding: 24px 0; }
}

/* ============================================
   ACCESSIBILITY - Reduced motion
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
