/* ==========================================================================
   Ceylon Coco Export - Modern UI/UX Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette */
  --primary-dark: #062C17;
  --primary-main: #0F5B2F;
  --primary-light: #167A41;
  --primary-sprout: #22C55E;
  --primary-soft: #E8F7EE;

  --accent-amber: #D97706;
  --accent-amber-light: #FEF3C7;
  --accent-amber-dark: #B45309;

  --bg-main: #F7F9F5;
  --bg-card: #FFFFFF;
  --bg-dark: #051C0F;

  --text-main: #1E293B;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --text-white: #FFFFFF;

  --border-light: #E2E8F0;
  --border-green: #CBD5E1;

  /* Elevation / Shadows */
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px -5px rgba(15, 91, 47, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 20px 45px -10px rgba(15, 91, 47, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.04);
  --shadow-glow: 0 0 25px rgba(34, 197, 94, 0.3);

  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --container-max: 1240px;
  --header-height: 84px;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary-dark);
  line-height: 1.2;
  font-weight: 700;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--primary-soft);
  color: var(--primary-main);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.8rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-main) 0%, var(--primary-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(15, 91, 47, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 91, 47, 0.35);
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary-main) 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--accent-amber) 0%, var(--accent-amber-dark) 100%);
  color: var(--text-white);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(217, 119, 6, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--primary-main);
  border: 2px solid var(--primary-main);
}

.btn-outline:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--bg-card);
  color: var(--primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background: var(--primary-soft);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.05rem;
}

/* Header & Glass Nav */
.header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 1000;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}

.header.scrolled {
  height: 72px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo img {
  height: 52px;
  width: auto;
  object-fit: contain;
  transition: height 0.3s ease;
}

.header.scrolled .logo img {
  height: 44px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  transition: color 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-main);
  transition: width 0.25s ease;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary-dark);
  cursor: pointer;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background 0.3s ease;
}
.mobile-toggle:active {
  background: var(--primary-soft);
}
.mobile-toggle i {
  transition: opacity 0.15s ease;
}

/* Hero Section */
.hero {
  position: relative;
  padding-top: 3rem;
  padding-bottom: 6rem;
  background: linear-gradient(135deg, rgba(6, 44, 23, 0.92) 0%, rgba(15, 91, 47, 0.85) 100%),
              url('../images/hero_banner.jpg') center/cover no-repeat;
  color: var(--text-white);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 3.5rem;
  color: var(--text-white);
  margin-bottom: 1.25rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-content h1 span {
  color: var(--primary-sprout);
  position: relative;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 2.2rem;
  color: var(--primary-sprout);
  font-weight: 800;
  margin-bottom: 0.2rem;
}

.stat-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Quick Quote Floating Card in Hero */
.hero-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 2.2rem;
  border-radius: var(--radius-lg);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.hero-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary-dark);
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.2rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  font-size: 0.95rem;
  color: var(--text-main);
  transition: all 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-main);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(15, 91, 47, 0.1);
}

/* Section Styling */
.section {
  padding: 5.5rem 0;
}

.bg-white { background-color: #FFFFFF; }
.bg-light { background-color: var(--bg-main); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-white); }
.bg-dark h2, .bg-dark h3 { color: var(--text-white); }

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-card {
  background: var(--bg-card);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-sprout);
}

.feature-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: var(--primary-soft);
  color: var(--primary-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Product Cards */
.products-filter {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-light);
  background: var(--bg-card);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn.active, .filter-btn:hover {
  background: var(--primary-main);
  color: var(--text-white);
  border-color: var(--primary-main);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.2rem;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(34, 197, 94, 0.4);
}

.product-image {
  position: relative;
  height: 240px;
  overflow: hidden;
  background: #E2E8F0;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--primary-main);
  color: var(--text-white);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  box-shadow: var(--shadow-sm);
}

.product-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.product-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.product-specs-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--bg-main);
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
}

.spec-key {
  color: var(--text-muted);
  font-weight: 500;
}

.spec-val {
  color: var(--primary-dark);
  font-weight: 700;
  text-align: right;
}

.product-actions {
  margin-top: auto;
  display: flex;
  gap: 0.75rem;
}

/* Calculator Section */
.calculator-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;

  align-items: start;
}

.calc-inputs {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calc-results {
  background: linear-gradient(145deg, var(--primary-dark) 0%, var(--primary-main) 100%);
  color: var(--text-white);
  padding: 2.2rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.calc-results h3 {
  color: var(--text-white);
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.calc-result-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
}

.calc-result-row:last-child {
  border-bottom: none;
}

.calc-result-val {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary-sprout);
  font-family: var(--font-heading);
}

/* Process Steps */
.timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
  position: relative;
}

.timeline-step {
  background: var(--bg-card);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  position: relative;
  text-align: center;
}

.timeline-num {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-full);
  background: var(--accent-amber);
  color: var(--text-white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.2rem auto;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}

