/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f8f8f8;
}

/* Colors */
:root {
  --primary: #0056b3;
  --primary-dark: #004494;
  --secondary: #e67e22;
  --secondary-dark: #d35400;
  --dark: #333;
  --light: #f8f8f8;
  --white: #fff;
  --success: #28a745;
  --warning: #ffc107;
  --danger: #dc3545;
  --trust: #4CAF50;
  --urgent: #ff4757;
  --gray: #666;
  --light-gray: #ddd;
}

/* Accessibility Improvements */
:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

/* Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 80px 0; /* Increased padding for better spacing */
  margin-bottom: 20px; /* Added margin for better section separation */
}

/* Typography Improvements */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  margin-bottom: 0.5em;
}

p {
  margin-bottom: 1em;
}

/* Header */
header {
  background-color: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0; /* Readjusted since urgency bar is removed */
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

.logo span {
  color: var(--secondary);
}

nav ul {
  display: flex;
  list-style: none;
}

nav ul li {
  margin-left: 30px;
}

nav ul li a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 0; /* Added padding for better touch target */
}

nav ul li a:hover {
  color: var(--primary);
}

/* Mobile Menu Improvements */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--primary);
  padding: 5px;
  z-index: 1002;
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--white);
  z-index: 1001;
  padding: 80px 20px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  overflow-y: auto;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu ul {
  list-style: none;
  width: 100%;
  padding: 0;
}

.mobile-menu ul li {
  margin: 15px 0;
  width: 100%;
  text-align: center;
}

.mobile-menu ul li a {
  display: block;
  padding: 15px;
  font-size: 1.2rem;
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid var(--light-gray);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/foundation-after.jpg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  text-align: center;
  padding: 120px 0; /* Increased padding for better visual impact */
  position: relative;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2; /* Improved line height for better readability */
}

.hero p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto 30px;
  line-height: 1.5; /* Improved line height for better readability */
}

/* Hero Trust Badges Improvements */
.hero-trust-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 30px 0;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 25px;
  color: var(--dark);
  font-weight: 500;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.trust-badge i {
  color: var(--trust);
  font-size: 1.2rem;
}

/* Hero Form Styles */
.hero-form-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  width: 100%;
  max-width: 600px;
  margin-bottom: 20px;
}

.hero-form h3 {
  color: var(--primary);
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.4rem;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.btn-block {
  width: 100%;
}

.hero-form .form-privacy {
  text-align: center;
  font-size: 0.8rem;
  color: var(--gray);
  margin-top: 15px;
  margin-bottom: 0;
}

.hero-cta-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
  flex-wrap: wrap;
}

/* Responsive adjustments for hero form */
@media (max-width: 768px) {
  .form-row {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-form {
    padding: 20px;
  }
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px; /* Increased padding for better touch targets */
  border-radius: 4px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--white);
  border-color: var(--secondary);
}

.btn-outline {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-secondary:hover, .btn-secondary:focus {
  background-color: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-white {
  background-color: var(--white);
  color: var(--primary);
  border-color: var(--white);
}

.btn-white:hover, .btn-white:focus {
  background-color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
  background-color: var(--white);
}

.section-header {
  text-align: center;
  margin-bottom: 60px; /* Increased margin for better spacing */
}

.section-header h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px; /* Added padding for decorative element */
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--secondary);
}

.section-header p {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray);
  font-size: 1.1rem; /* Increased font size for better readability */
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns for symmetry */
  gap: 40px; /* Increased gap for better spacing */
}

/* Add a media query for mobile to maintain responsiveness */
@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}

.service-card {
  background-color: var(--light);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.service-img {
  height: 200px;
  background-color: #ddd;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 25px; /* Increased padding for better spacing */
}

.service-problem {
  color: var(--danger);
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.service-content h3 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.5rem;
}

.service-content p {
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.6;
}

.service-cta {
  margin-top: 20px;
  text-align: center;
}

.cost-of-delay {
  background-color: rgba(220, 53, 69, 0.1);
  padding: 15px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--danger);
  font-weight: 500;
}

/* Before/After Showcase Improvements */
.before-after-slider {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background-color: #ddd;
}

.before-img,
.after-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
}

