/* Combined site stylesheet. Kept in the same order as the old separate files. */

/* ===== styles.css ===== */
  /* Main Styles for EPC Website */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  --primary-color: #27ae60;
  --primary-gradient: linear-gradient(135deg, #2ecc71, #27ae60);
  --secondary-color: #219653;
  --accent-color: #2ecc71;
  --accent-gradient: linear-gradient(135deg, #2ecc71, #219653);
  --text-color: #333;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #666;
  --white: #fff;
  --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0); }
}

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

@keyframes glow {
  0% { box-shadow: 0 0 5px rgba(46, 204, 113, 0.5); }
  50% { box-shadow: 0 0 20px rgba(46, 204, 113, 0.8); }
  100% { box-shadow: 0 0 5px rgba(46, 204, 113, 0.5); }
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: var(--primary-color);
  transition: var(--transition);
  position: relative;
}

a:hover {
  color: var(--secondary-color);
}

a.animated-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

a.animated-link:hover::after {
  width: 100%;
}

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

/* Header Styles */
header {
  background-color: rgba(255, 255, 255, 0.75);
  background-image: linear-gradient(to right, rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.02), rgba(46, 204, 113, 0.05));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(46, 204, 113, 0.15);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-bottom: 1px solid rgba(46, 204, 113, 0.1);
}

header.scrolled {
  padding: 12px 0;
  background-color: rgba(255, 255, 255, 0.85);
  background-image: linear-gradient(to right, rgba(46, 204, 113, 0.08), rgba(46, 204, 113, 0.05), rgba(46, 204, 113, 0.08));
  box-shadow: 0 6px 25px rgba(46, 204, 113, 0.2);
  transform: translateY(0);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  overflow: visible;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 70px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.logo:hover img {
  transform: scale(1.1) rotate(2deg);
  filter: drop-shadow(0 5px 15px rgba(46, 204, 113, 0.4));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  max-width: 100%;
  align-items: center;
  gap: 10px;
}

.nav-links a {
  font-weight: 400; /* Normal font weight for lighter appearance */
  font-size: 0.95rem; /* Smaller font size for more refined look */
  color: #444; /* Dark grey color instead of default */
  padding: 8px 16px; /* Increased padding for better touch targets */
  position: relative;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border-radius: 30px;
  overflow: hidden;
  z-index: 1;
  color: #444; /* Slightly darker text for better contrast */
  margin: 0 6px; /* Increased margin for better spacing */
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  letter-spacing: 0.3px; /* Added letter spacing for elegance */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); /* Subtle text shadow for depth */
}

/* External link icon */
.nav-links a[target="_blank"]::after {
  content: '↗';
  font-size: 0.8em;
  margin-left: 4px;
  display: inline-block;
  position: static;
  width: auto;
  height: auto;
  background: none;
  transition: transform 0.2s ease;
}

.nav-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(46, 204, 113, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
  border-radius: 30px;
  z-index: -1;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background-color: var(--primary-color);
  transition: width 0.4s cubic-bezier(0.65, 0, 0.35, 1), left 0.4s cubic-bezier(0.65, 0, 0.35, 1);
  border-radius: 3px;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px) scale(1.05); /* Enhanced transform with scale */
  box-shadow: 0 6px 20px rgba(46, 204, 113, 0.25); /* More prominent shadow */
  background-color: rgba(46, 204, 113, 0.08); /* Subtle background highlight */
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Enhanced text shadow */
}

.nav-links a:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* Underline effect for hover and active states */
.nav-links a:hover::before,
.nav-links a.active::before {
  transform: scaleX(1);
  transform-origin: left;
}

/* External link hover effect */
.nav-links a[target="_blank"]:hover::after {
  transform: translateY(-2px);
}

.nav-links a.active {
  color: var(--primary-color);
  background-color: rgba(46, 204, 113, 0.12); /* Slightly more prominent background */
  box-shadow: 0 5px 15px rgba(46, 204, 113, 0.2); /* Enhanced shadow */
  transform: translateY(-1px); /* Subtle lift effect */
  font-weight: 800; /* Extra bold for active state */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); /* Subtle text shadow */
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #000;
  transition: color 0.3s ease;
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  background-color: #f9f9f9;
  background-image: linear-gradient(135deg, #f9f9f9 0%, #e9f2ff 100%);
  color: var(--text-color);
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.hero-badge {
  display: inline-block;
  background-color: rgba(255, 152, 0, 0.15);
  color: var(--accent-color);
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 30px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.2);
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(255, 152, 0, 0.3);
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  color: #333;
}

.accent-text {
  color: #4CAF50;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  max-width: 500px;
  line-height: 1.6;
}

.hero-features {
  list-style: none;
  margin-bottom: 30px;
}

.hero-features li {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

.hero-features li i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1.2rem;
}

.hero-btn {
  margin-top: 30px;
  padding: 12px 30px;
  font-size: 1.1rem;
  background: var(--accent-gradient);
  border: none;
  color: white;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-btn::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: 0.5s;
}

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

.pulse-btn {
  animation: pulse 2s infinite;
}

