body {
  overflow-x: hidden;
}

body,
html {
  font-family: "Open Sans", sans-serif;
  text-rendering: optimizeLegibility !important;
  -webkit-font-smoothing: antialiased !important;
  color: #777;
  font-weight: 400;
  width: 100% !important;
  height: 100% !important;
}
h2,
h3,
h4 {
  font-family: "Raleway", sans-serif;
}
h2 {
  text-transform: uppercase;
  margin: 0 0 20px;
  font-weight: 800;
  font-size: 36px;
  color: #333;
}
h3 {
  font-size: 20px;
  font-weight: 600;
  color: #333;
}
h4 {
  font-size: 18px;
  color: #333;
  font-weight: 600;
}
h5 {
  text-transform: uppercase;
  font-weight: 700;
  line-height: 20px;
}
p {
  font-size: 15px;
}
p.intro {
  margin: 12px 0 0;
  line-height: 24px;
}
a {
  color: #608dfd;
  font-weight: 400;
}
a:hover,
a:focus {
  text-decoration: none;
  color: #608dfd;
}
ul,
ol {
  list-style: none;
}
ul,
ol {
  padding: 0;
  webkit-padding: 0;
  moz-padding: 0;
}
hr {
  height: 2px;
  width: 70px;
  text-align: center;
  position: relative;
  background: #1e7a46;
  margin-bottom: 20px;
  border: 0;
}



/* Navbar */

#menu {
  padding: 15px;
  transition: all 0.8s;
}

#menu.navbar-default {
  background: linear-gradient(to right, #b6ffa2 5%, #246107 75%);
  border-color: rgba(231, 231, 231, 0);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

#menu a.navbar-brand {
  display: flex;
  align-items: center;
  padding: 0;
  margin: 0;
  border: none;
  box-shadow: none;
}

.navbar-logo {
  height: 60px;
  width: auto;
  max-width: 100%;
  border: none;
  margin: 0;
  padding: 0;
  outline: none;
  box-shadow: none;
  display: inline-block;
}
/* Prevent Services dropdown toggle from getting a white background on hover */
#menu.navbar-default .navbar-nav > .dropdown > a:hover,
#menu.navbar-default .navbar-nav > .dropdown.open > a {
  background: transparent !important;
}


#menu.navbar-default .navbar-nav > li > a {
  font-family: "Lato", sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 15px;
  font-weight: 400;
  padding: 8px 2px;
  border-radius: 0;
  margin: 9px 20px 0;
  position: relative;
}

#menu.navbar-default .navbar-nav > li > a:after {
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, #56ab2f 0%, #a8e063 100%);
  content: "";
  transition: width 0.2s;
}

#menu.navbar-default .navbar-nav > li > a:hover:after {
  width: 100%;
}

.navbar-default .navbar-nav > .active > a,
.navbar-default .navbar-nav > .active > a:hover,
.navbar-default .navbar-nav > .active > a:focus {
  background-color: transparent;
}

.navbar-default .navbar-nav > .active > a:after,
.navbar-default .navbar-nav > .active > a:hover:after,
.navbar-default .navbar-nav > .active > a:focus:after {
  display: block !important;
  position: absolute !important;
  left: 0 !important;
  bottom: -1px !important;
  width: 100% !important;
  height: 2px !important;
  background: linear-gradient(to right, #56ab2f 0%, #a8e063 100%) !important;
  content: "" !important;
  transition: width 0.2s !important;
}

.navbar-toggle {
  border-radius: 0;
}

.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #2e7d32;
  border-color: #a8e063;
}

.navbar-default .navbar-toggle:hover > .icon-bar {
  background-color: #a8e063;
}


/* Dropdown arrow icon styling */
.custom-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.dropdown-icon {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.dropdown.open .dropdown-icon {
  transform: rotate(180deg);
}

/* Custom dropdown menu styling */
.custom-dropdown-menu {
  top: 105%;
  background: white;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  padding: 10px 0;
  border-radius: 5px;
  display: none;
  position: absolute;
  z-index: 1000;
  min-width: 230px;
}

.dropdown.open .custom-dropdown-menu {
  display: block;
}

.custom-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  color: #333;
  text-decoration: none;
  transition: background 0.3s, color 0.3s;
  font-weight: 500;
  font-family: "Lato", sans-serif;
}

