/********** Funky Template CSS **********/

/********** 1. Variables **********/
:root {
  /* Primary Colors */
  --primary: #6366f1;      /* Indigo 500 - vibrant purple/blue */
  --primary-light: #818cf8; /* Indigo 400 */
  --primary-dark: #4f46e5;  /* Indigo 600 */
  
  /* Secondary Colors */
  --secondary: #f97316;    /* Orange 500 - warm contrast */
  --secondary-light: #fb923c; /* Orange 400 */
  --secondary-dark: #ea580c; /* Orange 600 */
  
  /* UI Colors */
  --accent: #10b981;       /* Emerald 500 - pop of color */
  --light: #f8fafc;        /* Slate 50 */
  --dark: #1e293b;         /* Slate 800 */
  --body-bg: #f1f5f9;      /* Slate 100 */
  --text-color: #334155;   /* Slate 700 */
  
  /* Grayscale */
  --gray-100: #f1f5f9;     /* Slate 100 */
  --gray-200: #e2e8f0;     /* Slate 200 */
  --gray-300: #cbd5e1;     /* Slate 300 */
  --gray-400: #94a3b8;     /* Slate 400 */
  --gray-500: #64748b;     /* Slate 500 */
  --gray-700: #334155;     /* Slate 700 */
  --gray-900: #0f172a;     /* Slate 900 */
}

/********** 2. Base Styles **********/
/* General Style */
body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-color);
  background-color: var(--body-bg);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--dark);
}

p {
  font-size: 1rem;
  line-height: 1.7;
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
  color: var(--primary);
}

a:hover {
  color: var(--primary-dark);
}

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

/* Background Colors */
.bg-primary {
  background-color: var(--primary) !important;
}

.bg-secondary {
  background-color: var(--secondary) !important; 
}

.bg-dark {
  background-color: var(--dark) !important;
}

.bg-light {
  background-color: var(--light) !important;
}

.bg-accent {
  background-color: var(--accent) !important;
}

/* Text Colors */
.text-primary {
  color: var(--primary) !important;
}

.text-secondary {
  color: var(--secondary) !important;
}

.text-accent {
  color: var(--accent) !important;
}

.text-white {
  color: #FFFFFF !important;
}

.text-dark {
  color: var(--dark) !important;
}

/* Utility Classes */
.rounded-4 {
  border-radius: 1rem !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15) !important;
}

/* Animations */
.animated-text {
  background: linear-gradient(90deg, #FFFFFF, #e0e7ff, #FFFFFF);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: #FFFFFF;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

@keyframes blob-animate {
  0% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
  25% {
    border-radius: 58% 42% 75% 25% / 76% 46% 54% 24%;
  }
  50% {
    border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
  }
  75% {
    border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
  }
  100% {
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(249, 115, 22, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(249, 115, 22, 0);
  }
}

/********** 3. Button Styles **********/
.btn {
  font-weight: 600;
  padding: 0.6rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

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

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

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

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

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

.btn-accent:hover {
  background-color: var(--accent);
  filter: brightness(90%);
  color: white;
}

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

.btn-light:hover {
  background-color: var(--gray-100);
  color: var(--primary-dark);
}

.btn-outline-light {
  border: 2px solid white;
  color: white;
  background-color: transparent;
}

.btn-outline-light:hover {
  background-color: white;
  color: var(--primary);
}

.btn-lg {
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.4rem 1.2rem;
  font-size: 0.9rem;
}

.rounded-pill {
  border-radius: 50rem !important;
}

/********** 4. Section Title Styles **********/
.section-title {
  margin-bottom: 2.5rem;
}

.section-title .subtitle {
  display: inline-block;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.section-title .title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.title-shape {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

.title-shape.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

/********** 5. Navbar and Topbar Styles **********/
/* Topbar */
.topbar {
  padding-top: 10px;
}

.topbar-link, .topbar-social {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.topbar-link:hover, .topbar-social:hover {
  color: #ffffff;
}

/* Navbar Container */
.navbar-fixed-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

/* Initial navbar style */
#mainNavbar {
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Navbar after scroll */
#mainNavbar.navbar-scrolled {
  background-color: #ffffff;
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.1);
  border: none;
}

/* White text initially */
#mainNavbar .navbar-nav .nav-link {
  color: #ffffff;
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
}

/* Dark text after scroll */
#mainNavbar.navbar-scrolled .navbar-nav .nav-link {
  color: #1e293b;
}

/* Active and hover states */
#mainNavbar .navbar-nav .nav-link:hover, 
#mainNavbar .navbar-nav .nav-link.active {
  color: rgba(255, 255, 255, 1);
}

#mainNavbar.navbar-scrolled .navbar-nav .nav-link:hover, 
#mainNavbar.navbar-scrolled .navbar-nav .nav-link.active {
  color: #6366f1;
}

/* Active indicator */
#mainNavbar .navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  width: calc(100% - 2rem);
  height: 3px;
  background: #ffffff;
  border-radius: 50px;
}

