﻿/* Custom CSS for PT Guoweixing Plastic Trade Indonesia - GWX Polycarbonate */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary-blue: #17116B; /* Signature GWX Deep Royal Navy Blue */
  --primary-dark: #090145;
  --primary-light: #1b0aa8;
  --primary-subtle: #f0f3ff;
  --accent-blue: #2312bf;
  --accent-orange: #F4512A; /* Signature GWX Orange Accent */
  --accent-orange-hover: #d63715;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --bg-light: #f8faff;
  --border-color: #e2e8f0;
}

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

html {
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  max-width: 100%;
  width: 100%;
  position: relative;
}

/* Header & Navigation */
.header-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.header-nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav-link {
  color: #1e293b;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 8px 13px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  position: relative;
  border-radius: 8px;
  white-space: nowrap;
}

.nav-link:hover {
  color: #17116B;
  background-color: #f8fafc;
}

.nav-link.active {
  color: #17116B;
  font-weight: 600;
  background-color: #f0f3ff;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -20px;
  left: 12px;
  right: 12px;
  height: 3px;
  background: #17116B;
  border-radius: 3px 3px 0 0;
}

/* ==========================================================================
   GWX Design System: Unified Typography Hierarchy & Consistency
   ========================================================================== */
.gwx-h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem); /* 30px to 44px */
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--primary-blue);
}

.gwx-h2 {
  font-size: clamp(1.5rem, 3vw, 2rem); /* 24px to 32px */
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--primary-blue);
}

.gwx-h3 {
  font-size: clamp(1.125rem, 2vw, 1.25rem); /* 18px to 20px */
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: #0f172a;
}

.gwx-badge {
  font-size: 0.75rem; /* 12px */
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  line-height: 1;
}

.gwx-subtitle {
  font-size: clamp(0.875rem, 1.5vw, 1rem); /* 14px to 16px */
  font-weight: 400;
  line-height: 1.65;
  color: #475569;
}

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  box-shadow: 0 12px 30px -5px rgba(16, 2, 115, 0.16), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  padding: 8px 0;
  display: none;
  border: 1px solid #e0e7ff;
  border-top: 3px solid var(--primary-blue);
  z-index: 60;
  animation: fadeIn 0.2s ease-in-out;
}

.dropdown-container:hover .dropdown-menu {
  display: block !important;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  font-size: 14px;
  color: #475569;
  text-decoration: none;
  transition: all 0.15s ease;
}

.dropdown-item:hover {
  background: var(--primary-subtle);
  color: var(--primary-blue);
  padding-left: 22px;
}

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

/* Language Switcher Pill (Reference Style) */
.lang-switch-pill {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #cbd5e1;
  border-radius: 9999px;
  padding: 3px 12px;
  background-color: #ffffff;
  font-size: 12px;
  line-height: 1;
  user-select: none;
  transition: all 0.2s ease;
}

.lang-switch-pill:hover {
  border-color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}

.lang-switch-pill .lang-active {
  color: #0284c7;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.lang-switch-pill .lang-sep {
  margin: 0 6px;
  color: #cbd5e1;
}

.lang-switch-pill .lang-inactive {
  color: #64748b;
  font-weight: 500;
  cursor: pointer;
  transition: color 0.15s;
}

.lang-switch-pill .lang-inactive:hover {
  color: #0f172a;
}

/* Hero Section Split Slider Layout (Rooftop Style with GWX Brand) */
.hero-split-section {
  position: relative;
  width: 100%;
  background: #ffffff;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#heroSliderTrack {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.hero-nav-arrow {
  cursor: pointer;
  user-select: none;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.hero-nav-arrow:hover {
  background-color: #ffffff;
  color: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 10px 25px -5px rgba(2, 132, 199, 0.25);
}

.hero-dot {
  cursor: pointer;
  border: none;
  padding: 0;
}

/* Floating Contact & Chat buttons (bottom right) */
.floating-actions-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 12px;
}

