/********** Elegance Theme CSS - Modern, Sleek & Professional **********/

/********** 1. Variables **********/
:root {
  /* Primary Colors - Sophisticated Navy Blue */
  --primary: #2c3e50;      /* Dark Blue - Professional & Trustworthy */
  --primary-light: #34495e; /* Slightly lighter blue */
  --primary-dark: #1a252f;  /* Deeper blue for hover states */
  
  /* Secondary Colors - Warm Terracotta */
  --secondary: #e67e22;    /* Warm orange/terracotta - Homey & Inviting */
  --secondary-light: #f39c12; /* Brighter orange for highlights */
  --secondary-dark: #d35400; /* Deeper orange for hover states */
  
  /* UI Colors */
  --accent: #27ae60;       /* Green - Symbolizing growth, trust and sustainability */
  --light: #f5f7fa;        /* Off-white background */
  --dark: #2c3e50;         /* Dark blue text - Matches primary for cohesion */
  --body-bg: #ecf0f1;      /* Light gray background - Clean and minimal */
  --text-color: #34495e;   /* Softer blue for readability */
  
  /* Grayscale */
  --gray-100: #f5f7fa;     /* Lightest gray */
  --gray-200: #e9ecef;     /* Light gray */
  --gray-300: #dee2e6;     /* Medium light gray */
  --gray-400: #ced4da;     /* Medium gray */
  --gray-500: #adb5bd;     /* Medium dark gray */
  --gray-700: #495057;     /* Dark gray */
  --gray-900: #212529;     /* Almost black */
}

/********** 2. Base Styles **********/
/* General Style */
body {
  font-family: 'Raleway', 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: 600;
  line-height: 1.2;
  color: var(--dark);
}

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

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: 0.5rem !important; /* More subtle rounding for professional look */
}

.shadow-sm {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

.shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12) !important;
}

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

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

@keyframes blob-animate {
  0% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
  25% {
    border-radius: 50% 50% 70% 30% / 60% 40% 60% 40%;
  }
  50% {
    border-radius: 55% 45% 40% 60% / 50% 30% 70% 50%;
  }
  75% {
    border-radius: 45% 55% 60% 40% / 60% 60% 40% 40%;
  }
  100% {
    border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  }
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(44, 62, 80, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(44, 62, 80, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(44, 62, 80, 0);
  }
}

/********** 3. Button Styles **********/
.btn {
  font-weight: 600;
  padding: 0.7rem 1.8rem;
  transition: all 0.3s ease;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px 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.9rem 2.2rem;
  font-size: 1rem;
}

.btn-sm {
  padding: 0.5rem 1.4rem;
  font-size: 0.8rem;
}

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

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

.section-title .subtitle {
  display: inline-block;
  background-color: rgba(44, 62, 80, 0.08);
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title .title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: -0.5px;
}

.title-shape {
  width: 60px;
  height: 3px;
  background: var(--secondary);
  border-radius: 0;
  margin-bottom: 1.5rem;
}

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

/********** 5. Navbar and Topbar Styles **********/
/* Topbar */
.topbar {
  padding-top: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.topbar-link, .topbar-social {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.85rem;
  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: 0.6rem 0;
  transition: all 0.3s ease;
}

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

/* Navbar after scroll */
#mainNavbar.navbar-scrolled {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Initially dark text for better readability */
#mainNavbar .navbar-nav .nav-link {
  color: var(--primary);
  font-weight: 600;
  padding: 0.5rem 1rem;
  position: relative;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Dark text after scroll */
#mainNavbar.navbar-scrolled .navbar-nav .nav-link {
  color: var(--primary);
}

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

#mainNavbar.navbar-scrolled .navbar-nav .nav-link:hover, 
#mainNavbar.navbar-scrolled .navbar-nav .nav-link.active {
  color: var(--secondary);
}

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

#mainNavbar.navbar-scrolled .navbar-nav .nav-link.active::after {
  background: var(--secondary);
}

/* 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%2844, 62, 80, 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%2844, 62, 80, 0.8%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(255, 255, 255, 0.98);
    margin: 0 -1rem;
    padding: 1rem;
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  }

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

  #mainNavbar .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
    padding: 0.8rem 1rem;
  }

  #mainNavbar.navbar-scrolled .navbar-nav .nav-link {
    border-bottom: 1px solid rgba(44, 62, 80, 0.08);
  }

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

/********** 6. Hero Section **********/
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #2c3e50, #34495e);
  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='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%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;
  border-radius: 0.5rem;
}

