
/* Mobile watsapp button */

.call-now-mobile {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25D366; /* WhatsApp green */
  color: white;
  font-size: 22px;
  padding: 12px 15px;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  z-index: 999;
}

/* Prevents horizontal overflow globally */
body {
  overflow-x: hidden;
  box-sizing: border-box;
}
*, *::before, *::after {
  box-sizing: inherit;
}


.container, .row {
  margin-left: 0;
  margin-right: 0;
  padding-left: 15px;
  padding-right: 15px;
}


img {
  max-width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 768px) {
  section, .container, .row {
    max-width: 100vw;
    overflow-x: hidden;
  }
}

p, li, ul {
  word-break: break-word;
}




/* Header start */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background-color: #fff;
  color: #333;
}

html {
  scroll-padding-top: 60px;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: #1d3b2a;
}

p, li {
  font-size: 16px;
  color: #444;
}

/* ✅ Top Bar */
.top-bar {
  font-size: 14px;
  background: #1d3b2a; /* Green background */
  color: white;
  padding: 5px 0;
}

.top-bar a {
  color: white;
}

/* ✅ Sticky White Navbar */
.site-navbar {
  position: sticky;
  top: 0;
  width: 100%;
  height: 70px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  z-index: 999;
  padding: 0 15px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease-in-out;
}

.navbar-brand img {
  max-height: 55px;
  width: auto;
  object-fit: contain;
}

/* ✅ Nav Links (Dark on White) */
.navbar-nav .nav-link {
  font-weight: 500;
  color: #1d3b2a !important;
  margin-left: 15px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link.active {
  color: #4caf50 !important;
}

.navbar-nav .nav-link:hover {
  color: #4caf50 !important;
}

.navbar-nav .nav-item {
  margin-left: 10px;
}
 .top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.top-bar .contact-item {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 5px;
}

.top-bar .contact-item a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}

/* For mobile: stack items vertically and center align */
@media (max-width: 767.98px) {
  .top-bar .container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 5px;
  }

  .top-bar .contact-item {
    justify-content: center;
    font-size: 13px;
  }
}

/* ✅ Call Now Button */
.btn-success {
  background-color: #2e7d32;
  border: none;
  padding: 8px 16px;

  transition: background-color 0.3s ease;
}

.btn-success:hover {
  background-color: #1b5e20;
  color: #fff;
}

/* 🔁 Responsive Breakpoint: Tablets (<= 991.98px) */
@media (max-width: 991.98px) {
  .top-bar .container {
    flex-direction: column;
    text-align: center;
    gap: 5px;
  }

  .top-bar i {
    margin-right: 5px;
  }

  .site-navbar {
    padding: 10px 15px;
  }

  .btn-success {
    font-size: 14px;
    padding: 6px 12px;
  }
}