.floating-contact-btn {
  background: #ffffff;
  color: var(--primary-blue);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 9999px;
  box-shadow: 0 4px 18px rgba(16, 2, 115, 0.18);
  border: 2px solid var(--primary-blue);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.floating-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 2, 115, 0.35);
  background: var(--primary-blue);
  color: #ffffff;
}

.floating-chat-bubble {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(16, 2, 115, 0.45);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid #ffffff;
  position: relative;
}

.floating-chat-bubble::after {
  content: '';
  position: absolute;
  top: 1px;
  right: 1px;
  width: 12px;
  height: 12px;
  background-color: var(--accent-orange);
  border: 2px solid #ffffff;
  border-radius: 50%;
}

.floating-chat-bubble:hover {
  transform: scale(1.12) rotate(5deg);
  box-shadow: 0 8px 25px rgba(16, 2, 115, 0.6);
}

/* Products 2x2 Grid Section */
.products-section-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--primary-blue);
  width: 100%;
}

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

/* ==========================================================================
   Product Catalog Compact 3-Column Grid (Modern Modular Style)
   ========================================================================== */
.product-compact-card {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.product-compact-card:hover {
  transform: translateY(-5px);
  border-color: #cbd5e1;
  box-shadow: 0 16px 32px -8px rgba(16, 2, 115, 0.16), 0 4px 12px rgba(16, 2, 115, 0.08);
}

.product-compact-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 259 / 174;
  overflow: hidden;
  background-color: #f8fafc;
}

.product-compact-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.product-compact-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: #ffffff;
  border-top: 1px solid #f1f5f9;
  min-height: 56px;
  transition: background-color 0.2s ease;
}

.product-compact-card:hover .product-compact-bar {
  background: #fafcff;
}

.product-compact-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.3;
  transition: color 0.2s ease;
}

.product-compact-card:hover .product-compact-title {
  color: #100273;
}

.product-compact-plus {
  font-size: 24px;
  font-weight: 400;
  color: #0284c7;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
}

.product-compact-card:hover .product-compact-plus {
  color: #F34926;
  background-color: #fff4f1;
  transform: rotate(90deg) scale(1.15);
}

.product-compact-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 6px 12px;
  border-radius: 6px;
  line-height: 1;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
}

.product-compact-card:hover .product-compact-btn,
.product-compact-btn:hover {
  background: #100273;
  color: #ffffff;
  border-color: #100273;
  transform: translateX(2px);
  box-shadow: 0 4px 12px rgba(16, 2, 115, 0.25);
}

.product-compact-btn svg {
  transition: transform 0.25s ease;
}

.product-compact-card:hover .product-compact-btn svg,
.product-compact-btn:hover svg {
  transform: translateX(2px);
}

.product-card {
  position: relative;
  background: #ffffff;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.2s ease;
  cursor: pointer;
  aspect-ratio: 512 / 267;
  width: 100%;
}

.product-card:hover {
  z-index: 5;
  filter: brightness(1.02);
  box-shadow: 0 10px 30px rgba(16, 2, 115, 0.18);
}

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

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

/* Product Card Overlay Content (Separated Title & Clickable Button) */
.product-overlay-info {
  position: absolute;
  top: 24%;
  left: 7%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  z-index: 10;
  pointer-events: auto;
}

.product-overlay-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
  user-select: none;
  transition: color 0.2s ease;
}

.product-card:hover .product-overlay-title {
  color: var(--primary-blue);
}

.product-overlay-btn {
  background: rgba(255, 255, 255, 0.96);
  border: 1.5px solid var(--primary-blue);
  color: var(--primary-blue);
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 6px rgba(16, 2, 115, 0.08);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-card:hover .product-overlay-btn,
.product-overlay-btn:hover {
  background: var(--primary-blue);
  color: #ffffff;
  border-color: var(--primary-blue);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 2, 115, 0.4);
}