.hero-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-photo {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.hero-stat {
  position: absolute;
  background-color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  line-height: 1.15;
}

.hero-stat-time {
  right: 10px;
  bottom: -22px;
}

.hero-stat-price {
  left: 10px;
  bottom: -46px;
}

.hero-stat-kicker {
  font-weight: 700;
  color: #333;
  font-size: 0.8rem;
}

.hero-stat-value {
  margin-top: 2px;
  font-size: 1.2rem;
  font-weight: 700;
  color: #333;
}

.hero-stat-note {
  margin-top: 2px;
  font-size: 0.72rem;
  color: #666;
}

/* Desktop: wider photo, compact corner cards */
@media (min-width: 993px) {
  .hero .hero-container,
  .legionella-hero .hero-container {
    max-width: 1320px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.28fr);
    gap: 36px;
  }

  .hero-image {
    justify-content: flex-end;
  }

  .hero-stat {
    padding: 6px 8px;
    border-radius: 6px;
  }

  .hero-stat-time {
    top: 16px;
    right: 16px;
    bottom: auto;
  }

  .hero-stat-price {
    left: 16px;
    bottom: 16px;
  }

  .hero-stat-kicker {
    font-size: 0.68rem;
  }

  .hero-stat-value {
    font-size: 0.95rem;
  }

  .hero-stat-note {
    font-size: 0.62rem;
  }
}

.floating {
  animation: float 4s ease-in-out infinite;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--dark-gray);
  font-size: 0.9rem;
  opacity: 0.7;
  transition: all 0.3s ease;
  cursor: pointer;
  z-index: 10;
}

.hero-scroll-indicator span {
  margin-bottom: 8px;
}

.hero-scroll-indicator i {
  animation: bounce 2s infinite;
}

.hero-scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-5px);
  color: var(--accent-color);
}

/* Statistics Section */
.statistics {
  padding: 80px 0;
  background-color: var(--light-gray);
  background-image: linear-gradient(135deg, #f5f7fa 0%, #e4eff9 100%);
}

.counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Testimonials Section */
.testimonials {
  padding: 80px 0;
  background-color: var(--white);
}

.testimonial-slider {
  max-width: 800px;
  margin: 40px auto 0;
  position: relative;
}

.testimonial-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  margin: 20px 0;
  position: relative;
  transition: all 0.3s ease;
}

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

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

.testimonial-author {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--primary-color);
  font-size: 1.1rem;
}

.author-title {
  color: var(--dark-gray);
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0;
  background-color: var(--light-gray);
  background-image: linear-gradient(135deg, #f5f7fa 0%, #e4eff9 100%);
}

.faq-container {
  max-width: 900px;
  margin: 40px auto 0;
}

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--card-shadow);
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.faq-question {
  padding: 20px 30px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-bottom: 1px solid transparent;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.faq-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  position: relative;
}

.faq-icon i {
  color: var(--accent-color);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.faq-icon .fa-minus {
  position: absolute;
  opacity: 0;
  transform: rotate(-90deg);
}

.faq-item.active .faq-icon .fa-plus {
  opacity: 0;
  transform: rotate(90deg);
}

.faq-item.active .faq-icon .fa-minus {
  opacity: 1;
  transform: rotate(0);
}

.faq-answer {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0, 1, 0, 1);
}

.faq-item.active .faq-answer {
  max-height: 1000px;
  padding: 0 30px 20px;
  transition: all 1s cubic-bezier(1, 0, 1, 0);
}

.faq-item.active .faq-question {
  border-bottom: 1px solid var(--medium-gray);
}

.faq-item.active .faq-question h3 {
  color: var(--accent-color);
}

.faq-answer p {
  margin-top: 15px;
  margin-bottom: 0;
  line-height: 1.6;
  color: var(--dark-gray);
}

.faq-answer p + p {
  margin-top: 10px;
}

/* Why Choose Abertest Section */
.why-choose {
  padding: 80px 0;
  background-color: #fff;
}

.why-choose h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: #000;
  font-size: 1.1rem;
  line-height: 1.6;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 30px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--primary-gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

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

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--light-gray);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  color: var(--primary-color);
  font-size: 1.8rem;
  transition: var(--transition);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.feature-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  z-index: -1;
  transition: opacity 0.3s ease;
  border-radius: 50%;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(46, 204, 113, 0.3);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: #333;
  font-weight: 600;
}

.feature-card p {
  color: #666;
  font-size: 1rem;
  line-height: 1.6;
}

.price {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333333; /* Changed to dark grey */
  margin: 20px 0 10px;
  transition: all 0.3s ease;
}

.pricing-card:hover .price {
  color: #333333; /* Maintaining dark grey on hover */
  transform: scale(1.05);
}

