/**
 * =====================================================
 * JOHN'S CHIMNEY SERVICE - COMPLETE HOMEPAGE STYLES
 * =====================================================
 * Modern, sophisticated design matching About page quality
 * =====================================================
 */

/**
 * =====================================================
 * CSS VARIABLES & ROOT SETTINGS
 * =====================================================
 */
:root {
  /* Brand Colors */
  --primary-red: #9a0518;
  --bright-red: #e01921;
  --dark-gray: #3e3e3f;
  --medium-gray: #96a0a3;
  --light-gray: #f5f5f5;
  --white: #ffffff;

  /* Text Colors */
  --text-dark: #2c2c2c;
  --text-light: #666666;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
  --shadow-xl: 0 15px 40px rgba(0, 0, 0, 0.25);

  /* Transitions */
  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

/**
 * =====================================================
 * RESET & BASE STYLES
 * =====================================================
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: black;
  overflow-x: hidden;
}

/**
 * =====================================================
 * GLOBAL TYPOGRAPHY
 * =====================================================
 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Merriweather', Georgia, serif;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 {
  font-size: 3rem;
}
h2 {
  font-size: 2.5rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.5rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
  line-height: 1.8;
}

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

a:hover {
  color: var(--bright-red);
}

/**
 * =====================================================
 * GLOBAL LAYOUT COMPONENTS
 * =====================================================
 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}

.section-title {
  font-size: 2.75rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
  font-weight: 700;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.section-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title-accent {
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-red), var(--bright-red));
  margin: 1.5rem 0;
  border-radius: 2px;
}

.inline-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
}

/**
 * =====================================================
 * EMERGENCY NOTICE BANNER
 * =====================================================
 */
.emergency-notice-banner {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  padding: 12px 0;
  border-bottom: 3px solid #e65100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.emergency-notice-banner .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.notice-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 0.95rem;
  line-height: 1.5;
}

.notice-content i {
  font-size: 1.5rem;
  flex-shrink: 0;
  color: #fff3e0;
}

.notice-content p {
  margin: 0;
}

.notice-content strong {
  font-weight: 700;
}

@media (max-width: 768px) {
  .emergency-notice-banner {
    padding: 10px 0;
  }

  .notice-content {
    font-size: 0.85rem;
    gap: 10px;
  }

  .notice-content i {
    font-size: 1.2rem;
  }
}

/**
 * =====================================================
 * HERO SECTION - FULLY RESPONSIVE
 * =====================================================
 */
.hero {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: url('https://storage.googleapis.com/kws-clientele/John%27s%20Chimney%20Service/a.%20index.html/johns-chimney-hero-background.webp');
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  margin-top: 70px;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  width: 100%;
  max-width: 1400px;
  padding: 2rem 20px;
}

.hero-logo {
  width: 250px;
  margin: 0 auto 1rem;
  display: block;
  background: rgba(255, 255, 255, 0.95);
  padding: 0.5rem;
  border-radius: 30px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
  animation: fadeInDown 1s ease;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem 2.5rem;
  animation: fadeInUp 1s ease;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1.2fr auto 1fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-text-content {
  text-align: left;
}

.hero-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--white);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  line-height: 1.2;
}

.hero-tagline {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-weight: 300;
  color: var(--white);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-subtitle {
  font-size: 1rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Hero Form Divider */
.hero-form-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  height: 100%;
  min-height: 350px;
}

.hero-form-divider::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.3) 20%,
    rgba(255, 255, 255, 0.3) 80%,
    transparent
  );
}

.hero-form-divider span {
  background: rgba(0, 0, 0, 0.8);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

/* Hero Form */
.hero-form {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  animation: fadeInRight 1s ease 0.3s both;
}

.hero-form-title {
  color: var(--dark-gray);
  font-size: 1.3rem;
  margin-bottom: 0.4rem;
  text-align: center;
  font-family: 'Merriweather', serif;
}

.hero-form-subtitle {
  color: var(--text-light);
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.hero-quick-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form-group {
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 0.75rem 0.875rem;
  border: 2px solid rgba(154, 5, 24, 0.1);
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--white);
  color: var(--text-dark);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary-red);
  box-shadow: 0 0 0 3px rgba(154, 5, 24, 0.1);
}

.form-select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2396a0a3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.7rem center;
  background-size: 1.5em;
  padding-right: 2.5rem;
}

.form-submit-btn {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(154, 5, 24, 0.3);
}

.form-submit-icon {
  width: 20px;
  height: 20px;
}

