@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN SYSTEM)
   ========================================================================== */
:root {
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Color Palette - Premium White/Light Slate Theme */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --bg-glass: #ffffff;
  
  --accent: #ff6a00;
  --accent-hover: #e65c00;
  --accent-light: rgba(255, 106, 0, 0.08);
  --accent-glow: rgba(255, 106, 0, 0.3);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  --border-color: #e2e8f0;
  --border-focus: rgba(255, 106, 0, 0.5);

  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  --shadow-glow: 0 0 15px rgba(255, 106, 0, 0.15);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max-width: 1280px;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
}

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

p {
  color: var(--text-secondary);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background: none;
  border: none;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-tertiary);
  border-radius: 5px;
  border: 2px solid var(--bg-primary);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ==========================================================================
   REUSABLE LAYOUTS & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center {
  text-align: center;
}

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

/* Badge / Tag */
.badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background-color: var(--accent-light);
  color: var(--accent);
  border: 1px solid rgba(255, 106, 0, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}

/* Section Header */
.section-header {
  max-width: 700px;
  margin: 0 auto 3.5rem auto;
}
.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.section-header h2 span {
  position: relative;
  display: inline-block;
}
.section-header h2 span::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}
.section-header p {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.btn-primary {
  background-color: var(--accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}
.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 106, 0, 0.5);
}
.btn-secondary {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}
.btn-secondary:hover {
  background-color: var(--bg-primary);
  border-color: var(--accent);
  transform: translateY(-2px);
}
.btn-outline {
  border: 1px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover {
  background-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

/* Cards Grid */
.grid {
  display: grid;
  gap: 2rem;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* Premium Card Design */
.card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.card-img-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  background-color: #000;
}
.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}
.card:hover .card-img-wrapper img {
  transform: scale(1.08);
}
.card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}
.card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}
.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* ==========================================================================
   NAVIGATION HEADER
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  transition: padding var(--transition-normal);
}
.header-scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-lg);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}
.logo span {
  color: var(--accent);
}
.logo-img {
  height: 3.2rem;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
}
.logo-icon {
  background: linear-gradient(135deg, var(--accent), #ff8533);
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.4);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
  color: var(--text-secondary);
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  transition: var(--transition-normal);
}
.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown styling */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.nav-dropdown:hover .nav-dropdown-toggle i {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 0;
  min-width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 100;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-item {
  display: block;
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  text-align: left;
  text-decoration: none;
}
.nav-dropdown-item:hover {
  background-color: var(--bg-secondary);
  color: var(--accent);
  padding-left: 1.75rem;
}

/* Desktop Submenu styling */
.nav-dropdown-submenu {
  position: relative;
}
.nav-submenu-menu {
  position: absolute;
  top: 0;
  left: 100%;
  transform: translateX(10px);
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 0.5rem 0;
  min-width: 260px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
  z-index: 110;
}
.nav-dropdown-submenu:hover .nav-submenu-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.nav-submenu-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.nav-dropdown-submenu:hover .nav-submenu-toggle {
  background-color: var(--bg-secondary);
  color: var(--accent);
  padding-left: 1.75rem;
}
.nav-submenu-toggle i {
  font-size: 0.7rem;
  transition: transform 0.2s;
}
.nav-dropdown-submenu:hover .nav-submenu-toggle i {
  transform: translateX(3px);
}

.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
}
.hamburger span {
  display: block;
  width: 28px;
  height: 3px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ==========================================================================
   DYNAMIC HERO SLIDER
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  background-color: #050608;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  z-index: 1;
  transition: opacity var(--transition-slow) ease-in-out;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 6s ease-in-out;
  z-index: 1;
}
.slide.active .slide-bg {
  transform: scale(1);
}
.slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(11, 13, 18, 0.4) 0%, rgba(11, 13, 18, 0.85) 100%);
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
  padding: 0 1.5rem;
  margin-top: 4rem;
}
.slide-content h1 {
  font-size: clamp(2.25rem, 5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
  color: #ffffff; /* Always white */
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}
.slide.active .slide-content h1 {
  transform: translateY(0);
  opacity: 1;
}
.slide-content p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #e2e8f0; /* Always light grey/white */
  margin-bottom: 2.5rem;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.4s;
}
.slide.active .slide-content p {
  transform: translateY(0);
  opacity: 1;
}
.slide-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s;
}
.slide.active .slide-actions {
  transform: translateY(0);
  opacity: 1;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 3.5rem;
  height: 3.5rem;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-normal);
  color: #ffffff;
}
.slider-arrow:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #ffffff;
  box-shadow: 0 0 15px var(--accent-glow);
}
.slider-arrow-prev { left: 2rem; }
.slider-arrow-next { right: 2rem; }


