/* Custom styles for Deerfield Vents & Sweeps landing page */

:root {
  --primary-color: #2e86ab;
  --secondary-color: #f6f5ae;
  --accent-color: #f24236;
  --text-dark: #565554;
  --text-light: #565554;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.09);
  --transition: all 0.3s ease;
  --section-padding: 60px 0;
  --dark-bg-primary: #565554;
  --dark-bg-secondary: #2e86ab;
  --dark-bg-accent: #f24236;
}

/* Global Enhancements */
body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

section {
  padding: var(--section-padding);
  position: relative;
  overflow: hidden;
}

section + section {
  margin-top: 0;
  border-top: none;
}

/* Dark Background Sections */
section.dark-bg {
  color: white;
}

section.dark-bg .title h2 {
  color: white;
}

section.dark-bg .title p {
  color: rgba(255, 255, 255, 0.85);
}

section.dark-bg-primary {
  background-color: var(--dark-bg-primary);
  color: white;
}

section.dark-bg-secondary {
  background-color: var(--dark-bg-secondary);
  color: white;
}

section.dark-bg-accent {
  background-color: var(--dark-bg-accent);
  color: white;
}

/* Title modifications for dark backgrounds */
section.dark-bg .title::after {
  background: var(--accent-color);
}

.title {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  padding-bottom: 20px;
}

.title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
}

.title h2 {
  color: var(--text-dark);
  font-weight: 800;
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.title p {
  color: var(--text-light);
  font-size: 16px;
  max-width: 700px;
  margin: 0 auto;
}

.btn {
  border-radius: 4px;
  text-transform: uppercase;
  font-weight: 600;
  padding: 12px 25px;
  transition: var(--transition);
}

.btn-learn {
  background: var(--primary-color);
  color: white;
  border: 2px solid var(--primary-color);
}

.btn-learn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* Header & Navigation */
#navigation {
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.navbar-brand {
  font-weight: 900;
  font-size: 26px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--primary-color) !important;
  -webkit-text-fill-color: var(--primary-color) !important;
  text-fill-color: var(--primary-color) !important;
  position: relative;
  padding: 5px 0;
  transform: translateY(2px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar-brand a {
  font-weight: 800;
  transition: var(--transition);
  position: relative;
  color: var(--primary-color) !important;
  -webkit-text-fill-color: var(--primary-color) !important;
  text-fill-color: var(--primary-color) !important;
}

.navbar-brand a:hover {
  text-decoration: none;
  transform: scale(1.05);
  color: var(--accent-color) !important;
  -webkit-text-fill-color: var(--accent-color) !important;
  text-fill-color: var(--accent-color) !important;
}

.navbar-brand a::after {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: 0;
  height: 0;
}

.nav > li > a {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 13px;
  position: relative;
  padding: 15px 12px;
}

.nav > li > a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav > li > a:hover::after {
  width: 70%;
}

/* Logo Icon and Text */
.logo-icon {
  font-size: 28px;
  margin-right: 8px;
  color: var(--accent-color);
  -webkit-text-fill-color: var(--accent-color);
  text-fill-color: var(--accent-color);
  text-shadow: 0 2px 4px rgba(242, 66, 54, 0.3);
  vertical-align: middle;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(242, 66, 54, 0.2));
}

.company-name {
  font-weight: 900;
  letter-spacing: 1px;
  color: var(--primary-color);
  -webkit-text-fill-color: var(--primary-color);
  text-fill-color: var(--primary-color);
  text-transform: uppercase;
  font-size: 0.9em;
  position: relative;
}

.company-service {
  font-weight: 700;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-transform: uppercase;
  font-size: 0.8em;
  margin-left: 2px;
}

/* Fix for any browser compatibility issues */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  .navbar-brand, .company-name, .company-service {
    background: transparent;
    color: var(--primary-color) !important;
  }
  
  .company-service {
    color: var(--accent-color) !important;
  }
  
  .logo-icon {
    color: var(--accent-color) !important;
  }
}

/* Logo Animation */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.03);
  }
  100% {
    transform: scale(1);
  }
}

.navbar-brand:hover .logo-icon {
  animation: pulse 1.5s infinite ease-in-out;
}

.navbar-brand:hover {
  transform: translateY(0px) scale(1.05);
  filter: drop-shadow(0 0 10px rgba(46, 134, 171, 0.4));
}

