/* Custom Styles for Allstate Plumbing, Heating & Fireproofing */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --primary-navy: #001c46;
  --primary-red: #e61e1e;
  --accent-gold: #e29b26;
  --bg-light: #f8f9fa;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: #ffffff;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--primary-navy);
}

/* Custom Spacing & Sections */
section {
  padding: 80px 0;
}

.section-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--primary-red);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 700px;
  margin: 0 auto 50px auto;
}

/* Custom Buttons */
.btn-custom-red {
  background-color: var(--primary-red);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--primary-red);
  transition: var(--transition-smooth);
}

.btn-custom-red:hover {
  background-color: #c91414;
  border-color: #c91414;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 30, 30, 0.3);
}

.btn-custom-outline-white {
  background-color: transparent;
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  transition: var(--transition-smooth);
}

.btn-custom-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.btn-custom-outline-red {
  background-color: transparent;
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 12px 28px;
  border-radius: 4px;
  border: 2px solid var(--primary-red);
  transition: var(--transition-smooth);
}

.btn-custom-outline-red:hover {
  background-color: var(--primary-red);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 30, 30, 0.2);
}

/* Fixed Site Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

body {
  padding-top: 116px; /* top-bar (~36px) + navbar (~80px) */
}

@media (max-width: 767px) {
  body {
    padding-top: 80px; /* navbar only — top-bar hidden on mobile */
  }
}

/* Top Bar Styling */
.top-bar {
  background-color: var(--primary-navy);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 500;
}

.top-bar a {
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.top-bar a:hover {
  color: var(--accent-gold);
}

/* Navbar Styling */
.navbar {
  padding: 15px 0;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar.navbar-scrolled {
  padding: 8px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}

.navbar-brand img {
  height: 50px;
  transition: height 0.3s ease;
}

.navbar.navbar-scrolled .navbar-brand img {
  height: 40px;
}

.navbar-nav .nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-dark);
  text-transform: uppercase;
  padding: 8px 15px !important;
  transition: var(--transition-smooth);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-red) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 160px 0;
  color: #ffffff;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, rgba(0, 28, 70, 0.85) 0%, rgba(0, 28, 70, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
}


.hero-title {
  font-size: 3.25rem;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-bottom: 35px;
}

/* Overlapping Tri-Cards Section */
.overlap-cards-section {
  padding: 0;
  position: relative;
  z-index: 10;
  margin-top: -60px;
}

.service-card-tri {
  padding: 40px 30px;
  color: #ffffff;
  text-decoration: none;
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.service-card-tri:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
  color: #ffffff;
}

.service-card-tri.navy { background-color: var(--primary-navy); }
.service-card-tri.red { background-color: var(--primary-red); }
.service-card-tri.gold { background-color: var(--accent-gold); }

.service-card-tri .icon-box {
  font-size: 2.25rem;
  margin-bottom: 25px;
}

.service-card-tri h3 {
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 0.5px;
}

.service-card-tri p {
  font-size: 0.9rem;
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 0;
  flex-grow: 1;
}

/* Why Choose Us Section */
.why-choose-section {
  background-color: #ffffff;
}

.why-features-grid {
  border-left: 1px solid #e2e8f0;
}

.feature-col {
  padding: 20px 25px;
  position: relative;
}

.feature-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: #e2e8f0;
}

.feature-icon-wrapper {
  color: var(--primary-navy);
  font-size: 2rem;
  margin-bottom: 20px;
}

.feature-col h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-navy);
  margin-bottom: 10px;
}

.feature-col p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .why-features-grid {
    border-left: none;
    margin-top: 40px;
  }
  .feature-col {
    border-bottom: 1px solid #e2e8f0;
    padding: 30px 15px;
  }
  .feature-col::after {
    display: none;
  }
}

/* Solutions Section (Our Services Cards with round top and circular badges) */
.solutions-section {
  background-color: var(--bg-light);
}

.solution-card {
  background: #ffffff;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
  transition: var(--transition-smooth);
  height: 100%;
}

.solution-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.solution-image-container {
  position: relative;
  height: 230px;
  overflow: hidden;
}

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

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

.solution-badge-icon {
  position: absolute;
  bottom: -22px;
  left: 25px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  z-index: 2;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.solution-badge-icon.navy { background-color: var(--primary-navy); }
.solution-badge-icon.red { background-color: var(--primary-red); }
.solution-badge-icon.gold { background-color: var(--accent-gold); }

.solution-body {
  padding: 40px 25px 30px 25px;
}

.solution-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.solution-body p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 25px;
}

