/* CSS Design System & Variables */
:root {
  /* Brand Palette */
  --primary: #5097A1;
  --primary-dark: #3b747d;
  --primary-light: #e6f2f4;
  --accent: #F7A72C;
  --dark: #252525;
  --dark-light: #383838;
  --black: #111111;
  --light: #EDEDED;
  --white: #FFFFFF;
  
  /* Glassmorphism & Overlays */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-bg-dark: rgba(0, 0, 0, 0.25);
  --glass-border: rgba(255, 255, 255, 0.2);
  --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
  --card-hover-shadow: 0 20px 40px -15px rgba(80, 151, 161, 0.15);
  
  /* Fonts */
  --font-display: 'Outfit', sans-serif; /* For Grift Font */
  --font-serif: 'Playfair Display', serif; /* For Hagrid Text */
  --font-fancy: 'Lobster', cursive; /* For Stats indicator 96% */
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--white);
  color: var(--dark-light);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button, select {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  outline: none;
}

img {
  max-width: 100%;
  display: block;
}

/* Common Layout Components */
.section-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px 60px;
}

.section-header {
  margin-bottom: 50px;
  max-width: 800px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 600;
  line-height: 1.1;
  color: var(--dark-light);
  margin-bottom: 16px;
}

.section-desc {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: #666;
  line-height: 1.5;
}

/* Buttons Styling */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  padding: 12px 28px;
  border-radius: 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 10px;
}

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

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

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

.btn-dark:hover {
  background-color: var(--black);
  transform: translateY(-2px);
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--light);
  color: var(--dark);
}

.btn-secondary:hover {
  background-color: #dfdfdf;
}

/* Header Navigation Styling */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  transition: all 0.4s ease;
  padding: 24px 0;
}

.main-header.scrolled {
  background: rgba(17, 17, 17, 0.85);
  backdrop-filter: blur(12px);
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-item {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.nav-item:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.logo-mark {
  transition: transform 0.3s ease;
}

.logo-mark:hover {
  transform: scale(1.05);
}

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

/* Custom Select Dropdown */
.custom-select-container {
  position: relative;
}

.select-pill {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--glass-border);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 10px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.select-pill:hover {
  background: rgba(255, 255, 255, 0.25);
}

.dropdown-chevron {
  transition: transform 0.3s ease;
}

.custom-select-container.open .dropdown-chevron {
  transform: rotate(180deg);
}

.select-dropdown-list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  width: 220px;
  padding: 8px 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 101;
}

.custom-select-container.open .select-dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  padding: 10px 20px;
  font-size: 0.95rem;
  color: var(--dark-light);
  transition: background 0.2s ease;
}

.dropdown-item:hover {
  background: var(--light);
}

.action-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid var(--glass-border);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 100vh;
  min-height: 800px;
  width: 100%;
  display: flex;
  align-items: center;
  color: var(--white);
  overflow: hidden;
}

.hero-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.6) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 120px 60px 0 60px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
}