/* Modern Hero Section */
#banner {
  position: relative;
  min-height: 80vh;
  padding: 100px 0 60px;
  margin-top: 70px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg-primary) 100%);
  color: white;
  text-align: center;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

#banner .container {
  position: relative;
  z-index: 9999 !important;
  width: 100%;
}

#banner .row {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50vh;
}

.banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(46,134,171,0.6) 0%, rgba(86,85,84,0.5) 100%);
  z-index: 2;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(245, 247, 73, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(242, 66, 54, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(246, 245, 174, 0.1) 0%, transparent 50%);
  z-index: 1;
  animation: particleFloat 20s infinite linear;
}

@keyframes particleFloat {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-100px) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 9999 !important;
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 20px;
}

/* Override conflicting styles from main style.css */
#banner .block {
  position: relative;
  z-index: 9999 !important;
  color: #fff;
}

#banner .block h1 {
  padding-bottom: 25px;
  font-size: 55px;
  font-weight: 100;
  color: #80d6a3;
}

/* Ensure hero content is visible */
.hero-badge,
.hero-content h1,
.hero-subtitle,
.hero-features,
.hero-buttons {
  position: relative;
  z-index: 9999 !important;
  color: white !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Beautiful FAQ Accordion Styles */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

/* Center the FAQ accordion container specifically */
#faq > div > div:nth-child(2) > div {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.accordion-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.accordion-header {
  padding: 25px 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.3s ease;
  position: relative;
}

.accordion-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.accordion-header h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: white;
  line-height: 1.4;
  flex: 1;
  padding-right: 20px;
}

.accordion-icon {
  font-size: 20px;
  color: var(--icterine);
  transition: all 0.3s ease;
  min-width: 20px;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
  transform: rotate(180deg);
  color: var(--accent-color);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.accordion-content.show {
  max-height: 500px;
}

.accordion-body {
  padding: 0 30px 25px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 16px;
}

.accordion-body p {
  margin: 0;
  padding-top: 10px;
}

/* Active accordion item styling */
.accordion-item.active {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(242, 66, 54, 0.2);
}

.accordion-item.active .accordion-header {
  background: rgba(242, 66, 54, 0.1);
}

.accordion-item.active .accordion-header h4 {
  color: var(--icterine);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .accordion-header {
    padding: 20px 25px;
  }
  
  .accordion-header h4 {
    font-size: 16px;
  }
  
  .accordion-body {
    padding: 0 25px 20px;
    font-size: 15px;
  }
  
  .accordion-icon {
    font-size: 18px;
  }
}

.hero-badge {
  display: inline-block;
  background: rgba(242, 66, 54, 0.2);
  border: 1px solid rgba(242, 66, 54, 0.3);
  border-radius: 50px;
  padding: 8px 20px;
  margin-bottom: 30px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  background: rgba(242, 66, 54, 0.3);
  transform: translateY(-2px);
}

.hero-badge span {
  font-size: 14px;
  font-weight: 600;
  color: var(--vanilla);
  text-transform: uppercase;
  letter-spacing: 1px;
}

#banner h1 {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.1;
  color: white !important;
  -webkit-text-fill-color: white !important;
  text-fill-color: white !important;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
  position: relative;
  z-index: 9999 !important;
}

#banner h1 .highlight {
  color: var(--icterine) !important;
  -webkit-text-fill-color: var(--icterine) !important;
  text-fill-color: var(--icterine) !important;
  position: relative;
  display: inline-block;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

#banner h1 .highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--icterine), var(--accent-color));
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.3rem;
  line-height: 1.6;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.feature-item i {
  color: var(--icterine);
  font-size: 18px;
}

.feature-item span {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-color) 0%, #e63946 100%);
  border: none;
  border-radius: 50px;
  padding: 18px 35px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 8px 25px rgba(242, 66, 54, 0.3);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(242, 66, 54, 0.4);
  color: white;
  text-decoration: none;
}

.btn-primary i {
  font-size: 20px;
}

.btn-text {
  font-size: 14px;
  opacity: 0.9;
}

.btn-number {
  font-size: 16px;
  font-weight: 700;
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  padding: 16px 30px;
  color: white;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-3px);
  color: white;
  text-decoration: none;
}

.btn-secondary i {
  transition: transform 0.3s ease;
}

.btn-secondary:hover i {
  transform: translateX(5px);
}



/* Scroll indicator pulse ring */
.scroll-indicator::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 2px solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  opacity: 0;
  animation: pulseRing 2s infinite;
}