.form-disclaimer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.form-lock-icon {
  width: 14px;
  height: 14px;
  color: var(--medium-gray);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounce 2s infinite;
  background: rgba(255, 255, 255, 0.2);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-scroll-indicator:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(-50%) scale(1.1);
}

.hero-scroll-indicator svg {
  width: 30px;
  height: 30px;
  color: var(--white);
  opacity: 0.9;
}

/**
 * =====================================================
 * HERO RESPONSIVE - LARGE TABLETS (1024px)
 * =====================================================
 */
@media (max-width: 1024px) {
  .hero {
    height: auto;
    min-height: 100vh;
  }

  .hero-wrapper {
    padding: 1.5rem 20px;
    gap: 1.5rem;
  }

  .hero-logo {
    width: 180px;
    position: relative;
    z-index: 3;
    margin-bottom: 0.5rem;
    border-radius: 22px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.5rem;
  }

  .hero-text-content {
    text-align: center;
  }

  .hero-title {
    font-size: 1.85rem;
    text-align: center;
    margin-bottom: 0.75rem;
  }

  .hero-tagline {
    font-size: 1rem;
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }

  .hero-form-divider {
    display: none;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-form {
    padding: 1.25rem;
  }

  .hero-form-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
  }

  .hero-form-subtitle {
    font-size: 0.8rem;
    margin-bottom: 1rem;
  }

  .hero-quick-form {
    gap: 0.75rem;
  }

  .form-input {
    padding: 0.65rem 0.85rem;
    font-size: 0.85rem;
  }

  .form-input::placeholder {
    font-size: 0.8rem;
  }

  .form-submit-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    margin-top: 0.25rem;
  }

  .form-disclaimer {
    font-size: 0.7rem;
    margin-top: 0.75rem;
  }
}

/**
 * =====================================================
 * HERO RESPONSIVE - TABLETS (768px)
 * =====================================================
 */
@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: auto;
    padding: 0.75rem 0;
    background-attachment: scroll;
  }

  .hero-wrapper {
    padding: 0.75rem 15px;
    gap: 0.75rem;
  }

  .hero-logo {
    width: 160px;
    margin-bottom: 0.5rem;
    border-radius: 20px;
  }

  .hero-content {
    padding: 1.25rem;
    gap: 1.25rem;
    border-radius: 15px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 0.6rem;
  }

  .hero-tagline {
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

  .hero-form {
    padding: 1.25rem;
  }

  .hero-form-title {
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
  }

  .hero-form-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.9rem;
  }

  .hero-quick-form {
    gap: 0.6rem;
  }

  .form-input {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  .form-input::placeholder {
    font-size: 0.75rem;
  }

  .form-submit-btn {
    padding: 0.7rem 1.25rem;
    font-size: 0.9rem;
    margin-top: 0.25rem;
  }

  .form-disclaimer {
    font-size: 0.65rem;
    margin-top: 0.6rem;
  }

  .hero-scroll-indicator {
    bottom: 15px;
    width: 35px;
    height: 35px;
  }

  .hero-scroll-indicator svg {
    width: 20px;
    height: 20px;
  }
}

/**
 * =====================================================
 * HERO RESPONSIVE - LARGE MOBILE (640px)
 * =====================================================
 */
@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-bottom: 1.5rem;
  }

  .hero-wrapper {
    padding: 1rem 10px;
  }

  .hero-logo {
    width: 160px;
  }

  .hero-content {
    padding: 1.25rem;
  }

  .hero-title {
    font-size: 1.5rem;
    line-height: 1.3;
  }

  .hero-tagline {
    font-size: 0.95rem;
  }

  .hero-subtitle {
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
  }

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

  .inline-icon {
    width: 16px;
    height: 16px;
  }
}

/**
 * =====================================================
 * HERO RESPONSIVE - MOBILE (480px)
 * =====================================================
 */