@media (max-width: 1024px) {
  .product-overlay-info {
    top: 20%;
    left: 6.5%;
    gap: 10px;
  }
  .product-overlay-title {
    font-size: 26px;
  }
  .product-overlay-btn {
    font-size: 12px;
    padding: 5px 14px;
  }
}

@media (max-width: 640px) {
  .product-overlay-info {
    top: 18%;
    left: 6%;
    gap: 8px;
  }
  .product-overlay-title {
    font-size: 22px;
  }
  .product-overlay-btn {
    font-size: 11px;
    padding: 4px 12px;
  }
}

@media (max-width: 420px) {
  .product-overlay-info {
    top: 16%;
    left: 5%;
    gap: 6px;
  }
  .product-overlay-title {
    font-size: 19px;
  }
  .product-overlay-btn {
    font-size: 10px;
    padding: 3px 10px;
  }
}

/* About Us Section */
.about-section {
  padding: 70px 20px 50px;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.section-heading-blue {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.brand-heading-accent {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 auto 22px;
}

.brand-heading-bar {
  width: 46px;
  height: 3.5px;
  background: var(--primary-blue);
  border-radius: 4px;
}

.brand-heading-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-orange);
  border-radius: 50%;
}

.about-text {
  font-size: 16px;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
}

/* Project Gallery Section */
.project-gallery-section {
  padding: 50px 20px 65px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
  margin-bottom: 30px;
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.gallery-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(16, 2, 115, 0.08);
  border: none !important;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: block;
  width: 100%;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(16, 2, 115, 0.22);
  border-color: var(--primary-blue);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(16, 2, 115, 0.94) 0%, rgba(16, 2, 115, 0.52) 50%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px;
  text-align: left;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.gallery-subtitle {
  color: #c7d2fe;
  font-size: 11.5px;
  font-weight: 500;
}

.view-more-link {
  color: var(--primary-blue);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px 18px;
  border-radius: 6px;
  border: 1.5px solid var(--primary-blue);
  transition: all 0.2s ease;
}

.view-more-link:hover {
  color: #ffffff;
  background: var(--primary-blue);
  box-shadow: 0 4px 14px rgba(16, 2, 115, 0.3);
  transform: translateY(-1px);
}

/* Blog & News Section */
.blog-section {
  padding: 50px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 36px;
}

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

.blog-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease;
}

.blog-card:hover {
  transform: translateY(-4px);
}

