/* ==========================================================================
   QUALITY GARAGE DOOR MANUFACTURER CO., LTD - STYLESHEET
   Accurate recreation of http://jsofor1328a2.iwopop.com/
   ========================================================================== */

:root {
  --color-primary: #164e87;        /* Brand Corporate Deep Blue */
  --color-primary-dark: #0f3862;
  --color-primary-light: #206ab6;
  --color-accent-red: #d32f2f;      /* Brand Red */
  --color-text-dark: #222222;
  --color-text-body: #555555;
  --color-text-light: #777777;
  --color-bg-light: #f7f9fc;
  --color-bg-white: #ffffff;
  --color-border: #e2e8f0;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.15);
  --font-main: 'Open Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Montserrat', sans-serif;
  --transition: all 0.25s ease-in-out;
}

/* Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  color: var(--color-text-body);
  background-color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==========================================================================
   1. FLOATING CONTACT WIDGET (RIGHT SIDE - EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
.floating-widget {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: 8px 0 0 8px;
  box-shadow: -3px 4px 18px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  overflow: visible;
  border: 1px solid #e5e7eb;
  border-right: none;
}

.widget-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 66px;
  padding: 12px 6px;
  color: #333333;
  border-bottom: 1px solid #f0f0f0;
  transition: var(--transition);
  position: relative;
  cursor: pointer;
}

.widget-item:last-child {
  border-bottom: none;
}

.widget-item:hover {
  background-color: #f0f5fa;
  color: var(--color-primary);
}

.widget-icon {
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* WeChat Hover QR Popover */
.wechat-popover {
  position: absolute;
  right: 72px;
  top: -20px;
  background: #ffffff;
  padding: 14px;
  border-radius: 8px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  border: 1px solid var(--color-border);
  display: none;
  width: 150px;
  text-align: center;
}

.wechat-popover::after {
  content: "";
  position: absolute;
  top: 35px;
  right: -8px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 8px solid #ffffff;
}

.qr-box p {
  font-size: 0.72rem;
  color: #555555;
  margin-top: 8px;
  line-height: 1.3;
}