@media (max-width: 480px) {
  .hero {
    margin-top: 60px;
    min-height: auto;
  }

  .hero-wrapper {
    padding: 0.5rem 10px;
    gap: 0.5rem;
  }

  .hero-logo {
    width: 130px;
    margin-bottom: 0.4rem;
    padding: 0.35rem;
    border-radius: 16px;
  }

  .hero-content {
    padding: 0.875rem;
    background: rgba(0, 0, 0, 0.85);
    gap: 1rem;
  }

  .hero-title {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  }

  .hero-tagline {
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
  }

  .hero-subtitle {
    font-size: 0.75rem;
    margin-bottom: 0.875rem;
  }

  .hero-cta-group {
    gap: 0.6rem;
  }

  .btn {
    width: 100%;
    padding: 0.65rem 0.875rem;
    font-size: 0.8rem;
  }

  .hero-form {
    padding: 1rem;
    border-radius: 12px;
  }

  .hero-form-title {
    font-size: 1rem;
    margin-bottom: 0.3rem;
  }

  .hero-form-subtitle {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .hero-quick-form {
    gap: 0.5rem;
  }

  .form-input {
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
  }

  .form-input::placeholder {
    font-size: 0.7rem;
    opacity: 0.8;
  }

  .form-select {
    background-size: 1.1em;
    padding-right: 1.75rem;
  }

  .form-submit-btn {
    padding: 0.6rem 1rem;
    font-size: 0.85rem;
    margin-top: 0.2rem;
  }

  .form-submit-icon {
    width: 16px;
    height: 16px;
  }

  .form-disclaimer {
    font-size: 0.65rem;
    margin-top: 0.6rem;
  }

  .form-lock-icon {
    width: 10px;
    height: 10px;
  }

  .hero-scroll-indicator {
    bottom: 10px;
    width: 30px;
    height: 30px;
  }

  .hero-scroll-indicator svg {
    width: 18px;
    height: 18px;
  }
}

/**
 * =====================================================
 * HERO RESPONSIVE - SMALL MOBILE (375px)
 * =====================================================
 */
@media (max-width: 375px) {
  .hero-wrapper {
    padding: 0.4rem 8px;
    gap: 0.4rem;
  }

  .hero-logo {
    width: 110px;
    padding: 0.3rem;
    border-radius: 14px;
  }

  .hero-content {
    padding: 0.75rem;
    gap: 0.875rem;
  }

  .hero-title {
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
  }

  .hero-tagline {
    font-size: 0.8rem;
    margin-bottom: 0.25rem;
  }

  .hero-subtitle {
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
  }

  .hero-form {
    padding: 0.875rem;
  }

  .hero-form-title {
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
  }

  .hero-form-subtitle {
    font-size: 0.65rem;
    margin-bottom: 0.6rem;
  }

  .hero-quick-form {
    gap: 0.4rem;
  }

  .form-input {
    padding: 0.45rem 0.6rem;
    font-size: 0.75rem;
  }

  .form-input::placeholder {
    font-size: 0.65rem;
  }

  .form-submit-btn {
    padding: 0.55rem 0.875rem;
    font-size: 0.8rem;
  }

  .form-disclaimer {
    font-size: 0.6rem;
    margin-top: 0.5rem;
  }
}

/**
 * =====================================================
 * HERO ANIMATIONS
 * =====================================================
 */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/**
 * =====================================================
 * WELCOME SECTION
 * =====================================================
 */
.welcome-section {
  padding: 5rem 0;
  background: var(--white);
  overflow: hidden;
}

.welcome-wrapper {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.welcome-content {
  animation: fadeInLeft 1s ease;
}

.welcome-title {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 1rem;
}

.welcome-lead {
  font-size: 1.25rem;
  color: var(--dark-gray);
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-weight: 500;
}

.welcome-features {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.welcome-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.welcome-feature i {
  font-size: 1.25rem;
  color: var(--primary-red);
}

.welcome-cta {
  margin-top: 2rem;
}

.btn-text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-red);
  font-weight: 600;
  transition: var(--transition);
}

.btn-text-link:hover {
  gap: 0.75rem;
  color: var(--bright-red);
}

/* Welcome Visual */
.welcome-visual {
  position: relative;
  animation: fadeInRight 1s ease;
}

.visual-card {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  background: var(--light-gray);
}

.visual-card img {
  width: 100%;
  height: auto;
  display: block;
}

.visual-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 2rem;
}

.overlay-content {
  display: flex;
  gap: 1.5rem;
}

.stat-bubble {
  background: rgba(255, 255, 255, 0.95);
  padding: 0.75rem 1.25rem;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.stat-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
}

.stat-text {
  font-size: 0.75rem;
  color: var(--text-light);
  text-align: center;
}

.trust-badge-floating {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  font-weight: 600;
  color: var(--dark-gray);
  animation: slideInRight 1s ease 0.5s both;
}

.trust-badge-floating i {
  color: #ffd700;
}

/**
 * =====================================================
 * SERVICES SHOWCASE
 * =====================================================
 */
.services-showcase {
  padding: 5rem 0;
  background: var(--light-gray);
}

