/* =========================================================================
   EasySetupNYC - Design System
   ========================================================================= */

:root {
    /* Color System - Restored to the Original Blue/Navy Charcoal */
    --clr-primary-dark: #0F172A; 
    --clr-primary-dark-alt: #1E293B;
    --clr-bg-main: #F5F7FA;
    --clr-accent-primary: #2563EB;
    --clr-accent-primary-hover: #1D4ED8;
    --clr-accent-secondary: #0ea5e9;
    --clr-success: #10B981;
    
    /* Text Colors */
    --clr-text-light: #F8FAFC;
    --clr-text-muted-light: #94A3B8;
    --clr-text-dark: #0F172A;
    --clr-text-muted-dark: #475569;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Layout */
    --spacing-1: 0.5rem;
    --spacing-2: 1rem;
    --spacing-3: 1.5rem;
    --spacing-4: 2rem;
    --spacing-6: 3rem;
    --spacing-8: 4rem;
    --spacing-12: 6rem;
    --container-max-width: 1200px;
    --container-narrow: 800px;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.05);

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; color: var(--clr-text-dark); background-color: var(--clr-bg-main); -webkit-font-smoothing: antialiased; }

h1,h2,h3,h4,h5,h6 { font-family: var(--font-heading); font-weight: 600; line-height: 1.2; margin-bottom: var(--spacing-2); }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 2.5rem); }
h3 { font-size: 1.5rem; }
a { color: var(--clr-accent-primary); text-decoration: none; transition: color var(--transition-fast); }
img { max-width: 100%; display: block; }

.lucide { width: 24px; height: 24px; stroke-width: 2; }

.container { width: 100%; max-width: var(--container-max-width); margin: 0 auto; padding: 0 var(--spacing-4); }
.container-narrow { max-width: var(--container-narrow); }
.text-center { text-align: center; }

/* Themes */
.dark-section { background-color: var(--clr-primary-dark); color: var(--clr-text-light); }
.dark-section h1, .dark-section h2, .dark-section h3, .dark-section h4 { color: var(--clr-text-light); }
.dark-section p { color: var(--clr-text-muted-light); }

.light-section { background-color: var(--clr-bg-main); color: var(--clr-text-dark); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0.75rem 1.5rem; border-radius: var(--radius-pill); font-weight: 600; font-family: var(--font-body); cursor: pointer; transition: all var(--transition-normal); border: none; font-size: 1rem; }
.btn-primary { background-color: var(--clr-accent-primary); color: white; box-shadow: 0 4px 14px 0 rgba(37, 99, 235, 0.39); }
.btn-primary:hover { background-color: var(--clr-accent-primary-hover); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4); }
.btn-secondary { background-color: rgba(255, 255, 255, 0.1); color: white; backdrop-filter: blur(10px); }
.btn-secondary:hover { transform: translateY(-2px); background-color: rgba(255, 255, 255, 0.2); }
.btn-large { padding: 1rem 2rem; font-size: 1.125rem; }

/* Header State Management */
.header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: var(--spacing-3) 0; transition: background-color var(--transition-normal), padding var(--transition-normal), box-shadow var(--transition-normal); }
.header-inner { display: flex; justify-content: space-between; align-items: center; }

/* Transparent (Top) Header Elements using Dark Text for Clear Visuals */
.header .logo { font-family: var(--font-heading); font-weight: 800; font-size: 1.5rem; letter-spacing: -0.05em; color: var(--clr-text-dark); transition: color var(--transition-fast); text-shadow: 0px 2px 20px rgba(255,255,255,0.9); }
.header .nav { display: none; }
@media (min-width: 768px) { .header .nav { display: flex; gap: var(--spacing-4); } }
.header .nav a { color: var(--clr-primary-dark); font-weight: 600; transition: color var(--transition-fast); text-decoration: none; text-shadow: 0px 2px 10px rgba(255,255,255,0.9); }
.header .nav a:hover { color: var(--clr-accent-primary); }
.header .header-utils { display: flex; align-items: center; gap: var(--spacing-4); }
.header .link-btn { color: var(--clr-primary-dark); font-weight: 600; transition: color var(--transition-fast); text-shadow: 0px 2px 10px rgba(255,255,255,0.9); }
.header .link-btn:hover { color: var(--clr-accent-primary); }

