/* gallery image grid  */

.gallery-showcase {
  padding: 140px 0;
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f8fbff 100%
  );
  position: relative;
  overflow: hidden;
}

/* Section Header */

.gallery-showcase .section-header {
  max-width: 850px;
  margin: 0 auto 60px;
}

.gallery-showcase .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 50px;
  background: rgba(23, 92, 221, 0.08);
  color: #175CDD;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 20px;
}

.gallery-showcase .section-badge i {
  font-size: 14px;
}

.gallery-showcase .section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  color: #112344;
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.gallery-showcase .section-header p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #667085;
  max-width: 700px;
  margin: 0 auto;
}

/* Filters */

.gallery-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 60px;
}

.filter-btn {
  border: none;
  background: #fff;
  color: #112344;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(17, 35, 68, 0.06);
  transition: all 0.35s ease;
}

.filter-btn:hover {
  transform: translateY(-3px);
  color: #175CDD;
}

.filter-btn.active {
  background: #175CDD;
  color: #fff;
  box-shadow: 0 12px 30px rgba(23, 92, 221, 0.25);
}

/* Gallery Cards */

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 15px 40px rgba(17, 35, 68, 0.08);
}

.gallery-card img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: all 0.6s ease;
}

.gallery-card:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(17, 35, 68, 0.95),
    rgba(17, 35, 68, 0.3),
    transparent
  );

  display: flex;
  align-items: flex-end;
  padding: 25px;
}

.gallery-overlay h4 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0;
}

/* Hover */

.gallery-card:hover {
  transform: translateY(-8px);
}

.gallery-card {
  transition: all .4s ease;
}

/* Responsive */

@media (max-width: 991px) {

  .gallery-showcase {
    padding: 80px 0;
  }

  .gallery-showcase .section-header h2 {
    font-size: 2.4rem;
  }

}

@media (max-width: 768px) {

  .gallery-showcase .section-header h2 {
    font-size: 2rem;
  }

  .gallery-showcase .section-header p {
    font-size: 1rem;
  }

  .gallery-card img {
    height: 300px;
  }

  .filter-btn {
    padding: 12px 20px;
    font-size: 14px;
  }

}

@media (max-width: 576px) {

  .gallery-showcase {
    padding: 70px 0;
  }

  .gallery-showcase .section-header h2 {
    font-size: 1.8rem;
  }

  .gallery-showcase .section-badge {
    font-size: 14px;
  }

}

/* gallery cta section */
.gallery-cta {
  padding: 25px 0;
  background: #fff;
}

.cta-wrapper {
  background: linear-gradient(
    135deg,
    #175CDD 0%,
    #0F4EC5 100%
  );

  border-radius: 32px;
  padding: 50px 60px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 60px rgba(23, 92, 221, .18);
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(255,255,255,.15);
  color: #fff;

  padding: 10px 20px;
  border-radius: 50px;

  margin-bottom: 20px;
  font-weight: 600;
}

.cta-content h2 {
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.cta-content p {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  line-height: 1.8;
  margin: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: flex-end;
}

.cta-btn-primary,
.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-width: 220px;
  padding: 16px 30px;

  border-radius: 14px;
  text-decoration: none;
  font-weight: 600;

  transition: all .3s ease;
}

.cta-btn-primary {
  background: #fff;
  color: #175CDD;
}

.cta-btn-primary:hover {
  transform: translateY(-3px);
}

.cta-btn-secondary {
  background: #25D366;
  color: #fff;
}

.cta-btn-secondary:hover {
  transform: translateY(-3px);
}

@media (max-width: 991px) {

  .cta-wrapper {
    padding: 50px 30px;
    text-align: center;
  }

  .cta-content h2 {
    font-size: 2.2rem;
  }

  .cta-buttons {
    margin-top: 30px;
    align-items: center;
  }

}

@media (max-width: 576px) {

  .cta-content h2 {
    font-size: 1.8rem;
  }

  .cta-wrapper {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
  }

}