/* ==========================================================================
   Liteline Electric Inc. - Modern Responsive Stylesheet
   Pure CSS with CSS Custom Properties (Variables)
   ========================================================================== */

:root {
  /* Brand Colors */
  --liteline-navy: #001F49;
  --liteline-navy-hover: #001430;
  --liteline-orange: #ea550b;
  --liteline-orange-hover: #d04604;
  --liteline-orange-light: rgba(234, 85, 11, 0.1);
  --trust-green: #10b981;
  --trust-green-hover: #059669;
  --trust-green-light: rgba(16, 185, 129, 0.12);

  /* Neutrals */
  --bg-white: #ffffff;
  --bg-slate-50: #f8fafc;
  --bg-slate-100: #f1f5f9;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border-color: #e2e8f0;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

  /* Layout */
  --max-width: 1280px;
  --header-height: 68px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 0;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 56px;
    /* Space for mobile floating bottom bar */
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Section Common */
.section {
  padding: 5rem 0;
}

.bg-slate {
  background-color: var(--bg-slate-50);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.5rem auto;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--liteline-navy);
  margin-bottom: 1rem;
  line-height: 1.25;
}

.section-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1.85rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

.highlight-orange {
  color: var(--liteline-orange);
  font-weight: 600;
}

/* Typography & Utilities */
.text-navy {
  color: var(--liteline-navy);
}

.text-orange {
  color: var(--liteline-orange);
}

.text-green {
  color: var(--trust-green);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--liteline-orange);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(234, 85, 11, 0.35);
}

.btn-primary:hover {
  background-color: var(--liteline-orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 85, 11, 0.45);
}

.btn-secondary {
  background-color: var(--liteline-navy);
  color: #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover {
  background-color: var(--liteline-navy-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.9rem;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background-color: #ffffff;
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
}

/* Hide on scroll down only on mobile devices to save screen space */
@media (max-width: 768px) {
  .header.hidden-scroll {
    transform: translateY(-100%);
  }
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-img {
  height: 42px;
  width: auto;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-weight: 600;
  color: #334155;
  transition: color 0.2s;
  font-size: 0.95rem;
}

.nav-link:hover {
  color: var(--liteline-orange);
}

.header-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  color: var(--liteline-navy);
  font-size: 0.95rem;
  transition: color 0.2s;
}

.header-phone:hover {
  color: var(--liteline-orange);
}

.menu-toggle {
  display: none;
  padding: 0.5rem;
  color: var(--liteline-navy);
}

@media (max-width: 991px) {
  .nav-desktop {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .header-quote-btn {
    display: none;
  }
}

@media (max-width: 768px) {
  .logo-img {
    height: 36px;
  }
}

@media (max-width: 640px) {
  .header-phone {
    display: none;
  }
}

/* Mobile Drawer (Sidebar) */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 290px;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.drawer-close {
  align-self: flex-end;
  color: var(--text-muted);
  padding: 0.5rem;
  font-size: 1.5rem;
  line-height: 1;
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 2rem;
}

.drawer-nav a {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--liteline-navy);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  transition: color 0.2s;
}

.drawer-nav a:hover {
  color: var(--liteline-orange);
}

.drawer-cta {
  margin-top: 2rem;
  width: 100%;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  position: relative;
  padding-top: calc(var(--header-height) + 4.5rem);
  padding-bottom: 5.5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #ffffff;
  text-align: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(0, 15, 35, 0.65), rgba(0, 15, 35, 0.72));
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.1rem;
  }
}

.hero-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #f1f5f9;
  margin-bottom: 2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* Trust Badges */
.trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  background: #ffffff;
  color: var(--liteline-navy);
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.badge:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.badge-green {
  color: #0f8758;
}

.badge-yellow {
  color: #b45309;
}

