/* =============================
   Global Styling
============================= */
body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  background: #fff;
  color: #101828;
}

/* =============================
   Section Styling
============================= */
.blog-main-section {
  padding: 135px 60px;
  background: rgb(30, 43, 60);
}

/* =============================
   Services Section Styling
============================= */
.services-section {
  color: #fff;
  background: #fff;
  text-align: center;
}

.services-section .section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #b36a2e, #e0a75f, #e0a75f, #e0a75f, #e0a75f, #c47b3c);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services-section .section-subtitle {
  color: #ffb84d;
  /* text-transform: uppercase; */
  letter-spacing: 2px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.services-section .section-desc {
  font-size: 1rem;
  color: #444;
  margin-bottom: 50px;
}

/* =============================
   Services Grid Layout
============================= */
.services-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  justify-content: center;
}

/* =============================
   Service Card
============================= */
.service-card {
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  text-align: left;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-left: 25px;
    margin-right: 25px;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 25px rgba(255, 184, 77, 0.3);
}

/* =============================
   Service Image
============================= */
.service-image {
  position: relative;
  width: 100%;
  height: 250px;
  overflow: hidden;
  cursor: pointer;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.05);
}

/* Popup Active Image */
.service-image.active img {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 90%;
  height: auto;
  max-height: 90vh;
  object-fit: contain;
  transform: translate(-50%, -50%);
  z-index: 1001;
  border-radius: 15px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
}

/* Background Overlay */
.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  display: none;
  z-index: 1000;
}

.image-overlay.active {
  display: block;
}

/* =============================
   Service Content
============================= */
.service-content {
  padding: 25px;
}

.service-content h3 {
  color: #ffb84d;
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.service-content p {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 15px;
  line-height: 1.6;
  text-align: left;
}

.package-list {
  list-style: none;
  padding: 0;
  margin: 15px 0;
}

.package-list li {
  color: #555;
  font-size: 0.9rem;
  margin: 8px 0;
  display: flex;
  align-items: center;
}

.package-list li::before {
  content: "✔️";
  margin-right: 8px;
  color: #ffb84d;
}

/* =============================
   CTA Button
============================= */
.cta-btn {
  display: inline-block;
  background: linear-gradient(90deg, #b36a2e, #e0a75f, #e0a75f, #c47b3c);
  color: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

.cta-btn:hover {
  opacity: 0.9;
}
/* Overlay background */
.image-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.image-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Popup image styling */
.popup-image {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 0;
  height: auto;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: all 0.3s ease;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
  z-index: 1001;
  max-width: 90%;
  max-height: 90vh;
}

.popup-image.show {
  opacity: 1;
  width: auto;
  transform: translate(-50%, -50%) scale(1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-image {
    max-width: 95%;
    max-height: 80vh;
  }
}

/* =============================
   Responsive Design
============================= */
@media (max-width: 1024px) {
  .services-container {
    grid-template-columns: 1fr;
    margin-right: -30px;
    margin-left: -28px;
  }

  .services-section {
    padding: 100px 30px;
  }
}

@media (max-width: 768px) {
  .service-image {
    height: 200px;
  }

  .service-image.active img {
    width: 95%;
    max-height: 85vh;
  }

  .service-content {
    padding: 20px;
  }

  .service-content h3 {
    font-size: 1.3rem;
  }
}