.widget-wechat:hover .wechat-popover {
  display: block;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR & ADMIN TRIGGER
   ========================================================================== */
.site-topbar {
  background: #0d1e33;
  color: #94a3b8;
  font-size: 0.82rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.topbar-msg {
  color: #e2e8f0;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar-link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.8rem;
  transition: var(--transition);
}

.topbar-link:hover {
  color: #ffffff;
}

.topbar-admin-badge {
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(37, 99, 235, 0.5);
  color: #93c5fd;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.topbar-admin-badge:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.nav-admin-btn {
  background: #1e293b;
  color: #93c5fd;
  border: 1px solid #3b82f6;
  padding: 6px 12px;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  margin-left: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-admin-btn:hover {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

/* ==========================================================================
   2. HEADER & NAVIGATION (EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eef2f6;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
  padding: 0 40px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-graphic {
  display: flex;
  align-items: center;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1;
}

.blue-text {
  color: var(--color-primary);
}

.logo-sub {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-red);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Navigation */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-item {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
  padding: 10px 18px;
  border-radius: 3px;
  transition: var(--transition);
}

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

/* Home active button - exact blue block from screenshot */
.nav-item.active {
  background-color: var(--color-primary);
  color: #ffffff;
}

.nav-item.active:hover {
  background-color: var(--color-primary-dark);
  color: #ffffff;
}

/* Dropdown */
.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}

.arrow-down {
  font-size: 0.75rem;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 250px;
  box-shadow: var(--shadow-md);
  border-radius: 4px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border-top: 3px solid var(--color-primary);
  z-index: 50;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-family: var(--font-main);
  color: #444444;
  border-bottom: 1px solid #f8f9fa;
}

.dropdown-menu a:hover {
  background-color: #f0f5fa;
  color: var(--color-primary);
  padding-left: 24px;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background-color: var(--color-primary);
}

/* ==========================================================================
   3. HERO SLIDER BANNER (EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
.hero-slider {
  position: relative;
  height: 520px;
  overflow: hidden;
  background-color: #0b2545;
}

.slider-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
  display: flex;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

/* Split layout: Deep Blue on Left + House Image on Right */
.hero-split-left {
  width: 48%;
  height: 100%;
  background-color: #164e87;
}

.hero-split-right {
  width: 52%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

/* Framed Box Across Center (Exact match to screenshot) */
.hero-content-frame {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 82%;
  max-width: 1050px;
  pointer-events: none;
}

.hero-box-outline {
  border: 3px solid #ffffff;
  padding: 44px 50px;
  background: rgba(22, 78, 135, 0.45);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.hero-heading {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
  line-height: 1.25;
}

.hero-subheading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* Slider Pagination Dots (3 dots as seen in screenshot) */
.slider-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #ffffff;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: #ffffff;
}

.slide-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.3);
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: var(--transition);
  z-index: 10;
}

.slide-nav-btn:hover {
  background: var(--color-primary);
}

.slide-nav-btn.prev { left: 16px; }
.slide-nav-btn.next { right: 16px; }

/* ==========================================================================
   4. ABOUT SECTION: GARAGE DOOR MANUFACTURER (EXACT MATCH TO SCREENSHOT)
   ========================================================================== */
.section-about {
  padding: 85px 0 70px;
  background-color: #ffffff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

.section-main-heading {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.heading-underline {
  width: 60px;
  height: 3px;
  background-color: var(--color-primary);
  margin-bottom: 24px;
}

.heading-underline.center {
  margin: 12px auto 20px;
}

.about-lead {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #333333;
  margin-bottom: 16px;
  font-weight: 500;
}

.about-detail {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--color-text-body);
  margin-bottom: 24px;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 30px;
}

.highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #333333;
}

.highlight-icon {
  color: var(--color-primary);
  font-weight: bold;
}

.about-actions {
  display: flex;
  gap: 16px;
}

.btn-theme {
  display: inline-block;
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-theme:hover {
  background-color: var(--color-primary-dark);
  box-shadow: var(--shadow-md);
}

.btn-theme-outline {
  display: inline-block;
  background: transparent;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 10px 24px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.btn-theme-outline:hover {
  background-color: var(--color-primary);
  color: #ffffff;
}

/* About Photo Column with experience badge */
.about-img-col {
  position: relative;
}

.img-frame {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-photo {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.img-frame:hover .about-photo {
  transform: scale(1.03);
}

.experience-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 16px 22px;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.exp-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ==========================================================================
   5. STATS BAR
   ========================================================================== */
.stats-bar {
  background-color: #f4f7fa;
  padding: 40px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.stat-desc {
  font-size: 0.9rem;
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   6. PRODUCTS SECTION
   ========================================================================== */
.section-products {
  padding: 85px 0;
  background-color: #ffffff;
}

.section-title-wrap {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 40px;
}

.section-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-red);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.section-heading {
  font-size: 2.2rem;
  color: var(--color-primary);
  text-transform: uppercase;
  margin: 6px 0;
}

.section-sub {
  font-size: 1rem;
  color: var(--color-text-body);
}

/* Product Layout: Left Sidebar + Right Products Grid */
.products-layout-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 36px;
  align-items: start;
}

/* Left Sidebar */
.products-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 96px;
}

.sidebar-block {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: 1px solid var(--color-border);
  background-color: #fafbfc;
}

.product-filters.vertical-filters {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px;
  margin-bottom: 0;
}

.vertical-filters .filter-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  border-radius: 6px;
  padding: 12px 16px;
  font-size: 0.88rem;
  font-family: var(--font-heading);
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #334155;
  cursor: pointer;
  transition: var(--transition);
}

.vertical-filters .filter-btn:hover {
  background: #edf2f7;
  border-color: #cbd5e1;
  color: var(--color-primary);
}

.vertical-filters .filter-btn.active {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(22, 78, 135, 0.22);
}

.vertical-filters .filter-badge {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  background: #e2e8f0;
  color: #475569;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.vertical-filters .filter-btn.active .filter-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

/* Sidebar Showcase Card */
.sidebar-img-card {
  position: relative;
  height: 160px;
  overflow: hidden;
}

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

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

.sidebar-img-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-accent-red);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 2px;
}

.sidebar-info-body {
  padding: 20px;
}

.sidebar-info-title {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-weight: 700;
}

.sidebar-info-desc {
  font-size: 0.82rem;
  color: var(--color-text-body);
  line-height: 1.5;
  margin-bottom: 14px;
}

.sidebar-highlights {
  list-style: none;
  font-size: 0.8rem;
  color: #334155;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-highlights li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-highlights .check-mark {
  color: #10b981;
  font-weight: bold;
}

.sidebar-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 4px;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
  transition: var(--transition);
}

.sidebar-cta-btn:hover {
  background: var(--color-primary-dark);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* Right Content: Products on the Right Side */
.products-content-right {
  width: 100%;
  min-width: 0;
}

.products-content-right .products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary);
}

.card-img-wrap {
  position: relative;
  height: 240px;
  overflow: hidden;
}

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

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

.card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: #ffffff;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
}

.card-badge.luxury { background: #10b981; }
.card-badge.industrial { background: #f59e0b; }

.card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #111111;
  margin-bottom: 10px;
}

.product-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--color-text-body);
  margin-bottom: 16px;
  flex: 1;
}