.slider-dots {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.75rem;
  z-index: 10;
}
.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all var(--transition-normal);
}
.slider-dot.active {
  background-color: var(--accent);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 10px var(--accent-glow);
}

/* ==========================================================================
   STATS SECTION
   ========================================================================== */
.stats {
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  margin-top: -3rem;
  z-index: 5;
  padding: 2rem 0;
}
.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(10px);
}
.stat-item {
  text-align: center;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}
.stat-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  font-weight: 500;
}

/* ==========================================================================
   VERTICALS / MAIN SECTORS
   ========================================================================== */
.vertical-card {
  padding: 2rem;
}
.vertical-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 8px;
  background-color: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
}

/* ==========================================================================
   QUALITY PROMISE
   ========================================================================== */
.quality-section {
  background-color: var(--bg-secondary);
}
.quality-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
}
.responsive-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.responsive-grid-1-12 {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.responsive-grid > *, 
.responsive-grid-1-12 > *, 
.quality-wrapper > *, 
.product-detail-grid > * {
  min-width: 0;
  max-width: 100%;
}
.quality-features {
  margin-top: 2rem;
  display: grid;
  gap: 1.5rem;
}
.quality-feature-item {
  display: flex;
  gap: 1rem;
}
.quality-feature-icon {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
  margin-top: 0.25rem;
}
.quality-feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.quality-visual {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
}
.quality-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================================================
   INTERACTIVE PRODUCT CATALOG (PRODUCTS.HTML)
   ========================================================================== */
.catalog-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}
.catalog-tab {
  padding: 0.75rem 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-normal);
  color: var(--text-secondary);
}
.catalog-tab:hover {
  color: var(--text-primary);
  border-color: var(--accent);
}
.catalog-tab.active {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 4px 15px rgba(255, 106, 0, 0.3);
}

.product-item {
  display: none;
}
.product-item.active {
  display: flex;
  animation: fadeIn 0.5s ease forwards;
}

/* Data Sheet Table CSS - Optimized for AEO/AIO */
.tech-table-container {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  margin-top: 1.5rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-primary);
}
.tech-table {
  width: 100%;
  min-width: 650px;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}
.tech-table th, .tech-table td {
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
}
.tech-table th {
  background-color: var(--bg-tertiary);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-weight: 600;
}
.tech-table tr:last-child td {
  border-bottom: none;
}
.tech-table tr:nth-child(even) {
  background-color: rgba(0, 0, 0, 0.02);
}

/* ==========================================================================
   SOLUTIONS DIAGRAMS & FLOWS (SOLUTIONS.HTML)
   ========================================================================== */
.process-flow {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
  margin-top: 3.5rem;
}
.flow-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  position: relative;
}
.flow-steps::before {
  content: '';
  position: absolute;
  top: 2.25rem;
  left: 10%;
  width: 80%;
  height: 2px;
  background: dashed var(--border-color);
  z-index: 1;
}
.flow-step {
  position: relative;
  z-index: 2;
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.flow-step-num {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glow);
  transition: all var(--transition-normal);
}
.flow-step:hover .flow-step-num {
  background-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}
.flow-step h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.flow-step p {
  font-size: 0.85rem;
  max-width: 200px;
}

/* ==========================================================================
   EXHIBITION GALLERY (GALLERY.HTML)
   ========================================================================== */
.gallery-grid {
  columns: 4 250px;
  column-gap: 1.5rem;
  margin-top: 2rem;
}
.gallery-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 1.5rem;
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
}
.gallery-item:hover {
  transform: scale(1.02);
  border-color: var(--accent-glow);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}
.gallery-item img {
  width: 100%;
  display: block;
}
.gallery-caption {
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  border-top: 1px solid var(--border-color);
}

/* ==========================================================================
   BLOG DETAILS & READ LAYOUT (BLOG.HTML)
   ========================================================================== */