/* 🔁 Responsive Breakpoint: Mobile (<= 767.98px) */
@media (max-width: 767.98px) {
  .site-navbar {
    height: auto;
    padding: 10px 15px;
    flex-direction: column;
    align-items: flex-start;
  }

  .navbar-brand img {
    max-height: 45px;
    width: auto;
  }

  .navbar-nav {
    width: 100%;
    background: #ffffff;
    margin-top: 10px;
    border-radius: 6px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  .navbar-nav .nav-link {
    display: block;
    text-align: left;
    padding: 12px 20px;
    color: #1d3b2a !important;
  }

  .navbar-toggler {
    border: none;
    padding: 6px 10px;
    outline: none;
  }

  .navbar-toggler-icon {
    width: 30px;
    height: 30px;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%231d3b2a' viewBox='0 0 30 30'%3e%3cpath stroke='%231d3b2a' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
  }

  .btn-success {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 10px;
  }

  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .top-bar i {
    display: inline-block;
    margin: 5px 8px 0 0;
  }

  .top-bar a {
    display: inline-block;
    margin: 5px;
  }
}

/* 🔁 Responsive Breakpoint: Extra Small Devices (<= 576px) */
@media (max-width: 576px) {
  .navbar-nav .nav-link {
    font-size: 15px;
    padding: 10px 16px;
  }

  .btn-success {
    font-size: 14px;
    padding: 8px 16px;
  }

  .navbar-brand img {
    max-height: 40px;
  }

  .top-bar {
    font-size: 13px;
    padding: 6px 0;
  }
}

/* Header end */


/* Hero start */

.hero-wrap {
  width: 100%;
  height: 100vh;
  background-image: url('images/septic-banner.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;

  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding-top: 70px; /* Adjust if navbar is sticky */
}

/* Mobile fix */
@media (max-width: 768px) {
  .hero-wrap {
     width: 100%;
    height: auto;
    min-height: 250px;
    background-attachment: scroll;
    background-size: cover;
    background-position: center center;
    padding-top: 60px;
  }
}

/* Hero end */

/* about start */
  
  #about h2 {
    font-size: 2.2rem;
    color: #2e3d27;
  }

  #about ul i {
    color: #2e7d32;
  }

  #about .btn-warning {
    background-color: #fdd835;
    border: none;
    transition: background 0.3s ease;
  }

  #about .btn-warning:hover {
    background-color: #fbc02d;
  }

  #contact h2 {
    color: #1d3b2a;
    margin-bottom: 20px;
  }

  #contact p {
    font-size: 16px;
    margin: 8px 0;
  }

  @media (max-width: 768px) {
  #about h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  #about p {
    font-size: 15px;
    text-align: justify;
  }

  #about ul {
    padding-left: 0;
  }

  #about ul li {
    font-size: 14px;
    display: flex;
    align-items: flex-start;
  }

  #about ul i {
    font-size: 16px;
    margin-right: 8px;
  }

  #about .btn-warning {
    display: block;
    margin: 20px auto 0;
    font-size: 14px;
    padding: 10px 20px;
  }

  #about img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
  }
}
@media (max-width: 576px) {
  #about h2 {
    font-size: 1.6rem;
  }

  #about p {
    font-size: 14px;
  }

  #about ul li {
    font-size: 13px;
  }

  #about .btn-warning {
    font-size: 13px;
    padding: 8px 18px;
  }
}


/* about end */

/* services section start */
.services .service-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.services .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.icon {
  background-color: 	#1d3b2a;
  color: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.3s ease;
}
.icon i {
  transition: color 0.3s ease, transform 0.3s ease;
}
.service-card:hover .icon {
  background-color: #f3e53d;
  transform: scale(1.1);
}
.service-card:hover .icon i {
  color: #000;
  transform: scale(1.2);
}
.media-body h3.heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
}
.media-body p {
  margin-bottom: 0.5rem;
}
.btn-custom {
  color: 	#1d3b2a;
  font-weight: 600;
  text-decoration: none;
}
.btn-custom:hover {
  text-decoration: underline;
  color: #f3e53d;
}
@media (max-width: 768px) {
  .services .service-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    gap: 15px;
  }

  .services .service-card .icon {
    margin-bottom: 10px;
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .media-body h3.heading {
    font-size: 16px;
  }

  .media-body p {
    font-size: 14px;
  }

  .btn-custom {
    font-size: 14px;
  }
}

@media (max-width: 576px) {
  .services .service-card {
    padding: 20px 12px;
    gap: 12px;
  }

  .services .service-card .icon {
    width: 45px;
    height: 45px;
    font-size: 18px;
  }

  .media-body h3.heading {
    font-size: 15px;
  }

  .media-body p {
    font-size: 13px;
  }

  .btn-custom {
    font-size: 13px;
  }
}


/* services section end */


/* Why Choose Us Styles stART */
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1d3b2a;
}

.feature-box {
  background-color: #f0f8f4;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
  padding: 14px 20px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  font-weight: 500;
  font-size: 1rem;
  color: #333;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-box i {
  color: #1d643b;
  margin-right: 12px;
  font-size: 1.2rem;
  min-width: 20px;
}

.feature-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
}

.choose-img {
  border-radius: 10px;
  max-width: 100%;
  height: auto;
}
/* Tablet and below (≤ 768px) */
@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
    text-align: center;
  }

  .feature-box {
    font-size: 0.95rem;
    padding: 12px 16px;
  }

  .feature-box i {
    font-size: 1.1rem;
    margin-right: 10px;
  }

  .choose-img {
    margin-top: 30px;
    max-width: 90%;
  }

  .why-choose-us-section .col-md-6 {
    text-align: center;
  }
}