.blog-thumbnail-wrapper {
  position: relative;
  aspect-ratio: 242 / 118;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-thumbnail-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-card:hover .blog-thumbnail-wrapper img {
  transform: scale(1.04);
}

.blog-content {
  padding: 16px 4px 0;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-title {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.2s ease;
}

.blog-card:hover .blog-title {
  color: var(--primary-blue);
}

.blog-excerpt {
  font-size: 13px;
  color: #64748b;
  line-height: 1.55;
  margin-bottom: 14px;
}

.blog-readmore {
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.blog-readmore:hover {
  gap: 8px;
  color: var(--primary-dark);
}

/* Our Clients Section */
.clients-section {
  padding: 40px 20px 60px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin-top: 30px;
  filter: grayscale(80%);
  opacity: 0.85;
  transition: all 0.3s ease;
}

.clients-grid:hover {
  filter: grayscale(0%);
  opacity: 1;
}

.client-logo-item {
  height: 42px;
  padding: 8px 16px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: #475569;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.client-logo-item:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  transform: translateY(-2px);
}

/* Modals */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalBackdropFade 0.2s ease;
}

.custom-modal-backdrop.active {
  display: flex;
}

.custom-modal-content {
  background: #ffffff;
  border-radius: 12px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  animation: modalPop 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

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

@keyframes modalPop {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  font-size: 18px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Specifications Table in Product Modal */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 13.5px;
}

.specs-table th, .specs-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
}

.specs-table th {
  background: #f8fafc;
  color: #475569;
  font-weight: 600;
  width: 38%;
}

.specs-table td {
  color: #1e293b;
}

/* WhatsApp Chat Drawer */
.chat-drawer {
  position: fixed;
  bottom: 84px;
  right: 24px;
  width: 340px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.2);
  border: 1px solid #e2e8f0;
  z-index: 120;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: drawerSlide 0.25s ease;
}

.chat-drawer.active {
  display: flex;
}

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

.chat-drawer-header {
  background: linear-gradient(135deg, var(--primary-blue), var(--primary-light));
  color: #ffffff;
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
   Comprehensive Responsive Breakpoints (Mobile, Tablet, Desktop)
   ========================================================================== */

/* Touch screen optimization for Hero Slider */
.hero-slider-wrapper {
  touch-action: none;
}

/* Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .hero-slider-wrapper {
    max-width: 100%;
  }

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

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

/* Mobile & Small Tablets (max-width: 768px) */
@media (max-width: 768px) {
  /* Hero Slider adjustments */
  .hero-slider-wrapper {
    min-height: 270px;
    height: 52vw;
    max-height: 400px;
    aspect-ratio: auto;
  }

  .badge-day, .badge-night {
    top: 14px;
    padding: 4px 10px;
    font-size: 11px;
    letter-spacing: 0.05em;
  }

  .badge-day {
    left: 14px;
  }

  .badge-night {
    right: 14px;
  }

  .slider-handle-circle {
    width: 38px;
    height: 38px;
    font-size: 12px;
  }

  /* Product Section: 1 Column on Mobile */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .product-card {
    max-width: 100%;
  }

  .product-details-action {
    top: 31%;
    left: 7%;
    font-size: 12px;
    padding: 4px 12px;
  }

  /* Gallery Always Visible Text on Mobile (no hover needed) */
  .gallery-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    padding: 10px;
  }

  .gallery-title {
    font-size: 12px;
  }

  .gallery-subtitle {
    font-size: 10px;
  }

  /* Blog Grid: 1 Column */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Modals: Mobile viewport friendly */
  .custom-modal-backdrop {
    padding: 12px;
  }

  .custom-modal-content {
    max-height: 92vh;
    padding: 18px 16px !important;
    border-radius: 12px;
  }

  .modal-close-btn {
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
  }

  /* Floating Buttons on Mobile */
  .floating-actions-container {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .floating-contact-btn {
    padding: 8px 14px;
    font-size: 12px;
  }

  .floating-chat-bubble {
    width: 44px;
    height: 44px;
  }

  /* WhatsApp Drawer on Mobile */
  .chat-drawer {
    width: calc(100vw - 32px);
    max-width: 350px;
    right: 16px;
    bottom: 74px;
  }
}

/* Extra Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .hero-slider-wrapper {
    min-height: 240px;
    height: 58vw;
  }

  .badge-day {
    top: 10px;
    left: 10px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .badge-night {
    top: 10px;
    right: 10px;
    padding: 3px 8px;
    font-size: 10px;
  }

  .slider-handle-circle {
    width: 34px;
    height: 34px;
  }

  .product-details-action {
    top: 29%;
    left: 6.5%;
    font-size: 10px;
    padding: 3px 9px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .section-heading-blue {
    font-size: 24px;
    margin-bottom: 14px;
  }

  .about-text {
    font-size: 14px;
    line-height: 1.65;
  }

  .client-logo-item {
    font-size: 12px;
    padding: 6px 12px;
    height: 36px;
  }
}

/* ==========================================================================
   Promo Campaign Modal & Banner Enhancements
   ========================================================================== */
@keyframes promoModalFadeIn {
  from {
    opacity: 0;
    transform: scale(0.96) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.animate-fade-in {
  animation: promoModalFadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

#promoModalCard {
  will-change: transform, opacity;
}

#promoCtaHotspot:focus-visible {
  outline: 3px solid #F4512A;
  outline-offset: 2px;
}

/* ==========================================================================
   FAQ Accordion & Spec Explorer Styles
   ========================================================================== */
.faq-accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  background-color: #ffffff;
  transition: all 0.25s ease;
  overflow: hidden;
}

.faq-accordion-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px -2px rgba(23, 17, 107, 0.06);
}

.faq-accordion-item.active {
  border-color: #17116B;
  box-shadow: 0 4px 16px -2px rgba(23, 17, 107, 0.08);
}

.faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 22px;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 700;
  color: #0f172a;
  transition: color 0.2s ease;
}

