/**
 * ==========================================================================
 *    DESIGN SYSTEM & VARIABLES
 *    ==========================================================================
 *
 * @format
 */

/* Font Awesome 6 Font Display Swap Overrides */
@font-face {
  font-family: 'Font Awesome 6 Free';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('webfonts/fa-solid-900.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Awesome 6 Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('webfonts/fa-brands-400.woff2') format('woff2');
}

:root {
  /* Color Palette */
  --primary-color: #0f172a;
  /* Slate 900 - Industrial strength base */
  --primary-light: #1e293b;
  /* Slate 800 - Contrast background */
  --primary-dark: #020617;
  /* Slate 950 - Strong deep black */
  --accent-color: #b45309;
  /* Amber 700 - Warm wood composite accent */
  --accent-hover: #d97706;
  /* Amber 600 - Dynamic active copper */
  --accent-light: #fef3c7;
  /* Amber 100 - Soft tint for badges */
  --text-color: #334155;
  /* Slate 700 - Main body copy */
  --text-light: #64748b;
  /* Slate 500 - Subtitle & meta copy */
  --bg-light: #f8fafc;
  /* Slate 50 - Soft page background */
  --bg-dark: #0f172a;
  /* Dark background sections */
  --bg-card: #ffffff;
  /* Pure white for product & review cards */
  --border-color: #e2e8f0;
  /* Slate 200 - Clean structural borders */

  /* Typography */
  --font-heading:
    "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body:
    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 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 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
  --shadow-hover:
    0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Layout Constants */
  --header-height: 80px;
  --header-scroll-height: 70px;

  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
}

ul,
ol {
  list-style: none;
}

/* ==========================================================================
   REUSABLE LAYOUT & COMPONENTS
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Titles & Headers */
.section-header {
  margin-bottom: 60px;
  max-width: 700px;
}

.section-header.text-center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent-color);
  display: inline-block;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: var(--text-light);
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  font-size: 15px;
  font-family: var(--font-heading);
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

.btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--accent-hover);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(180, 83, 9, 0.35);
}

/* Reveal Animation Class */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.8s ease-out,
    transform 0.8s ease-out;
}

.reveal-on-scroll.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   1. MAIN HEADER (NAVIGATION)
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.main-header.scrolled {
  height: var(--header-scroll-height);
  background-color: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
}

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

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

.logo-icon {
  font-size: 28px;
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  height: 60px;
}

.logo-icon img {
  height: 100%;
}

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

.logo-title {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 20px;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.05em;
}

.logo-subtitle {
  font-size: 11px;
  font-weight: 600;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-top: 2px;
}

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

.nav-list {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-color);
  transition: var(--transition-smooth);
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Navigation Dropdown styling */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background-color: var(--primary-color);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-sm);
  min-width: 240px;
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-lg);
  z-index: 1000;
  margin-top: 10px;
}

.dropdown-menu li {
  width: 100%;
  margin: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  transition: var(--transition-smooth);
  text-align: left;
}

.dropdown-menu li a::after {
  display: none;
}

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

.nav-link i {
  font-size: 11px;
  margin-left: 4px;
  transition: var(--transition-smooth);
}

@media (min-width: 769px) {
  .nav-item.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
  }

  .nav-item.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
  }
}

/* Mobile Nav Button */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  z-index: 1100;
}

.mobile-nav-toggle .bar {
  height: 2px;
  width: 100%;
  background-color: #ffffff;
  transition: var(--transition-smooth);
  border-radius: 2px;
}

/* ==========================================================================
   2. HERO SLIDER
   ========================================================================== */
.hero-section {
  height: 90vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  padding: 0;
}

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

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    visibility 1s;
  display: flex;
  align-items: center;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.08);
  transition: transform 6s ease;
}

.hero-slide.active .slide-bg {
  transform: scale(1);
}

.slide-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
  color: #ffffff;
  opacity: 0;
  transform: translateY(40px);
  transition:
    transform 0.8s ease-out 0.5s,
    opacity 0.8s ease-out 0.5s;
}

.hero-slide.active .slide-content {
  opacity: 1;
  transform: translateY(0);
}

.slide-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(180, 83, 9, 0.2);
  border: 1px solid rgba(180, 83, 9, 0.4);
  color: var(--accent-hover);
  padding: 6px 16px;
  border-radius: 50px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.slide-desc {
  font-size: 18px;
  max-width: 650px;
  margin: 0 auto 36px auto;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  z-index: 10;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.slider-arrow:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-50%) scale(1.05);
}