.price-description {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.book-btn {
  margin-top: auto;
  align-self: center;
  padding: 10px 25px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.book-btn::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: 0.5s;
  z-index: -1;
}

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

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

/* What is an EPC Section */
.what-is-epc {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.what-is-epc h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Our Pricing Section */
.pricing {
  padding: 80px 0;
  background-color: #fff;
}

.pricing h2 {
  text-align: center;
  color: #4CAF50;
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.pricing-subtitle {
  text-align: center;
  margin: 40px 0 30px;
  font-size: 1.8rem;
  color: #333;
  font-weight: 600;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 20px;
}

.pricing-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  padding: 30px;
  transition: all 0.3s ease;
}

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

.service-title {
  color: #4CAF50;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  min-height: 50px;
}

.feature-list {
  list-style: none;
  margin-bottom: 25px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: #555;
}

.feature-list li i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1rem;
  margin-top: 3px;
}

.combined-title {
  margin-top: 60px;
}

.best-value {
  color: #4CAF50;
  font-weight: 500;
  font-size: 1.2rem;
}

.combined-grid {
  margin-top: 30px;
}

.combined-card {
  background-color: #f9f9f9;
  border: 1px solid rgba(76, 175, 80, 0.1);
}

.highlight-card {
  background-color: #f0f8e8;
  border: 1px solid rgba(76, 175, 80, 0.2);
  position: relative;
  z-index: 1;
  transform: scale(1.02);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.bedroom-note {
  font-size: 1rem;
  font-weight: normal;
  color: #666;
}

.includes-section {
  margin: 20px 0;
}

.includes-section p {
  font-weight: 600;
  margin-bottom: 10px;
  font-size: 0.9rem;
  color: #555;
}

.includes-list {
  list-style: none;
  margin-bottom: 15px;
}

.includes-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: #555;
}

.includes-list li i {
  color: #4CAF50;
  margin-right: 8px;
  font-size: 0.9rem;
  margin-top: 3px;
}

/* Compact price table */
.price-table {
  max-width: 820px;
  margin: 40px auto 0;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.price-group {
  padding: 12px 24px;
  background: #f0f8e8;
  color: #2E7D32;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.price-item-name {
  font-weight: 600;
  color: #333;
  font-size: 1.05rem;
  line-height: 1.4;
}

.price-item-note {
  display: block;
  color: #666;
  font-size: 0.9rem;
  font-weight: 400;
  margin-top: 4px;
  line-height: 1.5;
}

.price-item-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  white-space: nowrap;
  text-align: right;
  flex-shrink: 0;
}

.price-item-amount small {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: #4CAF50;
}

.price-item.price-highlight {
  background: #f9fdf7;
}

.price-table-footer {
  text-align: center;
  margin-top: 30px;
}

.price-table-footer p {
  color: #666;
  font-size: 0.9rem;
  margin: 15px auto 0;
  max-width: 640px;
}

.price-table-footer p + p {
  margin-top: 6px;
}

@media (max-width: 576px) {
  .price-group,
  .price-item {
    padding-left: 16px;
    padding-right: 16px;
  }

  .price-item-amount {
    font-size: 1.3rem;
  }
}

.highlight-btn {
  background-color: #3d8b40;
}

.highlight-btn:hover {
  background-color: #357a38;
}

/* Services Section */
.services {
  padding: 80px 0;
  background-color: var(--light-gray);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  position: relative;
  margin-bottom: 70px;
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.section-title h2::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background-color: var(--accent-color);
  border-radius: 3px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
  z-index: -1;
}

.section-title::after {
  content: attr(data-subtitle);
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 1rem;
  color: var(--dark-gray);
  font-weight: 300;
  width: 100%;
  text-align: center;
}

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

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(0, 0, 0, 0.05);
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}

.services-grid .service-card:nth-child(1) { animation-delay: 0.1s; }
.services-grid .service-card:nth-child(2) { animation-delay: 0.3s; }
.services-grid .service-card:nth-child(3) { animation-delay: 0.5s; }

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 86, 179, 0.05) 0%, rgba(255, 152, 0, 0.05) 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.5s ease;
}

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

.service-card:hover::before {
  opacity: 1;
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 25px;
}

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

.service-content p {
  margin-bottom: 20px;
}

/* About Section */
.about {
  padding: 80px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
  align-items: center;
}

.about-content h2 {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.about-content p {
  margin-bottom: 15px;
}

.about-image img {
  width: 100%;
  border-radius: 8px;
  box-shadow: var(--box-shadow);
}

/* FAQ Section */
.faq {
  padding: 80px 0;
  background-color: var(--light-gray);
}

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

.faq-item {
  background-color: var(--white);
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--card-shadow);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.6s ease forwards;
}

.faq-grid .faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-grid .faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-grid .faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-grid .faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-grid .faq-item:nth-child(5) { animation-delay: 0.5s; }
.faq-grid .faq-item:nth-child(6) { animation-delay: 0.6s; }
.faq-grid .faq-item:nth-child(7) { animation-delay: 0.7s; }
.faq-grid .faq-item:nth-child(8) { animation-delay: 0.8s; }

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent-gradient);
  transition: height 0.4s ease;
}

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

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

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

/* Contact Section */
.contact {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px;
}

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

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

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

.contact-details p i {
  margin-right: 10px;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--medium-gray);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  height: 150px;
  resize: vertical;
}