.custom-dropdown-menu li a:hover {
  background: linear-gradient(to right, #56ab2f, #a8e063);
  color: white;
  border-radius: 0;
}
.custom-dropdown-menu li a.active {
  background: linear-gradient(to right, #56ab2f, #a8e063);
  color: white;
  border-radius: 0;
}

/* Ensure dropdown works properly on small screens */
@media (max-width: 767px) {
  .dropdown.open .custom-dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
  }

  .custom-dropdown-menu li a {
    padding-left: 25px;
  }

  .navbar-nav .dropdown.open > a {
    background: transparent !important;
  }
}





/* Header Section */
.intro {
  display: table;
  width: 100%;
  padding: 0;
  background: url(../img/intro-bg.jpg) center center no-repeat;
  background-color: #e5e5e5;
  background-size: cover;
  background-size: cover;
}

.intro .overlay {
  background: rgba(0, 0, 0, 0.2);
}

.intro-heading {
  font-family: "Raleway", sans-serif;
  color: #fff; /* White color for the text */
  font-size: 82px;
  font-weight: 700;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 10px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4); /* Shadow effect */
}

.intro-heading i {
  color: #fff; /* White color for the quote icon */
}

.intro .green-text {
  color: #4bff37; /* Green color for the word "Green" */
}

.intro p {
  color: #fff;
  font-size: 22px;
  font-weight: 300;
  line-height: 30px;
  margin: 0 auto;
  margin-bottom: 60px;
}

header .intro-text {
  padding-top: 350px;
  padding-bottom: 200px;
  text-align: center;
}


/* Common Button Styles */
.btn-custom, .learn-more-btn {
  display: inline-block;
  padding: 12px 25px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 25px;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
}


.learn-more-btn {
  border-top: none !important; 
  text-decoration: none !important; 
}

/* .btn-custom Styles */
.btn-custom {
  background: linear-gradient(to right, #56ab2f, #a8e063);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn-custom:hover {
  background: linear-gradient(to right, #a8e063, #56ab2f);
  color: #fff;
  transform: translateY(-2px);
}

/* .learn-more-btn Styles */
.learn-more-btn {
  background-color: transparent;
  color: #ffffff;
}

.learn-more-btn:hover {
  background-color: #56ab2f;
  color: #fff;
  box-shadow: 0 0 15px rgba(86, 171, 47, 0.7);
  transform: scale(1.05);
}



/* About Section */
#about {
  padding: 100px 0;
}

#about h2 {
  position: relative;
  margin-bottom: 15px;
  padding-bottom: 15px;
  display: inline-block;
  text-align: center;
  left: 50%;
  transform: translateX(-50%);
}

#about h2::after {
  position: absolute;
  content: "";
  background: linear-gradient(to right, #56ab2f 0%, #a8e063 100%);
  height: 4px;
  width: 60px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

#about h3 {
  font-size: 22px;
  margin: 0 0 20px;
}

#about .about-text p {
  font-size: 18px;
  line-height: 35px;
  margin: 25px 0;
  text-align: justify;
}

/* Image Styling */
.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.06);
}

/* Button Styling */
.learn-more-btn {
  margin-top: 10px;
}

/* Flex alignment for height match */
@media (min-width: 768px) {
  .about-wrapper {
    display: flex;
    align-items: stretch;
  }

  .about-wrapper .col-md-6 {
    display: flex;
    flex-direction: column;
  }

  .about-wrapper .about-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
}



/* === SERVICES SECTION === */
/* Services Section */
#services {
  padding: 30px 0;
  background-color: #ddffd0;
  
}

.section-title h2 {
  font-size: 36px;
  font-weight: 700;
  margin-top: 50px;
  margin-bottom: 30px;
  color: #333;
}


/* Card container */
.service-card {
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  margin-top: 20px;   /* Add margin-top for spacing above each card */
  margin-bottom: 20px; /* Add margin-bottom for spacing between cards */
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

#services .row {
  margin: 0;
  padding: 0;
  row-gap: 0;
}

#services .row {
  row-gap: 1.5rem !important;
}

/* Image with fixed height */
.service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Text section */
.service-desc {
  padding: 16px;
  text-align: left;
}

.service-desc h3 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.service-desc p {
  font-size: 15px;
  color: #555;
  margin: 0;
  line-height: 1.5;
}

/* === PORTFOLIO SECTION === */
#portfolio {
  padding: 100px 0;
}

.portfolio-item {
  margin: 1px -15px 0 -14px;
  padding: 0;
}

.portfolio-item .hover-bg {
  overflow: hidden;
  position: relative;
  margin: 0;
}

.hover-bg .hover-text {
  position: absolute;
  text-align: center;
  margin: 0 auto;
  color: #fff;
  background: linear-gradient(
    to right,
    rgba(86, 171, 47, 0.8) 0%,
    rgba(168, 224, 51, 0.8) 100%
  );
  padding: 30% 0 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  transition: all 0.5s;
}