@keyframes pulseRing {
  0% {
    transform: translateX(-50%) scale(0.5);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateX(-50%) scale(1.5);
    opacity: 0;
  }
}



/* About Section - Revert to light background */
#about {
  padding: 70px 0;
  background-color: #fff;
}

#about .title h2,
#about .title p {
  color: var(--text-dark);
}

#about .about-content {
  background: white;
  box-shadow: var(--box-shadow);
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  padding: 30px;
  margin-bottom: 30px;
  height: 100%;
}

#about .about-content:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

#about .about-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

#about .about-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

#about .about-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

#about .about-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

#about .about-content ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--text-light);
}

#about .about-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

#about .about-item {
  background: var(--secondary-color);
  border: none;
  transition: all 0.4s ease;
}

#about .about-item:hover {
  background: white;
}

#about .about-item h4 {
  color: var(--text-dark);
}

#about .about-item p {
  color: var(--text-light);
}

#about .about-item i {
  color: var(--primary-color);
}

/* About Section Image Container */
.about-content .about-image-container {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  height: 220px;
}

.about-content .about-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-content:hover .about-image-container img {
  transform: scale(1.05);
}

.about-content .about-image-container::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  opacity: 0.9;
}

.about-content .about-overlay-text {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: white;
  z-index: 2;
  font-weight: 700;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  font-size: 18px;
}

.about-content .about-overlay-text:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.about-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  padding: 20px;
  height: 100%;
}

.about-item:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.about-item i {
  font-size: 32px;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.about-item h4 {
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary-color);
}

.about-item p {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: 0;
}

/* Modern Services Section Styling */
#services {
  padding: 80px 0;
  background-color: var(--dark-bg-primary);
  position: relative;
  overflow: hidden;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
  opacity: 0.8;
}

#services .title {
  position: relative;
  z-index: 2;
  color: white;
}

#services .title p {
  color: rgba(255, 255, 255, 0.85);
}

#services .row {
  position: relative;
  z-index: 2;
}

.feature-block {
  position: relative;
}

.feature-block:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
}

.feature-block::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent-color), var(--primary-color));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.feature-block:hover::before {
  transform: scaleX(1);
}

.icon-box {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 30px auto 20px;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}

.icon-box::after {
  content: '';
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-block:hover .icon-box::after {
  opacity: 1;
}

.icon-box i {
  font-size: 42px;
  color: var(--accent-color);
  transition: all 0.4s ease;
}

.feature-block:hover .icon-box {
  background: rgba(255, 255, 255, 0.12);
}

.feature-block:hover .icon-box i {
  color: white;
}

.feature-block h4 {
  font-weight: 700;
  margin: 15px 0;
  color: white;
  font-size: 20px;
  padding: 0 25px;
}

.feature-block p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.8;
  padding: 0 25px 30px;
  flex-grow: 1;
}

#services .btn-learn {
  padding: 12px 30px;
  border-radius: 30px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 1px;
  background: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  margin-top: 20px;
}

#services .btn-learn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  background: transparent;
  color: var(--accent-color);
}

/* Counter Section */
#counter {
  background: linear-gradient(rgba(86, 85, 84, 0.92), rgba(86, 85, 84, 0.92)), url('../img/counter-bg.jpg') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  padding: 80px 0;
  color: #fff;
}

#counter .title {
  margin-bottom: 50px;
}

#counter .title h2,
#counter .title p {
  color: #fff;
}

#counter .block {
  text-align: center;
  padding: 30px 15px;
  transition: var(--transition);
}

#counter .block:hover {
  transform: translateY(-10px);
}

#counter .block i {
  font-size: 48px;
  color: #fff;
  margin-bottom: 20px;
}

.count-text {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

#counter .block p {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Testimonials Section */
#testimonials {
  padding: 70px 0;
  background-color: var(--dark-bg-secondary);
  position: relative;
}

#testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

#testimonials .title h2,
#testimonials .title p {
  color: white;
}

.testimonial-carousel {
  margin-top: 30px;
  padding: 0 15px;
}

.testimonial-carousel .owl-item {
  padding: 0 10px;
}

.testimonial-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin: 15px 0;
  position: relative;
  overflow: hidden;
  height: 100%;
}