.slider-arrow.prev {
  left: 32px;
}

.slider-arrow.next {
  right: 32px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 10;
}

.slider-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-dots .dot.active {
  background-color: var(--accent-color);
  width: 30px;
  border-radius: 10px;
}

/* ==========================================================================
   3. ABOUT SECTION
   ========================================================================== */
.about-section {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-lg);
}

.experience-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background-color: var(--primary-color);
  border-left: 5px solid var(--accent-color);
  padding: 24px 32px;
  border-radius: var(--border-radius-sm);
  color: #ffffff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  z-index: 5;
}

.experience-badge .years {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: var(--accent-hover);
}

.experience-badge .text {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.7);
}

.about-content {
  display: flex;
  flex-direction: column;
}

.about-highlight {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--primary-light);
  margin-bottom: 20px;
}

.about-text {
  color: var(--text-light);
  margin-bottom: 20px;
  font-size: 15px;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 20px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 44px;
  height: 44px;
  background-color: var(--accent-light);
  color: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.feature-info h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 16px;
  margin-bottom: 4px;
}

.feature-info p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

/* ==========================================================================
   4. PRODUCTS SECTION (STRICT EQUAL HEIGHT)
   ========================================================================== */
.products-section {
  background-color: var(--bg-light);
}

/* 
   We ensure strict equal height using:
   - grid-auto-rows: 1fr (ensures all tracks in a row are identical height)
   - display: flex; flex-direction: column; height: 100%; (forces card elements to scale)
*/
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 1fr;
  gap: 24px;
}

.product-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
  height: 100%;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-8px);
  border-color: rgba(180, 83, 9, 0.3);
  box-shadow: var(--shadow-hover);
}

.product-card-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-icon {
  width: 48px;
  height: 48px;
  background-color: #f1f5f9;
  color: var(--primary-light);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: var(--transition-smooth);
  position: absolute;
  top: 156px;
  right: 24px;
  box-shadow: var(--shadow-md);
  border: 2px solid #ffffff;
  z-index: 5;
}

.product-card:hover .product-icon {
  background-color: var(--accent-color);
  color: #ffffff;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 10px;
  line-height: 1.3;
}

.product-desc {
  font-size: 13.5px;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-tag {
  font-size: 11px;
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent-color);
  align-self: flex-start;
  padding: 4px 10px;
  background-color: var(--accent-light);
  border-radius: 4px;
}

/* ==========================================================================
   5. PROJECTS GALLERY & LIGHTBOX
   ========================================================================== */
.projects-section {
  background-color: #ffffff;
}

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

.project-item {
  position: relative;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.project-img-box {
  width: 100%;
  height: 100%;
}

.project-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top,
      rgba(15, 23, 42, 0.9) 0%,
      rgba(15, 23, 42, 0.3) 70%,
      rgba(15, 23, 42, 0) 100%);
  display: flex;
  align-items: flex-end;
  padding: 30px;
  opacity: 0;
  transition: var(--transition-smooth);
}

.project-info {
  width: 100%;
  transform: translateY(20px);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 6px;
}

.project-info p {
  font-size: 13px;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 12px;
}

.zoom-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

/* Hover effects */
.project-item:hover .project-img-box img {
  transform: scale(1.08);
}

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

.project-item:hover .project-info {
  transform: translateY(0);
}

.projects-more {
  margin-top: 48px;
  text-align: center;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(2, 6, 17, 0.96);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.active {
  display: flex;
}

.lightbox-container {
  position: relative;
  max-width: 80%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--border-radius-sm);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  animation: zoom-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes zoom-in {
  from {
    transform: scale(0.95);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 45px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 44px;
  font-weight: 300;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10200;
}

.lightbox-close:hover {
  color: var(--accent-color);
  transform: rotate(90deg);
}

/* Glassmorphic Arrows */
.lightbox-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 10100;
  backdrop-filter: blur(8px);
}

.lightbox-arrow:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  box-shadow: 0 0 15px rgba(180, 83, 9, 0.4);
}

.lightbox-arrow.prev {
  left: 40px;
}

.lightbox-arrow.next {
  right: 40px;
}

.lightbox-caption {
  margin-top: 20px;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 18px;
  text-align: center;
  max-width: 600px;
  line-height: 1.4;
}