/* Mobile and below (≤ 576px) */
@media (max-width: 576px) {
  .section-title {
    font-size: 1.4rem;
  }

  .feature-box {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px;
  }

  .feature-box i {
    margin-bottom: 8px;
  }

  .choose-img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }
}

/* why choose end */


/* portfolio start */
   #portfolio .portfolio-card {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 0.75rem;
}

#portfolio .portfolio-card:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

#portfolio .card-img-top {
  transition: transform 0.3s ease;
}

#portfolio .portfolio-card:hover .card-img-top {
  transform: scale(1.05);
}
/* Tablet and below (≤ 768px) */
@media (max-width: 768px) {
  #portfolio h2 {
    font-size: 1.75rem;
  }

  #portfolio p {
    font-size: 1rem;
    padding: 0 10px;
  }

  #portfolio .portfolio-card {
    margin-bottom: 1.5rem;
  }

  #portfolio .card-img-top {
    height: auto;
    object-fit: cover;
  }
}

/* Mobile and below (≤ 576px) */
@media (max-width: 576px) {
  #portfolio .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  #portfolio h2 {
    font-size: 1.5rem;
  }

  #portfolio p {
    font-size: 0.95rem;
  }

  #portfolio .portfolio-card {
    margin-bottom: 1.25rem;
  }

  #portfolio .card-img-top {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 0.5rem;
  }
}

/* portfolio end */

/*call banner start*/
.cta-section {
  position: relative;
  padding: 80px 0;
  background: url('images/bg.jpg') center center/cover no-repeat;
  z-index: 1;
}

.cta-section .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
background-color: rgba(40, 167, 69, 0.75);
  z-index: 0;
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2,
.cta-section p {
  color: #fff;
}

.cta-section {
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}
/*call banner end*/

/* footer start */
  /* Social Icons */
  .social-icon {
    font-size: 1.25rem;
    color: #28a745;
    transition: transform 0.3s, color 0.3s;
  }

  .social-icon:hover {
    color: #1b5e20;
    transform: scale(1.2);
  }

  /* Footer Links */
  .footer-link {
    color: #6c757d;
    transition: color 0.3s;
  }

  .footer-link:hover {
    color: #28a745;
    text-decoration: none;
  }

  /* Placeholder Styling */
  .form-control::placeholder {
    font-size: 0.95rem;
    color: #bbb;
    font-style: italic;
  }

  /* Remove input glow on focus */
  .form-control.shadow-0:focus {
    box-shadow: none;
  }

 
  /* Inline Icons */
  .list-inline-item i {
    font-size: 1.2rem;
    transition: color 0.3s;
  }

  .list-inline-item i:hover {
    color: #1d643b;
  }

  i { color: #fdd835; }

  /* Tablet and below (≤ 768px) */
@media (max-width: 768px) {
  #footer .row {
    text-align: center;
  }

  #footer .col-lg-4,
  #footer .col-lg-2 {
    margin-bottom: 2rem;
  }

  .social-icon {
    font-size: 1.5rem;
    margin: 0 8px;
  }

  #footer h6 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }

  .footer-link {
    display: inline-block;
    margin-bottom: 0.75rem;
  }

  .list-inline {
    padding-left: 0;
  }

  .list-inline-item {
    margin-right: 0.75rem;
  }

  .text-muted,
  .footer-link {
    font-size: 0.95rem;
  }
}

/* Mobile and below (≤ 576px) */
@media (max-width: 576px) {
  #footer {
    padding: 40px 15px 0;
  }

  #footer .container {
    padding: 0;
  }

  .social-icon {
    font-size: 1.35rem;
  }

  .list-inline-item {
    margin-right: 0.5rem;
  }

  .text-muted,
  .footer-link {
    font-size: 0.9rem;
  }

  .form-control::placeholder {
    font-size: 0.85rem;
  }

  .btn-success {
    font-size: 0.9rem;
    padding: 0.4rem 0.6rem;
  }

  #footer h6 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .bg-light.py-4 p {
    font-size: 0.85rem;
  }
}

/* footer end */