.testimonial-item::before {
  content: """;
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 120px;
  color: rgba(46, 134, 171, 0.08);
  line-height: 1;
  font-family: serif;
}

.testimonial-content {
  position: relative;
  padding-top: 30px;
}

.testimonial-content p {
  font-style: italic;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
}

.testimonial-author {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 15px;
  display: flex;
  flex-direction: column;
}

.testimonial-author h4 {
  margin: 0;
  color: white;
  font-weight: 700;
}

.testimonial-author span {
  color: var(--accent-color);
  font-size: 14px;
}

.rating {
  margin-top: 10px;
}

.rating i {
  color: #FFD700;
  font-size: 14px;
  margin-right: 2px;
}

/* Service Area Section */
#service-area {
  padding: 70px 0;
  background-color: var(--secondary-color);
}

.service-area-block {
  background: white;
  padding: 30px;
  border-radius: 8px;
  margin-bottom: 30px;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.service-area-block:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.service-area-block h4 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.service-area-block h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.service-area-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-area-block ul li {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  position: relative;
  padding-left: 20px;
}

.service-area-block ul li:before {
  content: "•";
  color: var(--accent-color);
  font-size: 18px;
  position: absolute;
  left: 0;
  top: 8px;
}

.service-area-block ul li:last-child {
  border-bottom: none;
}

.service-note {
  color: var(--text-light);
  font-style: italic;
  margin-top: 15px;
}

.service-note a {
  color: var(--primary-color);
  font-weight: 600;
}

/* FAQ Section */
#faq {
  padding: 70px 0;
  background-color: var(--dark-bg-accent);
  position: relative;
}

#faq::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='6' height='6' viewBox='0 0 6 6' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M5 0h1L0 5v1H5z'/%3E%3C/g%3E%3C/svg%3E");
}

#faq .title h2,
#faq .title p {
  color: white;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  transition: var(--transition);
  height: 100%;
}

.faq-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.faq-item h4 {
  color: white;
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-left: 25px;
}

.faq-item h4:before {
  content: "Q:";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 800;
}

.faq-item p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.8;
  position: relative;
  padding-left: 25px;
}

.faq-item p:before {
  content: "A:";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 800;
}

#faq .row:last-child {
  margin-top: 40px;
}

/* Contact Section */
#contact {
  padding: 70px 0;
  background-color: var(--secondary-color);
}

#contact .row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

#contact .row-eq-height > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

.contact-info {
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.contact-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.contact-info p {
  margin-bottom: 15px;
  color: var(--text-light);
  line-height: 1.8;
}

.contact-info i {
  margin-right: 10px;
  color: var(--accent-color);
}

.map-container {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  min-height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.hours-table {
  margin-bottom: 25px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
}

.hours-row:last-child {
  border-bottom: none;
}

.hours-row .day {
  font-weight: 600;
  color: var(--dark-bg-secondary);
}

.hours-row .time {
  color: var(--dark-bg-secondary);
}

.phone-link {
  color: var(--primary-color);
  font-weight: 600;
  transition: var(--transition);
}

.phone-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

.cta-box {
  background: var(--secondary-color);
  padding: 20px;
  border-radius: 8px;
  margin-top: 30px;
  text-align: center;
}

.cta-box h4 {
  color: var(--text-dark);
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-box p {
  margin-bottom: 15px;
}

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

/* Footer */
footer {
  background: var(--dark-bg-secondary);
  padding: 60px 0 30px;
  color: #fff;
}

.footer-info h3,
.footer-contact h3,
.footer-services h3 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-info h3::after,
.footer-contact h3::after,
.footer-services h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.footer-info p {
  line-height: 1.8;
  color: #ccc;
  margin-bottom: 20px;
}

.footer-contact p {
  margin-bottom: 10px;
  color: #ccc;
}

.footer-contact i {
  margin-right: 10px;
  color: var(--accent-color);
}

.footer-contact a {
  color: #fff;
  transition: var(--transition);
}

.footer-contact a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

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

.footer-services ul li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-services ul li:last-child {
  border-bottom: none;
}

.footer-services ul li a {
  color: #ccc;
  transition: var(--transition);
  position: relative;
  padding-left: 15px;
  display: block;
}

.footer-services ul li a:before {
  content: ">";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

.footer-services ul li a:hover {
  color: #fff;
  text-decoration: none;
  transform: translateX(5px);
}

.footer-content {
  text-align: center;
  padding: 30px 0 0;
  margin-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  font-weight: 500;
}

.footer-content a {
  color: #fff;
}

.footer-content a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  section {
    padding: 50px 0;
  }
  
  #banner {
    padding: 120px 0;
    background-attachment: scroll;
  }
  
  .feature-block, 
  .service-area-block,
  .testimonial-item,
  .faq-item,
  .contact-info {
    margin-bottom: 20px;
  }
  
  .map-container {
    margin-top: 30px;
    min-height: 300px;
  }
  
  .about-item {
    margin-bottom: 15px;
  }
  
  .footer-info,
  .footer-contact,
  .footer-services {
    margin-bottom: 30px;
  }
  
  #banner h1 {
    font-size: 2.8rem;
  }
}

@media (max-width: 768px) {
  section {
    padding: 40px 0;
  }
  
  #banner {
    padding: 100px 0;
    margin-top: 60px;
  }
  
  #banner h1 {
    font-size: 2.2rem;
    margin-bottom: 15px;
  }
  
  #banner h2 {
    font-size: 1rem;
    margin-bottom: 25px;
  }
  
  .title {
    margin-bottom: 30px;
  }
  
  .btn {
    padding: 12px 20px;
    font-size: 14px;
  }
  
  .title h2 {
    font-size: 24px;
  }
  
  .count-text {
    font-size: 24px;
  }
  
  .about-item {
    margin-bottom: 15px;
  }
  
  .cta-box {
    padding: 15px;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .navbar-brand {
    font-size: 22px;
    padding: 3px 0;
  }
  
  .logo-icon {
    font-size: 20px;
    margin-right: 3px;
  }
  
  .navbar-brand a::after {
    bottom: -8px;
    font-size: 9px;
  }
}

@media (max-width: 480px) {
  .navbar-brand {
    font-size: 20px;
  }
  
  .logo-icon {
    font-size: 18px;
  }
}

@media (max-width: 576px) {
  section {
    padding: 30px 0;
  }
  
  #banner {
    padding: 80px 0;
    margin-top: 56px;
  }
  
  #banner h1 {
    font-size: 1.8rem;
  }
  
  #banner h2 {
    font-size: 0.95rem;
  }
  
  .btn {
    padding: 10px 16px;
    font-size: 13px;
  }
  
  .title h2 {
    font-size: 20px;
  }
  
  .map-container {
    min-height: 250px;
  }
}

/* Fix for equal height rows */
.row-eq-height {
  display: flex;
  flex-wrap: wrap;
}

.row-eq-height > [class*='col-'] {
  display: flex;
  flex-direction: column;
}

/* Custom animations */
.animate-up {
  transition: transform 0.5s ease;
}

.animate-up:hover {
  transform: translateY(-10px);
}

/* Additional spacing fixes */
.row + .row {
  margin-top: 30px;
}

/* Fix for service area note */
#service-area .row:last-child {
  margin-top: 40px;
}

/* Enhance the animation of the scroll indicator */
.scrolldown .scroll {
  width: 30px;
  height: 50px;
  border: 2px solid #fff;
  border-radius: 25px;
  display: inline-block;
  position: relative;
}

.scrolldown .scroll::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
  0% {
    opacity: 1;
    top: 8px;
  }
  100% {
    opacity: 0;
    top: 32px;
  }
}

/* Additional Chimney Service Sections */

/* Featured Services Section */
#featured-services {
  padding: 70px 0;
  background-color: #fff;
}

.featured-service-block {
  background: white;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  margin-bottom: 30px;
  transition: var(--transition);
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

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

.featured-img-container {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
  border-radius: 10px 10px 0 0;
}

.featured-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.featured-service-block:hover .featured-img-container img {
  transform: scale(1.1);
}

.featured-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 40, 83, 0.8), transparent);
  padding: 30px 15px 15px;
  text-align: center;
}

.featured-overlay span {
  color: white;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.featured-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--accent-color);
}

.featured-content h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.featured-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.featured-content p {
  color: var(--text-light);
  margin-bottom: 15px;
  line-height: 1.6;
}

.featured-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.featured-content ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--text-light);
  transition: transform 0.3s ease;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.07);
}

.featured-content ul li:last-child {
  border-bottom: none;
}

.featured-content ul li:hover {
  transform: translateX(5px);
  color: var(--text-dark);
}

.featured-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.btn-learn-more {
  display: inline-block;
  padding: 10px 25px;
  background-color: var(--primary-color);
  color: white;
  text-transform: uppercase;
  font-size: 13px;
  font-weight: 600;
  border-radius: 30px;
  transition: var(--transition);
  text-decoration: none;
  margin-top: auto;
  text-align: center;
  border: 2px solid var(--primary-color);
  box-shadow: 0 4px 10px rgba(46, 134, 171, 0.15);
}

.btn-learn-more:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  text-decoration: none;
}

/* Our Process Section */
#our-process {
  padding: 70px 0;
  background-color: var(--dark-bg-accent);
  position: relative;
  overflow: hidden;
  color: white;
}

#our-process::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: 1;
}

.process-block {
  position: relative;
  z-index: 2;
  padding: 30px 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  height: 100%;
}

.process-block:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.process-icon {
  width: 80px;
  height: 80px;
  line-height: 80px;
  font-size: 36px;
  color: white;
  margin: 0 auto 20px;
  position: relative;
  z-index: 1;
  transition: all 0.3s ease;
}

.process-icon:before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
  top: 0;
  left: 0;
  z-index: -1;
  opacity: 0.8;
  transition: all 0.3s ease;
}

.process-block:hover .process-icon:before {
  transform: scale(1.1);
  opacity: 1;
}

.process-block h4 {
  color: white;
  margin: 15px 0;
  font-weight: 700;
  position: relative;
}

.process-block p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0;
  line-height: 1.7;
}

/* Smart Chimney Technology Section */
#smart-chimney {
  padding: 70px 0;
  background-color: #fff;
  overflow: hidden;
}

.smart-tech-content {
  padding: 30px;
  background: white;
  box-shadow: var(--box-shadow);
  border: 1px solid #f0f0f0;
  border-radius: 10px;
  height: 100%;
  transition: var(--transition);
}

.smart-tech-content:hover {
  transform: translateY(-7px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.smart-tech-content h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  position: relative;
  padding-bottom: 10px;
}

.smart-tech-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
}

.smart-tech-content p {
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 20px;
}

.smart-tech-content ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.smart-tech-content ul li {
  padding: 8px 0 8px 25px;
  position: relative;
  color: var(--text-light);
}

.smart-tech-content ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent-color);
  font-weight: 700;
}

.smart-tech-image {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: var(--box-shadow);
  height: 100%;
  margin-top: 100px;
}

.smart-tech-image::before {
  content: 'Smart Chimney Technology';
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(0, 40, 83, 0.8);
  color: white;
  padding: 8px 15px;
  border-radius: 4px;
  font-weight: 700;
  z-index: 3;
  font-size: 16px;
  letter-spacing: 1px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-color);
}

.smart-tech-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.6));
  pointer-events: none;
  z-index: 1;
}

.smart-tech-image img {
  width: 100%;
  height: auto;
  transition: transform 0.8s ease;
  position: relative;
}

.smart-tech-image:hover img {
  transform: scale(1.05);
}

.tech-features {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 25px 15px 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
  display: flex;
  justify-content: space-around;
  z-index: 2;
}

.tech-feature {
  text-align: center;
  color: white;
  background: rgba(0, 40, 83, 0.7);
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.tech-feature:hover {
  transform: translateY(-5px);
  background: rgba(var(--accent-color), 0.8);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.tech-feature i {
  font-size: 28px;
  display: block;
  margin-bottom: 8px;
  color: var(--accent-color);
}

.tech-feature:hover i {
  color: white;
}

.tech-feature span {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive Adjustments for New Sections */
@media (max-width: 992px) {
  .featured-content {
    padding: 20px 0 0;
  }
  
  .featured-img-container {
    min-height: 180px;
  }
  
  .smart-tech-content {
    margin-bottom: 30px;
  }
  
  .smart-tech-image {
    min-height: 300px;
  }
}

@media (max-width: 768px) {
  .featured-img-container {
    min-height: 160px;
  }
  
  .featured-content {
    padding: 15px 0 0;
  }
  
  .featured-content h3 {
    font-size: 18px;
  }
  
  .process-block {
    padding: 20px 15px;
  }
  
  .smart-tech-image {
    min-height: 250px;
  }
}

@media (max-width: 576px) {
  #featured-services {
    padding: 40px 0;
  }
  
  .featured-img-container {
    height: 160px;
  }
  
  .featured-overlay span {
    font-size: 14px;
  }
  
  .featured-content h3 {
    font-size: 17px;
  }
  
  .featured-content p {
    font-size: 14px;
  }
  
  .featured-content ul li {
    font-size: 14px;
  }
} 