.stars-container {
  display: inline-flex;
  gap: 2px;
  color: #eab308;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

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

.service-card {
  background-color: var(--bg-slate-50);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
  border: 1px solid rgba(226, 232, 240, 0.8);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  background-color: #ffffff;
  border-color: #cbd5e1;
}

.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: var(--liteline-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 4px 12px rgba(234, 85, 11, 0.3);
  transition: transform 0.3s;
}

.service-card:hover .service-icon-wrap {
  transform: scale(1.08);
}

.service-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--liteline-navy);
  margin-bottom: 0.6rem;
}

.service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* Mobile Compact 2-Column Grid (<= 768px) */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .service-card {
    padding: 1.25rem 0.85rem;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .service-icon-wrap {
    width: 46px;
    height: 46px;
    margin-bottom: 0.75rem;
    box-shadow: 0 3px 8px rgba(234, 85, 11, 0.25);
  }

  .service-icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .service-title {
    font-size: 0.96rem;
    line-height: 1.25;
    margin-bottom: 0.4rem;
  }

  .service-desc {
    font-size: 0.78rem;
    line-height: 1.4;
  }
}

@media (max-width: 360px) {
  .services-grid {
    gap: 0.5rem;
  }

  .service-card {
    padding: 1rem 0.5rem;
  }

  .service-icon-wrap {
    width: 40px;
    height: 40px;
    margin-bottom: 0.5rem;
  }

  .service-icon-wrap svg {
    width: 20px;
    height: 20px;
  }

  .service-title {
    font-size: 0.88rem;
  }

  .service-desc {
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   Why Choose Us Section
   ========================================================================== */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

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

.benefit-card {
  text-align: center;
  padding: 1.5rem 1rem;
  transition: transform 0.3s;
}

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

.benefit-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s;
}

.benefit-card:hover .benefit-icon-wrap {
  transform: scale(1.08);
}

.bg-green-icon {
  background-color: var(--trust-green);
}

.bg-navy-icon {
  background-color: var(--liteline-navy);
}

.bg-orange-icon {
  background-color: var(--liteline-orange);
}

.bg-yellow-icon {
  background-color: #eab308;
}

.benefit-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--liteline-navy);
  margin-bottom: 0.75rem;
}

.benefit-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Mobile Horizontal Slider (<= 768px) */
.benefits-dots {
  display: none;
}

@media (max-width: 768px) {
  .benefits-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    gap: 1.25rem;
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    padding: 0.5rem 1.5rem 1.25rem 1.5rem;
    scroll-padding: 0 1.5rem;
    scrollbar-width: none;
    /* Firefox */
  }

  .benefits-grid::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari & Edge */
  }

  .benefit-card {
    flex: 0 0 82%;
    max-width: 320px;
    min-width: 250px;
    scroll-snap-align: start;
    background: #ffffff;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 14px -2px rgba(0, 31, 73, 0.08);
    padding: 2rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
  }

  .benefit-card.fade-up {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .benefit-icon-wrap {
    width: 64px;
    height: 64px;
    margin-bottom: 1.25rem;
  }

  .benefit-icon-wrap svg {
    width: 32px;
    height: 32px;
  }

  .benefit-title {
    font-size: 1.18rem;
    margin-bottom: 0.6rem;
  }

  .benefit-desc {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .benefits-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.85rem;
  }

  .benefit-dot {
    width: 8px;
    height: 8px;
    border-radius: var(--radius-full);
    background-color: #cbd5e1;
    border: none;
    padding: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
  }

  .benefit-dot.active {
    width: 24px;
    border-radius: 4px;
    background-color: var(--liteline-orange);
  }
}

/* ==========================================================================
   Fleet & Mobile Service Showcase (The Liteline Electric Difference)
   ========================================================================== */
.fleet-showcase {
  margin-top: 4.5rem;
  position: relative;
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 42%, #f1f5f9 78%, rgba(234, 85, 11, 0.05) 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(226, 232, 240, 0.85);
  box-shadow: 0 20px 48px -12px rgba(0, 31, 73, 0.09), 0 8px 24px -4px rgba(234, 85, 11, 0.05), 0 0 0 1px rgba(255, 255, 255, 0.8);
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  overflow: hidden;
}