/* Footer */
footer {
  background: #121a23;
  color: var(--white);
  padding: 40px 0 20px;
  margin-top: auto;
  position: relative;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 30px;
}

.footer-left {
  flex: 1;
  max-width: 400px;
}

.footer-left h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--white);
}

.footer-left p {
  color: #aaa;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.footer-social {
  margin-top: 15px;
}

.footer-social a {
  color: var(--white);
  font-size: 1.2rem;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-social a:hover {
  opacity: 1;
  color: var(--accent-color);
}

.footer-right {
  flex: 1;
  max-width: 400px;
}

.footer-right h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
  color: var(--white);
}

.contact-list {
  display: flex;
  flex-direction: column;
}

.contact-item {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}

.contact-item i {
  color: #4CAF50;
  margin-right: 10px;
  font-size: 1rem;
  width: 20px;
  text-align: center;
}

.contact-item a, .contact-item span {
  color: #aaa;
  font-size: 0.9rem;
  transition: var(--transition);
}

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

.copyright {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: #888;
}

@media (max-width: 768px) {
  .footer-main {
    flex-direction: column;
  }
  
  .footer-left, .footer-right {
    max-width: 100%;
    margin-bottom: 30px;
  }
}

/* Additional Animations */
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: all 0.8s ease;
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: all 0.8s ease;
}