.hover-bg .hover-text > h4 {
  opacity: 0;
  color: #fff;
  transform: translateY(100%);
  transition: all 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  font-weight: 500;
  text-transform: uppercase;
}

.hover-bg:hover .hover-text > h4 {
  opacity: 1;
  transform: translateY(0);
}

.hover-bg:hover .hover-text {
  opacity: 1;
}




/* === TESTIMONIALS SECTION === */
/* === TESTIMONIALS SECTION === */
#testimonials {
  padding: 20px;
  background: #ffffff;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  color: #222;
}

.section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #4caf50;
  margin: 8px auto 0;
  border-radius: 2px;
}

/* Responsive Grid Layout */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr); /* small screens: 1 per row */
  gap: 30px;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr); /* medium: 2 per row */
  }
}

@media (min-width: 1200px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr); /* large: 3 per row */
  }
}

/* Testimonial Card */
.testimonial-card {
  position: relative;
  background: linear-gradient(135deg, #ffffff, #f2fef4);
  padding: 30px 20px;
  border-radius: 16px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  text-align: center;
  overflow: hidden;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px rgba(76, 175, 80, 0.6);
}

/* Top animated green line */
.hover-line {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.4s ease;
}

.testimonial-card:hover .hover-line {
  width: 100%;
}

/* Logo Image */
.testimonial-logo {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}



/* === ONGOING PROJECTS SECTION === */

#ongoing-projects {
  padding: 40px 20px;
  background: #ffffff; 
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

#ongoing-projects .section-title h2 {
  font-size: 32px;
  font-weight: bold;
  text-align: center;
  position: relative;
  display: inline-block;
  margin-bottom: 50px;
  color: #222;
}

#ongoing-projects .section-title h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #4caf50;
  margin: 8px auto 0;
  border-radius: 2px;
}

#ongoing-projects .circle-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 30px;
  padding: 0 20px;
  justify-items: center;
}

@media (min-width: 768px) {
  #ongoing-projects .circle-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1200px) {
  #ongoing-projects .circle-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

#ongoing-projects .circle-card {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;  /* important to clip overflow */
  cursor: pointer;
  border: 4px solid transparent;
  transition: border 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
}

#ongoing-projects .circle-card:hover {
  border-color: #4caf50;
}

#ongoing-projects .circle-logo {
  width: 108%;   
  height: 108%;
  object-fit: cover;  
  border-radius: 50%; 
  transition: transform 0.3s ease;
}

#ongoing-projects .circle-card:hover .circle-logo {
  transform: scale(1.1);  /* zoom in the image */
}



/*Brand partners section */
#brand-partners {
  padding: 40px 0;
  background-color: #ffffff ;
}

.logo-slider {
  overflow: hidden;
  position: relative;
  width: 100%; /* Ensure the slider takes up the full width of the page */
  margin-top: 40px;
}

.logo-track {
  display: flex;
  width: 100%; /* Ensure the track takes up the full width */
  animation: scroll-logos 20s linear infinite;
}

.logo-slide {
  flex: 0 0 auto; /* Ensure the logo takes only the required width */
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 15px; /* Space between the logos */
  box-sizing: border-box;
}

.logo-slide img {
  max-height: 60px; /* Adjusted height for smaller logos */
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

/* Remove grayscale effect */
.logo-slide img:hover {
  transition: transform 0.3s;
}

/* Scroll Animation */
@keyframes scroll-logos {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}



/* Testimonial Review Section */

.testimonial-review {
  background-color: #fdfdfd;
  padding: 2rem;
  margin: 70px auto;
  text-align: center;
  width: 100%;
  max-width: 1200px; /* Increased to allow two cards side-by-side */
}

/* Container for flex layout */
.testimonial-review-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

/* Individual testimonial cards */
.testimonial-review-card {
  border-left: 4px solid #0cb114;
  border-right: 4px solid #0cb114;
  padding: 1rem 2rem;
  background-color: #fff7f5;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  flex: 1 1 300px;
  max-width: 400px;
  box-sizing: border-box;
}

/* Quote text style */
.testimonial-review-card .quote {
  padding: 1.5rem;
  font-size: 1.5rem;
  font-style: italic;
  color: #333;
}

/* Customer name style */
.customer-name {
  margin-top: 1rem;
  font-weight: bold;
  color: #0cb114;
}



/* Ensure the button is placed below the navbar */
.contact-us-btn-container {
  margin-top: 100px; /* Adjust this value to fit your navbar height */
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Style for the Contact Us button */
.contact-us-btn-container .btn-custom {
  position: relative;
  z-index: 10; /* Keep button on top */
  padding: 10px 20px;
  background-color: #25D366; /* WhatsApp green */
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.contact-us-btn-container .btn-custom:hover {
  background-color: #128C7E; /* Darker WhatsApp green on hover */
}

/* Optional: Add some margin to bottom of the page */
.contact-us-btn-container {
  margin-bottom: 50px; /* Adjust bottom margin as necessary */
}



/* Contact Section */
#contact {
  padding: 100px 0 60px;
  background-color: #ddffd0; /* soft light green background */
  color: #000;
  margin: 0;
  overflow-x: hidden; /* Prevent horizontal scroll */
}

#contact .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px; /* Add padding to prevent edge overflow */
}

/* Section Title */
#contact .section-title {
  margin-bottom: 30px;
}
#contact .section-title h2 {
  color: #125d08;
  margin-top: 0;
  font-weight: 600;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}