.faq-trigger:hover,
.faq-accordion-item.active .faq-trigger {
  color: #17116B;
}

.faq-icon {
  width: 18px;
  height: 18px;
  min-width: 18px;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #64748b;
}

.faq-accordion-item.active .faq-icon {
  transform: rotate(180deg);
  color: #F4512A;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 22px;
  color: #475569;
  font-size: 14.5px;
  line-height: 1.7;
}

.faq-accordion-item.active .faq-content {
  max-height: 500px;
  padding: 0 22px 20px 22px;
}

/* Spec Explorer Tabs */
.spec-tab-btn {
  padding: 10px 18px;
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 1px solid #e2e8f0;
  background-color: #f8fafc;
  color: #475569;
  cursor: pointer;
  white-space: nowrap;
}

.spec-tab-btn:hover {
  background-color: #f1f5f9;
  color: #17116B;
}

.spec-tab-btn.active {
  background-color: #17116B;
  border-color: #17116B;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 17, 107, 0.2);
}

/* ==========================================================================
   Article Detail Page Enhancements (Universal Layout & B2B Content Hub)
   ========================================================================== */
.article-body-wrapper {
  color: #334155;
  font-size: 1.03rem;
  line-height: 1.8;
}

.article-body-wrapper h2 {
  font-size: 1.55rem;
  font-weight: 800;
  color: #17116B;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid #f1f5f9;
  letter-spacing: -0.015em;
  scroll-margin-top: 100px;
}

.article-body-wrapper h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
  scroll-margin-top: 100px;
}

.article-body-wrapper h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #17116B;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.article-body-wrapper p {
  margin-bottom: 1.25rem;
}

.article-body-wrapper ul,
.article-body-wrapper ol {
  margin-bottom: 1.25rem;
  padding-left: 1.4rem;
}

.article-body-wrapper li {
  margin-bottom: 0.45rem;
}

/* Inline Prose Links Only */
.article-body-wrapper p a,
.article-body-wrapper li a {
  color: #17116B;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #cbd5e1;
  text-underline-offset: 3px;
  transition: all 0.2s ease;
}

.article-body-wrapper p a:hover,
.article-body-wrapper li a:hover {
  color: #F4512A;
  text-decoration-color: #F4512A;
}

/* Prevent unwanted underline on buttons, cards, pills and custom components */
.article-body-wrapper a,
.article-body-wrapper a:hover {
  text-decoration: none;
}

.article-body-wrapper a.no-underline,
.article-body-wrapper a[class*="rounded"],
.article-body-wrapper a[class*="btn"],
.article-body-wrapper .cta-dark-box a {
  text-decoration: none !important;
}