.fleet-showcase::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--liteline-orange) 0%, #f97316 45%, var(--liteline-navy) 100%);
  z-index: 3;
}

.fleet-content {
  padding: 3.5rem 3.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fleet-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--liteline-orange-light);
  color: var(--liteline-orange);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.fleet-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--liteline-navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}

.fleet-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.fleet-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.fleet-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.fleet-feature-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  border-radius: 12px;
  background-color: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0, 31, 73, 0.04);
  color: var(--liteline-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: var(--transition);
}

.fleet-feature-item:hover .fleet-feature-icon {
  background-color: var(--liteline-orange);
  border-color: var(--liteline-orange);
  color: #ffffff;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(234, 85, 11, 0.25);
}

.fleet-feature-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.fleet-feature-text strong {
  font-size: 1.02rem;
  color: var(--liteline-navy);
  font-weight: 700;
}

.fleet-feature-text span {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.fleet-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.btn-secondary-outline {
  background-color: #ffffff;
  color: var(--liteline-navy);
  border: 2px solid var(--border-color);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.btn-secondary-outline:hover {
  border-color: var(--liteline-navy);
  background-color: var(--liteline-navy);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.fleet-visual {
  min-height: 460px;
  position: relative;
  background-color: var(--bg-slate-100);
  overflow: hidden;
}

.fleet-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 31, 73, 0.4) 0%, transparent 40%), linear-gradient(to right, rgba(0, 31, 73, 0.1) 0%, transparent 25%);
  pointer-events: none;
}

.fleet-img-wrap {
  width: 100%;
  height: 100%;
  position: relative;
}

.fleet-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fleet-showcase:hover .fleet-img {
  transform: scale(1.03);
}

.fleet-img-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(0, 31, 73, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.fleet-img-badge svg {
  color: var(--trust-green);
}

@media (max-width: 1024px) {
  .fleet-showcase {
    grid-template-columns: 1fr;
    margin-top: 3.5rem;
  }

  .fleet-content {
    padding: 2.75rem 2rem;
  }

  .fleet-visual {
    min-height: 380px;
    max-height: 440px;
    order: -1;
  }

  .fleet-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .fleet-showcase {
    margin-top: 2.5rem;
    border-radius: var(--radius-md);
  }

  .fleet-content {
    padding: 1.75rem 1.25rem;
  }

  .fleet-visual {
    min-height: 280px;
    max-height: 340px;
  }

  .fleet-title {
    font-size: 1.45rem;
  }

  .fleet-desc {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .fleet-actions {
    flex-direction: column;
    width: 100%;
  }

  .fleet-actions .btn {
    width: 100%;
  }

  .fleet-img-badge {
    bottom: 1rem;
    left: 1rem;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
  }
}

/* ==========================================================================
   Portfolio Section & Pagination & Lightbox
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

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

@media (max-width: 768px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.75rem;
  }

  .portfolio-item {
    border-radius: var(--radius-md);
  }

  .portfolio-zoom-icon {
    width: 36px;
    height: 36px;
  }

  .portfolio-zoom-icon svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 360px) {
  .portfolio-grid {
    gap: 0.5rem;
  }
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--bg-slate-100);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 73, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.portfolio-zoom-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: var(--liteline-orange);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.06);
}

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

.portfolio-item:hover .portfolio-zoom-icon {
  transform: scale(1);
}

/* Pagination Controls */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  background-color: #ffffff;
  color: var(--text-dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}

.page-btn:hover:not(:disabled) {
  border-color: var(--liteline-orange);
  color: var(--liteline-orange);
  background-color: var(--liteline-orange-light);
}

.page-btn.active {
  background-color: var(--liteline-orange);
  color: #ffffff;
  border-color: var(--liteline-orange);
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .page-btn {
    min-width: 36px;
    height: 36px;
    padding: 0 0.55rem;
    font-size: 0.88rem;
    border-radius: var(--radius-sm);
  }

  .pagination {
    gap: 0.35rem;
  }
}

@media (max-width: 420px) {
  .page-nav-text {
    display: none;
  }
}

/* Lightbox Modal */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 15, 35, 0.92);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 1.5rem;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-container {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
  padding: 0.5rem;
  transition: color 0.2s;
}

.lightbox-close:hover {
  color: var(--liteline-orange);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
  background-color: var(--liteline-orange);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
  left: -60px;
}

.lightbox-next {
  right: -60px;
}

@media (max-width: 768px) {
  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }

  .lightbox-nav {
    background-color: rgba(0, 0, 0, 0.5);
  }
}