.lightbox-counter {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* ==========================================================================
   6. TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-section {
  background-color: var(--bg-light);
}

.testimonials-container {
  max-width: 1080px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-card {
  width: 100%;
  flex-shrink: 0;
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.quote-icon {
  font-size: 40px;
  color: var(--accent-light);
  line-height: 1;
}

.testimonial-text {
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
  color: var(--text-color);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 16px;
  color: var(--primary-color);
}

.author-role {
  font-size: 13px;
  color: var(--text-light);
}

/* Controls */
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.test-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.test-arrow:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff;
}

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

.test-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.test-dots .dot.active {
  background-color: var(--accent-color);
  width: 24px;
  border-radius: 8px;
}

/* ==========================================================================
   7. FOOTER SECTION
   ========================================================================== */
.main-footer {
  background-color: var(--primary-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 0;
  border-top: 4px solid var(--accent-color);
}

.footer-top {
  padding: 80px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
}

.footer-logo img {
  height: 80px;
}

.footer-about-text {
  line-height: 1.6;
  margin-bottom: 24px;
  font-size: 14px;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: var(--border-radius-sm);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.social-links a:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 24px;
  position: relative;
  padding-bottom: 12px;
}

.footer-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: 14px;
}

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

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

.footer-contact li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--accent-color);
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.contact-text {
  font-size: 14px;
  line-height: 1.5;
}

.contact-text strong {
  color: #ffffff;
}

.contact-text a {
  transition: var(--transition-smooth);
}

.contact-text a:hover {
  color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
  background-color: rgba(2, 6, 17, 0.5);
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 13px;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON (STICKY)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25d366;
  color: #ffffff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition-smooth);
  animation: pulse-whatsapp 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  background-color: #1e293b;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-md);
  pointer-events: none;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

/* Tablet & Smaller Desktops */
@media (max-width: 1024px) {
  section {
    padding: 80px 0;
  }

  .slide-title {
    font-size: 42px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-img {
    height: 380px;
  }

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

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-col {
    max-width: 500px;
  }

  .testimonials-container {
    max-width: 95vw;
  }
}

/* Mobile Devices */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
    --header-scroll-height: 60px;
  }

  .main-header {
    background-color: #0f172a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #0f172a;
    padding: 40px 24px;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .nav-list {
    flex-direction: column;
    gap: 24px;
    width: 100%;
  }

  .nav-link {
    font-size: 18px;
    display: block;
    width: 100%;
  }

  /* Mobile dropdown menu styles */
  .nav-item.dropdown .dropdown-menu {
    position: static;
    transform: none;
    background-color: rgba(255, 255, 255, 0.03);
    border: none;
    border-left: 2px solid var(--accent-color);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    margin-top: 12px;
    margin-left: 8px;
    min-width: 100%;
    padding: 4px 0;
  }

  .nav-item.dropdown.active .dropdown-menu {
    display: block;
  }

  .nav-item.dropdown .dropdown-menu li a {
    font-size: 15px;
    padding: 10px 16px;
    color: rgba(255, 255, 255, 0.7);
  }

  .nav-item.dropdown .dropdown-menu li a:hover {
    color: #ffffff;
    background-color: transparent;
    padding-left: 20px;
  }

  .nav-item.dropdown.active .dropdown-toggle i {
    transform: rotate(180deg);
  }

  /* hamburger animate */
  .mobile-nav-toggle.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .mobile-nav-toggle.active .bar:nth-child(2) {
    opacity: 0;
  }

  .mobile-nav-toggle.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .slide-title {
    font-size: 32px;
  }

  .slide-desc {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .slider-arrow {
    width: 44px;
    height: 44px;
  }

  .slider-arrow.prev {
    left: 12px;
  }

  .slider-arrow.next {
    right: 12px;
  }

  .section-title {
    font-size: 28px;
  }

  .about-img {
    height: 280px;
  }

  .experience-badge {
    padding: 16px 24px;
    bottom: -12px;
    right: -12px;
  }

  .about-features {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    padding: 24px;
  }

  .testimonial-text {
    font-size: 15px;
  }

  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip {
    display: none;
    /* Hide tooltips on mobile touch */
  }

  /* Responsive Lightbox for Mobile */
  .lightbox-container {
    max-width: 95%;
  }

  .lightbox-arrow {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }

  .lightbox-arrow.prev {
    left: 10px;
  }

  .lightbox-arrow.next {
    right: 10px;
  }

  .lightbox-close {
    top: 15px;
    right: 20px;
    font-size: 34px;
  }
}

/* ==========================================================================
   SUBPAGE UTILITIES & LAYOUTS
   ========================================================================== */
.inner-hero {
  padding: 140px 0 80px 0;
  background-color: var(--primary-color);
  background-image: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.85)), url("images/about_showroom.png");
  background-size: cover;
  background-position: center;
  text-align: center;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.inner-hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.inner-hero-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.inner-hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 24px auto;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.breadcrumbs a {
  color: var(--accent-hover);
}

.breadcrumbs a:hover {
  color: #ffffff;
}

.breadcrumbs i {
  font-size: 10px;
}

/* Page Section */
.page-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.page-section.alt-bg {
  background-color: #ffffff;
}

/* Product Detail Grid */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: flex-start;
  margin-bottom: 60px;
}

.product-detail-grid.reverse {
  grid-template-columns: 0.9fr 1.1fr;
}

@media (max-width: 992px) {

  .product-detail-grid,
  .product-detail-grid.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.product-details-content h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 18px;
}

.product-details-content p {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.7;
  margin-bottom: 20px;
}

/* Feature Check List */
.features-check-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 24px 0;
}