/* Final Conversion & Dark CTA Box in Articles */
.article-body-wrapper .cta-dark-box,
.cta-dark-box {
  background: linear-gradient(135deg, #17116B 0%, #0f0a4d 60%, #090145 100%) !important;
  color: #ffffff !important;
}

.article-body-wrapper .cta-dark-box h2,
.article-body-wrapper .cta-dark-box h3,
.article-body-wrapper .cta-dark-box h4,
.cta-dark-box h2,
.cta-dark-box h3,
.cta-dark-box h4 {
  color: #ffffff !important;
  border-bottom: none !important;
  margin-top: 0 !important;
  margin-bottom: 0.75rem !important;
  letter-spacing: -0.01em !important;
  -webkit-text-fill-color: #ffffff !important;
}

.article-body-wrapper .cta-dark-box p,
.cta-dark-box p {
  color: #e0e7ff !important;
  margin-bottom: 1.5rem !important;
}

.article-body-wrapper .cta-dark-box a.btn-cta-primary,
.cta-dark-box a.btn-cta-primary {
  color: #ffffff !important;
  background-color: #F4512A !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.article-body-wrapper .cta-dark-box a.btn-cta-primary:hover,
.cta-dark-box a.btn-cta-primary:hover {
  background-color: #d83817 !important;
  color: #ffffff !important;
}

.article-body-wrapper .cta-dark-box a.btn-cta-secondary,
.cta-dark-box a.btn-cta-secondary {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  text-decoration: none !important;
  -webkit-text-fill-color: #ffffff !important;
}

.article-body-wrapper .cta-dark-box a.btn-cta-secondary:hover,
.cta-dark-box a.btn-cta-secondary:hover {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}

/* Sticky Table of Contents (Desktop) */
.toc-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}

.toc-sticky::-webkit-scrollbar {
  width: 4px;
}

.toc-sticky::-webkit-scrollbar-thumb {
  background-color: #cbd5e1;
  border-radius: 4px;
}

.toc-item-link {
  display: block;
  font-size: 0.825rem;
  color: #64748b;
  padding: 0.4rem 0.6rem;
  border-radius: 0.375rem;
  border-left: 2px solid transparent;
  text-decoration: none !important;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.toc-item-link:hover {
  color: #17116B;
  background-color: #f8fafc;
  border-left-color: #F4512A;
}

.toc-item-link.active {
  color: #17116B;
  font-weight: 700;
  background-color: #f1f5f9;
  border-left-color: #17116B;
}

/* Callouts */
.callout-box {
  padding: 1.25rem 1.5rem;
  border-radius: 0.875rem;
  border-left-width: 4px;
  margin: 1.75rem 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

.callout-info {
  background-color: #f0f4ff;
  border-left-color: #17116B;
  color: #1e293b;
}

.callout-warning {
  background-color: #fff7ed;
  border-left-color: #F4512A;
  color: #9a3412;
}

.callout-disclaimer {
  background-color: #f8fafc;
  border-left-color: #94a3b8;
  color: #475569;
  font-size: 0.875rem;
}

/* Responsive Table Container */
.article-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.75rem 0;
  border-radius: 0.875rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.article-table-responsive table {
  width: 100%;
  min-width: 600px;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.article-table-responsive th {
  background-color: #17116B;
  color: #ffffff;
  padding: 0.85rem 1rem;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.article-table-responsive td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  vertical-align: top;
}

.article-table-responsive tr:nth-child(even) td {
  background-color: #f8fafc;
}

.article-table-responsive tr:hover td {
  background-color: #eff6ff;
}

/* Checklist items */
.b2b-checklist {
  list-style: none !important;
  padding-left: 0 !important;
}

.b2b-checklist li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.b2b-checklist li::before {
  content: "âœ“";
  position: absolute;
  left: 0.25rem;
  top: 0;
  color: #10b981;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Official GWX Deep Navy Brand Footer Background */
.footer-bg {
  background: linear-gradient(180deg, #0e0a42 0%, #09062b 50%, #040215 100%) !important;
  border-top: 4px solid #17116B !important;
}





/* Gallery Mixed Aspect Ratios (Native CSS) */
.gallery-portrait {
  aspect-ratio: 9 / 16 !important;
  width: 100% !important;
  display: block !important;
}

.gallery-landscape {
  aspect-ratio: 16 / 9 !important;
  width: 100% !important;
  display: block !important;
}