
.gallery-section {
  padding: 60px 20px;
  background: linear-gradient(to right, #d8e5ff,#ffffff);
  text-align: center;
}

.gallery-header {
  max-width: 800px;
  margin: auto;
  margin-bottom: 40px;
}

.gallery-tag {
  color: #000000;
  font-size: 22px;
  font-weight: bold;
}

.gallery-header h2 {
  font-size: 32px;
  font-weight: bold;
  margin-top: 10px;
  color: #000000;
}

.gallery-subtext {
  font-size: 15px;
  color: #000000;
  margin-top: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(to right, #d8e5ff,#ffffff);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.caption-box {
  background: linear-gradient(to left, #d8e5ff,#ffffff);
  padding: 14px;
  border-top: 1px solid #eee;
  text-align: left;
}

.caption-title {
  font-size: 16px;
  font-weight: 600;
  color: #000000;
  margin-bottom: 6px;
}

.caption {
  font-size: 14px;
  color: #000000;
  margin-bottom: 10px;
}

.meta {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: #000000;
}

.meta i {
  margin-right: 6px;
  color: #000000;
}


.caption {
  font-size: 14px;
  color: #333;
  font-weight: 500;
  padding: 12px;
  background-color: #ffffff00;
  border-top: 1px solid #eee;
}

.gallery-footer {
  padding: 40px 20px;
  background: #e8f5f0;
  border-radius: 12px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.gallery-footer h3 {
  font-size: 24px;
  color: #1a0c45;
  margin-bottom: 12px;
}

.gallery-footer p {
  font-size: 15px;
  color: #000000;
  margin-bottom: 20px;
  line-height: 1.6;
}

.cta-btn {
  display: inline-block;
  background-color: #1b0aff;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 15px;
  transition: background 0.3s ease;
}

.cta-btn:hover {
  background-color: #13265e;
}


/* Responsive */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    padding: 0 10px;
  }

  .caption-box {
    padding: 12px;
  }

  .caption-title {
    font-size: 15px;
  }

  .caption {
    font-size: 13px;
  }

  .meta {
    font-size: 12px;
    flex-direction: column;
    gap: 4px;
  }

  .gallery-header h2 {
    font-size: 24px;
  }

  .gallery-subtext {
    font-size: 13px;
  }

  .gallery-footer h3 {
    font-size: 20px;
  }

  .gallery-footer p {
    font-size: 14px;
  }

  .cta-btn {
    font-size: 14px;
    padding: 8px 20px;
  }
}

@media (max-width: 600px) {
    .gallery-section {
    width: 100%;
  }
  .gallery-header {
    padding: 0 10px;
  }

  .gallery-grid {
    gap: 16px;
  }

  .gallery-item img {
    height: 180px;
  }

  .caption-title {
    font-size: 14px;
  }

  .caption {
    font-size: 12px;
  }

  .gallery-footer {
    padding: 30px 15px;
    width: 100%;
  }
}
@media (max-width: 768px) {
  .gallery-footer {
    padding: 30px 16px;
    text-align: center;
    border-radius: 10px;
        width: 100%;

  }

  .gallery-section {
    width: 100%;
  }
  .gallery-footer h3 {
    font-size: 20px;
    line-height: 1.3;
  }

  .gallery-footer p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .cta-btn {
    font-size: 14px;
    padding: 8px 18px;
  }
}

@media (max-width: 480px) {
    .gallery-section {
    width: 100%;
  }
  .gallery-footer {
    padding: 24px 12px;
        width: 100%;

  }

  .gallery-footer h3 {
    font-size: 18px;
  }

  .gallery-footer p {
    font-size: 13px;
  }

  .cta-btn {
    font-size: 13px;
    padding: 7px 16px;
  }
}