.product-specs {
  list-style: none;
  font-size: 0.82rem;
  border-top: 1px solid #f0f0f0;
  padding-top: 12px;
  margin-bottom: 20px;
}

.product-specs li {
  margin-bottom: 6px;
  color: #444444;
}

.card-btn {
  display: block;
  text-align: center;
  background: #f0f4f8;
  color: var(--color-primary);
  padding: 10px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  transition: var(--transition);
}

.card-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
}

/* ==========================================================================
   7. HARDWARES SECTION
   ========================================================================== */
.section-hardwares {
  padding: 85px 0;
  background-color: var(--color-bg-light);
}

.hardware-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  align-items: center;
}

.hardware-img-panel {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hardware-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}

.hardware-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(11, 37, 69, 0.95) 100%);
  color: #ffffff;
  padding: 24px 20px 16px;
  display: flex;
  flex-direction: column;
}

.hardware-caption strong {
  font-size: 1.1rem;
  font-family: var(--font-heading);
}

.hardware-caption span {
  font-size: 0.82rem;
  color: #cbd5e1;
  margin-top: 4px;
}

.hardware-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hw-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  padding: 18px 20px;
  border-radius: 4px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.hw-item:hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.hw-icon {
  margin-top: 2px;
}

.hw-content h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.hw-content p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--color-text-body);
}

/* ==========================================================================
   8. FEATURES / ADVANTAGES
   ========================================================================== */
.section-features {
  padding: 85px 0;
  background-color: #ffffff;
}

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

.feature-card {
  text-align: center;
  padding: 32px 20px;
  background: #fafbfc;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  transition: var(--transition);
}

.feature-card:hover {
  background: #ffffff;
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.feature-icon-box {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #eaf1f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.feature-card p {
  font-size: 0.875rem;
  line-height: 1.6;
}

/* ==========================================================================
   9. LATEST BLOG & NEWS
   ========================================================================== */
.section-news {
  padding: 85px 0;
  background-color: var(--color-bg-light);
}

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

.news-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.news-img {
  position: relative;
  height: 200px;
}

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

.news-date {
  position: absolute;
  top: 12px;
  right: 12px;
  background: var(--color-primary);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 2px;
}

.news-body {
  padding: 22px;
}

.news-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #111111;
  line-height: 1.4;
}

.news-excerpt {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.6;
  margin-bottom: 14px;
}

