@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);
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--text-primary);
  line-height: 1.6;
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
}

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;
}
.badge-yellow {
  color: #ffcc00 !important;
  background-color: rgba(255, 204, 0, 0.15) !important;
  border-color: rgba(255, 204, 0, 0.4) !important;
  box-shadow: 0 0 12px rgba(255, 204, 0, 0.2);
}

/* 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)); }

/* Form Field Row */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.form-row .form-group {
  margin-bottom: 0;
}

/* 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: 2.8rem;
  max-width: 280px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  background-color: transparent;
  transition: var(--transition-normal);
}
.logo-img:hover {
  transform: scale(1.02);
}
.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 .badge {
  color: #ffcc00;
  background-color: rgba(255, 204, 0, 0.15);
  border: 1px solid rgba(255, 204, 0, 0.4);
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.2);
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}
.slide.active .slide-content .badge {
  transform: translateY(0);
  opacity: 1;
}
.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;
}

/* ==========================================================================
   CUSTOM STRUCTURED SELECT DROPDOWN COMPONENT
   ========================================================================== */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.visually-hidden-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

.custom-select-trigger {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  cursor: pointer !important;
  user-select: none !important;
  position: relative;
  background-color: var(--bg-primary) !important;
  transition: all var(--transition-normal);
}

.custom-select-trigger:focus,
.custom-select-wrapper.open .custom-select-trigger {
  outline: none;
  border-color: var(--accent) !important;
  box-shadow: 0 0 10px rgba(255, 106, 0, 0.25) !important;
}

.custom-select-wrapper.has-error .custom-select-trigger {
  border-color: #ef4444 !important;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25) !important;
}

.custom-select-value {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-right: 0.5rem;
}

.custom-select-value.placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.custom-select-arrow {
  color: var(--accent);
  font-size: 0.85rem;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.custom-select-wrapper.open .custom-select-arrow {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.custom-select-menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.15), 0 4px 6px -2px rgba(15, 23, 42, 0.05);
  max-height: 320px;
  overflow-y: auto;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  -webkit-overflow-scrolling: touch;
}

.custom-select-wrapper.open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Scrollbar styling for custom select */
.custom-select-menu::-webkit-scrollbar {
  width: 6px;
}
.custom-select-menu::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
.custom-select-menu::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 6px;
}
.custom-select-menu::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Group Title */
.custom-select-group-title {
  padding: 0.5rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.75px;
  text-transform: uppercase;
  color: var(--text-muted);
  background-color: #f8fafc;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid #f1f5f9;
}
.custom-select-group-title:first-child {
  border-top: none;
  border-radius: 9px 9px 0 0;
}

/* Option */
.custom-select-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.88rem;
  color: var(--text-primary);
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
  user-select: none;
}

.custom-select-option:hover,
.custom-select-option.focused {
  background-color: rgba(255, 106, 0, 0.08);
  color: var(--accent);
}

.custom-select-option.selected {
  background-color: rgba(255, 106, 0, 0.12);
  color: var(--accent);
  font-weight: 600;
}

.custom-option-icon {
  width: 1.25rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: color 0.15s ease;
}

.custom-select-option:hover .custom-option-icon,
.custom-select-option.selected .custom-option-icon {
  color: var(--accent);
}

.custom-option-text {
  flex: 1;
}

.custom-option-check {
  color: var(--accent);
  font-size: 0.8rem;
  opacity: 0;
  transition: opacity 0.15s ease;
  flex-shrink: 0;
}

.custom-select-option.selected .custom-option-check {
  opacity: 1;
}

.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);
}

/* Ensure mobile devices always render content immediately without waiting for scroll thresholds */
@media (max-width: 992px) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
  .quality-wrapper {
    grid-template-columns: 1fr !important;
    gap: 3rem !important;
  }
  .contact-wrapper {
    display: flex !important;
    flex-direction: column !important;
    gap: 2.5rem !important;
  }
  .contact-form-container {
    order: 1 !important;
    padding: 2.25rem 2rem !important;
    width: 100% !important;
  }
  .contact-info-block {
    order: 2 !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.1rem !important;
    max-width: 210px !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;
  }

  /* Contact Page Mobile Layout (768px and below) */
  .contact-wrapper {
    gap: 2rem !important;
  }
  .contact-form-container {
    padding: 1.5rem 1.25rem !important;
    border-radius: 12px !important;
    box-shadow: var(--shadow-sm);
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }
  .form-row .form-group {
    margin-bottom: 0 !important;
  }
  .contact-form-container .grid-2 {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }
  .contact-form-container .grid-2 .form-group {
    margin-bottom: 1.5rem !important;
  }
  .form-control {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
  }
  select.form-control {
    max-width: 100% !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  textarea.form-control {
    max-width: 100% !important;
    min-height: 100px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }
  .network-container {
    padding: 0 0.85rem;
  }
  .section-padding {
    padding: 2.5rem 0;
  }
  .contact-form-container {
    padding: 1.25rem 0.85rem !important;
    border-radius: 10px !important;
  }
  .contact-form-container h2 {
    font-size: 1.3rem !important;
    margin-bottom: 1.25rem !important;
  }
  .contact-method {
    gap: 0.85rem;
  }
  .contact-method-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.1rem;
    flex-shrink: 0;
  }
  .contact-method-content address,
  .contact-method-content p {
    font-size: 0.875rem;
    word-break: break-word;
  }
  .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;
  }
}