.before-img {
  z-index: 1;
  clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

.slider-handle {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  background: var(--white);
  cursor: ew-resize;
  z-index: 3;
}

.slider-handle::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--white);
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
  z-index: 4;
}

.slider-handle::after {
  content: '↔';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-size: 1.2rem;
  font-weight: bold;
  z-index: 5;
}

.slider-label {
  position: absolute;
  bottom: 10px;
  padding: 5px 10px;
  background: rgba(0,0,0,0.7);
  color: var(--white);
  font-size: 0.8rem;
  border-radius: 4px;
  z-index: 2;
}

.before-label {
  left: 10px;
}

.after-label {
  right: 10px;
}

/* Why Choose Us */
.why-us {
  background-color: var(--light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Force 2 columns for symmetry */
  gap: 30px;
}

/* Add a media query for mobile to maintain responsiveness */
@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr; /* Single column on mobile */
  }
}

.feature-card {
  text-align: center;
  padding: 40px 30px; /* Increased padding for better spacing */
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-stat {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1;
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--primary);
  font-size: 1.3rem;
}

.feature-card p {
  color: var(--gray);
  line-height: 1.6;
}

/* Why Us CTA */
.why-us-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(0, 86, 179, 0.05);
  border-radius: 8px;
}

.why-us-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 500;
}

/* Process CTA */
.process-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(0, 86, 179, 0.05);
  border-radius: 8px;
}

.process-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--primary);
  font-weight: 500;
}

/* Testimonials */
.testimonials {
  background-color: var(--white);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--light);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.rating {
  color: var(--warning);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: var(--dark);
  line-height: 1.6;
  font-size: 1.05rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 5px;
}

.testimonial-location {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 10px;
}

.testimonial-source {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray);
}

.testimonial-source img {
  width: 20px;
  height: 20px;
}

/* Testimonial CTA */
.testimonial-cta {
  text-align: center;
  margin-top: 50px;
  padding: 30px;
  background-color: rgba(230, 126, 34, 0.05);
  border-radius: 8px;
}

.testimonial-cta p {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: var(--secondary);
  font-weight: 500;
}

/* CTA Section */
.cta {
  background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), url('../images/brick_wall_with_parging.jpeg') no-repeat center center;
  background-size: cover;
  color: var(--white);
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  line-height: 1.6;
}

.cost-comparison {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 40px 0;
  flex-wrap: wrap;
}

.cost-box {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 25px;
  border-radius: 8px;
  min-width: 200px;
  transition: transform 0.3s ease;
}

.cost-box:hover {
  transform: scale(1.05);
}

.cost-box.highlight {
  background-color: rgba(220, 53, 69, 0.2);
  border: 2px solid var(--danger);
}

.cost-box h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--white);
}

.cost-amount {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.cost-box.highlight .cost-amount {
  color: var(--danger);
}

.cost-box p {
  font-size: 0.9rem;
  margin: 0;
}

.cost-disclaimer {
  margin-top: 20px;
  background-color: rgba(255, 255, 255, 0.15);
  padding: 15px;
  border-radius: 6px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 25px;
}

.cost-disclaimer p {
  font-size: 0.85rem;
  margin: 0;
  text-align: left;
  font-style: italic;
}

/* Contact Form */
.contact {
  background-color: var(--light);
}

.contact-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  align-items: start;
}

.contact-info h3 {
  color: var(--primary);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.contact-details {
  margin-bottom: 30px;
}

.contact-details div {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
}

.contact-icon {
  color: var(--secondary);
  margin-right: 15px;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.guarantee-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(40, 167, 69, 0.1);
  color: var(--success);
  padding: 10px 15px;
  border-radius: 4px;
  font-weight: 600;
  margin-bottom: 20px;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.form-header {
  text-align: center;
  margin-bottom: 30px;
}

.form-header h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.form-header p {
  color: var(--gray);
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--dark);
}

.form-control {
  width: 100%;
  padding: 15px; /* Increased padding for better touch targets */
  border: 1px solid var(--light-gray);
  border-radius: 4px;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.2);
}

.form-control.error {
  border-color: var(--danger);
}

.error-message {
  color: var(--danger);
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}