/* ==========================================================================
   Testimonials Section
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2.5rem;
}

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

.testimonial-card {
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

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

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.google-review-badge {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.testimonial-text {
  font-size: 1rem;
  color: #334155;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-weight: 700;
  color: var(--liteline-navy);
  font-size: 0.95rem;
}

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

.google-review-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--liteline-navy);
  font-size: 1.05rem;
  transition: color 0.2s;
}

.google-review-btn:hover {
  color: var(--liteline-orange);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

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

.contact-email-card {
  background-color: var(--bg-slate-50);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  min-height: 420px;
}

.contact-email-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  background-color: var(--liteline-orange-light);
  color: var(--liteline-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.contact-email-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--liteline-navy);
  margin-bottom: 0.75rem;
}

.contact-email-text {
  color: var(--text-muted);
  max-width: 360px;
  margin-bottom: 2rem;
  font-size: 1rem;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  transition: transform 0.2s;
}

.contact-item:hover {
  transform: translateX(4px);
}

.contact-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--liteline-navy);
  transition: color 0.2s;
}

a.contact-value:hover {
  color: var(--liteline-orange);
}

/* License & Credentials Box */
.credentials-box {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--border-color);
  margin-top: 2rem;
}

.credentials-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--liteline-navy);
  margin-bottom: 0.75rem;
}

.credentials-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}

@media (max-width: 480px) {
  .credentials-list {
    grid-template-columns: 1fr;
  }
}

.credential-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Emergency Alert Box */
.emergency-alert-box {
  background-color: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-top: 1.25rem;
}

.emergency-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: #dc2626;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
}

.emergency-text {
  font-size: 0.85rem;
  color: #7f1d1d;
  margin-bottom: 0.6rem;
}

.emergency-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  color: #dc2626;
  font-size: 1rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background-color: var(--liteline-navy);
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-logo {
  height: 40px;
  width: auto;
  margin-bottom: 1.25rem;
}

.footer-about {
  color: #cbd5e1;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 420px;
}

.footer-heading {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

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

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 2rem;
  text-align: center;
  color: #94a3b8;
  font-size: 0.85rem;
}

.footer-bottom a {
  color: #94a3b8;
  transition: color 0.2s;
}

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

/* ==========================================================================
   Mobile Bottom Floating Bar
   ========================================================================== */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 56px;
  background-color: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(8px);
  border-top: 1px solid var(--border-color);
  z-index: 999;
}

@media (max-width: 768px) {
  .mobile-bottom-bar {
    display: flex;
    align-items: center;
    justify-content: space-around;
  }
}

.bottom-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.2s;
  flex: 1;
  height: 100%;
}

.bottom-action:hover {
  color: var(--liteline-orange);
}

.bottom-action.action-call:hover {
  color: var(--liteline-navy);
}

.bottom-action.action-sms:hover {
  color: var(--liteline-orange);
}

.bottom-action.action-whatsapp:hover {
  color: #16a34a;
}

/* ==========================================================================
   Micro-Animations & Scroll Effects
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}