/* FAQ Accordion */
.faq-list {
  max-width: 840px;
  margin: 3rem auto 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-question {
  width: 100%;
  padding: 1.25rem 1.5rem;
  background: none;
  border: none;
  text-align: left;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question i {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--primary-sprout);
}

.faq-answer {
  padding: 0 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active {
  border-color: var(--primary-main);
}

.faq-item.active .faq-question i {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  padding-bottom: 1.25rem;
  max-height: 600px;
  opacity: 1;
}

/* Modal Dialog */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 28, 15, 0.75);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: var(--bg-card);
  width: 100%;
  max-width: 640px;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--bg-main);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

/* Footer */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding-top: 5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
  max-width: 320px;
}

.footer-col h4 {
  color: var(--text-white);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-light);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary-sprout);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-light);
  flex-wrap: wrap;
  gap: 1rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: var(--primary-dark);
  color: var(--text-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary-sprout);
  font-size: 0.95rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideIn 0.3s ease forwards;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-up { transform: translateY(40px); }
.fade-in { transform: translateY(0); }
.fade-left { transform: translateX(40px); }
.fade-right { transform: translateX(-40px); }

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

/* CTA Banner Styles */
.cta-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
  background: var(--bg-dark);
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/factory_export.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}

@keyframes slowZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.15); }
}

.animate-zoom {
  animation: slowZoom 20s linear infinite alternate;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 28, 15, 0.85);
  z-index: 1;
}

/* CTA Modern Buttons */
.cta-buttons-wrapper {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.btn-cta-primary {
  background: linear-gradient(135deg, var(--primary-sprout) 0%, #16a34a 100%);
  color: #fff;
  border-radius: 50px;
  padding: 1.2rem 2.5rem;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
  z-index: 1;
}

.btn-cta-primary::after {
  content: '';
  position: absolute;
  top: 0; 
  left: -100%;
  width: 50%; 
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.3), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: -1;
}

.btn-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(34, 197, 94, 0.6);
  background: linear-gradient(135deg, #16a34a 0%, var(--primary-sprout) 100%);
  color: #fff;
}

.btn-cta-primary:hover::after {
  left: 150%;
}

.btn-cta-primary i {
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-cta-primary:hover i {
  transform: translateX(6px);
}

.btn-cta-outline {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50px;
  padding: 1.2rem 2.5rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.btn-cta-outline:hover {
  background: rgba(255, 255, 255, 1);
  color: var(--primary-dark);
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(255,255,255,0.3);
}

/* Utility layout classes */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-main) 100%);
  color: #FFF;
  padding: 4rem 0 3rem 0;
  margin-top: 0;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.calc-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.cta-title {
  font-size: 2.8rem;
  color: #FFF;
  margin-bottom: 1rem;
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

.mobile-quote-btn-wrapper {
  display: none;
}

@media (max-width: 768px) {
  .desktop-quote-btn {
    display: none;
  }
  
  .header.scrolled .nav-links {
    top: 72px;
  }

  .calculator-box {
    padding: 1.5rem;
  }
  
  .calc-results {
    padding: 1.5rem;
  }
  
  .calc-result-val {
    font-size: 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: 100vh;
    width: 100%;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    padding: 3rem 2rem 10rem 2rem;
    gap: 2rem;
    box-shadow: none;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
    overflow-y: auto;
  }
  
  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.35rem;
    font-weight: 700;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active .nav-link {
    opacity: 1;
    transform: translateY(0);
  }

  .mobile-quote-btn-wrapper {
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .nav-links.active .mobile-quote-btn-wrapper {
    opacity: 1;
    transform: translateY(0);
  }
  
  .mobile-quote-btn {
    width: 100%;
    max-width: 300px;
    padding: 1rem;
    font-size: 1.1rem;
  }

  .nav-links li:nth-child(1) .nav-link { transition-delay: 0.1s; }
  .nav-links li:nth-child(2) .nav-link { transition-delay: 0.15s; }
  .nav-links li:nth-child(3) .nav-link { transition-delay: 0.2s; }
  .nav-links li:nth-child(4) .nav-link { transition-delay: 0.25s; }
  .nav-links li:nth-child(5) .nav-link { transition-delay: 0.3s; }
  .nav-links li:nth-child(6) { transition-delay: 0.35s; }

  .mobile-toggle { 
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Layout adjustments for mobile */
  .top-bar { display: none; }
  
  .about-grid, .calc-form-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .page-header {
    padding: 3rem 0 2rem 0;
  }
  
  .page-header h1 {
    font-size: 2.2rem !important;
  }
  
  .hero {
    padding-top: 2rem;
    padding-bottom: 4rem;
  }
  
  .hero-content h1 { font-size: 2.2rem; }
  
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .section {
    padding: 3.5rem 0;
  }
  
  .footer-grid { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; gap: 1.5rem; }
}