.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 15s ease-in-out infinite;
  opacity: 0.8;
}

.badge-pill {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 30px;
  padding: 0.5rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-text {
  color: white;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* 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: 120px;
}

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

/********** 7. Stats Counter Section **********/
.stats-counter {
  background-color: var(--body-bg);
  padding: 4rem 0;
}

.counter-item {
  background-color: white;
  padding: 1.8rem;
  border-radius: 0.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
  border-bottom: 3px solid var(--primary);
}

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

.counter-icon {
  width: 65px;
  height: 65px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: white;
  font-size: 1.8rem;
  border-radius: 0.3rem;
  margin-right: 1.5rem;
}

.counter-content {
  flex: 1;
}

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

.counter-text {
  font-size: 1rem;
  color: var(--gray-700);
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

/********** 8. About Section **********/
.about-section {
  padding: 5rem 0;
  background-color: var(--body-bg);
}

.about-image {
  border-radius: 0.3rem;
  overflow: visible;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

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

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

.experience-badge .text {
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-shape {
  position: absolute;
  top: -3rem;
  left: -3rem;
  width: 200px;
  height: 200px;
  background-color: var(--secondary);
  opacity: 0.05;
  border-radius: 0.3rem;
  z-index: -1;
  transform: rotate(45deg);
}

.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: 0.3rem;
  overflow: hidden;
  box-shadow: 0 0.5rem 2rem rgba(0, 0, 0, 0.1);
}

.why-shape {
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 200px;
  height: 200px;
  background-color: var(--secondary);
  opacity: 0.05;
  border-radius: 0.3rem;
  z-index: -1;
  transform: rotate(45deg);
}

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

.why-badge {
  background: var(--primary);
  padding: 0.8rem 1.2rem;
  border-radius: 0.3rem;
  display: flex;
  align-items: center;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  color: white;
}

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

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

.why-badge span {
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

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

.service-card:hover .service-icon {
  background: var(--secondary);
  transform: scale(1.05);
}

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

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

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

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

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

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

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

.service-item:hover .service-item-inner {
  box-shadow: 0 0.5rem 1.5rem 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;
  letter-spacing: -0.5px;
}

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

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

.service-text {
  color: var(--gray-700);
  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), var(--primary-light));
  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='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

.cta-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  position: relative;
  letter-spacing: -0.5px;
}

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

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

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

.small-cta-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  z-index: 0;
}

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

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

.service-areas-wrapper {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  position: relative;
  overflow: hidden;
  border-radius: 0.3rem;
}

.service-areas-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%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: none;
  transition: all 0.3s ease;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.5);
}

.nearby-city-link:hover {
  color: var(--secondary);
  border-color: var(--secondary);
}

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

.map-container {
  position: relative;
  height: 450px;
  margin-bottom: 3rem;
  border-radius: 0.3rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.05);
}

.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.3rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-left: 3px 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: 3px solid var(--secondary);
}

.area-card i {
  font-size: 1.2rem;
  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.3rem;
  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='%232c3e50' 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='%232c3e50' 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;
  line-height: 1.8;
}

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

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

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--primary);
  z-index: 2;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: white;
  font-size: 1.5rem;
  border-radius: 0.3rem;
  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(--primary);
  color: white;
  font-size: 1.2rem;
  border-radius: 0.3rem;
  margin-right: 1rem;
}

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

.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.5rem;
}

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

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

.contact-item p a {
  color: var(--primary);
  transition: all 0.3s ease;
  font-weight: 600;
}

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

/********** 18. Footer **********/
.footer {
  background-color: var(--primary);
  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: 50px;
  height: 2px;
  background: var(--secondary);
}

.footer-about {
  color: rgba(255, 255, 255, 0.7);
  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: 0.3rem;
  transition: all 0.3s ease;
}

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

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

.footer-contact .contact-item p {
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact .contact-item p a {
  color: rgba(255, 255, 255, 0.9);
}

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

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

.hours-list li {
  margin-bottom: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
}

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

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

.disclaimer {
  background-color: rgba(0, 0, 0, 0.2);
  color: rgba(255, 255, 255, 0.5);
}

.copyright {
  background-color: rgba(0, 0, 0, 0.3);
  color: rgba(255, 255, 255, 0.5);
}

/********** 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: 0.3rem;
  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: 0.3rem;
  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: 2rem;
  }

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

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

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

@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: 80px; /* 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: 1.8rem;
  }

  .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.2rem;
  }

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

  .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: 1.8rem;
  }

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

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

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