.blog-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.blog-meta span {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.blog-read-btn {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: auto;
  cursor: pointer;
}
.blog-read-btn:hover {
  color: var(--accent-hover);
}

/* Individual Blog Page Article Layout */
.article-header {
  padding: 8rem 0 3rem 0;
  background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border-color);
}
.article-title h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}
.article-body {
  padding: 4rem 0;
  max-width: 800px;
  margin: 0 auto;
}
.article-body p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.75;
  color: var(--text-primary);
}
.article-body h2 {
  font-size: 1.75rem;
  margin: 2.5rem 0 1rem 0;
}
.article-body h3 {
  font-size: 1.35rem;
  margin: 2rem 0 1rem 0;
}
.article-body ul {
  list-style: square;
  margin-left: 2rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}
.article-body li {
  margin-bottom: 0.5rem;
}
.article-body blockquote {
  border-left: 4px solid var(--accent);
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--text-secondary);
}

/* ==========================================================================
   FAQ ACCORDION (FAQ.HTML)
   ========================================================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: grid;
  gap: 1.25rem;
}
.faq-item {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: all var(--transition-normal);
}
.faq-question {
  padding: 1.25rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  user-select: none;
}
.faq-question:hover {
  background-color: var(--bg-tertiary);
}
.faq-icon {
  transition: transform var(--transition-normal);
  color: var(--accent);
  font-size: 1.25rem;
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-normal) ease-out;
  padding: 0 1.75rem;
}
.faq-answer p {
  padding-bottom: 1.5rem;
  line-height: 1.6;
}
.faq-item.open {
  border-color: var(--accent-glow);
}
.faq-item.open .faq-icon {
  transform: rotate(45deg);
}
.faq-item.open .faq-answer {
  max-height: 500px; /* Large enough buffer */
}

/* ==========================================================================
   CONTACT FORM & INTEGRATIONS (CONTACT.HTML)
   ========================================================================== */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
}
.contact-info-block {
  display: grid;
  gap: 2rem;
}
.contact-method {
  display: flex;
  gap: 1.25rem;
}
.contact-method-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background-color: var(--accent-light);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  border: 1px solid rgba(255, 106, 0, 0.2);
  flex-shrink: 0;
}
.contact-method-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}
.contact-method-content address {
  font-style: normal;
  color: var(--text-secondary);
}

.contact-form-container {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 3rem;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 500;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 0.85rem 1.25rem;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-primary);
  transition: all var(--transition-normal);
}
.form-control:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.25);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.map-embed {
  margin-top: 4rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 21/9;
}
.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ==========================================================================
   MODAL LIGHTBOX
   ========================================================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 6, 8, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}
.lightbox.open .lightbox-img {
  transform: scale(1);
}
.lightbox-close {
  position: absolute;
  top: -3rem;
  right: 0;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  transition: transform var(--transition-normal);
}
.lightbox-close:hover {
  transform: rotate(90deg);
  color: var(--accent);
}
.lightbox-caption {
  color: var(--text-primary);
  margin-top: 1rem;
  font-size: 1rem;
  text-align: center;
}
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.5rem;
  color: #fff;
  cursor: pointer;
  transition: color var(--transition-normal);
  user-select: none;
}
.lightbox-arrow:hover {
  color: var(--accent);
}
.lightbox-arrow-left { left: -4rem; }
.lightbox-arrow-right { right: -4rem; }

/* ==========================================================================
   FOOTER SYSTEM
   ========================================================================== */