/* Tab Navigation */
.services-tabs {
  max-width: 1000px;
  margin: 0 auto;
}

.tab-navigation {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 2px solid transparent;
  padding: 1rem 2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  color: var(--text-dark);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.tab-btn i {
  font-size: 1.25rem;
  color: var(--medium-gray);
  transition: var(--transition);
}

.tab-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
  color: var(--white);
  border-color: var(--primary-red);
}

.tab-btn.active i {
  color: var(--white);
}

/* Tab Content */
.tab-content {
  position: relative;
  min-height: 400px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-pane.active {
  display: block;
}

.service-detail-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.service-image {
  position: relative;
  background: var(--light-gray);
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.service-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--bright-red);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
}

.service-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.service-info h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.service-description {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.service-checklist {
  list-style: none;
  margin-bottom: 2rem;
}

.service-checklist li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.service-checklist i {
  color: var(--bright-red);
  font-size: 1rem;
}

.service-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-price {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.price-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-red);
}

.services-cta {
  text-align: center;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.services-cta p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

/* ================================
   PROCESS SECTION (fixed alignment)
   ================================ */
.process-section {
  padding: 5rem 0;
  background: var(--white);
}

.process-timeline {
  --marker-size: 80px; /* control circle size here */
  --line-y: calc(var(--marker-size) / 2); /* line goes through circle center */
  max-width: 1000px;
  margin: 0 auto;

  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

/* the red track now sits exactly at the marker center */
.timeline-track {
  position: absolute;
  top: var(--line-y);
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary-red), var(--bright-red));
  z-index: 0;
}

/* steps */
.process-step {
  position: relative;
  text-align: center;
  z-index: 1;
  animation: fadeInUp 0.8s ease both;
}

.process-step[data-step='1'] {
  animation-delay: 0.1s;
}
.process-step[data-step='2'] {
  animation-delay: 0.2s;
}
.process-step[data-step='3'] {
  animation-delay: 0.3s;
}
.process-step[data-step='4'] {
  animation-delay: 0.4s;
}

/* marker & number */
.step-marker {
  position: relative;
  margin: 0 auto 2rem;
  width: var(--marker-size);
  height: var(--marker-size);
}

.step-number {
  position: absolute;
  inset: 0; /* fill marker box */
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 3px solid var(--primary-red);
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-red);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.process-step:hover .step-number {
  background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
  color: var(--white);
  transform: scale(1.08);
}

/* text & icon */
.step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark-gray);
}

.step-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
}

.step-icon {
  margin-top: 1rem;
}

.step-icon i {
  font-size: 2rem;
  color: var(--medium-gray);
  transition: color 0.3s ease;
}

.process-step:hover .step-icon i {
  color: var(--primary-red);
}

/* responsive: keep line through center by shrinking marker */
@media (max-width: 768px) {
  .process-timeline {
    --marker-size: 64px;
    grid-template-columns: 1fr 1fr;
    row-gap: 3rem;
  }
  .timeline-track {
    left: 5%;
    right: 5%;
  }
}

@media (max-width: 480px) {
  .process-timeline {
    --marker-size: 56px;
    grid-template-columns: 1fr;
  }
  .timeline-track {
    display: none; /* optional: hide the long track on very small screens */
  }
}

/**
 * =====================================================
 * TRUST INDICATORS
 * =====================================================
 */
.trust-indicators {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--dark-gray), var(--primary-red));
  position: relative;
  overflow: hidden;
}

.trust-indicators::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 50% 50%,
    transparent 40%,
    rgba(0, 0, 0, 0.3)
  );
  pointer-events: none;
}