.error-message.show {
  display: block;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1rem;
}

.form-privacy {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 15px;
  text-align: center;
}

.response-time {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--primary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Form Progress Improvements */
.form-progress {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  max-width: 100%;
  overflow: hidden;
}

.progress-step {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 0; /* Allow steps to shrink if needed */
  margin: 0 5px; /* Add some spacing between steps */
}

.progress-step::before {
  content: '';
  height: 3px;
  width: 100%;
  background: var(--light-gray);
  position: absolute;
  top: 15px;
  left: 50%;
  z-index: 1;
  max-width: calc(100% - 10px); /* Prevent line from extending too far */
}

.progress-step:first-child::before {
  display: none;
}

.progress-step.active::before,
.progress-step.completed::before {
  background: var(--primary);
}

.progress-number {
  width: 34px;
  height: 34px;
  background: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 10px;
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
  font-weight: 600;
}

.progress-step.active .progress-number {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 5px rgba(0, 86, 179, 0.2);
}

.progress-step.completed .progress-number {
  background: var(--success);
  color: var(--white);
}

.progress-step.completed .progress-number::after {
  content: '✓';
}

.progress-label {
  font-size: 0.9rem;
  color: var(--gray);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  padding: 0 5px;
}

.progress-step.active .progress-label {
  color: var(--primary);
  font-weight: 600;
}

.form-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 15px;
}

.form-navigation button {
  flex: 1;
  padding: 12px;
}

/* Success Message */
.success-message {
  display: none;
  background-color: var(--success);
  color: var(--white);
  padding: 25px;
  border-radius: 8px;
  margin-bottom: 30px;
  text-align: center;
  animation: fadeIn 0.5s ease;
}

.success-message.show {
  display: block;
}