.hero-content {
  max-width: 710px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: 5rem;
  line-height: 1.05;
  font-weight: 500;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-desc {
  font-size: 1.25rem;
  line-height: 1.4;
  opacity: 0.9;
  margin-bottom: 36px;
}

.shop-now-btn {
  padding-right: 12px;
}

.circle-arrow-wrapper {
  width: 32px;
  height: 32px;
  background-color: var(--black);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.shop-now-btn:hover .circle-arrow-wrapper {
  transform: translateX(3px);
}

/* Glassmorphic Stats Widget */
.hero-stats-card {
  width: 346px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 40px;
  animation: fadeInUp 0.8s ease 0.2s forwards;
  opacity: 0;
}

.stats-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.stats-label {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.2;
}

.stats-icon-wrap {
  width: 42px;
  height: 42px;
  border: 2px solid var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats-number {
  font-family: var(--font-fancy);
  font-size: 8.5rem;
  line-height: 0.8;
  text-align: right;
  letter-spacing: -2px;
  margin-top: 10px;
}

/* Partners Section (Who We Work With) */
.partners-section {
  background-color: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.partner-card {
  background-color: var(--light);
  border-radius: 14px;
  height: 491px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow);
}

.card-img-wrapper {
  height: 236px;
  border-radius: 8px;
  overflow: hidden;
  order: 2; /* Move image to the bottom */
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.partner-card:hover .card-img-wrapper img {
  transform: scale(1.05);
}

.badge {
  display: inline-block;
  border: 1px solid var(--black);
  padding: 4px 14px;
  border-radius: 30px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.1;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 12px;
}

.partner-card p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 24px;
}

/* Specific colored card styling */
.partner-card.color-highlight-card {
  background-color: var(--primary);
  color: var(--white);
}

.partner-card.color-highlight-card h3,
.partner-card.color-highlight-card p {
  color: var(--white);
}

.partner-card.color-highlight-card .badge {
  border-color: var(--white);
  color: var(--white);
}

.card-graphic-wrapper {
  height: 236px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  order: 2;
}

.card-graphic-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.graphic-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(80, 151, 161, 0.4);
}

/* Products Section */
.products-section {
  background-color: var(--white);
  padding-top: 20px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  max-width: 100%;
  margin-bottom: 40px;
}

.products-header > div {
  max-width: 600px;
}

.filters-container {
  display: flex;
  align-items: center;
  gap: 30px;
}

.tabs-buttons {
  display: flex;
  gap: 12px;
  border: 1px solid var(--light);
  padding: 4px;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.02);
}

.tab-btn {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 6px;
  color: var(--dark-light);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-btn.active {
  background-color: var(--dark);
  color: var(--white);
}

.see-all-link {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 500;
  color: var(--dark-light);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.see-all-link:hover {
  color: var(--primary);
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 556px;
  transition: transform 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-visual {
  height: 475px;
  background-color: var(--light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-visual img {
  width: 70%;
  height: auto;
  transition: transform 0.5s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.06);
}

.product-info-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  background: var(--light);
  border-radius: 14px;
  margin-top: 5px;
  height: 76px;
}

.info-left h3 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--black);
  margin-bottom: 4px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stars {
  color: var(--accent);
  font-size: 0.85rem;
}

.reviews-count {
  font-size: 0.8rem;
  color: #666;
}

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

.quote-req-btn {
  font-size: 0.9rem;
  padding: 8px 18px;
  border-radius: 20px;
  border: 1px solid var(--light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.quote-req-btn:hover {
  background-color: var(--black);
  color: var(--white);
}

.price-tag {
  background-color: var(--dark);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 20px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
}

/* Wide Featured Showcase Banner */
.featured-banner-block {
  position: relative;
  height: 708px;
  border-radius: 14px;
  overflow: hidden;
  margin-top: 30px;
}

.banner-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.25);
}

.banner-container {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  width: calc(100% - 40px);
}

.banner-glass-card {
  width: 625px;
  background: var(--light);
  border-radius: 14px;
  padding: 24px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.glass-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.glass-header h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--black);
  margin-bottom: 6px;
}

.glass-action-row {
  display: flex;
  align-items: center;
  gap: 15px;
}

.glass-action-row .btn {
  font-size: 1rem;
  padding: 10px 24px;
}

.price-pill {
  background-color: var(--dark);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 50px;
  font-family: var(--font-display);
  font-weight: 500;
}

/* Why Businesses Choose Komex Section */
.why-komex-section {
  background-color: var(--white);
}

.why-komex-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.why-komex-info {
  display: flex;
  flex-direction: column;
}

.stats-row {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
}

.stat-highlight-card {
  flex: 1;
  border-bottom: 2px solid var(--dark-light);
  padding-bottom: 20px;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 500;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 6px;
}

.stat-num.text-teal {
  color: var(--primary);
}

.stat-lbl {
  font-size: 1.1rem;
  color: #666;
}

.perks-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.perk-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.perk-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.perk-text h4 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--black);
  margin-bottom: 4px;
  font-weight: 500;
}

.perk-text p {
  color: #555;
  font-size: 1rem;
}

.why-komex-visual {
  border-radius: 14px;
  overflow: hidden;
  height: 600px;
}