#mainNavbar.navbar-scrolled .navbar-nav .nav-link.active::after {
  background: #6366f1;
}

/* Hamburger icon color */
#mainNavbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

#mainNavbar.navbar-scrolled .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Mobile menu background */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(99, 102, 241, 0.9);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
  }

  #mainNavbar.navbar-scrolled .navbar-collapse {
    background-color: #ffffff;
  }

  #mainNavbar .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  #mainNavbar.navbar-scrolled .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  #mainNavbar .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

/********** 6. Hero Section **********/
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  padding: 7rem 0 0;
  overflow: hidden;
  min-height: 600px;
}

.hero-section + section {
  padding-top: 3rem;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.hero-section .container {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  margin-left: 2rem;
}

.hero-image {
  position: relative;
  z-index: 2;
}

.hero-img {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.blob-shape {
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 15rem;
  height: 15rem;
  background-color: var(--secondary);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
  animation: blob-animate 8s ease-in-out infinite;
}

.badge-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
}

.badge-text {
  color: white;
  font-weight: 600;
  font-size: 1rem;
}

/* Custom curved wave divider */
.curved-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
}

.curved-wave-divider svg {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
}

/* Make sure content is positioned above the wave */
.z-1 {
  position: relative;
  z-index: 2;
}

/********** 7. Stats Counter Section **********/
.stats-counter {
  background-color: white;
  padding: 4rem 0;
}

.counter-item {
  background-color: white;
  padding: 1.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
}

.counter-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.counter-icon {
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
  color: white;
  font-size: 2rem;
  border-radius: 1rem;
  margin-right: 1.5rem;
}

.counter-content {
  flex: 1;
}

.counter-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
  line-height: 1;
}

.counter-text {
  font-size: 1.1rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/********** 8. About Section **********/
.about-section {
  padding: 5rem 0;
  background-color: white;
}

.about-image {
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.experience-badge {
  position: absolute;
  bottom: 2rem;
  right: -2rem;
  background: var(--primary);
  color: white;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.experience-badge .years {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
}

.experience-badge .text {
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
}

.about-shape {
  position: absolute;
  top: -3rem;
  left: -3rem;
  width: 200px;
  height: 200px;
  background-color: var(--secondary);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

.about-content {
  padding-left: 2rem;
}

.about-text {
  color: var(--gray-700);
  line-height: 1.8;
}

/********** 9. Why Choose Us Section **********/
.why-choose-section {
  background-color: var(--gray-100);
  position: relative;
  overflow: hidden;
}

.why-choose-image {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.15);
}

.why-shape {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 200px;
  height: 200px;
  background-color: var(--secondary);
  opacity: 0.1;
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  z-index: -1;
}

.why-badges {
  position: absolute;
  bottom: 2rem;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.why-badge {
  background: rgba(255, 255, 255, 0.9);
  padding: 0.8rem 1.2rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.why-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.8rem 1.5rem rgba(0, 0, 0, 0.15);
}

.why-badge i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: var(--primary);
}

.why-badge span {
  font-weight: 600;
  color: var(--dark);
  font-size: 0.9rem;
}

.why-choose-text {
  color: var(--gray-700);
  line-height: 1.8;
}

/********** 10. Service Cards **********/
.service-card {
  padding: 1.5rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.service-icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: 1rem;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  background: var(--primary);
  color: white;
  transform: rotateY(180deg);
}

.service-content h5 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark);
}

.service-content p {
  color: var(--gray-500);
  margin-bottom: 1rem;
}

/********** 11. Services Section **********/
.services-section {
  background-color: white;
  padding: 5rem 0;
}

.service-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  background: transparent;
  box-shadow: none;
}

