:root {
  --primary-color: #b8860b; /* Dark golden rod */
  --secondary-color: #daa520; /* Golden rod */
  --accent-color: #ffd700; /* Gold */
  --text-dark: #1f2937;
  --text-light: #6b7280;
}

/* Hero Section Styles */
.home-one {
  position: relative;
  min-height: 100vh;
  background: url("/assets/front/images/home/banner5.svg")
    no-repeat center center;
  background-size: cover;
  overflow: hidden;
}

.home-one::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.home-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0;
}

.banner-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  line-height: 1.2;
  margin-bottom: 2rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.banner-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero-btn {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  background: var(--accent-color);
  color: var(--text-dark);
  border: none;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
  transform: translateY(-2px);
  background: #ffe55c;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

/* Modern Card Styles */
.feature-card {
  background: white;
  border-radius: 24px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 2.5rem;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.feature-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  transform: perspective(1000px) rotateY(0deg);
  transition: all 0.6s ease;
  min-height: 400px;
  margin: 1rem;
}

.feature-image-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(184, 134, 11, 0.2),
    rgba(218, 165, 32, 0.1)
  );
  z-index: 1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-card:hover .feature-image-wrapper {
  transform: perspective(1000px) rotateY(5deg);
}

.feature-card:hover .feature-image-wrapper::before {
  opacity: 1;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
}

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

.feature-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 1rem;
}

.feature-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  border-radius: 2px;
}

.feature-description {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* List Styles */
.numbered-list {
  list-style: none;
  padding: 0;
  counter-reset: item;
}

.numbered-list li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3.5rem;
  margin-bottom: 1.25rem;
  border-radius: 12px;
  background: #f9fafb;
  transition: all 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.numbered-list li:hover {
  background: #f3f4f6;
  transform: translateX(10px);
  border-color: var(--accent-color);
}

.numbered-list li::before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  background: var(--primary-color);
  color: white;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
}

/* Lead Type Cards */
.lead-type-card {
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.lead-type-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

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

.lead-type-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.lead-type-card .icon,
.lead-type-card .title,
.lead-type-card p {
  position: relative;
  z-index: 2;
  transition: transform 0.4s ease, color 0.4s ease;
}

/* Service-specific hover effects */
.lead-type-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 20px;
  opacity: 0;
  transition: all 0.5s ease;
  pointer-events: none;
  z-index: 1;
  background-size: 200% 200%;
}