.success-content h3 {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.next-steps {
  background-color: rgba(255, 255, 255, 0.2);
  padding: 15px;
  border-radius: 4px;
  margin-top: 20px;
  text-align: left;
}

.next-steps h4 {
  margin-bottom: 10px;
}

.next-steps ol {
  padding-left: 20px;
}

.next-steps li {
  margin-bottom: 8px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 70px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-column h3 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  color: var(--secondary);
  position: relative;
  padding-bottom: 10px;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

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

.footer-links a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: block;
}

.footer-links a:hover {
  color: var(--white);
  padding-left: 5px;
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 25px;
}

.social-icon {
  color: var(--white);
  font-size: 1.2rem;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: var(--secondary);
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid #444;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-bottom a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}

/* Problem Identifier Section Improvements */
.problem-identifier {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  margin: -50px auto 60px;
  position: relative;
  z-index: 10;
  max-width: 900px;
}

.problem-identifier h3 {
  color: var(--primary);
  font-size: 1.8rem;
  text-align: center;
  margin-bottom: 30px;
}

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

.mb-4 {
  margin-bottom: 20px;
}

.problem-checklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.problem-check {
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
}

.problem-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.problem-check label {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: var(--light);
  border: 2px solid transparent;
  border-radius: 6px;
  transition: all 0.3s ease;
  font-weight: 500;
  color: var(--dark);
  min-height: 80px; /* Increased for consistency */
  width: 100%; /* Ensure label takes full width */
}

.problem-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  background-color: rgba(0, 86, 179, 0.1);
  border-radius: 50%;
  margin-right: 10px;
  color: var(--primary);
  transition: all 0.3s ease;
}

.problem-check input[type="checkbox"]:checked + label {
  background: rgba(0, 86, 179, 0.1);
  border-color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
}

.problem-check input[type="checkbox"]:checked + label .problem-icon {
  background-color: var(--primary);
  color: var(--white);
}

.problem-check:hover label {
  background: rgba(0, 86, 179, 0.05);
  transform: translateY(-2px);
}

.problem-actions {
  text-align: center;
  margin-top: 30px;
}

.selected-problems {
  display: none;
  margin-top: 30px;
  padding: 25px;
  background: rgba(40, 167, 69, 0.1);
  border-radius: 8px;
  text-align: center;
  border: 1px solid rgba(40, 167, 69, 0.3);
}

.selected-problems.show {
  display: block;
  animation: fadeIn 0.5s ease;
}

.problem-summary {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.cost-estimate {
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.cost-estimate strong {
  color: var(--primary);
  font-size: 1.3rem;
}

.estimate-disclaimer, .data-source {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 10px;
  padding: 8px 10px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 4px;
  text-align: left;
}

.data-source {
  margin-bottom: 15px;
  font-style: italic;
}

.urgency-message {
  color: var(--danger);
  font-size: 0.95rem;
  margin: 15px 0;
  padding: 10px;
  background-color: rgba(220, 53, 69, 0.1);
  border-radius: 4px;
}

/* Spacers */
.header-spacer {
  height: 20px;
  background-color: var(--light);
  width: 100%;
}

.section-spacer {
  height: 40px;
  width: 100%;
}

/* Exit Intent Popup */
.exit-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.exit-popup.show {
  opacity: 1;
}

.exit-popup-content {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
  text-align: center;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.exit-popup.show .exit-popup-content {
  transform: translateY(0);
}

.close-popup {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.popup-offer {
  margin: 20px 0;
  padding: 20px;
  background: var(--light);
  border-radius: 4px;
}

.offer-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
}

.offer-terms {
  font-size: 0.9rem;
  color: #666;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.back-to-top.visible {
  opacity: 1;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}

/* Floating CTA */
.floating-cta {
  position: fixed;
  bottom: 30px;
  left: 30px;
  padding: 15px 25px;
  z-index: 999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  animation: bounce 2s infinite;
}

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

/* Secondary CTA Section */
.secondary-cta {
  background-color: var(--light);
  padding: 50px 0;
  text-align: center;
}

.secondary-cta h3 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.secondary-conversion {
  max-width: 600px;
  margin: 0 auto;
}

.secondary-conversion p {
  margin-bottom: 25px;
  color: var(--gray);
}

.secondary-conversion form {
  display: flex;
  flex-direction: column;
  max-width: 500px;
  margin: 0 auto;
}

@media (min-width: 576px) {
  .secondary-conversion form {
    flex-direction: row;
    gap: 15px;
  }
}

.secondary-conversion .form-group {
  flex: 1;
  margin-bottom: 15px;
}

@media (min-width: 576px) {
  .secondary-conversion .form-group {
    margin-bottom: 0;
  }
}

.secondary-conversion button {
  width: 100%;
}

@media (min-width: 576px) {
  .secondary-conversion button {
    width: auto;
  }
}

/* Service Area Section */
.service-area {
  background-color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.service-area h3 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 1.8rem;
}

.area-map {
  height: 400px;
  background-color: var(--light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray);
  font-style: italic;
}

/* Certifications Section */
.certifications {
  background-color: var(--light);
  padding: 40px 0;
  text-align: center;
}

.certifications h3 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 1.5rem;
}

.certification-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
}

.certification-logo {
  height: 60px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.certification-logo:hover {
  opacity: 1;
  transform: scale(1.05);
}

/* Accessibility Improvements */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Mobile Responsive Improvements */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .feature-stat {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  
  .header-content {
    padding: 10px 0;
  }
  
  nav ul {
    display: none;
  }
  
  .mobile-toggle {
    display: block;
  }
  
  .hero {
    padding: 80px 0;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 1.8rem;
  }
  
  .contact-container {
    grid-template-columns: 1fr;
  }
  
  .secondary-conversion form {
    flex-direction: column;
  }
  
  .urgency-bar {
    padding: 10px;
    flex-direction: column;
    gap: 10px;
  }
  
  .floating-cta {
    left: 50%;
    transform: translateX(-50%);
    bottom: 20px;
    width: 90%;
    max-width: 300px;
  }
  
  .back-to-top {
    right: 20px;
    bottom: 80px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 0.9rem;
  }
  
  .section-header h2 {
    font-size: 1.6rem;
  }
  
  .contact-form {
    padding: 25px;
  }
  
  .cost-comparison {
    flex-direction: column;
    gap: 20px;
  }
  
  .problem-checklist {
    grid-template-columns: 1fr;
  }
}

/* Animation Utilities */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

.mt-3 {
  margin-top: 15px;
}

.font-weight-bold {
  font-weight: 700;
}