.features-check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--text-color);
  font-weight: 500;
}

.features-check-list li i {
  color: #25d366;
  font-size: 16px;
}

/* Spec Table */
.spec-table-wrapper {
  overflow-x: auto;
  margin-top: 24px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  padding: 12px 18px;
  border-bottom: 1px solid var(--border-color);
}

.spec-table th {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
}

.spec-table tr:last-child td {
  border-bottom: none;
}

.spec-table tr:nth-child(even) td {
  background-color: var(--bg-light);
}

.spec-table td strong {
  color: var(--primary-color);
}

/* Image Visual Placeholders */
.product-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.placeholder-box {
  background-color: #ffffff;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.placeholder-box:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.placeholder-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.placeholder-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

.placeholder-spec-info {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  background-color: var(--bg-light);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
}

.real-image-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.real-image-container img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.real-image-container:hover img {
  transform: scale(1.03);
}

.real-image-caption {
  padding: 12px 18px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 13px;
}

.real-image-caption strong {
  color: var(--accent-hover);
}

/* Call to Action Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)), url("images/about_showroom.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sub-categories doors grid */
.doors-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.door-sub-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.door-sub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.door-sub-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.door-sub-desc {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Section Scroll Reveal / Lazy Loading Animation */
section.lazy-section {
  opacity: 0;
  color: var(--primary-color);
}

/* Image Visual Placeholders */
.product-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.placeholder-box {
  background-color: #ffffff;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 30px;
  text-align: center;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.placeholder-box:hover {
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.placeholder-tag {
  display: inline-block;
  background-color: var(--accent-light);
  color: var(--accent-color);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.placeholder-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.placeholder-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
}

.placeholder-spec-info {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  background-color: var(--bg-light);
  display: inline-block;
  padding: 4px 10px;
  border-radius: var(--border-radius-sm);
  border: 1px solid var(--border-color);
}

.real-image-container {
  border-radius: var(--border-radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  position: relative;
}

.real-image-container img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  transition: var(--transition-slow);
}

.real-image-container:hover img {
  transform: scale(1.03);
}

.real-image-caption {
  padding: 12px 18px;
  background-color: var(--primary-color);
  color: #ffffff;
  font-size: 13px;
}

.real-image-caption strong {
  color: var(--accent-hover);
}

/* Call to Action Section */
.cta-section {
  padding: 80px 0;
  background-color: var(--primary-color);
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.95)), url("images/about_showroom.png");
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.cta-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.cta-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #ffffff;
}

.cta-text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Sub-categories doors grid */
.doors-sub-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

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

.door-sub-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.door-sub-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent-color);
}

.door-sub-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.door-sub-desc {
  font-size: 14px;
  color: var(--text-color);
  line-height: 1.6;
}

/* Section Scroll Reveal / Lazy Loading Animation */
section.lazy-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

section.lazy-section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* About Approvals styling */
.about-approvals {
  margin-top: 32px;
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
}

.approvals-title {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.approvals-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.approval-tag {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: var(--border-radius-sm);
  font-size: 13px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  transition: var(--transition-smooth);
}

.approval-tag:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
  background-color: var(--accent-light);
}