/* Water Damage Effect */
.lead-type-card[data-service="water-damage"]::after {
  background: linear-gradient(135deg, 
      rgba(0, 149, 255, 0),
      rgba(0, 120, 255, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="water-damage"]:hover::after {
  opacity: 1;
  background: linear-gradient(135deg,
      rgba(0, 149, 255, 0.1),
      rgba(0, 120, 255, 0.2),
      rgba(0, 149, 255, 0.1)
  );
  animation: waterWave 8s linear infinite;
}

/* Fire Damage Effect */
.lead-type-card[data-service="fire-damage"]::after {
  background: linear-gradient(45deg, 
      rgba(255, 111, 0, 0), 
      rgba(255, 60, 0, 0), 
      rgba(255, 137, 0, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="fire-damage"]:hover::after {
  opacity: 1;
  background: linear-gradient(45deg, 
      rgba(255, 111, 0, 0.1), 
      rgba(255, 60, 0, 0.2), 
      rgba(255, 137, 0, 0.15)
  );
  animation: fireFlicker 2s ease-in-out infinite;
}

/* Mold Damage Effect */
.lead-type-card[data-service="mold-damage"]::after {
  background: linear-gradient(45deg, 
      rgba(67, 160, 71, 0),
      rgba(27, 94, 32, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="mold-damage"]:hover::after {
  opacity: 1;
  background: radial-gradient(circle at center,
      rgba(67, 160, 71, 0.1),
      rgba(27, 94, 32, 0.2)
  );
  animation: moldGrow 4s ease infinite;
}

/* Asbestos Effect */
.lead-type-card[data-service="asbestos"]::after {
  background: linear-gradient(45deg, 
      rgba(158, 158, 158, 0),
      rgba(97, 97, 97, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="asbestos"]:hover::after {
  opacity: 1;
  background: radial-gradient(circle farthest-corner at 50% 50%,
      rgba(158, 158, 158, 0.15),
      rgba(97, 97, 97, 0.2)
  );
  animation: dustFloat 5s ease infinite;
}

/* Biohazard Effect */
.lead-type-card[data-service="biohazard"]::after {
  background: linear-gradient(45deg, 
      rgba(211, 47, 47, 0), 
      rgba(183, 28, 28, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="biohazard"]:hover::after {
  opacity: 1;
  background: radial-gradient(circle at center,
      rgba(211, 47, 47, 0.15) 0%,
      rgba(183, 28, 28, 0.2) 50%,
      rgba(211, 47, 47, 0.1) 100%
  );
  animation: biohazardPulse 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

/* Lead Effect */
.lead-type-card[data-service="lead-damage"]::after {
  background: linear-gradient(45deg, 
      rgba(96, 125, 139, 0),
      rgba(69, 90, 100, 0)
  );
  transition: all 0.5s ease;
}

.lead-type-card[data-service="lead-damage"]:hover::after {
  opacity: 1;
  background: linear-gradient(45deg, 
      rgba(96, 125, 139, 0.1),
      rgba(69, 90, 100, 0.2)
  );
  animation: metalShine 3s ease infinite;
}

/* Animations */
@keyframes waterWave {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes fireFlicker {
  0% { 
      transform: scale(1) rotate(0deg);
      opacity: 0.7;
      background-position: 0% 50%;
  }
  25% { 
      transform: scale(1.03) rotate(1deg);
      opacity: 0.9;
      background-position: 50% 25%;
  }
  50% { 
      transform: scale(0.97) rotate(-1deg);
      opacity: 0.7;
      background-position: 100% 50%;
  }
  75% { 
      transform: scale(1.02) rotate(0.5deg);
      opacity: 0.8;
      background-position: 50% 75%;
  }
  100% { 
      transform: scale(1) rotate(0deg);
      opacity: 0.7;
      background-position: 0% 50%;
  }
}

@keyframes moldGrow {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 0.9; }
  100% { transform: scale(1); opacity: 0.7; }
}

@keyframes dustFloat {
  0% { transform: translateY(0) scale(1); opacity: 0.7; }
  50% { transform: translateY(-5px) scale(1.02); opacity: 0.9; }
  100% { transform: translateY(0) scale(1); opacity: 0.7; }
}

@keyframes biohazardPulse {
  0% { 
      transform: scale(1);
      opacity: 0.4;
  }
  25% {
      transform: scale(1.08);
      opacity: 0.8;
  }
  50% {
      transform: scale(1);
      opacity: 0.6;
  }
  75% {
      transform: scale(1.05);
      opacity: 0.7;
  }
  100% {
      transform: scale(1);
      opacity: 0.4;
  }
}

@keyframes metalShine {
  0% { background-position: -100% 100%; opacity: 0.7; }
  50% { background-position: 200% -100%; opacity: 0.9; }
  100% { background-position: -100% 100%; opacity: 0.7; }
}

/* Enhanced hover effects */
.lead-type-card:hover .icon {
  transform: scale(1.15) translateY(-5px);
}

.lead-type-card:hover .title {
  transform: translateY(-3px);
}

.lead-type-card:hover p {
  transform: translateY(-2px);
}

/* Testimonials Section */
.testimonial-section {
    background: linear-gradient(to bottom, #f9fafb, #ffffff);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent, 
        var(--primary-color), 
        transparent
    );
}

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

.testimonial-wrapper {
    position: relative;
    padding: 2rem 0;
}

.testimonial-wrapper::before,
.testimonial-wrapper::after {
    content: '"';
    position: absolute;
    font-size: 12rem;
    color: var(--primary-color);
    opacity: 0.05;
    font-family: serif;
    line-height: 1;
    z-index: 0;
}

.testimonial-wrapper::before {
    top: -2rem;
    left: -2rem;
}

.testimonial-wrapper::after {
    bottom: -6rem;
    right: -2rem;
    transform: rotate(180deg);
}

.testimonial-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.testimonial-content:hover .testimonial-quote {
    opacity: 1;
    transform: scale(1.1);
}

.testimonial-message {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.testimonial-author-info {
    margin-top: 2rem;
    position: relative;
    padding-top: 1.5rem;
}

.testimonial-author-info::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.testimonial-content:hover .testimonial-author-info::before {
    width: 100px;
    opacity: 1;
}

.testimonial-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.3s ease;
}

.testimonial-role {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 0.25rem;
    opacity: 0.8;
}

.testimonial-tab-list {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    position: relative;
    z-index: 2;
}

.nav-pills .nav-link.testimonial-tab {
    width: 60px;
    height: 60px;
    padding: 0;
    border-radius: 50%;
    border: 3px solid transparent;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0.6;
    cursor: pointer;
    position: relative;
    transform-origin: center;
}

.nav-pills .nav-link.testimonial-tab img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nav-pills .nav-link.testimonial-tab.active {
    border-color: var(--primary-color);
    opacity: 1;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(184, 134, 11, 0.2);
}

.nav-pills .nav-link.testimonial-tab:hover {
    opacity: 1;
    transform: translateY(-3px) scale(1.05);
}

.nav-pills .nav-link.testimonial-tab:hover img {
    transform: scale(1.1);
}

/* Testimonial Animations */
@keyframes testimonialFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-content > .tab-pane.active {
    animation: testimonialFadeIn 0.5s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .testimonial-section {
        padding: 4rem 0;
    }

    .testimonial-content {
        padding: 2rem;
    }

    .testimonial-message {
        font-size: 1.1rem;
        line-height: 1.6;
    }

    .testimonial-quote {
        font-size: 2.5rem;
    }

    .nav-pills .nav-link.testimonial-tab {
        width: 50px;
        height: 50px;
    }

    .testimonial-wrapper::before,
    .testimonial-wrapper::after {
        font-size: 8rem;
    }
}