.trust-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.trust-stat {
  text-align: center;
  color: var(--white);
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.trust-stat:nth-child(1) {
  animation-delay: 0.1s;
}
.trust-stat:nth-child(2) {
  animation-delay: 0.2s;
}
.trust-stat:nth-child(3) {
  animation-delay: 0.3s;
}
.trust-stat:nth-child(4) {
  animation-delay: 0.4s;
}

.stat-icon {
  margin-bottom: 1rem;
}

.stat-icon i {
  font-size: 3rem;
  color: var(--white);
  opacity: 0.9;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  font-family: 'Merriweather', serif;
  color: var(--white);
}

.stat-label {
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

/**
 * =====================================================
 * TESTIMONIALS ENHANCED
 * =====================================================
 */
.testimonials-enhanced {
  padding: 5rem 0;
  background: var(--light-gray);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  animation: fadeInUp 0.8s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.testimonial-card.featured {
  grid-column: span 2;
  background: linear-gradient(135deg, #fff, #fafafa);
  border: 2px solid rgba(154, 5, 24, 0.1);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.customer-info {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.customer-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--light-gray);
}

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

.customer-name {
  font-weight: 600;
  color: var(--dark-gray);
  margin-bottom: 0.25rem;
}

.customer-location {
  font-size: 0.875rem;
  color: var(--text-light);
}

.testimonial-rating {
  display: flex;
  gap: 0.25rem;
}

.testimonial-rating i {
  color: #ffd700;
  font-size: 1rem;
}

.testimonial-body p {
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
}

.testimonial-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.service-tag {
  background: rgba(154, 5, 24, 0.1);
  color: var(--primary-red);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.875rem;
  font-weight: 500;
}

.verified-badge {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #4caf50;
  font-size: 0.875rem;
  font-weight: 500;
}

.testimonials-cta {
  text-align: center;
  margin-top: 3rem;
}

/**
 * =====================================================
 * GALLERY SECTION
 * =====================================================
 */
.gallery-section {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-showcase {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Before/After Slider */
.gallery-main {
  margin-bottom: 3rem;
}

.before-after-slider {
  max-width: 800px;
  margin: 0 auto;
}

.ba-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  cursor: col-resize;
  background: var(--dark-gray);
  aspect-ratio: 16/9;
}

.ba-before {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: inset(0 50% 0 0);
}

.ba-slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  transform: translateX(-50%);
  cursor: col-resize;
  transition: opacity 0.3s ease;
}

.handle-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: var(--white);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.handle-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.handle-circle i {
  color: var(--primary-red);
}

.ba-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}

.label-before,
.label-after {
  background: var(--dark-gray);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--light-gray);
  aspect-ratio: 3/4;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-label {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 0, 0, 0.75);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 8px;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  pointer-events: none;
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-label {
  background: rgba(196, 30, 58, 0.9);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%) scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
  color: var(--white);
  padding: 1.5rem 1rem 1rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 0.25rem;
  font-weight: 600;
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
  margin: 0;
}

.gallery-cta {
  text-align: center;
}

/* Lightbox Styles */
.gallery-lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.gallery-lightbox-modal.active {
  opacity: 1;
}

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

.lightbox-image {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-size: 0.9rem;
  white-space: nowrap;
  backdrop-filter: blur(10px);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  z-index: 10001;
}

.lightbox-close:hover {
  background: rgba(196, 30, 58, 0.9);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.lightbox-nav:hover {
  background: rgba(196, 30, 58, 0.9);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav.prev {
  left: 1rem;
}

.lightbox-nav.next {
  right: 1rem;
}

.lightbox-counter {
  position: absolute;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1.25rem;
  border-radius: 20px;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  font-weight: 600;
}

/* Responsive */
@media (max-width: 992px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .gallery-label {
    font-size: 1.1rem;
    padding: 0.75rem 1.5rem;
  }

  .lightbox-nav {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }

  .lightbox-caption {
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    bottom: -40px;
  }

  .lightbox-close {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 480px) {
  .gallery-label {
    font-size: 1rem;
    padding: 0.6rem 1.25rem;
    letter-spacing: 1px;
  }

  .gallery-overlay h4 {
    font-size: 0.9rem;
  }

  .gallery-overlay p {
    font-size: 0.8rem;
  }
}

/**
 * =====================================================
 * SERVICE AREA ENHANCED
 * =====================================================
 */
.service-area-enhanced {
  padding: 5rem 0;
  background: var(--light-gray);
}

.service-area-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  align-items: center;
}

.area-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

.area-lead {
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.8;
}

/* Coverage Map */
.coverage-map {
  position: relative;
  background: linear-gradient(135deg, var(--primary-red), var(--bright-red));
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  min-height: 300px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(154, 5, 24, 0.2);
}

.map-overlay {
  position: relative;
  z-index: 1;
}

.coverage-zones {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.zone {
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  font-weight: 500;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: default;
  animation: fadeInUp 0.8s ease;
  animation-fill-mode: both;
}

.zone:nth-child(odd) {
  animation-delay: 0.1s;
}
.zone:nth-child(even) {
  animation-delay: 0.2s;
}

.zone:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.zone.primary-zone {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary-red);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 0.75rem 1.5rem;
  font-weight: 700;
  position: relative;
}

.zone.primary-zone small {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-light);
}

.radius-indicator {
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.125rem;
  font-weight: 600;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

/* Area Features */
.area-features {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center; /* center items on each row */
  align-items: center; /* center items vertically */
  align-content: center; /* center multiple rows as a block */
}

.area-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
  color: var(--dark-gray);
}

.area-feature i {
  font-size: 1.25rem;
  color: var(--primary-red);
}

/* Map Visual */
.area-visual {
  position: relative;
}

.map-container {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  background: var(--light-gray);
}

.map-container img {
  width: 100%;
  height: auto;
  display: block;
}

.map-markers {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.marker {
  position: absolute;
  width: 40px;
  height: 40px;
  transform: translate(-50%, -50%);
  cursor: pointer;
  animation: pulse 2s ease-in-out infinite;
}

.marker.headquarters {
  top: 50%;
  left: 50%;
  background: var(--primary-red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(154, 5, 24, 0.3);
}

.marker i {
  color: var(--white);
  font-size: 1.25rem;
}

.marker-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-gray);
  color: var(--white);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  margin-bottom: 0.5rem;
}

.marker:hover .marker-tooltip {
  opacity: 1;
}

/**
 * =====================================================
 * FINAL CTA SECTION
 * =====================================================
 */
.final-cta {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--dark-gray), var(--primary-red));
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  animation: float 30s linear infinite;
}

.cta-wrapper {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.cta-badge {
  display: inline-block;
  background: var(--bright-red);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: pulse 2s ease-in-out infinite;
}

.cta-content h2 {
  font-size: 2.75rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.125rem;
}

.cta-features {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-features .feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 500;
}

.cta-features .feature i {
  font-size: 1.25rem;
  color: var(--bright-red);
  background: rgba(255, 255, 255, 0.15);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/**
 * =====================================================
 * ANIMATIONS & KEYFRAMES
 * =====================================================
 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-100px, -100px);
  }
}

/**
 * =====================================================
 * RESPONSIVE DESIGN
 * =====================================================
 */

/* Tablet */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  /* Welcome */
  .welcome-wrapper {
    grid-template-columns: 1fr;
  }

  /* Services Tabs */
  .service-detail-card {
    grid-template-columns: 1fr;
  }

  .service-image {
    min-height: 250px;
  }

  /* Process */
  .process-timeline {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .timeline-track {
    display: none;
  }

  /* Trust Stats */
  .trust-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Testimonials */
  .testimonial-card.featured {
    grid-column: span 1;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Service Area */
  .service-area-wrapper {
    grid-template-columns: 1fr;
  }

  /* CTA Buttons */
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Mobile */
@media (max-width: 480px) {
  /* Typography */
  .section-title {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  /* Tab Navigation */
  .tab-navigation {
    gap: 0.5rem;
  }

  .tab-btn {
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
  }

  .tab-btn span {
    display: none;
  }

  /* Trust Stats */
  .trust-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  /* Testimonials */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Gallery */
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  /* Area Features */
  .area-features {
    flex-direction: column;
    gap: 1rem;
  }

  /* CTA Features */
  .cta-features {
    flex-direction: column;
    gap: 1.5rem;
  }
}

/**
 * =====================================================
 * CONTACT PAGE ANIMATION FIXES
 * =====================================================
 */
/* Hide contact cards initially to prevent flash */
.contact-info-card {
  opacity: 0;
  transform: translateY(30px);
}

.contact-hero-content {
  opacity: 0;
  transform: translateY(30px);
}

/**
 * =====================================================
 * PRINT STYLES
 * =====================================================
 */
@media print {
  nav,
  footer,
  .btn,
  .form-submit-btn {
    display: none;
  }

  body {
    font-size: 12pt;
    color: black;
  }

  .container {
    max-width: 100%;
  }
}

/**
 * =====================================================
 * SERVICE AREA MAP STYLES
 * =====================================================
 */
.map-container {
  position: relative;
  width: 100%;
  height: 450px; /* a bit taller for better zoomed-out view */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  margin-top: 1.5rem; /* adds breathing room if needed */
}

#service-map {
  width: 100%;
  height: 100%;
  z-index: 1; /* make sure it renders above backgrounds */
}

/* Leaflet controls cleanup */
.leaflet-control-attribution {
  font-size: 0.75rem;
  color: #555;
}
.leaflet-container {
  font: inherit; /* inherit site font */
}

/* Optional: tighten on mobile */
@media (max-width: 768px) {
  .map-container {
    height: 360px;
  }
}
@media (max-width: 480px) {
  .map-container {
    height: 300px;
  }
}