/* Scrolled Header State (Blue/Navy background, White text) */
.header.scrolled { background-color: rgba(15, 23, 42, 0.95); backdrop-filter: blur(10px); padding: var(--spacing-2) 0; box-shadow: var(--shadow-sm); border-bottom: 1px solid rgba(255,255,255,0.05); }
.header.scrolled .logo, .header.scrolled .nav a, .header.scrolled .link-btn { color: var(--clr-text-light); text-shadow: none; }
.header.scrolled .nav a:hover, .header.scrolled .link-btn:hover { color: white; }

.mobile-only-link { display: none; }
.mobile-menu-btn { display: none; background: transparent; border: none; cursor: pointer; color: var(--clr-text-dark); transition: color var(--transition-fast); }
.header.scrolled .mobile-menu-btn { color: var(--clr-text-light); }
.mobile-menu-btn .lucide { width: 32px; height: 32px; }

@media (max-width: 768px) {
    .header-utils { display: none !important; }
    .mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
    .mobile-only-link { display: block; }
    
    .header .nav {
        display: none; 
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--clr-bg-main);
        flex-direction: column;
        padding: 0 var(--spacing-4);
        box-shadow: var(--shadow-md);
        border-top: 1px solid rgba(0,0,0,0.05);
    }
    .header .nav.active {
        display: flex;
    }
    .header.scrolled .nav {
        background-color: var(--clr-primary-dark);
        border-top: 1px solid rgba(255,255,255,0.05);
    }
    .header .nav a {
        padding: var(--spacing-3) 0;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        width: 100%;
        text-shadow: none;
        color: var(--clr-text-dark);
        display: block; /* Ensure full click area */
    }
    .header.scrolled .nav a {
        border-bottom: 1px solid rgba(255,255,255,0.05);
        color: var(--clr-text-light);
    }
    .header .nav a:last-child {
        border-bottom: none;
    }
}

/* Hero Sequence Track - Scroll Depth */
.hero-scroll-track {
  height: 250vh; /* Scroll volume to provide deliberate slow canvas scrubbing */
  position: relative;
  background-color: var(--clr-bg-main);
}

.hero-sticky-content {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas-fullscreen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  object-fit: cover;
}

/* Stacked Content Layout over Full-screen Background */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center; /* Center the entire internal cluster */
  text-align: center;  /* Center the text elements */
  gap: var(--spacing-4);
  width: 100%;
  max-width: 700px;
  margin-left: auto;   /* Push cluster to the right side of screen */
  transform: translateY(-12vh); /* Nudges the box higher on screen */
}

/* Elegant Glass Panels for Readability over Canvas */
.hero-transparent-panel {
  padding: var(--spacing-6) var(--spacing-4);
  background-color: rgba(15, 23, 42, 0.4); /* Extremely subtle dark navy glass */
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  color: var(--clr-text-light);
  width: 100%;
}

.hero-glass-panel {
  background-color: rgba(255, 255, 255, 0.85); /* Frosty white */
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: var(--spacing-6) var(--spacing-4);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  color: var(--clr-text-dark);
}

.hero-glass-panel.dark-mode {
  background-color: rgba(15, 23, 42, 0.85); /* Dark navy */
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--clr-text-light);
  text-align: left; /* Keep booking info left-aligned inside its box */
}

.compact-panel {
  max-width: 420px; /* Keeps the booking box neat and tidy */
  width: 100%;
}

.hero-title-right {
  font-size: clamp(2.5rem, 6vw, 4.5rem); /* Slightly larger for short 3-word title */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--spacing-3);
  color: var(--clr-text-light);
  text-shadow: 0 4px 16px rgba(0,0,0,0.8);
  white-space: nowrap; /* Forces text to strictly remain on a single line */
}