/* ==========================================================================
   BLOGS & ARTICLES STYLING
   ========================================================================== */
.blog-section {
  padding: 100px 0;
  background-color: var(--bg-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.blog-card {
  background-color: var(--bg-card);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--accent-color);
}

.blog-card-img-link {
  display: block;
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.blog-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

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

.blog-card-content {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-meta i {
  color: var(--accent-color);
}

.blog-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--primary-color);
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.blog-card-title a {
  transition: var(--transition-smooth);
}

.blog-card-title a:hover {
  color: var(--accent-color);
}

.blog-card-excerpt {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.blog-card-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  margin-top: auto;
}

.blog-card-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent-color);
  transition: var(--transition-smooth);
}

.blog-card-more i {
  transition: var(--transition-smooth);
}

.blog-card-more:hover {
  color: var(--accent-hover);
}

.blog-card-more:hover i {
  transform: translateX(4px);
}

/* Detailed Blog Post CSS */
.blog-post-section {
  padding: 80px 0;
  background-color: var(--bg-card);
}

.blog-post-container {
  max-width: 850px;
  margin: 0 auto;
  padding: 0 24px;
}

.blog-post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.blog-post-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.blog-post-meta-item i {
  color: var(--accent-color);
}

.blog-post-content {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-color);
}

.blog-post-content p {
  margin-bottom: 24px;
}

.blog-post-content h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary-color);
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

.blog-post-content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-color);
  margin: 30px 0 15px 0;
  line-height: 1.3;
}

.blog-post-content ol,
.blog-post-content ul {
  margin-bottom: 24px;
  padding-left: 20px;
}

.blog-post-content li {
  margin-bottom: 12px;
}



/* Custom Table for Blog Post */
.blog-post-table-wrapper {
  margin: 35px 0;
  overflow-x: auto;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}

.blog-post-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 16px;
}

.blog-post-table th {
  background-color: var(--primary-color);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 14px 20px;
}

.blog-post-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.blog-post-table tr:last-child td {
  border-bottom: none;
}

.blog-post-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Quote Callout box */
.blog-post-callout {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent-color);
  padding: 24px;
  border-radius: 0 var(--border-radius-md) var(--border-radius-md) 0;
  margin: 35px 0;
}

.blog-post-callout-text {
  font-size: 18px;
  font-style: italic;
  color: var(--primary-color);
  line-height: 1.6;
  margin-bottom: 0 !important;
}

/* Back Link styling */
.blog-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: var(--transition-smooth);
}

.blog-back-btn:hover {
  color: var(--accent-color);
}

.blog-back-btn i {
  transition: var(--transition-smooth);
}

.blog-back-btn:hover i {
  transform: translateX(-4px);
}

/* ==========================================================================
   404 ERROR PAGE STYLING
   ========================================================================== */
.error-page-section {
  padding: 120px 0;
  text-align: center;
  background-color: var(--bg-light);
  min-height: calc(100vh - var(--header-height) - 400px);
  /* Fill screen height */
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-container {
  max-width: 600px;
  margin: 0 auto;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: var(--accent-color);
  margin-bottom: 20px;
  letter-spacing: -0.05em;
  text-shadow: 0 10px 20px rgba(180, 83, 9, 0.15);
}

.error-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
}

.error-desc {
  font-size: 16px;
  color: var(--text-light);
  margin-bottom: 32px;
  line-height: 1.6;
}

.error-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   FAQ PAGE STYLING
   ========================================================================== */
.faq-page-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

/* Search Container */
.faq-search-container {
  max-width: 800px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.faq-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.faq-search-wrapper .search-icon {
  position: absolute;
  left: 20px;
  color: var(--text-light);
  font-size: 18px;
  pointer-events: none;
}

#faq-search {
  width: 100%;
  padding: 16px 50px 16px 50px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--primary-color);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: var(--transition-smooth);
}

#faq-search:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 4px var(--accent-light), var(--shadow-md);
}

.search-clear-btn {
  position: absolute;
  right: 20px;
  color: var(--text-light);
  font-size: 18px;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.search-clear-btn:hover {
  color: var(--accent-color);
}

.search-results-info {
  margin-top: 12px;
  font-size: 14px;
  color: var(--text-light);
  font-weight: 500;
}

/* Layout */
.faq-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: start;
}