.service-item:hover {
  transform: translateY(-10px);
}

.service-item-inner {
  padding: 2rem;
  border-radius: 1rem;
  background: white;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.service-item-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.service-item:hover .service-item-inner {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.1);
}

.service-item:hover .service-item-inner::before {
  height: 100%;
}

.service-item .service-icon {
  margin: 0 auto 1.5rem;
  width: 70px;
  height: 70px;
  font-size: 1.8rem;
}

.service-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.service-link {
  color: var(--dark);
  transition: all 0.3s ease;
}

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

.service-text {
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 1.5rem;
}

.service-item .btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/********** 12. CTA Sections **********/
/* Regular CTA */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.cta-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  position: relative;
}

/* Small CTA Section */
.small-cta-section {
  padding: 3rem 0;
}

.small-cta-wrapper {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: white;
  position: relative;
  overflow: hidden;
}

.small-cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 020s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.small-cta-content {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
}

/********** 13. Service Areas Section **********/
.service-areas-section {
  padding: 5rem 0;
}

.service-areas-wrapper {
  background: linear-gradient(135deg, var(--secondary-dark), var(--secondary));
  color: white;
  position: relative;
  overflow: hidden;
}

.service-areas-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10zm10 8c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8zm40 40c4.418 0 8-3.582 8-8s-3.582-8-8-8-8 3.582-8 8 3.582 8 8 8z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 0;
}

.zip-codes-content, .nearby-cities-content {
  position: relative;
  z-index: 2;
}

.nearby-city-link {
  color: white;
  font-weight: 600;
  text-decoration: underline;
  transition: all 0.3s ease;
}

.nearby-city-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

/********** 14. Areas Section **********/
.areas-section {
  background-color: var(--body-bg);
  padding: 5rem 0;
}

.map-container {
  position: relative;
  height: 450px;
  margin-bottom: 3rem;
}

.area-link {
  display: block;
  text-decoration: none;
}

.area-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: white;
  border-radius: 0.75rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 4px solid var(--primary);
}

.area-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
  background-color: var(--primary);
  color: white;
  border-left: 4px solid var(--secondary);
}

.area-card i {
  font-size: 1.5rem;
  color: var(--primary);
  transition: all 0.3s ease;
}

.area-card:hover i {
  color: white;
}

.area-card span {
  font-weight: 600;
  color: var(--gray-700);
  transition: all 0.3s ease;
}

.area-card:hover span {
  color: white;
}

/********** 15. FAQ Section **********/
.faq-section {
  background-color: white;
  padding: 5rem 0;
}

.accordion-item {
  border: none;
  border-radius: 0.75rem;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

.accordion-button {
  padding: 1.5rem;
  font-weight: 600;
  background-color: white;
  color: var(--dark);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: var(--primary);
  background-color: white;
  box-shadow: none;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%231e293b' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transition: all 0.3s ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236366f1' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  transform: rotate(-180deg);
}

.accordion-body {
  padding: 0 1.5rem 1.5rem;
}

/********** 16. Testimonials Section **********/
.testimonials-section {
  background-color: var(--gray-100);
  padding: 5rem 0;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--primary-light));
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: rgba(99, 102, 241, 0.1);
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  color: var(--gray-700);
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.testimonial-rating {
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.author-avatar {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-200);
  color: var(--primary);
  font-size: 1.5rem;
  border-radius: 50%;
  margin-right: 1rem;
}