.why-komex-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Simple & Reliable Ordering Process Section */
.process-section {
  background-color: var(--white);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

.step-card {
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
}

.step-visual {
  height: 250px;
  background-color: var(--light);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.step-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.step-number {
  position: absolute;
  bottom: -20px;
  right: -10px;
  font-family: var(--font-serif);
  font-size: 10rem;
  font-weight: 600;
  line-height: 0.8;
  color: rgba(255, 255, 255, 0.4);
  pointer-events: none;
  letter-spacing: -5px;
}

.step-details h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--black);
  margin-bottom: 8px;
  font-weight: 500;
}

.step-details p {
  font-size: 0.95rem;
  color: #555;
}

/* Inline Callout Block */
.process-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--light);
  border-radius: 14px;
  padding: 40px 60px;
}

.callout-content h4 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  color: var(--black);
  margin-bottom: 6px;
  font-weight: 500;
}

.callout-content p {
  font-size: 1.15rem;
  color: #555;
}

.process-callout .btn {
  padding: 14px 36px;
}

/* Featured Products for Bulk Orders */
.featured-bulk-section {
  background-color: var(--white);
}

.bulk-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bulk-card {
  background-color: var(--light);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.bulk-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
}

.bulk-visual {
  height: 250px;
  overflow: hidden;
}

.bulk-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.bulk-card:hover .bulk-visual img {
  transform: scale(1.05);
}

.bulk-desc {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.bulk-desc p {
  font-size: 0.95rem;
  color: var(--dark-light);
  margin-bottom: 20px;
}

.bulk-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bulk-moq {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.85rem;
  background-color: var(--white);
  padding: 4px 12px;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.06);
}

.bulk-status {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-instock { color: var(--primary); }
.status-dispatch { color: #8C4E9C; }
.status-available { color: var(--accent); }

/* Testimonials Section */
.testimonials-section {
  background-color: var(--white);
}

.testimonials-slider-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
}

.testimonials-slides-wrap {
  position: relative;
  height: 350px;
  overflow: hidden;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: scale(0.95);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.slide-quote {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  line-height: 1.3;
  color: var(--black);
  margin-bottom: 40px;
  font-weight: 500;
  font-style: italic;
}

.slide-author {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--light);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-details h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 2px;
}

.author-details span {
  font-size: 0.85rem;
  color: #666;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
}

.slider-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--light);
  color: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  background-color: var(--dark);
  color: var(--white);
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  width: 24px;
  border-radius: 4px;
  background-color: var(--dark);
}

/* Logos Marquee Horizontal Continuous Slide */
.logos-marquee-section {
  background-color: var(--white);
  padding: 60px 0;
  border-top: 1px solid var(--light);
  border-bottom: 1px solid var(--light);
  overflow: hidden;
}

.marquee-wrapper {
  max-width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 100px;
  animation: marquee 25s linear infinite;
  align-items: center;
}

.partner-logo {
  height: 48px;
  object-fit: contain;
  opacity: 0.45;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.partner-logo:hover {
  opacity: 0.85;
  filter: grayscale(0);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* CTA Call to Action Section */
.cta-section {
  position: relative;
  padding: 100px 0;
  color: var(--white);
  overflow: hidden;
}

.cta-bg-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.cta-section .section-container {
  position: relative;
  z-index: 2;
  padding: 0 60px;
}

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

.cta-copy {
  display: flex;
  flex-direction: column;
}

.cta-title {
  font-family: var(--font-serif);
  font-size: 3.8rem;
  line-height: 1.1;
  font-weight: 500;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.25rem;
  opacity: 0.9;
  margin-bottom: 40px;
}

.checklists {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 30px;
}

.checklists li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.1rem;
}

.check-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.cta-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.cta-card h3 {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  line-height: 1.2;
  font-weight: 500;
}

.cta-card p {
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.4;
}

.cta-card .btn {
  width: 100%;
}

/* Footer Section & Watermark */
.main-footer {
  background-color: #0b1112;
  color: rgba(255, 255, 255, 0.7);
  padding: 100px 0 30px 0;
  position: relative;
  overflow: hidden;
}

/* Giant brand background text */
.brand-watermark-wrap {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  text-align: center;
  pointer-events: none;
  z-index: 1;
}

.watermark-text {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 26vw;
  line-height: 0.8;
  letter-spacing: -2px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(80, 151, 161, 0.08) 68.37%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  display: block;
}

.footer-container {
  position: relative;
  z-index: 2;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  margin-bottom: 80px;
  gap: 60px;
}

.footer-brand {
  max-width: 400px;
}

.footer-brand .brand-name {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
}

.footer-brand .brand-tagline {
  font-size: 1rem;
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 80px;
}

.nav-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-column h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.nav-column a, .nav-column span {
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-column a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  font-size: 0.85rem;
}

.socials {
  display: flex;
  gap: 20px;
}

.socials a {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
}

.socials a:hover {
  color: var(--primary);
}

/* Interactive Modal Window */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 17, 18, 0.7);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: var(--white);
  border-radius: 16px;
  width: 100%;
  max-width: 650px;
  padding: 40px;
  position: relative;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.25);
  transform: translateY(30px);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--light);
  color: var(--dark-light);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--dark);
  color: var(--white);
}