/* ==========================================================================
   LIGHT-THEMED CLIENT FOOTPRINT MAP DASHBOARD
   ========================================================================== */
.network-section {
  padding: 5rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}
.network-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.network-dashboard {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  background-color: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}
.map-column {
  position: relative;
  padding: 2.5rem;
  background-color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 560px;
}
.stats-column {
  background-color: #ffffff;
  padding: 2.5rem;
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 640px;
  overflow: hidden;
}

/* Map controls */
.map-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  z-index: 10;
}
.map-title h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.5px;
  margin: 0;
}
.map-filters {
  display: flex;
  gap: 0.5rem;
}
.filter-btn {
  background-color: #f1f5f9;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 4px 10px rgba(255, 106, 0, 0.25);
}

/* SVG Styling */
.india-svg-container {
  width: 100%;
  height: auto;
  max-width: 480px;
  position: relative;
}
.india-svg {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 10px rgba(15, 23, 42, 0.05));
}
.state-path {
  fill: #f1f5f9;
  stroke: #cbd5e1;
  stroke-width: 1.2px;
  transition: fill 0.3s cubic-bezier(0.16, 1, 0.3, 1), stroke 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

/* Light theme density color scale */
.state-path.density-high { fill: #93c5fd; }
.state-path.density-med { fill: #bfdbfe; }
.state-path.density-low { fill: #eff6ff; }

.state-path:hover {
  fill: rgba(255, 106, 0, 0.2) !important;
  stroke: var(--accent) !important;
  stroke-width: 2.2px !important;
  filter: drop-shadow(0 0 8px rgba(255, 106, 0, 0.3));
}
.state-path.active {
  fill: rgba(255, 106, 0, 0.35) !important;
  stroke: var(--accent) !important;
  stroke-width: 2.5px !important;
  filter: drop-shadow(0 0 10px rgba(255, 106, 0, 0.4));
}

/* Pin Glow Animations */
.map-pin {
  pointer-events: none;
}
.pin-glow-red {
  fill: #ef4444;
  pointer-events: none;
}

/* Stats sidebar styling */
.stats-header {
  margin-bottom: 1.5rem;
}
.total-counter {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: #f8fafc;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  margin-bottom: 1.25rem;
}
.counter-icon {
  font-size: 1.75rem;
  color: var(--accent);
  background-color: rgba(255, 106, 0, 0.08);
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.counter-text h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.1;
  margin: 0;
}
.counter-text p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.15rem 0 0 0;
}

/* Search box */
.search-container {
  position: relative;
  margin-bottom: 1.25rem;
}
.search-input {
  width: 100%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border-radius: 8px;
  color: var(--text-primary);
  font-family: inherit;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}
.search-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.15);
}
.search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Scrollable state list */
.state-list-container {
  flex: 1;
  overflow-y: auto;
  padding-right: 0.25rem;
}
/* Scrollbar style */
.state-list-container::-webkit-scrollbar {
  width: 5px;
}
.state-list-container::-webkit-scrollbar-track {
  background: #f8fafc;
}
.state-list-container::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 10px;
}
.state-list-container::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