.reveal-up {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.reveal-visible {
  opacity: 1;
  transform: translate(0);
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.float {
  animation: float 5s ease-in-out infinite;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  
  nav ul.show {
    display: flex;
  }
  
  nav ul li {
    margin: 10px 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 1.8rem;
  }
  
  .service-card,
  .faq-item {
    padding: 20px;
  }
}

/* ===== faq.css ===== */
/* FAQ Section Styling */
.faq-section, .faq {
    padding: 80px 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.faq-section::before, .faq::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: var(--primary-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.faq-section::after, .faq::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: var(--accent-gradient);
    opacity: 0.05;
    border-radius: 50%;
    z-index: 0;
}

.faq-container, .faq-grid {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-left: 4px solid transparent;
}

.faq-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-item.active {
    border-left: 4px solid #2ecc71;
    box-shadow: 0 8px 25px rgba(46, 204, 113, 0.15);
}

.faq-question {
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    transition: color 0.3s ease;
    flex: 1;
}

.faq-item:hover .faq-question h3 {
    color: #27ae60;
}

.faq-item.active .faq-question h3 {
    color: #2ecc71;
}

.faq-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--light-gray);
    transition: all 0.3s ease;
}

.faq-item:hover .faq-icon {
    background: #27ae60;
    color: white;
    transform: rotate(90deg);
}

.faq-item.active .faq-icon {
    background: #2ecc71;
    color: white;
    transform: rotate(180deg);
}

.faq-icon .fa-minus {
    display: none;
}

.faq-item.active .faq-icon .fa-plus {
    display: none;
}

.faq-item.active .faq-icon .fa-minus {
    display: block;
}

/* Simplified FAQ answer styling */
.faq-answer {
    display: none;
    padding: 0 25px 20px;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--dark-gray);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer a {
    color: #2ecc71;
    font-weight: 500;
    position: relative;
}

.faq-answer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: #2ecc71;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.faq-answer a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* FAQ Category Tabs */
.faq-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.faq-tab {
    padding: 8px 20px;
    margin: 0 5px 10px;
    background: var(--white);
    border-radius: 30px;
    cursor: pointer;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.faq-tab:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-tab.active {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

/* Search FAQ */
.faq-search {
    position: relative;
    max-width: 500px;
    margin: 0 auto 30px;
}

.faq-search input {
    width: 100%;
    padding: 15px 20px;
    padding-left: 50px;
    border: none;
    border-radius: 30px;
    background: var(--white);
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    font-size: 16px;
    transition: all 0.3s ease;
}

.faq-search input:focus {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    outline: none;
}

.faq-search i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #27ae60;
    font-size: 18px;
}

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

.faq-item.active .faq-answer {
    animation: fadeInDown 0.5s forwards;
}

.faq-item.active {
    animation: greenPulse 1.5s infinite;
}

/* Ripple effect */
.faq-question {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    background: rgba(46, 204, 113, 0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
    width: 100px;
    height: 100px;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes greenPulse {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* Highlight for search results */
.highlight {
    background-color: rgba(46, 204, 113, 0.2);
    padding: 0 3px;
    border-radius: 3px;
    font-weight: 500;
    color: #27ae60;
}

/* Animation for FAQ items */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s forwards;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 15px;
    }
}

/* ===== green-theme.css ===== */
/* Green Theme Enhancements */

/* Service Features Section */
.service-feature {
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

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

/* Enhanced green hover animation for feature cards */
@keyframes greenPulseIcon {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.feature-card:hover .feature-icon {
    animation: greenPulseIcon 1.5s infinite;
}

.service-feature img,
.service-feature .icon-circle {
    background-color: #f8f9fa;
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.service-feature:hover img,
.service-feature:hover .icon-circle {
    background-color: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
    box-shadow: 0 10px 20px rgba(46, 204, 113, 0.2);
    transform: scale(1.1);
}

.service-feature .icon-circle i {
    font-size: 32px;
    color: #27ae60;
}

/* Stats Section */
.stats-item {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.stats-item i,
.stats-item .icon {
    color: #2ecc71;
    font-size: 36px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.stats-item:hover i,
.stats-item:hover .icon {
    transform: scale(1.2);
    color: #27ae60;
}

.stats-item .number {
    font-size: 48px;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

.stats-item .number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: #2ecc71;
    border-radius: 3px;
}

/* Animate numbers */
@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.stats-item .number.animate {
    animation: countUp 1s forwards;
}

/* Animate icons */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { transform: scale(1); }
}

.stats-item i.animate,
.stats-item .icon.animate {
    animation: iconPulse 2s infinite;
}

/* Icon color adjustments */
.service-feature img,
.stats-item img,
.icon-circle img {
    filter: hue-rotate(85deg) saturate(1.2);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    color: #27ae60;
}

h2 {
    position: relative;
    display: inline-block;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60px;
    height: 3px;
    background: #2ecc71;
    border-radius: 3px;
}

.section-intro {
    color: #219653;
}

/* Buttons */
.btn {
    background: var(--primary-gradient);
    border: none;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
    transition: all 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

.highlight-btn {
    background: var(--accent-gradient);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.4);
}

/* Icons */
.fas, .fab, .far {
    color: #27ae60;
}

.service-card i, .feature-list i, .includes-list i {
    color: #2ecc71;
}

/* Cards and Sections */
.service-card:hover {
    border-color: #2ecc71;
    box-shadow: 0 10px 30px rgba(46, 204, 113, 0.15);
}

.pricing-card.highlight-card {
    border-top: 5px solid #2ecc71;
}

.testimonial-card .rating i {
    color: #2ecc71;
}

/* Navigation */
nav ul li a:hover, 
nav ul li a.active {
    color: #2ecc71;
}

nav ul li a::after {
    background-color: #2ecc71;
}

/* Footer */
footer {
    background: linear-gradient(to right, #27ae60, #219653);
}

footer a:hover {
    color: #2ecc71;
}

/* Call to Action */
.cta {
    background: linear-gradient(135deg, rgba(46, 204, 113, 0.9), rgba(39, 174, 96, 0.9)), url('../images/cta-bg.jpg');
}

/* Hero Section */
.hero-content h1 {
    color: #27ae60;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.hero-content p {
    color: #219653;
}

/* Testimonials */
.slider-dot.active {
    background: #2ecc71;
}

.slider-prev:hover, .slider-next:hover {
    background: #2ecc71;
}

/* Contact Form */
input:focus, textarea:focus, select:focus {
    border-color: #2ecc71;
    box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.2);
}

.form-group.input-focused label {
    color: #27ae60;
}

/* Animations */
@keyframes greenFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); box-shadow: 0 15px 20px rgba(46, 204, 113, 0.2); }
    100% { transform: translateY(0); }
}

.float {
    animation: greenFloat 3s ease-in-out infinite;
}

/* Pricing Toggle */
.toggle-option.active {
    background: #27ae60;
}

/* EPC Rating Colors */
.epc-bar[data-rating="A"] { background-color: #27ae60; }
.epc-bar[data-rating="B"] { background-color: #2ecc71; }
.epc-bar[data-rating="C"] { background-color: #7ed56f; }

/* ===== header-animations.css ===== */
/* Dynamic Header Animations */

/* Logo animation */
@keyframes logoFloat {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.logo img {
    animation: logoFloat 4s ease-in-out infinite;
}

/* Header glow effect */
@keyframes headerGlow {
    0% { box-shadow: 0 4px 20px rgba(46, 204, 113, 0.15); }
    50% { box-shadow: 0 8px 30px rgba(46, 204, 113, 0.25); }
    100% { box-shadow: 0 4px 20px rgba(46, 204, 113, 0.15); }
}

header {
    animation: headerGlow 5s infinite;
}

/* Navigation menu item animations */
.nav-item-animation {
    position: relative;
    overflow: hidden;
}

.nav-item-animation::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(46, 204, 113, 0.2), transparent);
    transition: 0.5s;
}

.nav-item-animation:hover::after {
    left: 100%;
}

/* Add this class to nav items with JavaScript */
nav ul li a {
    position: relative;
}

/* Subtle green highlight for active menu items */
nav ul li a.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(46, 204, 113, 0.15), transparent 70%);
    z-index: -2;
    opacity: 0.8;
    animation: pulseBackground 2s infinite;
}

@keyframes pulseBackground {
    0% { opacity: 0.5; transform: scale(0.95); }
    50% { opacity: 0.8; transform: scale(1.05); }
    100% { opacity: 0.5; transform: scale(0.95); }
}

/* Header reveal animation on page load */
@keyframes headerReveal {
    0% { transform: translateY(-100%); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.header-reveal {
    animation: headerReveal 1s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Logo reveal animation */
@keyframes logoReveal {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.logo-reveal {
    animation: logoReveal 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s forwards;
}

/* Nav items staggered reveal */
@keyframes navItemReveal {
    0% { transform: translateY(20px); opacity: 0; }
    100% { transform: translateY(0); opacity: 1; }
}

.nav-item-reveal {
    opacity: 0;
}

/* Add these classes with JavaScript for staggered animation */
.nav-item-1 { animation: navItemReveal 0.5s ease 0.4s forwards; }
.nav-item-2 { animation: navItemReveal 0.5s ease 0.5s forwards; }
.nav-item-3 { animation: navItemReveal 0.5s ease 0.6s forwards; }
.nav-item-4 { animation: navItemReveal 0.5s ease 0.7s forwards; }
.nav-item-5 { animation: navItemReveal 0.5s ease 0.8s forwards; }

/* ===== section-headings.css ===== */
/* Standardized Section Headings and Subheadings */

/* Main Section Headings: centred, with a short centred underline */
section h2 {
  display: block;
  position: relative;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 20px;
  padding-bottom: 18px;
  line-height: 1.2;
}

section h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #4CAF50;
  border-radius: 3px;
}

/* Legal page keeps left-aligned headings */
.terms-section h2 {
  text-align: left;
  padding-bottom: 10px;
}

.terms-section h2::after {
  left: 0;
  transform: none;
}

/* Headings on a solid green background */
.cta-section h2::after {
  background: rgba(255, 255, 255, 0.85);
}

/* The terms document title sits under the page H1, so it stays left-aligned */
.legal-card > h2 {
  text-align: left;
  font-size: 1.8rem;
  padding-bottom: 10px;
}

.legal-card > h2::after {
  left: 0;
  transform: none;
}

/* Contact headings are inside columns, so they stay left-aligned and smaller */
section.contact h2,
section.services-areas h2 {
  font-size: 1.5rem;
  font-weight: 600;
  text-align: left;
  margin-top: 0;
  margin-bottom: 20px;
  padding-bottom: 0;
  line-height: 1.3;
}

section.contact h2::after,
section.services-areas h2::after {
  display: none;
}

.services-areas-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px 48px;
  margin-bottom: 30px;
  align-items: start;
}

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

.service-list li,
.area-list > div {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 12px;
  line-height: 1.4;
}

.service-list i,
.area-list i {
  color: var(--primary-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.area-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 4px;
}

.area-list > div {
  margin-bottom: 0;
}

/* Section Intro Text */
.section-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
  color: var(--dark-gray);
  font-size: 1.1rem;
  line-height: 1.6;
}

/* Subheadings (h3) */
section h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

/* Card Headings (h4) */
section h4 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Special Subtitle Style */
.pricing-subtitle {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 30px;
  margin-top: 40px;
}

/* Ensure consistent spacing between sections */
section {
  padding: 80px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  section h2 {
    font-size: 2rem;
  }
  
  section h3 {
    font-size: 1.5rem;
  }
  
  .pricing-subtitle {
    font-size: 1.5rem;
  }
}

/* ===== button-styles.css ===== */
/* Standardized Button Styles */

/* General button styles for all buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  background: var(--accent-gradient); /* Green gradient background */
  color: white !important; /* White text for all buttons */
  border: none;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
  position: relative;
  overflow: hidden;
  font-size: 1.1rem;
}

/* Hover effect for all buttons */
.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
  color: white !important; /* Ensure text stays white on hover */
}

/* Add shine effect on hover for all buttons */
.btn::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: 0.5s;
}

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

/* Specific button variations */
.hero-btn {
  margin-top: 30px;
  font-size: 1.2rem;
  padding: 14px 32px;
}

.book-btn {
  margin-top: 20px;
}

/* Contact form submit button */
input[type="submit"], 
button[type="submit"] {
  background: var(--accent-gradient);
  color: white;
  font-weight: 600;
  padding: 12px 30px;
  border: none;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

input[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

/* Remove orange highlight button style */
.highlight-btn {
  background: var(--accent-gradient); /* Change to green gradient */
  box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.highlight-btn:hover {
  box-shadow: 0 8px 20px rgba(46, 204, 113, 0.4);
}

/* ===== header-styles.css ===== */
/* header-styles.css - superseded by nav.css for main header appearance.
   Keeping only the nav scroll active-link highlighting. */

/* Mobile menu button baseline */
.mobile-menu-btn {
  color: #fff;
  display: none;
}

/* Show mobile menu button at tablet/mobile */
@media (max-width: 992px) {
  .mobile-menu-btn {
    display: block;
  }
}

/* ===== mobile-responsive.css ===== */
/* Enhanced Mobile Responsiveness Styles */

/* General responsive improvements */
@media (max-width: 992px) {
  /* Hero section improvements */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
  }
  
  /* Headline and price first, picture second */
  .hero-content {
    order: 0;
    margin-bottom: 10px;
  }
  
  .hero-image {
    order: 1;
    margin: 20px 0 90px; /* room for the overlay cards that hang below the image */
    width: 100%;
    display: flex;
    justify-content: center;
  }

  /* The scroll hint sat on top of the button on phones */
  .hero-scroll-indicator {
    display: none;
  }
  
  /* Shrink the photo and the corner cards as one box, then centre that box.
     max-width on the img alone left the spare space on the right. */
  .hero-visual {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    max-width: 100%;
    height: auto;
  }
  
  /* The 500px cap on the intro is for the two-column desktop layout.
     Below that the box stayed stuck to the left while the heading and
     the bullet list were centred. Give both the same centred column. */
  .hero p {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-features {
    display: block;
    text-align: left;
    width: 100%;
    max-width: 560px;
    margin: 0 auto 30px;
  }

  .hero-features li {
    align-items: flex-start;
  }

  .hero-features li i {
    flex-shrink: 0;
    margin-top: 3px;
  }

  .hero-features li span {
    min-width: 0;
  }
  
  /* Pricing grid improvements */
  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .combined-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Service cards */
  .service-card {
    margin-bottom: 20px;
  }
}

@media (max-width: 992px) {
  /* Services and areas sit in columns that are too narrow for the place names */
  .services-areas-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .area-list {
    max-width: 560px;
  }

  /* Header improvements */
  header {
    padding: 15px 0;
  }
  
  .logo img {
    height: 60px;
  }
  
  /* Mobile menu button should be visible */
  .mobile-menu-btn {
    display: block;
  }
  
  /* Hero section improvements */
  .hero {
    padding: 100px 0 60px;
  }
  
  .hero-btn {
    display: block;
    width: 100%;
    max-width: 300px;
    margin: 30px auto 0;
  }
  
  /* Pricing grid improvements */
  .pricing-grid, 
  .combined-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-card {
    padding: 25px 20px;
  }
  
  .service-title {
    min-height: auto;
    margin-bottom: 10px;
  }
  
  .price {
    font-size: 1.8rem;
  }
  
  /* Book now buttons */
  .book-btn {
    display: block;
    width: 100%;
  }
  
  /* FAQ improvements */
  .faq-question h3 {
    padding-right: 40px; /* Make room for the icons */
  }
  
  /* Section spacing */
  section {
    padding: 60px 0;
  }
  
  .section-intro {
    margin-bottom: 40px;
  }
}

@media (max-width: 576px) {
  .area-list {
    grid-template-columns: 1fr;
    max-width: none;
  }

  /* Container padding */
  .container {
    padding: 0 20px;
  }
  
  /* Hero section */
  .hero {
    padding: 90px 0 50px;
  }
  
  .hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
    margin-bottom: 15px;
  }
  
  .hero p {
    font-size: 1rem;
    margin-bottom: 20px;
    max-width: 100%;
  }
  
  .hero-badge {
    font-size: 0.8rem;
    padding: 5px 10px;
    margin-bottom: 15px;
  }
  
  .hero-container {
    padding: 0 10px;
  }
  
  .hero-visual {
    width: 85%;
  }

  .hero-image img {
    max-width: 100%;
  }
  
  /* Pricing cards */
  .pricing-card {
    padding: 20px 15px;
  }
  
  .additional-pricing {
    padding: 10px;
  }
  
  .feature-list li {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  /* Footer improvements */
  footer {
    padding: 30px 0 20px;
  }
  
  .footer-left, 
  .footer-right, 
  .footer-center {
    margin-bottom: 20px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .footer-bottom p {
    margin-bottom: 10px;
  }
}

/* ===== compact-faq.css ===== */
/* Dramatically More Compact FAQ Section Styling */

/* Override the main FAQ section styles to make it more compact */
.faq-section, .faq {
    padding: 30px 0 40px; /* Less padding on top, normal padding on bottom */
    background-color: #f8f8f8; /* Lighter background */
}

/* Make the FAQ container more compact */
.faq-container, .faq-grid {
    max-width: 800px; /* Narrower container */
}

/* Make each FAQ item more compact */
.faq-item {
    margin-bottom: 6px; /* Minimal margin between items */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05); /* Much lighter shadow */
    border-radius: 4px; /* Smaller border radius */
    border-left: 2px solid #e0e0e0; /* Lighter border */
}

/* Make the question section much more compact */
.faq-question {
    padding: 10px 15px; /* Significantly reduced padding */
}

.faq-question h3 {
    font-size: 15px; /* Much smaller font size */
    line-height: 1.2; /* Very tight line height */
    font-weight: 500; /* Slightly lighter font weight */
}

/* Make the icon much smaller and more compact */
.faq-icon {
    width: 20px; /* Much smaller icon */
    height: 20px; /* Much smaller icon */
    margin-left: 8px; /* Less space from the text */
    background: #f0f0f0; /* Lighter background */
}

/* Change the active state styling */
.faq-item.active {
    border-left: 2px solid #2ecc71; /* Thinner green border */
    box-shadow: 0 2px 8px rgba(46, 204, 113, 0.1); /* Lighter shadow */
}

/* Make the answer section much more compact */
.faq-item.active .faq-answer {
    padding: 0 15px 10px; /* Minimal padding */
    display: block;
}

.faq-answer p {
    margin-bottom: 6px; /* Minimal space between paragraphs */
    font-size: 0.9rem; /* Smaller text */
    line-height: 1.4; /* Very tight line height */
    color: #555; /* Slightly darker text for better contrast */
}

/* Make lists in FAQ answers much more compact */
.faq-answer ul {
    margin-top: 4px;
    margin-bottom: 8px;
    padding-left: 18px; /* Minimal indentation */
}

.faq-answer li {
    margin-bottom: 3px; /* Minimal space between list items */
    font-size: 0.9rem; /* Smaller text */
    line-height: 1.3; /* Very tight line height */
}

/* Add a subtle separator between questions */
.faq-item:not(:last-child) {
    border-bottom: 1px solid #f0f0f0;
}

/* Adjust spacing for the section intro */
.faq-section .section-intro {
    margin-bottom: 15px; /* Minimal space before questions */
}

/* Remove excessive space between intro and FAQ container */
.faq-container {
    margin-top: 0 !important;
}

/* Ensure no extra space from AOS animations */
[data-aos] {
    transition-delay: 0s !important;
}

/* Responsive adjustments for compact FAQ */
@media (max-width: 768px) {
    .faq-question {
        padding: 8px 12px; /* Extremely compact on mobile */
    }
    
    .faq-question h3 {
        font-size: 14px; /* Even smaller font on mobile */
        padding-right: 25px; /* Make room for the icon */
    }
    
    .faq-item.active .faq-answer {
        padding: 0 12px 8px; /* Minimal padding on mobile */
    }
}

/* ===== footer-styles.css ===== */
/* Footer Styles */

/* Override all other footer background styles with !important */
footer {
  background-color: #000 !important;
  background-image: none !important;
  background: #000 !important;
  color: white !important;
}

/* Ensure text and icons have proper contrast against black */
.footer-left h3,
.footer-right h3 {
  color: white !important;
  margin-bottom: 15px;
}

.footer-left p,
.footer-right p {
  color: #e0e0e0 !important;
}

/* Maintain green color for social icons and links */
.footer-social a,
.contact-item i,
.contact-item a {
  color: #4CAF50 !important;
}

.footer-social a:hover,
.contact-item a:hover {
  color: #2ecc71 !important;
}

/* Ensure contact text is visible */
.contact-item span {
  color: #e0e0e0 !important;
}

/* Footer bottom section */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  margin-top: 30px;
}

.footer-bottom p {
  color: #999 !important;
}

/* ===== mobile-menu-fix.css ===== */
/* mobile-menu-fix.css - mobile nav is now handled by nav.css + the slide-in drawer.
   This file kept minimal to avoid conflicts with the new nav. */

@media (max-width: 992px) {
  /* Mobile menu button visible */
  .mobile-menu-btn {
    display: block !important;
    margin-left: auto;
  }

  /* Desktop nav links hidden - mobile drawer takes over */
  .nav-links {
    display: none !important;
  }
}

/* ===== card-flip.css ===== */
/* Card Flip Styles */

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.why-choose-card {
    position: relative;
    height: 650px; /* Significantly increased height to ensure all content fits */
    perspective: 1000px;
    cursor: pointer;
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    transition: transform 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    padding: 15px 15px 30px 15px; /* Increased bottom padding to 30px */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.card-front {
    background-color: white;
    transform: rotateY(0deg);
    z-index: 2;
}

.card-back {
    background-color: #f9f9f9;
    transform: rotateY(180deg);
    z-index: 1;
}

.why-choose-card.flipped .card-front {
    transform: rotateY(180deg);
}

.why-choose-card.flipped .card-back {
    transform: rotateY(0deg);
}

.feature-icon-container {
    margin-top: 10px;
    margin-bottom: 15px;
}

.feature-icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(76, 175, 80, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    transition: all 0.3s ease;
}

.feature-icon-circle i {
    font-size: 36px;
    color: var(--primary-color);
}

.why-choose-card:hover .feature-icon-circle {
    transform: scale(1.1);
    background-color: rgba(76, 175, 80, 0.2);
    box-shadow: 0 10px 20px rgba(76, 175, 80, 0.2);
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 10px 0;
    color: var(--primary-color);
}

.card-teaser {
    color: var(--dark-gray);
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 1rem;
}

.card-back p {
    margin-bottom: 10px;
    line-height: 1.5;
    font-size: 0.95rem;
    max-width: 100%;
}

.card-flipper {
    font-size: 0.9rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 15px;
}

.card-flipper i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.card-flipper:hover {
    color: var(--accent-color);
}

.card-flipper:hover i {
    transform: translateX(5px);
}

.card-back .card-flipper:hover i {
    transform: translateX(-5px);
}

.card-back .feature-list {
    list-style: none;
    padding: 0;
    margin: 15px 0 25px 0; /* Increased bottom margin to 25px */
    text-align: left;
    width: 100%;
}

.card-back ul li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 8px;
    font-size: 0.95rem;
    color: var(--dark-gray);
    text-align: left;
}

.card-back ul li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}