.author-info h5 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}

.author-info p {
  color: var(--gray-500);
  margin-bottom: 0;
  font-size: 0.9rem;
}

/********** 17. Contact Info Section **********/
.contact-info {
  margin-bottom: 1.5rem;
}

.contact-item {
  display: flex;
  margin-bottom: 1.2rem;
}

.contact-item i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--primary);
  border-radius: 50%;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-item p {
  margin-bottom: 0;
}

.contact-item p a {
  color: var(--dark);
  transition: all 0.3s ease;
}

.contact-item p a:hover {
  color: var(--primary);
}

/********** 18. Footer **********/
.footer {
  background-color: var(--dark);
  color: var(--gray-300);
}

.footer-title {
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary);
  border-radius: 50px;
}

.footer-about {
  color: var(--gray-400);
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--primary);
  transform: translateY(-5px);
}

.footer-contact .contact-item i {
  background-color: rgba(255, 255, 255, 0.1);
}

.footer-contact .contact-item p {
  color: var(--gray-300);
}

.footer-contact .contact-item p a {
  color: var(--gray-300);
}

.footer-contact .contact-item p a:hover {
  color: white;
}

.hours-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.hours-list li {
  margin-bottom: 0.5rem;
}

.hours-list li span {
  font-weight: 600;
  color: white;
}

.footer-form {
  background-color: rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  border-radius: 1rem;
}

.disclaimer {
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--gray-400);
}

.copyright {
  background-color: rgba(0, 0, 0, 0.3);
  color: var(--gray-400);
}

/********** 19. Floating Button & Back to Top **********/
.floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--secondary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
  z-index: 99;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-btn:hover {
  background-color: var(--secondary-dark);
  transform: translateY(-5px);
}

.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.2);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

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

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

/********** 20. Responsive Styles **********/
@media (max-width: 1199.98px) {
  .hero-section {
    padding: 5rem 0 6rem;
  }

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

  .counter-number {
    font-size: 2.2rem;
  }

  .experience-badge {
    width: 100px;
    height: 100px;
  }

  .experience-badge .years {
    font-size: 2.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar-brand img {
    max-height: 40px;
  }

  .hero-section {
    padding: 5rem 0;
    text-align: center;
    min-height: 500px;
  }

  .curved-wave-divider svg {
    height: 100px; /* Smaller wave on tablets */
  }

  .blob-shape {
    display: none;
  }

  .badge-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-section .btn {
    margin: 0 auto;
  }

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

  .about-content {
    padding-left: 0;
    margin-top: 3rem;
    text-align: center;
  }

  .about-content .title-shape {
    margin-left: auto;
    margin-right: auto;
  }

  .about-content .btn {
    margin: 0 auto;
  }

  .why-choose-content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .why-choose-content .title-shape {
    margin-left: auto;
    margin-right: auto;
  }

  .why-choose-content .btn {
    margin: 0 auto;
  }

  .service-areas-wrapper {
    padding: 3rem 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    padding-top: 6rem;
    margin-bottom: 30px;
  }

  .curved-wave-divider svg {
    height: 40px; /* Smaller wave on mobile */
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

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

  .counter-item {
    margin-bottom: 1.5rem;
  }

  .experience-badge {
    right: 0;
  }

  .why-badges {
    display: none;
  }

  .service-areas-wrapper {
    padding: 2rem 1rem;
  }

  .small-cta-wrapper {
    text-align: center;
  }

  .footer {
    text-align: center;
  }

  .footer-title::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-social {
    justify-content: center;
  }

  .footer .contact-item {
    flex-direction: column;
    align-items: center;
  }

  .footer .contact-item i {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .footer-form {
    margin-top: 2rem;
  }

  .navbar-brand img {
    max-height: 35px;
  }
}

@media (max-width: 575.98px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .hero-section p {
    font-size: 1rem;
  }

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

  .floating-btn, .back-to-top {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}