.state-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.85rem 1rem;
  border-radius: 8px;
  margin-bottom: 0.5rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.state-card:hover, .state-card.active {
  background-color: rgba(255, 106, 0, 0.04);
  border-color: rgba(255, 106, 0, 0.2);
  transform: translateX(4px);
}
.state-card-left h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}
.state-card-left p {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
  margin-bottom: 0;
}
.state-badge {
  background-color: #f1f5f9;
  color: var(--text-primary);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  min-width: 2.25rem;
  text-align: center;
  transition: all 0.2s ease;
  border: 1px solid var(--border-color);
}
.state-card:hover .state-badge, .state-card.active .state-badge {
  background-color: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* Interactive Tooltip (Appended to Body) */
.map-tooltip {
  position: absolute;
  background-color: rgba(15, 23, 42, 0.95);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.8rem;
  pointer-events: none;
  opacity: 0;
  z-index: 10000;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  border: 1px solid var(--accent);
  transform: translate(-50%, -100%) scale(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
  max-width: 240px;
}
.map-tooltip.active {
  opacity: 1;
  transform: translate(-50%, -100%) scale(1);
}
.tooltip-header {
  font-weight: 800;
  color: var(--accent);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.25rem;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}

/* Map Legend */
.map-legend {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}
.legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
  border: 1px solid var(--border-color);
}

/* Responsive overrides */
@media (max-width: 992px) {
  .network-dashboard {
    grid-template-columns: 1fr;
  }
  .stats-column {
    border-left: none;
    border-top: 1px solid var(--border-color);
    height: 500px;
    padding: 1.5rem;
  }
  .map-column {
    min-height: 480px;
    padding: 1.5rem;
  }
}

/* Mobile responsive scrollable filter buttons */
@media (max-width: 576px) {
  .map-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .map-filters {
    overflow-x: auto;
    width: 100%;
    padding-bottom: 0.4rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-wrap: nowrap !important;
  }
  .map-filters::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex: 0 0 auto;
  }
  .logo-img {
    height: 1.65rem !important;
    max-width: 170px !important;
  }
}

/* ==========================================================================
   NEWS & EVENTS SECTION STYLING
   ========================================================================== */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.event-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  background-color: var(--bg-glass);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-focus);
}

/* Event Date Box Badge */
.event-date-box {
  min-width: 84px;
  width: 84px;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(226, 232, 240, 0.8);
  flex-shrink: 0;
  background-color: #ffffff;
}
.event-date-header {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 0.35rem 0;
  text-transform: uppercase;
}
.event-date-body {
  background-color: #ffffff;
  color: #0f172a;
  font-size: 1.15rem;
  font-weight: 800;
  padding: 0.6rem 0;
  line-height: 1.25;
}

/* Event Content Details */
.event-info {
  flex-grow: 1;
}
.event-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.event-details-list {
  list-style: none;
  padding: 0;
  margin: 0 0 0.85rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.event-details-list li {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.event-details-list li i {
  color: var(--accent);
  font-size: 0.95rem;
}
.event-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

@media (max-width: 576px) {
  .event-card {
    flex-direction: column;
    padding: 1.25rem;
    gap: 1rem;
  }
  .event-date-box {
    display: flex;
    width: 100%;
    align-items: center;
    border-radius: 8px;
  }
  .event-date-header {
    width: 35%;
    padding: 0.5rem;
  }
  .event-date-body {
    width: 65%;
    padding: 0.35rem;
  }
}

/* ==========================================================================
   FLOATING CONTACT FORM BUTTON (BOTTOM-RIGHT)
   ========================================================================== */
.floating-contact-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: linear-gradient(135deg, #ff6a00 0%, #ee5a00 100%);
  color: #ffffff !important;
  text-decoration: none !important;
  padding: 0.8rem 1.4rem;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4), 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, opacity 0.3s ease, visibility 0.3s;
  cursor: pointer;
  animation: floatingPulseGlow 3s infinite ease-in-out;
}

@keyframes floatingPulseGlow {
  0% {
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4), 0 0 0 0 rgba(255, 106, 0, 0.5);
  }
  50% {
    box-shadow: 0 10px 28px rgba(255, 106, 0, 0.55), 0 0 0 10px rgba(255, 106, 0, 0);
  }
  100% {
    box-shadow: 0 8px 24px rgba(255, 106, 0, 0.4), 0 0 0 0 rgba(255, 106, 0, 0);
  }
}

.floating-contact-btn:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 32px rgba(255, 106, 0, 0.6), 0 4px 10px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #ff7a1a 0%, #e65c00 100%);
  color: #ffffff !important;
}

.floating-contact-btn:active {
  transform: translateY(-1px) scale(0.99);
}

.floating-btn-icon {
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-btn-text {
  white-space: nowrap;
}

.floating-btn-text-short {
  display: none;
}

.floating-contact-btn.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(15px);
}

/* Scroll margin so sticky header does not cover form when anchored */
#contact-form,
.contact-form-container {
  scroll-margin-top: 100px;
}

@media (max-width: 768px) {
  .floating-contact-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    padding: 0.7rem 1.15rem;
    font-size: 0.88rem;
  }
  .floating-btn-icon {
    font-size: 1rem;
  }
}

@media (max-width: 420px) {
  .floating-btn-text-full {
    display: none;
  }
  .floating-btn-text-short {
    display: inline;
  }
}