#contact .section-title h2::after {
  position: absolute;
  content: "";
  background: #125d08;
  height: 3px;
  width: 60px;
  bottom: 0;
  left: 0;
}
#contact .section-title p {
  font-size: 16px;
  color: #333;
  margin-top: 0px;
}

/* Form Section */
#contact form {
  padding: 20px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

/* Input and Textarea Styles */
#contact .form-control {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: 1px solid #125d08;
  border-radius: 4px;
  background-color: #fff;
  color: #000;
  font-size: 15px;
  transition: border-color 0.3s, box-shadow 0.3s;
}
#contact .form-control:focus {
  border-color: #6bcf63;
  box-shadow: 0 0 5px rgba(107, 207, 99, 0.4);
  outline: none;
}

/* Adjust two-column spacing */
#contact .row > .col-md-6 {
  padding: 0 10px;
  margin-bottom: 15px;
}

/* Textarea spacing */
#contact textarea.form-control {
  resize: vertical;
  min-height: 120px;
  margin-top: 10px;
}

/* Submit Button */
#contact .btn-custom {
  margin-top: 15px;
  padding: 12px 25px;
  background: transparent;
  border: 2px solid #125d08;
  color: #125d08;
  font-weight: 600;
  transition: all 0.3s ease-in-out;
}
#contact .btn-custom:hover {
  background: #6bcf63;
  border-color: #6bcf63;
  color: #fff;
}

/* Text center alignment for button */
#contact .text-center {
  margin-top: 15px;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  /* Ensure form and map stack vertically on smaller screens */
  #contact .row {
    flex-direction: column;
    align-items: center;
  }

  #contact .row > .col-md-6 {
    padding: 0 15px;
    margin-bottom: 15px;
    width: 100%; /* Ensure full width for each column */
  }

  #contact .section-title h2 {
    font-size: 24px; /* Adjust section title size */
  }

  /* Ensure the submit button has proper margin */
  #contact .btn-custom {
    width: 100%;
    padding: 15px 25px;
  }
}

/* Mobile screen adjustments */
@media (max-width: 576px) {
  #contact .form-control {
    font-size: 14px; /* Adjust font size on small screens */
  }

  #contact textarea.form-control {
    font-size: 14px; /* Adjust font size for the textarea */
  }
}

/* Ensure map doesn’t overflow */
@media (max-width: 768px) {
  .contact-map iframe {
    height: 300px; /* Map height for smaller devices */
  }
}

@media (max-width: 576px) {
  .contact-map iframe {
    height: 250px; /* Map height for very small screens */
  }
}

@media (min-width: 992px) {
  .contact-map iframe {
    height: 475px; /* Map height for larger screens */
  }
}







/* Footer Section */
#footer {
  
  background: #f6f6f6;
  padding: 30px 0;
}
#footer p {
  color: #888;
  font-size: 14px;
}
#footer a {
  color: #608dfd;
}
#footer a:hover {
  border-bottom: 2px solid #608dfd;
}

/* Responsive Fixes */
@media (max-width: 768px) {
  #contact .contact-info,
  #contact form {
    padding: 0;
  }

  #contact .section-title,
  #contact h3 {
    text-align: center;
  }

  #contact .contact-info,
  #contact .col-md-8 {
    margin-top: 30px;
  }


}

.scroll-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 10px 30px;
  margin-top: 10px;
}

.scroll-btn {
  background-color: #4b8e46;
  color: white;
  border: none;
  padding: 10px 15px;
  border-radius: 20%;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.scroll-btn:hover {
  background-color: #367a33;
}