.modal-header {
  margin-bottom: 24px;
}

.modal-header h2 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 8px;
}

.modal-header p {
  font-size: 0.95rem;
  color: #666;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 18px;
}

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

label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--black);
}

input, select, textarea {
  width: 100%;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid #d0d0d0;
  font-family: inherit;
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--black);
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(80, 151, 161, 0.15);
  outline: none;
}

.error-msg {
  font-size: 0.8rem;
  color: #d93025;
  display: none;
  margin-top: 2px;
}

.form-group.invalid input,
.form-group.invalid select {
  border-color: #d93025;
}

.form-group.invalid .error-msg {
  display: block;
}

.submit-btn {
  width: 100%;
  margin-top: 10px;
  position: relative;
}

.loading-spinner {
  display: none;
  animation: spin 1s linear infinite;
}

.submit-btn.loading span {
  display: none;
}

.submit-btn.loading .loading-spinner {
  display: inline-block;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

/* Success Screen inside Modal */
.success-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 2;
}

.success-screen.active {
  opacity: 1;
  visibility: visible;
}

.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #e6f7ec;
  color: #137333;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.success-screen h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--black);
  margin-bottom: 12px;
}

.success-screen p {
  font-size: 1rem;
  color: #555;
  max-width: 440px;
  margin-bottom: 30px;
}

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

/* Responsive Breakpoints */
@media (max-width: 1200px) {
  .section-container {
    padding: 60px 40px;
  }
  .header-container {
    padding: 0 40px;
  }
  .hero-container {
    padding: 120px 40px 0 40px;
  }
  .hero-title {
    font-size: 4rem;
  }
  .partners-grid,
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .partner-card {
    height: auto;
  }
  .why-komex-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .why-komex-visual {
    height: 400px;
  }
  .steps-grid,
  .bulk-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .logo-container {
    position: static;
    transform: none;
  }
  .nav-links.left-nav {
    display: none; /* Hide top links for hamburger / fallback nav */
  }
  .hero-container {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-end;
    height: auto;
    padding-bottom: 40px;
  }
  .hero-stats-card {
    width: 100%;
    margin-top: 40px;
  }
  .products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .filters-container {
    width: 100%;
    justify-content: space-between;
  }
  .featured-banner-block {
    height: auto;
    aspect-ratio: 16/10;
  }
  .banner-container {
    position: relative;
    bottom: auto;
    left: auto;
    width: 100%;
    padding: 20px;
  }
  .banner-glass-card {
    width: 100%;
  }
  .process-callout {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 30px;
  }
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-title {
    font-size: 2.8rem;
  }
  .checklists {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  .footer-nav {
    gap: 40px;
    flex-wrap: wrap;
  }
}

@media (max-width: 600px) {
  .section-container {
    padding: 40px 20px;
  }
  .header-container {
    padding: 0 20px;
  }
  .hero-container {
    padding: 100px 20px 0 20px;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .partners-grid,
  .products-grid,
  .steps-grid,
  .bulk-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 2.3rem;
  }
  .stats-number {
    font-size: 6rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .modal-content {
    padding: 24px;
  }
  .footer-bottom {
    flex-direction: column-reverse;
    gap: 20px;
    text-align: center;
  }
}