
/* HERO STYLING */
#hero-slider .item {
  flex: 0 0 100%;
  height: 100%;
  position: relative;

  background-image: url('../assets/bg-2.png');
  background-size: cover;
  background-position: center;

  overflow: hidden;
}

#hero-slider .item:nth-child(2) {
  background-image: url('../assets/construction-bg.jpg');
}

#hero-slider .item:nth-child(3) {
  background-image: url('../assets/prop-bg.jpg');
}

#hero-slider .item:nth-child(4) {
  background-image: url('../assets/waste-bg.jpg');
}

#hero-slider .item:nth-child(5) {
  background-image: url('../assets/ict.jpg');
}

#hero-slider .item::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

#hero-slider .content {
  position: relative;
  z-index: 2;
  color: #fff;
  width: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 3rem clamp(2rem, 5%, 6rem);
  height: min(30rem, calc(100vh - 5rem));
}

#hero-slider .content h1 {
  color: #fff;
  font-size: 3rem;
}

#hero-slider .content p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.25rem;
}

#hero-slider .content .btn {
  background: #fff;
  color: var(--primary-green);
  transition: background 0.3s;
}

#hero-slider .content .btn:hover {
  background: var(--primary-green);
  color: #fff;
}

#hero-slider .content .btn.invert {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  transition: background 0.3s;
}

#hero-slider .content .btn.invert:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  border-color: #fff;
}

#hero-slider .content .btn,
#hero-slider .content .btn.invert {
  transition: background 0.3s, color 0.3s, transform 0.25s;
}

#hero-slider .content .btn:hover,
#hero-slider .content .btn.invert:hover {
  transform: translateY(-2px);
}

#hero-slider.slider .dots {
  bottom: 3.75rem;
}

.features {
  padding: 4rem 5%;
  background: var(--bg-light);
}

.features-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.features-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.features-header p {
  color: var(--text-muted);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.feature-card .icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.about {
  padding: 4rem 5%;
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  align-items: center;
}

.about-image {
  width: 100%;
  overflow: hidden;
  border-radius: 0.75rem;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.about-content .lead {
  font-size: 1.05rem;
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.about-content p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.services {
  padding: 4rem 5%;
  background: var(--bg-light);
}

.services-header {
  max-width: 700px;
  margin-bottom: 3rem;
}

.services-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.services-header p {
  color: var(--text-muted);
}

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

.service-card {
  background: #fff;
  padding: 2rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.service-card .icon img {
  width: 7.5rem;
  margin-bottom: 1rem;
  color: var(--primary-green);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-card a {
  margin-left: auto;
  padding: .5rem 1rem;
}


.projects {
  padding: 5rem 2rem;
  background: #f9faf9;
}

.projects-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.projects-header h2 {
  font-size: 2.2rem;
  color: var(--primary-green);
}

.projects-header p {
  color: #555;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.project-card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

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

.project-content {
  padding: 1.5rem;
}

.project-content h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
  color: #222;
}

.project-content p {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
}

.project-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.35rem 0.7rem;
  background: var(--primary-green);
  color: #fff;
  border-radius: 50px;
}

.testimonials {
  padding: 4rem 5%;
  background: #fff;
  text-align: center;
}

.testimonials-header h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  color: var(--primary-green);
}

.testimonials-header p {
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.testimonials .testimonial-content {
  display: flex;
  gap: 1rem;
  align-items: center;
  max-width: 900px;
  margin-inline: auto;
}

.testimonials .testimonial-image img {
  width: 20rem;
  border-radius: 1rem;
}

.slider#testimonial-slider .testimonial-card {
  min-width: 100%;
  padding: 2rem;
  box-sizing: border-box;
  background: var(--primary-green);
  border-radius: 0.75rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.testimonial-card .card-bottom {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.testimonial-card .card-bottom>div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-card .card-bottom .img-wrapper {
  display: flex;
  align-items: center;
}

.testimonial-card .card-bottom img {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
}

.testimonial-card .testifier {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonials .testimonial-card .testifier p {
  font-size: .75rem;
  margin-bottom: 0px;
}

.testimonial-card .card-bottom .ratings {
  gap: .25rem;
}

.testimonial-card .ratings i {
  font-size: .8rem;
}

.slider#testimonial-slider .slider-btns {
  display: none;
}

.slider#testimonial-slider span {
  background: var(--primary-green-tint);
}

.slider#testimonial-slider span.active {
  background: var(--primary-green);
}

.testimonials .item p {
  font-size: 1rem;
  color: #fff;
  margin-bottom: 1rem;
  text-align: left;
}

.testimonials .item h4 {
  font-size: .8rem;
  color: #fff;
  margin-bottom: .25rem;
}

.testimonials .item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

#contact {
  background: linear-gradient(to bottom,
      var(--bg-light),
      #ffffff);
}

.contact-container {
  max-width: 1100px;
  margin: auto;
  padding: 5rem 5%;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 4rem;
}

/* LEFT SIDE */
.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 420px;
}

.contact-info ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-info li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-main);
}

.contact-info i {
  width: 40px;
  height: 40px;
  background: rgba(34, 139, 34, 0.1);
  color: var(--primary-green);
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 1rem;
}

/* FORM */
.contact-form {
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-container .input-group {
  position: relative;
  display: flex;
  align-items: center;
}

.contact-container .input-group input,
.contact-container .input-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-family: var(--font-body);
  font-size: 0.95rem;
}

.contact-container .input-group textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-container .input-group input:focus,
.contact-container .input-group textarea:focus {
  border-color: var(--primary-green);
  outline: none;
}

.contact-form .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.contact-container #formStatus {
  font-size: 0.9rem;
  margin-top: 0.5rem;
}


/* ================== Responsive Styles ================== */


  @media (max-width: 768px) {
  
  /* Contact Section Adjustments */
  .contact-container {
    grid-template-columns: 1fr;
  }
}

/* =========================
   RESPONSIVE HERO STYLING
========================= */

/* Tablets */
@media (max-width: 1024px) {
  #hero-slider .content {
    padding: 2.5rem clamp(1.5rem, 4%, 4rem);
    height: min(26rem, calc(100vh - 4.5rem));
  }

  #hero-slider .content h1 {
    font-size: 2.4rem;
    text-align: center;
  }

  #hero-slider .content p {
    font-size: 1.1rem;
    text-align: center;
  }

}

/* Mobile */
@media (max-width: 768px) {
  #hero-slider .item {
    background-position: center center;
  }

  #hero-slider .content {
    padding: 2rem 1.5rem;
    height: auto;
    min-height: calc(100vh - 4rem);
    text-align: center;
  }

  #hero-slider .content h1 {
    font-size: 2rem;
    line-height: 1.3;
  }

  #hero-slider .content p {
    font-size: 1rem;
    max-width: 500px;
  }

  #hero-slider .content .call-to-action {
    display: flex;
    flex-direction: column;
    gap: .25rem
  }

  #hero-slider .content .btn {
    width: 100%;
    max-width: 280px;
  }

}

/* Small Phones */
@media (max-width: 480px) {
  #hero-slider .content h1 {
    font-size: 1.7rem;
  }

  #hero-slider .content p {
    font-size: 0.95rem;
  }

  #hero-slider .content {
    gap: 0.8rem;
  }
}