:root {
  --primary-color: #ee97a0;
  --secondary-color: #f8f9fa;
  --accent-color: #ed4253;
  --accent-color-hover: #de3142;
  --text-color: #333;
  --font-family: 'Poppins', sans-serif;
}

:root {
    /* Override Bootstrap primary color variables */
    --bs-primary: #ED4253 !important;
    --bs-primary-rgb: 237, 66, 83 !important;
  }

  /* Optional: for custom hover/focus states */
  .btn-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary) !important;
  }

  .btn-primary:hover,
  .btn-primary:focus {
    background-color: #d63a48 !important;
    border-color: #d63a48 !important;
    
  }

   .btn-outline-success,.btn-outline-primary{
   
    border-color: #d63a48 !important;
    color: #d63a48  !important;
    
  }
 .btn-outline-success:hover,
  .btn-outline-success:focus,.btn-outline-primary:hover,
  .btn-outline-primary:focus {
    background-color: #d63a48 !important;
    border-color: #d63a48 !important;
       color: white !important;
  }
  
  

footer {
  font-family: 'Poppins', sans-serif;
  padding-top: 100px;
  padding-bottom: 50px;
}

.footer-social a {
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social a:hover {
  color: var(--accent-color) !important; /* green hover */
  transform: translateY(-3px);
}

.footer-links li {
  margin-bottom: 12px; /* spacing between items */
}

.footer-links a:hover {
  color: var(--accent-color) !important;
}


body {
  font-family: var(--font-family);
  color: var(--text-color);
 
 
}

.btn-main {
  background-color: var(--accent-color);
  color: #fff !important;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 400;
  transition: background-color 0.3s ease;
}

.btn-main:hover {
  background-color: var(--accent-color-hover); /* Dark green hover */
  color: #fff !important;
}

.btn-main-outline {
  background-color: var(--secondary-color);
  color: var(--accent-color);
  
  border: 1px solid var(--accent-color) ;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-weight: 400;
  transition: background-color 0.3s ease;
}
.btn-main-outline:hover {
  background-color: var(--accent-color); /* Dark green hover */
  color: #fff !important;
}
.hero-section {
   
    background-color: var(--primary-color) ; 
}
.hero-section .container{
    padding-top: 150px;
    /* padding-bottom: 50px; */
    
}

.hero-heading {
  display: inline-block;
  position: relative;
}

/* 
.static-text {
  display: inline-block;
  transition: transform 0.8s ease-in-out;
} */


/* Animated text area fix */
.changing-word {
  display: inline-block;
  width: 130px; /* adjust as per longest word (e.g. 'Electrician') */
  text-align: left;
  white-space: nowrap;
  transition: opacity 0.6s ease-in-out, transform 0.6s ease-in-out;
  opacity: 1;
}

/* Animation states */
.changing-word.fade-out {
  opacity: 0;
  transform: translateY(-10px);
}

.changing-word.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Who We Serve Section */
.who-we-serve {
  background-color: #f8f9fa; /* light gray */
  padding-top: 100px;
  padding-bottom: 50px;
}

.section-title {
  font-size: 2rem;
  color: var(--main-dark, #222);
}

.serve-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.serve-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.serve-img {
  width: 48%;
  height: 80px;
  object-fit: cover ;
  
  border-radius: 10px;
}

#testimonials {
  position: relative;
  padding-top: 100px;
  padding-bottom: 50px;
}

.testimonial-img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border: 4px solid #0d6efd;
  transition: transform 0.3s ease;
}

.testimonial-img:hover {
  transform: scale(1.05);
}

.testimonial-text {
  font-style: italic;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-size: 40%, 40%;
  background-color: var( --accent-color);
}


@media (max-width: 767px) {
  #testimonials .row {
    flex-direction: column;
    text-align: center;
  }

  #testimonials .col-md-6 {
    text-align: center !important;
  }

  .testimonial-text {
    font-size: 0.95rem;
  }
}

.most-requested {
  background-color: var(--bg-light);
  font-family: var(--font-family);
  padding-top: 100px;
  padding-bottom: 50px;
}

.most-requested .section-title {
  color: var(--text-dark);
  font-size: 2rem;
}

/* Tabs styled as buttons */
.most-requested .nav-tabs {
  border: none;
  gap: 8px;
}

.most-requested .nav-tabs .nav-link {
  border: 1px solid var( --accent-color);
  background-color: #fff;
  color: var( --accent-color);
  font-weight: 500;
  border-radius: 30px;
  padding: 8px 18px;
  transition: all 0.3s ease;
}

.most-requested .nav-tabs .nav-link i {
  font-size: 1rem;
}

.most-requested .nav-tabs .nav-link:hover {
  background-color: var( --accent-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.2);
}

.most-requested .nav-tabs .nav-link.active {
  background-color: var( --accent-color);
  color: #fff;
  box-shadow: 0 4px 10px rgba(13, 110, 253, 0.3);
}

/* More link */
.most-requested .more-link {
  color: var( --accent-color);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.most-requested .more-link:hover {
  text-decoration: underline;
}

/* Responsive alignment */
@media (max-width: 768px) {
  .most-requested .nav-tabs {
    flex-direction: column;
    align-items: center;
  }
  .most-requested .more-link {
    margin-top: 10px;
  }
}

.most-requested #trades {
    padding-top: 30px;
}
.most-requested .service-card img {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.most-requested .service-card img:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.most-requested .service-card h6 {
  color: var(--text-dark);
}



.latest-news {
  background-color: var(--bg-light);
  font-family: var(--font-family);
  padding-top: 100px;
  padding-bottom: 50px;
}

.latest-news .section-title {
  color: var(--text-dark);
}

.latest-news .news-card img {
  height: 230px;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-news .news-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.latest-news .news-title {
  font-size: 1rem;
  line-height: 1.4;
  color: var(--text-dark);
  transition: color 0.3s ease;
}

.latest-news .news-card:hover .latest-news .news-title {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .latest-news .news-card img {
    height: 180px;
  }
  .latest-news .news-title {
    font-size: 0.95rem;
  }
}



.tradie-cta-section {
  background-color:var(--accent-color); 
  padding-top: 100px;
  padding-bottom: 50px;

}

.tradie-cta-section h2 {
  font-size: 5rem;
}

.tradie-cta-section p {
  font-size: 1.3rem;
}

.tradie-cta-section  .btn-cta {
  transition: all 0.3s ease;
  color: var(--accent-color) !important;
  font-size: 1.1rem;
}

 .tradie-cta-section .btn-cta:hover {
  background-color: var(--accent-color)!important;
  color: #fff !important;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .tradie-cta-section h2 {
    font-size: 2rem;
  }

  .tradie-cta-section p {
    font-size: 1rem;
  }

  .tradie-cta-section .btn-cta {
    width: 80%;
    padding: 0.9rem 1rem;
  }
}


.contact-support-section {
padding-top:100px;
padding-bottom:50px
}

.contact-support-section h2 {
  color: #212529;
  font-weight: 800;
}

.contact-support-section p {
  color: #6c757d;
  font-size: 1.4rem;
}

.contact-support-section p:hover {
  color: #198754; /* green hover color */
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  .contact-support-section h2 {
    font-size: 1.8rem;
  }

  .contact-support-section p {
    font-size: 1.1rem;
  }
}