.eyebrow-light { display: inline-block; color: var(--clr-accent-secondary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.875rem; margin-bottom: var(--spacing-2); text-shadow: 0 2px 4px rgba(0,0,0,0.8); }
.hero-subtext-light { 
  font-size: clamp(0.85rem, 1.8vw, 1.15rem); 
  color: var(--clr-text-light); 
  text-shadow: 0 2px 8px rgba(0,0,0,0.8); 
  white-space: nowrap; 
}

/* Mobile Overrides for Hero Section Check */
@media (max-width: 768px) {
  .hero-content {
    transform: translateY(28vh); /* Push down so it doesn't block the screen center */
    padding: 0 1rem;
  }
  .hero-transparent-panel {
    background-color: rgba(15, 23, 42, 0.75);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
    padding: 2rem 1.25rem; /* Reduced from 3rem to save screen real estate */
  }
  .eyebrow-light {
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    font-size: 0.8rem;
  }
  .hero-title-right {
    font-size: 2rem; /* Slightly smaller so it fits */
    color: #ffffff;
    white-space: normal;
    text-shadow: 0 4px 16px rgba(0,0,0,1), 0 8px 32px rgba(0,0,0,0.8);
  }
  .hero-subtext-light {
    font-size: 0.95rem; /* Tighter for mobile readability */
    color: #ffffff;
    white-space: normal;
    text-shadow: 0 2px 10px rgba(0,0,0,1), 0 4px 20px rgba(0,0,0,0.8);
  }
}

/* Sections */
.services, .booking-section, .service-details-section, .trust-section, .testimonials-section, .final-cta { padding: var(--spacing-12) 0; }
.section-title { text-align: center; margin-bottom: var(--spacing-8); }

/* Grids */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--spacing-4); }
.service-card { background: white; padding: var(--spacing-4); border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); transition: all var(--transition-normal); border: 1px solid rgba(0,0,0,0.03); cursor: pointer; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,0.1); }
.card-icon { color: var(--clr-accent-primary); margin-bottom: var(--spacing-3); display: inline-flex; justify-content: center; align-items: center; width: 64px; height: 64px; border-radius: 50%; background-color: rgba(37,99,235,0.1); transition: all var(--transition-normal); }
.service-card:hover .card-icon { background-color: var(--clr-accent-primary); color: white; }
.card-meta { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.875rem; }
.price-tag { font-weight: 600; color: var(--clr-accent-primary); }
.duration { color: var(--clr-text-muted-dark); }

.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--spacing-6); text-align: center; }
.trust-icon { color: var(--clr-accent-secondary); margin-bottom: var(--spacing-3); display: inline-flex; }

/* Modal Popup Overlay */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  align-items: center;
  justify-content: center;
  opacity: 0;
  animation: fadeIn 0.3s forwards;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  width: 95%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: var(--radius-lg);
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  animation: slideUp 0.3s ease-out forwards;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: white;
  border: 1px solid #E2E8F0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 50;
  color: var(--clr-text-dark);
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15); /* Slightly stronger shadow for visibility */
}

.modal-close:hover {
  background: var(--clr-bg-main);
  color: var(--clr-accent-primary);
  transform: rotate(90deg);
}

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

/* Sidebar Booking UI layout */
.booking-ui-sidebar { display: flex; flex-direction: column; background: white; overflow: hidden; min-height: 500px; padding-top: 1rem; }
@media (min-width: 768px) { .booking-ui-sidebar { flex-direction: row; } }

.booking-nav { background: var(--clr-bg-main); padding: var(--spacing-4); display: flex; flex-direction: row; gap: 1rem; overflow-x: auto; border-bottom: 1px solid rgba(0,0,0,0.05); }
@media (min-width: 768px) { .booking-nav { flex-direction: column; width: 250px; border-bottom: none; border-right: 1px solid rgba(0,0,0,0.05); padding: var(--spacing-6) var(--spacing-4); } }

.nav-item { display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem; border-radius: var(--radius-md); color: var(--clr-text-muted-dark); font-weight: 500; font-size: 0.95rem; cursor: pointer; transition: all var(--transition-fast); white-space: nowrap; }
.nav-item .lucide { width: 20px; height: 20px; color: var(--clr-text-muted-light); }
.nav-item.active { background: white; color: var(--clr-accent-primary); box-shadow: 0 2px 4px rgba(0,0,0,0.02); }
.nav-item.active .lucide { color: var(--clr-accent-primary); }
.nav-item.completed { color: var(--clr-text-dark); }
.nav-item.completed .lucide { color: var(--clr-success); }

.booking-content { padding: var(--spacing-4); flex: 1; }
@media (min-width: 768px) { .booking-content { padding: var(--spacing-6); } }

.step-pane { display: none; animation: slideIn 0.3s ease-out forwards; }
.step-pane.active { display: block; }

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

/* Service Grid Step */
.booking-service-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: var(--spacing-3); }
.booking-card { border: 2px solid var(--clr-bg-main); border-radius: var(--radius-md); padding: var(--spacing-4); cursor: pointer; transition: all var(--transition-fast); }
.booking-card:hover { border-color: rgba(37,99,235,0.3); }
.booking-card.selected { border-color: var(--clr-accent-primary); background: rgba(37,99,235,0.05); }