/* Sidebar Navigation */
.faq-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.sidebar-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-color);
}

.faq-sidebar-nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
  border-radius: var(--border-radius-sm);
  transition: var(--transition-smooth);
}

.sidebar-link i {
  font-size: 16px;
  width: 20px;
  text-align: center;
}

.sidebar-link:hover,
.sidebar-link.active {
  color: var(--accent-color);
  background-color: var(--accent-light);
}

/* Content List */
.faq-main-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.faq-category-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  scroll-margin-top: calc(var(--header-height) + 30px);
  padding: 0 0 20px 0;
}

.category-header {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  border-bottom: 2px solid var(--accent-light);
  padding-bottom: 8px;
}

/* FAQ Accordion Card */
.faq-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition-smooth);
}

.faq-item:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--border-color);
}

.faq-item.active {
  border-color: var(--accent-color);
  box-shadow: var(--shadow-md);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  outline: none;
  transition: var(--transition-smooth);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.4;
  transition: var(--transition-smooth);
}

.faq-item:hover .faq-question {
  color: var(--accent-color);
}

.faq-item.active .faq-question {
  color: var(--accent-color);
}

.faq-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--bg-light);
  border-radius: 50%;
  color: var(--text-light);
  font-size: 12px;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.faq-item:hover .faq-icon-wrapper {
  background-color: var(--accent-light);
  color: var(--accent-color);
}

.faq-item.active .faq-icon-wrapper {
  background-color: var(--accent-color);
  color: white;
  transform: rotate(180deg);
}

/* Panel transitions */
.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out;
}

.faq-answer {
  padding: 0 24px 24px 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
  border-top: 1px solid var(--border-color);
  padding-top: 20px;
}

.faq-answer p {
  margin-bottom: 12px;
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-answer-list {
  list-style: none;
  padding-left: 0;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-answer-list li {
  position: relative;
  padding-left: 24px;
}

.faq-answer-list li::before {
  content: "\f00c";
  /* FontAwesome check icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--accent-color);
  font-size: 14px;
}

/* Inline Link */
.inline-link {
  color: var(--accent-color);
  font-weight: 600;
  border-bottom: 1px dashed var(--accent-color);
}

.inline-link:hover {
  color: var(--accent-hover);
  border-bottom-style: solid;
}

/* Technical Specs Table styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
}

.faq-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.faq-table th {
  background-color: var(--primary-color);
  color: white;
  font-weight: 700;
  padding: 12px 16px;
  font-family: var(--font-heading);
}

.faq-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-color);
}

.faq-table tr:last-child td {
  border-bottom: none;
}

.faq-table tr:nth-child(even) {
  background-color: var(--bg-light);
}

/* Tags styles */
.faq-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
  align-items: center;
}

.tag-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
  margin-right: 4px;
  letter-spacing: 0.05em;
}

.tag {
  background-color: var(--bg-light);
  color: var(--text-light);
  border: 1px solid var(--border-color);
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 550;
  transition: var(--transition-smooth);
}

.faq-item:hover .tag {
  border-color: var(--accent-light);
}

/* Responsive Styles */
@media (max-width: 991px) {
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .faq-sidebar {
    position: sticky;
    top: calc(var(--header-height) - 10px);
    z-index: 10;
    padding: 12px;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    border-radius: var(--border-radius-sm);
  }

  .sidebar-title {
    display: none;
  }

  .faq-sidebar-nav ul {
    flex-direction: row;
    gap: 12px;
  }

  .sidebar-link {
    padding: 8px 16px;
    background-color: var(--bg-light);
    border: 1px solid var(--border-color);
  }

  .sidebar-link.active {
    background-color: var(--accent-color);
    color: white !important;
    border-color: var(--accent-color);
  }
}

@media (max-width: 575px) {
  .faq-page-section {
    padding: 40px 0;
  }

  .category-header {
    font-size: 20px;
  }

  .faq-question {
    font-size: 16px;
  }

  .faq-trigger {
    padding: 16px;
  }

  .faq-answer {
    padding: 0 16px 16px 16px;
    font-size: 14px;
  }

  #faq-search {
    font-size: 14px;
    padding: 12px 40px;
  }

  .faq-search-wrapper .search-icon {
    left: 15px;
    font-size: 16px;
  }

  .search-clear-btn {
    right: 15px;
    font-size: 16px;
  }
}