/* ===== PAGE BANNER ===== */
.page-banner {
  background: linear-gradient(
    rgba(15, 31, 68, 0.85),
    rgba(15, 31, 68, 0.85)
  ),
  url("../images/services.jpeg") center/cover no-repeat;

  color: #ffffff;
  padding: 140px 20px;
  text-align: center;
}

.page-banner h1 {
  font-size: 46px;
  margin-bottom: 10px;
}

.page-banner p {
  font-size: 24px;
  color: #e0a730;
}

@media (max-width: 768px) {
  .page-banner {
    padding: 100px 20px;
  }

  .page-banner h1 {
    font-size: 32px;
  }

   .page-banner p {
  font-size: 22px;
  
}
}

.project-filters {
  background: #f5f5f5;
}

.filter-list {
  display: flex;
  justify-content: center;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.filter-list li {
  padding: 8px 16px;
  border: 1px solid #ddd;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  transition: 0.3s;
  text-align: center;
  white-space: normal;
}

.filter-list li.active,
.filter-list li:hover {
  background: #e0a730;
  color: #fff;
  border-color: #e0a730;
}

@media (max-width: 576px) {
  .filter-list li {
    font-size: 13px;
    padding: 6px 12px;
  }
}


.container{
  padding: 60px 40px;
}

/* ===============================
   PROJECT GRID (CSS GRID MASONRY)
================================ */

.masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

/* Project card */
.project-item {
  background: #f4f4f4;
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hidden state for Load More */
.project-item.hidden {
  display: none;
}

/* Image */
.project-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

/* Masonry visual variation */
.project-item:nth-child(3n) img {
  aspect-ratio: 4 / 5;
}

.project-item:nth-child(5n) img {
  aspect-ratio: 3 / 4;
}

/* Hover effect */
.project-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

/* ===============================
   LOAD MORE BUTTON
================================ */

.load-more-wrapper {
  text-align: center;
}

#loadMoreBtn {
  padding: 12px 30px;
  background: #e0a730;
  color: #fff;
  border: none;
  font-size: 15px;
  cursor: pointer;
  border-radius: 4px;
  transition: 0.3s;
}

#loadMoreBtn:hover {
  background: #c8921e;
}

/* ===============================
   TESTIMONIALS SECTION
================================ */

#testimonials {
  margin: 30px 0;
 
  background: #f9f9f9;
}

#testimonials .section-title {
  text-align: center;
  margin-bottom: 40px;
}

#testimonials .section-title h2 {
  font-size: 34px;
  color: #0f1f44;
  margin-bottom: 10px;
}

#testimonials .section-title p {
  font-size: 15px;
  color: #555;
}

/* Grid */
#testimonials .testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

@media (max-width: 992px) {
  #testimonials .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  #testimonials .testimonial-grid {
    grid-template-columns: 1fr;
  }
}

/* Card */
#testimonials .testimonial-card {
  background: #ffffff;
  padding: 35px 25px;
  border-radius: 10px;
  text-align: center;
  position: relative;
  transition: 0.3s ease;
  border-top: 4px solid #e0a730;
}

#testimonials .testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

#testimonials .testimonial-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #e0a730;
  margin-bottom: 15px;
}

#testimonials .testimonial-card h4 {
  font-size: 17px;
  color: #0f1f44;
  margin-bottom: 12px;
}

#testimonials .testimonial-card p {
  font-size: 14px;
  line-height: 1.7;
  color: #555;
}

#testimonials .testimonial-card::before {
  content: "“";
  font-size: 60px;
  color: rgba(224, 167, 48, 0.2);
  position: absolute;
  top: 15px;
  left: 20px;
}





/* ===== PROJECT CTA SECTION ===== */
.project-cta {
  position: relative;
  padding: 70px 20px;
  background: url("/images/cta-bg.jpeg") center/cover no-repeat;
  color: #fff;
  text-align: center;
}

.project-cta .cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 31, 68, 0.85);
}

.project-cta .container {
  position: relative;
  max-width: 900px;
  margin: auto;
  z-index: 2;
}

.project-cta h2 {
  font-size: 38px;
  margin-bottom: 15px;
}

.project-cta p {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #f1f1f1;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.cta-btn {
  padding: 14px 32px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.3s ease;
}

.cta-btn.primary {
  background: #e0a730;
  color: #fff;
}

.cta-btn.primary:hover {
  background: #c7922a;
}

.cta-btn.outline {
  border: 2px solid #fff;
  color: #fff;
}

.cta-btn.outline:hover {
  background: #fff;
  color: #0f1f44;
}