/* Date & Time Step */
.datetime-grid { display: grid; grid-template-columns: 1fr; gap: var(--spacing-6); margin-top: 1.5rem; }
@media (min-width: 1024px) { .datetime-grid { grid-template-columns: 1fr 1fr; } }

.calendar-widget { border: 1px solid var(--clr-bg-main); border-radius: var(--radius-md); padding: 1rem; }
.calendar-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1rem; padding: 0 0.5rem; }
.cal-nav { background: none; border: none; font-size: 1.25rem; color: var(--clr-text-muted-dark); cursor: pointer; }
.cal-nav:hover { color: var(--clr-accent-primary); }
.calendar-days, .calendar-grid { display: grid; grid-template-columns: repeat(7, 1fr); text-align: center; gap: 0.25rem; }
.calendar-days span { font-size: 0.8rem; font-weight: 600; color: var(--clr-text-muted-light); margin-bottom: 0.5rem; }
.cal-day { padding: 0.5rem 0; border-radius: 4px; border: 1px solid transparent; cursor: pointer; font-size: 0.95rem; color: var(--clr-text-dark); transition: all 0.2s; }
.cal-day:hover:not(.disabled) { background: var(--clr-bg-main); }
.cal-day.disabled { color: #CBD5E1; cursor: not-allowed; text-decoration: line-through; }
.cal-day.selected { background: var(--clr-accent-primary); color: white; font-weight: 600; box-shadow: 0 4px 10px rgba(37,99,235,0.3); border-color: var(--clr-accent-primary); }
.cal-day.empty { visibility: hidden; }

.time-widget { padding: 0.5rem; }
.time-section h5 { font-size: 0.95rem; color: var(--clr-text-muted-dark); margin-bottom: 0.5rem; font-weight: 600; }
.time-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 1.5rem; }
.time-slot { background: white; border: 1px solid var(--clr-bg-main); padding: 0.75rem; border-radius: var(--radius-sm); font-size: 0.85rem; color: var(--clr-text-dark); cursor: pointer; transition: all 0.2s; text-align: center; font-weight: 500; }
.time-slot:hover { border-color: rgba(37,99,235,0.4); }
.time-slot.selected { background: rgba(37,99,235,0.08); border-color: var(--clr-accent-primary); color: var(--clr-accent-primary); font-weight: 600; }

/* Form Details Step */
.form-row { display: grid; grid-template-columns: 1fr; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 768px) { .form-row { grid-template-columns: 1fr 1fr; gap: var(--spacing-4); } }
.form-group label { display: block; font-size: 0.875rem; font-weight: 600; margin-bottom: 0.5rem; color: var(--clr-text-dark); }
.form-group label .req { color: #EF4444; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.75rem 1rem; border: 1px solid #E2E8F0; border-radius: var(--radius-sm); font-family: var(--font-body); font-size: 0.95rem; color: var(--clr-text-dark); transition: border-color 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: var(--clr-accent-primary); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.checkbox-group { display: flex; align-items: center; gap: 0.5rem; }
.checkbox-group input[type="checkbox"] { width: 18px; height: 18px; cursor: pointer; }
.checkbox-group label { margin-bottom: 0; font-weight: 400; font-size: 0.9rem; cursor: pointer; }

/* Buttons */
.btn-secondary-gray { background: transparent; border: 1px solid #E2E8F0; color: var(--clr-text-dark); }
.btn-secondary-gray:hover { background: var(--clr-bg-main); transform: translateY(-1px); }

/* Summary */
.summary-item { margin-bottom: 0.5rem; font-size: 0.95rem; }
.summary-item strong { display: inline-block; width: 80px; color: var(--clr-text-muted-dark); }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: var(--spacing-6); }
.testimonial-card { background: var(--clr-bg-main); padding: var(--spacing-6); border-radius: var(--radius-lg); }
.rating { color: #FBBF24; display: flex; gap: 2px; margin-bottom: var(--spacing-3); }
.rating .lucide { width: 20px; height: 20px; }
.quote { font-style: italic; margin-bottom: var(--spacing-4); color: var(--clr-text-dark); }
.author strong { display: block; color: var(--clr-text-dark); }
.author span { font-size: 0.875rem; color: var(--clr-text-muted-dark); }

/* Footer */
.footer { border-top: 1px solid rgba(255,255,255,0.05); padding-top: var(--spacing-8); }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--spacing-6); margin-bottom: var(--spacing-8); }
.footer-links { display: flex; gap: var(--spacing-4); flex-wrap: wrap; }
.footer-links a { color: var(--clr-text-muted-light); }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; padding: var(--spacing-4) 0; border-top: 1px solid rgba(255,255,255,0.1); color: var(--clr-text-muted-light); font-size: 0.875rem; }