.footer {
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 4rem;
}
.footer-logo {
  margin-bottom: 1.5rem;
}
.footer-col h3 {
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}
.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  background-color: var(--accent);
}
.footer-links {
  display: grid;
  gap: 0.75rem;
}
.footer-link:hover {
  color: var(--accent);
  padding-left: 4px;
}
.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}
.social-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background-color: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-normal);
}
.social-icon:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(255, 106, 0, 0.4);
}
.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ==========================================================================
   ANIMATIONS & TRANSITIONS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .quality-wrapper, .contact-wrapper {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .gallery-grid {
    columns: 3 220px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 992px) {
  .section-padding {
    padding: 3.5rem 0;
  }
  .logo-img {
    height: 2.6rem !important;
  }
  .hamburger {
    display: flex !important;
  }
  .responsive-grid, .responsive-grid-1-12 {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .hero-slider {
    height: 60vh !important;
    min-height: 440px !important;
  }
  .slide-content {
    margin-top: 5.5rem !important;
    max-width: 100% !important;
    text-align: center !important;
    padding: 0 1rem !important;
  }
  .slide-content h1 {
    font-size: 1.6rem !important;
    margin-bottom: 0.5rem !important;
  }
  .slide-content p {
    font-size: 0.85rem !important;
    margin-bottom: 1.25rem !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }
  .slide-actions {
    display: flex !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    flex-wrap: wrap !important;
  }
  .slide-actions .btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.8rem !important;
    min-height: unset !important;
  }
  .slider-dots {
    bottom: 0.75rem !important;
  }
  .nav-menu {
    position: fixed;
    top: 4.5rem;
    left: -100%;
    width: 100%;
    height: calc(100vh - 4.5rem);
    background-color: var(--bg-primary);
    flex-direction: column;
    align-items: flex-start;
    padding: 2rem;
    gap: 1.5rem;
    transition: left var(--transition-normal) ease-in-out;
    border-top: 1px solid var(--border-color);
    overflow-y: auto;
  }
  .nav-menu.open {
    left: 0;
  }

  /* Mobile Dropdown Overrides */
  .nav-dropdown {
    width: 100%;
  }
  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
  }
  .nav-dropdown-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100% !important;
    margin-left: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
  .nav-dropdown.active .nav-dropdown-menu {
    max-height: 1500px !important;
    margin-top: 0.5rem !important;
  }
  .nav-dropdown.active .nav-dropdown-toggle i {
    transform: rotate(180deg) !important;
  }
  .nav-dropdown-item {
    padding: 0.5rem 0.75rem !important;
    font-size: 0.85rem !important;
    border-left: 2px solid var(--border-color) !important;
  }
  .nav-dropdown-item:hover {
    padding-left: 1rem !important;
    border-left-color: var(--accent) !important;
    background-color: transparent !important;
    color: var(--accent) !important;
  }

  /* Mobile Submenu overrides */
  .nav-dropdown-submenu {
    width: 100% !important;
  }
  .nav-dropdown-submenu:hover .nav-submenu-toggle {
    padding-left: 0.75rem !important;
    background-color: transparent !important;
    color: var(--text-secondary) !important;
  }
  .nav-dropdown-submenu.active .nav-submenu-toggle {
    color: var(--accent) !important;
  }
  .nav-submenu-menu {
    position: static !important;
    transform: none !important;
    left: auto !important;
    right: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    border: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    width: 100% !important;
    margin-left: 1rem !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.25rem !important;
    min-width: auto !important;
  }
  .nav-dropdown-submenu.active .nav-submenu-menu {
    max-height: 400px !important;
    margin-top: 0.25rem !important;
    margin-bottom: 0.5rem !important;
  }
  .nav-dropdown-submenu.active .nav-submenu-toggle i {
    transform: rotate(90deg) !important;
  }
  .slider-arrow {
    display: none; /* Hide slider side arrows on small screens */
  }
  .stats-container {
    padding: 1.5rem;
  }
  .flow-steps {
    flex-direction: column;
    align-items: center;
    gap: 3rem;
  }
  .flow-steps::before {
    display: none;
  }
  .gallery-grid {
    columns: 2 180px;
  }
  .lightbox-arrow {
    display: none;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.75rem;
  }
  .gallery-grid {
    columns: 1 100%;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}


/* ==========================================================================
   PRODUCT DETAIL RESPONSIVE GRID
   ========================================================================== */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}

.product-detail-left {
  position: sticky;
  top: 6rem;
  align-self: start;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-image-box {
  background-color: var(--bg-secondary);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.product-detail-actions {
  display: flex;
  gap: 1rem;
  width: 100%;
}

.product-detail-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.85rem 1rem !important;
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 992px) {
  .product-detail-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }
  .product-detail-left {
    position: static !important;
    align-self: stretch !important;
    width: 100% !important;
    margin-bottom: 2rem !important;
  }
  .product-detail-image-box {
    padding: 1.5rem !important;
  }
  .product-detail-image-box img {
    max-height: 40vh !important;
  }
  .product-detail-actions {
    flex-wrap: wrap !important;
  }
  .product-detail-actions .btn {
    flex: 1 1 100% !important;
  }
}
