@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap");
/* linear-gradient(to right, #A8D5D1, #5BA44E) */
body {
  font-family: "Poppins", sans-serif;
  background-color: #f8f9fa;
  margin: 0;
}

/* HEADER */
.header {
  background: linear-gradient(135deg, #ffffff, #f1f6ff);
}

.nav-link {
  font-weight: 500;
  color: #333 !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: #000000 !important;
  font-weight: 700;
}

.btn-primary {
  background: linear-gradient(135deg, #0d6efd, #4f9cff);
  border: none;
  transition: 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0056b3, #3f8cff);
  transform: translateY(-2px);
}


/* ===== HERO SLIDER ===== */
.hero-section {
  background: #f9fcfa;
  overflow: visible; /* allow shapes to extend outside */
  position: relative;
  padding: 40px 30px 80px 30px; /* combined padding */
}

.hero-img {
  height: 400px; /* default for small screens */
  object-fit: cover;
  border-radius: 1rem;
  transition: transform 0.5s ease;
}

.hero-img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* Ensure absolute positioning relative to slider item */
.carousel-item .position-relative {
  overflow: visible;
  position: relative;
}

/* ===== MEDIA QUERIES FOR LARGE SCREENS ===== */
@media (min-width: 992px) {
  .hero-img {
    height: 400px; /* taller images for large screens */
  }
}

@media (min-width: 1400px) {
  .hero-img {
    height: 700px; /* extra large screens */
  }
}

@media (max-width: 767px) {
  .carousel-item .col-lg-6.p-5 {
    padding: 0 !important;
  }
   .carousel-item .btn-group-mobile {
    display: flex;
    flex-wrap: nowrap;        /* keep in one line */
    justify-content: center;  /* center buttons */
  }

  .carousel-item .btn-group-mobile .btn {
    flex: 1 1 auto;           /* auto width, can shrink */
    white-space: nowrap;       /* prevent text wrap */
    font-size: 0.9rem;         /* slightly smaller font for narrow screens */
  }
  .hero-img {
    height: auto; /* smaller images for mobile */
    margin-top: 30px;
  }
  .hero-section {
    padding: 40px 15px 8px 15px; /* reduce bottom padding on mobile */
}
}
/* ===== SERVICES SECTION ===== */
.services-section {
  background: #f9fcfa;
}

.service-card {
  background: #ffffff;
  transition: all 0.4s ease;
  border: 1px solid #e0e0e0;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  border-color: #b9e4c9;
}

.service-card .icon {
  background: rgba(25, 135, 84, 0.1);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 15px;
  border-radius: 50%;
}

/* ===== MEETING SECTION ===== */
.meeting-section {
  background: linear-gradient(135deg, #0b1b14, #092b1a);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.meeting-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url("https://images.unsplash.com/photo-1597764691057-7c2ef5e088b2?w=1600") center/cover no-repeat;
  opacity: 0.15;
}

.meeting-section h2 {
  font-size: 2rem;
  color: #aef2c4;
  z-index: 1;
  position: relative;
}

.meeting-section p {
  max-width: 700px;
  margin: 0 auto 30px;
  z-index: 1;
  position: relative;
  color: #cde8d2;
}

.meeting-section .btn-light {
  color: #0b1b14;
  background-color: #aef2c4;
  border: none;
  transition: all 0.3s ease;
  z-index: 1;
  position: relative;
}

.meeting-section .btn-light:hover {
  background-color: #8ce09c;
  transform: translateY(-2px);
}


/* ===== PROJECTS SECTION ===== */
.projects-section {
  background: #f9fcfa;
  overflow: hidden;
}

.project-card {
  cursor: pointer;
  transition: all 0.4s ease;
  height: 300px; /* Fixed height for uniformity */
  position: relative;
}

.project-card .project-img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Ensures full background coverage */
  transition: transform 0.5s ease;
  border-radius: 1rem;
}

.project-card:hover .project-img {
  transform: scale(1.05);
}

/* Always visible title at bottom */
.project-title {
  border-bottom-left-radius: 1rem;
  border-bottom-right-radius: 1rem;
  font-size: 1rem;
}

/* Optional overlay */
.project-card .overlay {
  background: rgba(25, 135, 84, 0.85);
  opacity: 0;
  transition: all 0.4s ease;
  border-radius: 1rem;
}

.project-card:hover .overlay {
  opacity: 1;
}

.project-card .overlay p {
  color: #e2f0d9;
  font-size: 0.9rem;
}

.project-card .overlay .btn {
  transition: all 0.3s ease;
}

.project-card .overlay .btn:hover {
  transform: translateY(-2px);
}



/* ===== CONTACT SECTION ===== */
.contact-section {
  background: #f9fcfa;
}

.contact-info, .contact-form {
  background: #ffffff;
  transition: all 0.3s ease;
}

.contact-info:hover, .contact-form:hover {
  transform: translateY(-5px);
}

.contact-info h5 {
  color: #198754;
}

.contact-info p, .contact-info a {
  color: #333333;
}

.contact-info a:hover {
  color: #0b5d3e;
}

.contact-form input, 
.contact-form textarea {
  border-radius: 0.75rem;
  border: 1px solid #ced4da;
  padding: 0.75rem 1rem;
}

.contact-form button {
  background-color: #198754;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.contact-form button:hover {
  background-color: #0b5d3e;
  transform: translateY(-2px);
}


/* ===== ABOUT US SECTION ===== */
.about-section {
  background: #f9fcfa;
  overflow: hidden;
}

.about-img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 1rem;
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
}

.about-img:hover {
  transform: scale(1.05) rotate(-1deg);
}

/* Decorative floating shapes */
.about-section .shape-1 {
  width: 80px;
  height: 80px;
  top: -20px;
  left: -20px;
  z-index: 0;
  opacity: 0.6;
}

.about-section .shape-2 {
  width: 100px;
  height: 100px;
  bottom: -30px;
  right: -30px;
  z-index: 0;
  opacity: 0.5;
}

/* Text content */
.about-section h2 {
  color: #198754;
}

.about-section p {
  font-size: 1rem;
  line-height: 1.6;
}

.about-section .btn {
  background-color: #198754;
  color: #fff;
  border: none;
  transition: all 0.3s ease;
}

.about-section .btn:hover {
  background-color: #0b5d3e;
  transform: translateY(-2px);
}

/* ===== FOOTER ===== */
.footer-section {
  background: linear-gradient(to right, #0072a3, #007442, #007823);
  color: #fff;
  font-size: 0.9rem;
}

.footer-section p {
  margin: 0;
}

@media (max-width: 767px) {
  .footer-section {
    font-size: 0.85rem; /* slightly smaller on mobile */
    padding: 10px 5px;
  }
  .about-img{
      height: auto !important;
  }
}



/* Our client */
.client-logo img {
  max-height: 60px;
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: grayscale(100%);
}

.client-logo img:hover {
  transform: scale(1.05);
  filter: grayscale(0%);
}


/* Custom Gradient for Success Buttons - Campearth Theme */
.btn-success {
  background: linear-gradient(to right, #0072a3, #007442, #007823);
  border: none;
  color: #fff;
  transition: all 0.3s ease;
}

.btn-success:hover,
.btn-success:focus {
  background: linear-gradient(to right, #007823, #007442, #0072a3);
  transform: translateY(-2px);
  color: #fff;
}

.btn-success:active {
  transform: scale(0.97);
  background: linear-gradient(to right, #00a651, #3bb143);
}