/* Animations */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* --- Extreme Mobile Condensing Overrides --- */
@media (max-width: 768px) {
  /* Global Section Padding Reduction */
  .services, .booking-section, .service-details-section, .trust-section, .testimonials-section, .final-cta { 
      padding: var(--spacing-6) 0; 
  }
  .section-title {
      font-size: 1.5rem;
      margin-bottom: var(--spacing-4);
      text-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  /* Services Grid - 2x2 and highly compact */
  .services-grid {
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
  }
  .service-card {
      padding: 0.75rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.08);
      transform: none !important; /* disabled hover jump effect on mobile */
  }
  .card-icon {
      width: 36px;
      height: 36px;
      margin-bottom: 0.5rem;
  }
  .service-card h3 {
      font-size: 0.85rem;
      margin-bottom: 0.25rem;
  }
  .card-meta { font-size: 0.75rem; }
  .price-tag { font-size: 0.85rem; }

  /* Tech Help Made Easy (Trust Section) */
  .trust-grid {
      grid-template-columns: 1fr;
      gap: var(--spacing-3);
  }
  .trust-item {
      display: flex;
      align-items: center;
      text-align: left;
      gap: 1rem;
      background: rgba(255,255,255,0.05); /* contrast depth overlay */
      padding: 1rem;
      border-radius: var(--radius-md);
      box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* deeper shadow */
  }
  .trust-icon { margin-bottom: 0; }
  
  /* Override lucide inline width internally */
  .trust-item svg.lucide { 
      width: 28px !important; 
      height: 28px !important; 
  }
  .trust-item h3 {
      font-size: 1rem;
      margin-bottom: 0.1rem;
  }
  .trust-item p {
      font-size: 0.8rem;
      margin: 0;
      line-height: 1.3;
  }

  /* Testimonials */
  .testimonials-grid {
      display: flex;
      overflow-x: auto;
      gap: 1rem;
      padding-bottom: 1.5rem;
      scroll-snap-type: x mandatory;
      scrollbar-width: none; /* hide scrollbar firefox */
      transform: translateY(15px); /* shifted down */
  }
  .testimonials-grid::-webkit-scrollbar {
      display: none; /* hide scrollbar chrome/safari */
  }
  .testimonial-card {
      min-width: 85vw; /* shrink width so they can swipe right clearly */
      scroll-snap-align: center;
      padding: 1.25rem;
      box-shadow: 0 10px 30px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.08); /* intensive shadow and depth */
      border: 1px solid rgba(0,0,0,0.03); /* depth bevel */
  }
  .testimonial-card .quote {
      font-size: 0.8rem; /* made a bit smaller */
      line-height: 1.4;
      margin-bottom: 0.5rem;
  }
  .author strong {
      font-size: 0.85rem;
  }
  .author span {
      font-size: 0.75rem;
  }

  /* Final CTA (Get your tech working today) */
  .final-cta {
      padding: var(--spacing-6) var(--spacing-4);
  }
  .final-cta h2 {
      font-size: 1.5rem;
      margin-bottom: 0.5rem;
  }
  .final-cta p {
      font-size: 0.9rem;
      margin-bottom: 1rem;
  }
  .cta-buttons {
      display: flex;
      flex-direction: column;
      gap: 0.5rem;
  }
  .btn-large {
      padding: 0.75rem;
      font-size: 1rem;
      width: 100%;
  }

  /* Footer */
  .footer {
      padding-top: var(--spacing-4);
  }
  .footer-top {
      flex-direction: column;
      text-align: center;
      gap: 1rem;
      margin-bottom: 1rem;
  }
  .footer-links {
      justify-content: center;
      gap: 0.75rem;
      font-size: 0.8rem;
  }
  .footer-bottom {
      padding: var(--spacing-4) 0;
  }

  /* Booking Modal Crushing */
  .modal-content {
      width: 95%;
      height: auto;
      max-height: 90vh;
      border-radius: var(--radius-lg);
      margin: 1rem;
      display: flex;
      flex-direction: column;
  }
  .booking-ui-sidebar {
      padding-top: 2.5rem; /* Space for the close button */
      min-height: auto;
  }
  .booking-nav {
      padding: var(--spacing-2);
      gap: 0.5rem;
  }
  .nav-item {
      padding: 0.5rem 0.75rem;
      font-size: 0.8rem;
  }
  .nav-item .lucide {
      width: 16px;
      height: 16px;
  }
  .booking-content {
      padding: var(--spacing-3);
  }
  .booking-content h3 {
      font-size: 1.125rem;
      margin-bottom: 0.5rem;
  }

  /* Step 1: Services Grid */
  .booking-service-grid {
      grid-template-columns: 1fr 1fr;
      gap: 0.5rem;
  }
  .booking-card {
      padding: 0.5rem;
  }
  .booking-card strong {
      display: block;
      font-size: 0.8rem;
  }
  .booking-card span {
      font-size: 0.75rem;
  }

  /* Step 2: Date Time */
  .datetime-grid {
      gap: var(--spacing-3);
      margin-top: 0.5rem;
  }
  .calendar-widget {
      padding: 0.5rem;
  }
  .calendar-header {
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
  }
  .cal-day {
      padding: 0.25rem 0;
      font-size: 0.8rem;
  }
  .time-widget {
      padding: 0.25rem;
  }
  .time-slots {
      grid-template-columns: repeat(3, 1fr);
      gap: 0.25rem;
      margin-bottom: 0.5rem;
  }
  .time-slot {
      padding: 0.4rem;
      font-size: 0.75rem;
  }

  /* Step 3: Form Details */
  .form-row {
      gap: 0.5rem;
      margin-bottom: 0.5rem;
  }
  .form-group label {
      font-size: 0.75rem;
      margin-bottom: 0.25rem;
  }
  .form-group input, .form-group select, .form-group textarea {
      padding: 0.5rem 0.75rem;
      font-size: 0.85rem;
  }
  
  /* Buttons */
  .booking-actions {
      margin-top: 1rem !important;
  }
  .booking-actions .btn {
      padding: 0.5rem 1rem;
      font-size: 0.9rem;
  }
}