.read-more {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.read-more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   10. CONTACT SECTION & INQUIRY FORM
   ========================================================================== */
.section-contact {
  padding: 90px 0;
  background: #164e87;
  color: #ffffff;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

.section-tag-light {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #93c5fd;
  letter-spacing: 1px;
}

.contact-heading {
  font-size: 2.1rem;
  color: #ffffff;
  margin: 10px 0 16px;
  line-height: 1.3;
}

.contact-intro {
  font-size: 1rem;
  color: #dbeafe;
  line-height: 1.7;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item strong {
  display: block;
  font-size: 0.85rem;
  color: #bfdbfe;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item p {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
}

/* Inquiry Form */
.inquiry-form {
  background: #ffffff;
  color: var(--color-text-dark);
  padding: 40px;
  border-radius: 6px;
  box-shadow: var(--shadow-lg);
}

.inquiry-form h3 {
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 4px;
}

.form-sub {
  font-size: 0.85rem;
  color: #666666;
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #333333;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--color-border);
  border-radius: 3px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  color: #333333;
  outline: none;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(22, 78, 135, 0.15);
}

.submit-btn {
  width: 100%;
  background: var(--color-primary);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: 3px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 8px;
}

.submit-btn:hover {
  background: var(--color-primary-dark);
}

.form-feedback {
  margin-top: 18px;
  padding: 16px 20px;
  border-radius: 6px;
  font-size: 0.92rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.form-feedback.success {
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}

.form-feedback.error {
  background: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

.form-feedback-ref {
  display: inline-block;
  margin-top: 6px;
  background: #047857;
  color: #ffffff;
  padding: 3px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

.input-error {
  border-color: #ef4444 !important;
  background-color: #fffbfa !important;
}

.field-error-text {
  display: block;
  color: #dc2626;
  font-size: 0.78rem;
  margin-top: 4px;
  font-weight: 600;
}

.btn-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  border-top-color: #ffffff;
  animation: spin 0.8s linear infinite;
  vertical-align: middle;
  margin-right: 8px;
}

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

/* Nav Inquiries Button */
.inquiries-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e2e8f0;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  padding: 7px 14px;
  border-radius: 20px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-left: 10px;
}

.inquiries-nav-btn:hover {
  background: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.count-pill {
  background: #dc2626;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 1px 7px;
  border-radius: 12px;
  min-width: 18px;
  text-align: center;
}

/* Modal Overlay & Container */
.inquiries-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: modalFadeIn 0.25s ease;
}

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

.inquiries-modal-container {
  background: #ffffff;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.25s ease;
}

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

.inquiries-modal-header {
  padding: 20px 28px;
  background: #0f172a;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title-group h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.backend-tag {
  background: #2563eb;
  color: #ffffff;
  font-size: 0.7rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  font-weight: 700;
}

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

.btn-icon {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-icon:hover {
  background: rgba(255, 255, 255, 0.25);
}

.btn-outline-sm {
  background: #10b981;
  color: #ffffff;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 700;
  transition: var(--transition);
}

.btn-outline-sm:hover {
  background: #059669;
}

.btn-close {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  transition: var(--transition);
}

.btn-close:hover {
  color: #ffffff;
}

.modal-stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 14px 28px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.stat-chip {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 10px 14px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.75rem;
  color: #64748b;
  text-transform: uppercase;
  font-weight: 600;
}

.stat-val {
  font-size: 1.3rem;
  font-weight: 800;
  color: #0f172a;
}

.modal-controls {
  padding: 14px 28px;
  display: flex;
  gap: 14px;
  align-items: center;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.search-input {
  flex: 1;
  padding: 8px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.88rem;
  outline: none;
}

.search-input:focus {
  border-color: #2563eb;
}

.filter-select {
  padding: 8px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 0.88rem;
  outline: none;
  background: #ffffff;
}

.inquiries-list-body {
  padding: 20px 28px;
  overflow-y: auto;
  flex: 1;
  max-height: 520px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.inquiry-card-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 18px;
  transition: all 0.2s ease;
  position: relative;
}

.inquiry-card-item:hover {
  border-color: #94a3b8;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08);
}

.inquiry-item-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.inquiry-client-meta h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.inquiry-ref {
  font-size: 0.78rem;
  background: #e0f2fe;
  color: #0369a1;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 700;
}

.inquiry-contacts {
  font-size: 0.82rem;
  color: #64748b;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.inquiry-contacts a {
  color: #2563eb;
  text-decoration: none;
}

.inquiry-contacts a:hover {
  text-decoration: underline;
}

.inquiry-item-product {
  margin: 10px 0;
  font-size: 0.88rem;
  color: #334155;
}

.inquiry-item-product strong {
  color: #0f172a;
}

.inquiry-item-msg {
  background: #f8fafc;
  border-left: 3px solid #cbd5e1;
  padding: 10px 14px;
  font-size: 0.88rem;
  color: #334155;
  border-radius: 0 4px 4px 0;
  line-height: 1.5;
  margin: 8px 0;
}

.inquiry-item-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid #f1f5f9;
}

.inquiry-time {
  font-size: 0.78rem;
  color: #94a3b8;
}

.inquiry-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 12px;
}

.status-new {
  background: #dbeafe;
  color: #1e40af;
}

.status-quoted {
  background: #dcfce7;
  color: #166534;
}

.status-contacted {
  background: #fef3c7;
  color: #92400e;
}

.status-closed {
  background: #f1f5f9;
  color: #475569;
}

.btn-action-status {
  padding: 4px 8px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 0.78rem;
  background: #ffffff;
  cursor: pointer;
}

.btn-del {
  background: #fee2e2;
  color: #dc2626;
  border: 1px solid #fecaca;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-del:hover {
  background: #dc2626;
  color: #ffffff;
}

.no-inquiries-msg {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 0.95rem;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0d2138;
  color: #94a3b8;
  padding: 65px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
}

.footer-about {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.slogan-badge {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #60a5fa;
}

.footer-heading {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary-light);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.88rem;
  color: #94a3b8;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-line {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.footer-contact-line strong {
  color: #e2e8f0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* ==========================================================================
   12. RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-slider {
    height: 460px;
  }
  .hero-heading {
    font-size: 1.85rem;
  }
  .hero-subheading {
    font-size: 0.95rem;
  }
  .products-layout-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .products-sidebar {
    position: static;
  }
  .about-grid, .hardware-grid, .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .products-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  .nav-menu {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 20px;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--color-border);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-slider {
    height: 380px;
  }
  .hero-split-left {
    display: none;
  }
  .hero-split-right {
    width: 100%;
  }
  .hero-content-frame {
    width: 92%;
  }
  .hero-box-outline {
    padding: 24px 20px;
  }
  .hero-heading {
    font-size: 1.4rem;
  }
  .hero-subheading {
    font-size: 0.8rem;
  }
  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid, .news-grid, .features-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom-inner {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
}