.solution-link {
  color: var(--primary-navy);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-smooth);
}

.solution-link i {
  transition: var(--transition-smooth);
}

.solution-link:hover {
  color: var(--primary-red);
}

.solution-link:hover i {
  transform: translateX(4px);
}

/* Our Projects Section */
.projects-section {
  background-color: var(--primary-navy);
  color: #ffffff;
}

.projects-section .section-title {
  color: #ffffff;
}

.project-card {
  position: relative;
  height: 260px;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 24px;
}

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

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 28, 70, 0.9) 0%, rgba(0, 28, 70, 0.2) 70%, transparent 100%);
  opacity: 0.9;
  transition: var(--transition-smooth);
}

/* Testimonials Section */
.testimonials-section {
  background-color: #ffffff;
}

.testimonials-section .section-title {
  margin-bottom: 15px;
}

.title-underline {
  width: 50px;
  height: 3px;
  background-color: var(--primary-red);
  margin: 0 auto 50px auto;
}

.testimonial-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 35px 30px;
  height: 100%;
  transition: var(--transition-smooth);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border-color: #cbd5e1;
}

.testimonial-quote-icon {
  color: var(--primary-red);
  font-size: 2.25rem;
  line-height: 1;
  font-family: var(--font-heading);
  font-weight: 900;
  margin-bottom: 15px;
  opacity: 0.9;
}

.testimonial-text {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 25px;
  font-style: normal;
}

.testimonial-author {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--primary-navy);
  margin-bottom: 4px;
}

.testimonial-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.testimonial-google-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* Testimonial slider */
.testimonial-slider-wrapper {
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-slide {
  min-width: calc(100% / 3);
  padding: 0 12px;
}

@media (max-width: 991px) {
  .testimonial-slide {
    min-width: 50%;
  }
}

@media (max-width: 575px) {
  .testimonial-slide {
    min-width: 100%;
  }
}

/* Slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

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

.dot.active {
  background-color: var(--primary-red);
  width: 20px;
  border-radius: 4px;
}

/* CTA Banner Section */
.cta-banner-section {
  background-color: var(--primary-red);
  color: #ffffff;
  padding: 40px 0;
}

.cta-flex-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.cta-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-phone-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cta-text h3 {
  color: #ffffff;
  font-size: 1.35rem;
  margin-bottom: 4px;
  font-weight: 700;
}

.cta-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
  opacity: 0.9;
}

.btn-cta-white {
  background-color: #ffffff;
  color: var(--primary-red);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 14px 30px;
  border-radius: 4px;
  border: 2px solid #ffffff;
  transition: var(--transition-smooth);
}

.btn-cta-white:hover {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-color: var(--primary-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .cta-flex-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .btn-cta-white {
    width: 100%;
    text-align: center;
  }
}

/* Footer Section */
.footer-section {
  background-color: #00122e;
  color: #a3b3cc;
  padding: 70px 0 20px 0;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-section h4 {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
  position: relative;
}

.footer-logo-desc p {
  line-height: 1.6;
  margin-bottom: 20px;
}

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

.social-links a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--primary-red);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links-list li {
  margin-bottom: 12px;
}

.footer-links-list a {
  color: #a3b3cc;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

.footer-contact-info p {
  margin-bottom: 15px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info i {
  color: #ffffff;
  font-size: 1rem;
  margin-top: 2px;
}

.footer-contact-info a {
  color: var(--accent-gold);
  text-decoration: none;
  font-family: var(--font-heading);
  font-weight: 600;
  transition: var(--transition-smooth);
}

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

/* Footer Bottom */
.footer-bottom {
  background-color: #000c21;
  color: #64748b;
  padding: 20px 0;
  font-size: 0.75rem;
}

.footer-bottom a {
  color: #64748b;
  text-decoration: none;
  transition: var(--transition-smooth);
}

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

/* Inner Pages styling */
.inner-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 80px 0 90px 0;
  color: #ffffff;
}
.inner-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(90deg, rgba(0, 28, 70, 0.9) 0%, rgba(0, 28, 70, 0.75) 100%);
  z-index: 1;
}
.inner-hero-content {
  position: relative;
  z-index: 2;
}
.inner-hero-title {
  font-size: 2.75rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}
.breadcrumb-custom {
  display: flex;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: 0.85rem;
  font-family: var(--font-heading);
  font-weight: 500;
}
.breadcrumb-custom li {
  display: flex;
  align-items: center;
}
.breadcrumb-custom li:not(:last-child)::after {
  content: '/';
  margin: 0 10px;
  opacity: 0.6;
  color: #ffffff;
}
.breadcrumb-custom a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.breadcrumb-custom a:hover {
  color: #ffffff;
}
.breadcrumb-custom li.active {
  color: var(--accent-gold);
}

/* Service Specialty Cards */
.specialty-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 30px;
  height: 100%;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.specialty-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.06);
  border-color: #cbd5e1;
}
.specialty-card .icon-box {
  color: var(--primary-red);
  font-size: 2.25rem;
  margin-bottom: 20px;
  display: inline-block;
}
.specialty-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--primary-navy);
}
.specialty-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Side Column List Info Box */
.info-sidebar-box {
  background-color: var(--bg-light);
  border-radius: 6px;
  padding: 30px;
}
.info-sidebar-box h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--primary-navy);
  padding-bottom: 10px;
  color: var(--primary-navy);
}
.checklist-custom {
  list-style: none;
  padding: 0;
  margin: 0;
}
.checklist-custom li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-dark);
}
.checklist-custom li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 700;
}

