/* Reset & Base */
html {
  scroll-behavior: smooth;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  background-color: #f9e7c4;
  color: #222;
}

/* Header */
.header-section {
  background-color: #fff3cc;
  color: #f0aa00;
  padding: 2rem 1rem;
  text-align: center;
  border-bottom: 2px solid #fbbd08;
}
.header-container h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-transform: uppercase;
  animation: fadeInDown 1s ease-in-out;
}

/* Section Title with Yellow Line */
.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111;
  text-transform: uppercase;
}
.section-title .line {
  display: inline-block;
  height: 2px;
  width: 60px;
  background-color: #fbbd08;
}

/* ====== Back Button ====== */
.back-button-below {
  text-align: center;
  padding: 40px 0;
}

.back-button-below a {
  display: inline-block;
  padding: 12px 28px;
  background-color: #f0aa00;
  color: white;
  text-decoration: none;
  font-size: 1rem;
  border-radius: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease, transform 0.3s ease;
}

.back-button-below a:hover {
  background-color: #d89100;
  transform: translateY(-2px);
}



/* Main Content */
.service-details {
  padding: 2rem 5%;
  max-width: 1200px;
  margin: 0 auto;
}
.intro-text {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-in-out;
}
.subheading {
  font-size: 1.8rem;
  color: #d88a00;
  text-align: center;
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-in-out;
}

/* Offering Section */
.offering-section {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin: 3rem 0;
  flex-wrap: wrap;
  background-color: #fff9eb;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.offering-section:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}
.offering-section.reverse {
  flex-direction: row-reverse;
}
.offering-text {
  flex: 1 1 50%;
  animation: fadeInLeft 1s ease-in-out;
}
.offering-text h3 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
  color: #333;
}
.offering-text p {
  color: #444;
  font-size: 1rem;
}
.offering-image {
  flex: 1 1 45%;
  overflow: hidden;
  animation: fadeInRight 1s ease-in-out;
}
.offering-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
}
.offering-image img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

/* Conclusion */
.conclusion {
  margin-top: 3rem;
  font-size: 1rem;
  color: #333;
  background: #fff6db;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  animation: fadeInUp 1s ease-in-out;
}

/* Responsive */
@media (max-width: 768px) {
  .offering-section,
  .offering-section.reverse {
    flex-direction: column;
  }
  .offering-text,
  .offering-image {
    flex: 1 1 100%;
  }
  .header-container h1 {
    font-size: 2rem;
  }
}

/* Animations */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