/* =========================================================================
   Blog & Archive Styles
   ========================================================================= */

.blog-hero {
    position: relative;
    background-color: var(--clr-primary-dark);
}
.blog-hero-overlay {
    background: rgba(15, 23, 42, 0.85); /* fallback */
    width: 100%;
}
.blog-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-6);
}
.blog-list-layout {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-6);
    max-width: 800px;
    margin: 0 auto;
}
.blog-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-normal);
    border: 1px solid rgba(0,0,0,0.03);
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.blog-card-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-card-body {
    padding: var(--spacing-4);
}
.blog-date {
    font-size: 0.875rem;
    color: var(--clr-accent-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}
.blog-card-body h2 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}
.blog-card-body h2 a {
    color: var(--clr-text-dark);
}
.blog-card-body h2 a:hover {
    color: var(--clr-accent-primary);
}
.blog-excerpt {
    color: var(--clr-text-muted-dark);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.btn-read-more {
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
}

/* Pagination */
.pagination {
    margin-top: var(--spacing-8);
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}
.pagination .page-numbers {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    background: white;
    color: var(--clr-text-dark);
    font-weight: 600;
    border: 1px solid #E2E8F0;
    transition: all 0.2s;
}
.pagination .page-numbers:hover, .pagination .current {
    background: var(--clr-accent-primary);
    color: white;
    border-color: var(--clr-accent-primary);
}

/* Single Post */
.single-post-view .entry-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--clr-text-dark);
}
.single-post-view .entry-content h2, 
.single-post-view .entry-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
}
.single-post-view .entry-content p {
    margin-bottom: 1.5rem;
}
.single-post-view .entry-content img {
    border-radius: var(--radius-md);
    margin: 2rem 0;
}
.single-post-view .entry-content blockquote {
    border-left: 4px solid var(--clr-accent-primary);
    padding-left: 1.5rem;
    font-style: italic;
    color: var(--clr-text-muted-dark);
    margin: 2rem 0;
    font-size: 1.25rem;
}