/* Specialized Services Styles */
.subservices-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.subservices-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  font-size: 0.85rem;
  color: var(--text-dark);
}
.subservices-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--primary-red);
  font-weight: 700;
}

/* Process Section Styles */
.process-section {
  background-color: #ffffff;
  position: relative;
}
.process-step-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  position: relative;
  z-index: 2;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}
.process-step-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border-color: var(--primary-red);
}
.process-badge {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-navy);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: var(--transition-smooth);
}
.process-step-card:hover .process-badge {
  background-color: var(--primary-red);
  transform: scale(1.1);
}
.process-step-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.process-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Pipe graphic line connector */
.pipe-connector-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
}
.pipe-connector-svg {
  width: 100%;
  height: 60px;
}
@keyframes flow {
  to {
    stroke-dashoffset: -20;
  }
}
.pipe-flow {
  stroke: #cbd5e1;
  stroke-width: 4;
  fill: none;
}
.pipe-liquid {
  stroke: var(--primary-red);
  stroke-width: 4;
  stroke-linecap: round;
  stroke-dasharray: 8, 12;
  animation: flow 1.5s linear infinite;
  fill: none;
}

/* Contact/Schedule Form Section */
.schedule-section {
  background-color: var(--bg-light);
}
.contact-form-card {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}
.form-floating > .form-control:focus ~ label::after,
.form-floating > .form-control:not(:placeholder-shown) ~ label::after {
  background-color: transparent !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 0.25rem rgba(230, 30, 30, 0.15);
}
.styled-map-card {
  background-color: var(--primary-navy);
  color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}
.styled-map-header {
  padding: 30px;
  background-color: #00122e;
}
.styled-map-body {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.vector-map-graphic {
  width: 100%;
  height: 200px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  background-color: #000c21;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.grid-line {
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 1;
}
.road-line {
  stroke: rgba(255, 255, 255, 0.08);
  stroke-dasharray: 4, 4;
}
.pulse-circle {
  fill: var(--primary-red);
  opacity: 0.8;
}
.pulse-circle-ring {
  fill: none;
  stroke: var(--primary-red);
  stroke-width: 1.5;
  transform-origin: 50% 50%;
  animation: pulse-ring 2s ease-out infinite;
}
@keyframes pulse-ring {
  0% {
    r: 4px;
    opacity: 1;
  }
  100% {
    r: 20px;
    opacity: 0;
  }
}

/* Hero Slider */
.hero-slider {
  position: relative;
  overflow: hidden;
  min-height: 580px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 140px 0 160px;
  color: #ffffff;
  opacity: 0;
  transition: opacity 0.9s ease;
  pointer-events: none;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 28, 70, 0.88) 0%, rgba(0, 28, 70, 0.55) 100%);
}

/* Dots */
.hero-slider-dots {
  display: flex;
  gap: 8px;
  margin-top: 28px;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
  display: block;
}

.hero-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

@media (max-width: 767px) {
  .hero-slider {
    min-height: 480px;
  }

  .hero-slide {
    padding: 80px 0 60px;
  }

  .hero-title {
    font-size: 2rem;
    margin-bottom: 14px;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .overlap-cards-section {
    display: none;
  }

  .why-choose-section {
    padding-top: 40px;
  }
}
