/* =============================================
   SERVICES PAGE STYLES
   ============================================= */

/* --- Hero Banner --- */
.page_poster.services_poster {
  background: linear-gradient(135deg, #0d5e4a 0%, #178066 40%, #1fab89 100%);
}

.page_poster.services_poster::before {
  display: none;
}

.services_hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(98, 210, 162, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services_hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.services_hero_content {
  position: relative;
  z-index: 2;
}

.services_hero_tag {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  padding: 8px 22px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.services_hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  line-height: 1.15;
}

.services_hero h1 span {
  color: #62d2a2;
}

.services_hero_desc {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  line-height: 1.8;
  margin-bottom: 0;
}

/* Floating shapes decorations */
.services_hero_shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.services_hero_shapes .shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  animation: floatShape 8s ease-in-out infinite;
}

.services_hero_shapes .shape:nth-child(1) {
  width: 80px;
  height: 80px;
  top: 15%;
  right: 10%;
  animation-delay: 0s;
}

.services_hero_shapes .shape:nth-child(2) {
  width: 50px;
  height: 50px;
  top: 60%;
  right: 25%;
  animation-delay: 2s;
}

.services_hero_shapes .shape:nth-child(3) {
  width: 35px;
  height: 35px;
  top: 30%;
  right: 35%;
  animation-delay: 4s;
}

@keyframes floatShape {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

/* --- Section Title --- */
.services_section_title {
  text-align: center;
  margin-bottom: 60px;
}

.services_section_title .tag_text {
  color: #62d2a2;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.services_section_title h2 {
  font-size: 38px;
  font-weight: 800;
  color: #1a2a3a;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.services_section_title p {
  color: #777;
  font-size: 16px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- Core Services Grid --- */
.services_core {
  background: #ffffff;
  padding: 100px 0;
}

.services_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service_card {
  position: relative;
  background: #ffffff;
  border-radius: 20px;
  padding: 40px 30px 35px;
  border: 1px solid #eef3f0;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.service_card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #178066, #62d2a2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.service_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(23, 128, 102, 0.12);
  border-color: transparent;
}

.service_card:hover::before {
  transform: scaleX(1);
}

.service_card_icon {
  width: 68px;
  height: 68px;
  background: linear-gradient(135deg, rgba(23, 128, 102, 0.08), rgba(98, 210, 162, 0.12));
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.4s ease;
}

.service_card:hover .service_card_icon {
  background: linear-gradient(135deg, #178066, #1fab89);
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(23, 128, 102, 0.3);
}

.service_card_icon i {
  font-size: 28px;
  color: #178066;
  transition: color 0.4s ease;
}

.service_card:hover .service_card_icon i {
  color: #ffffff;
}

.service_card h4 {
  font-size: 20px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 12px;
}

.service_card p {
  font-size: 14.5px;
  color: #777;
  line-height: 1.75;
  margin-bottom: 20px;
}

.service_card_tag {
  display: inline-block;
  background: rgba(23, 128, 102, 0.06);
  color: #178066;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* --- Specialized Surgeries Section --- */
.services_specialized {
  background: linear-gradient(135deg, #f0faf6 0%, #f8fffe 50%, #eef9f4 100%);
  padding: 100px 0;
}

.specialized_grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.specialized_card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
}

.specialized_card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #178066, #62d2a2);
  opacity: 0;
  transition: opacity 0.35s ease;
}

.specialized_card:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 40px rgba(23, 128, 102, 0.12);
}

.specialized_card:hover::after {
  opacity: 1;
}

.specialized_icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #178066, #1fab89);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 6px 18px rgba(23, 128, 102, 0.25);
  transition: transform 0.35s ease;
}

.specialized_card:hover .specialized_icon {
  transform: scale(1.12) rotate(5deg);
}

.specialized_icon i {
  font-size: 22px;
  color: #ffffff;
}

.specialized_card h5 {
  font-size: 16px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 8px;
}

.specialized_card p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 0;
}

.specialized_card .dept_link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #1fab89;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 14px;
  transition: all 0.3s ease;
}

.specialized_card .dept_link i {
  font-size: 11px;
  transition: transform 0.3s ease;
  color: #1fab89;
}

.specialized_card .dept_link:hover {
  color: #178066;
}

.specialized_card .dept_link:hover i {
  transform: translateX(4px);
  color: #178066;
}


/* --- Additional Benefits Section --- */
.services_benefits {
  background: #ffffff;
  padding: 100px 0;
}

.benefits_container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.benefits_visual {
  position: relative;
}

.benefits_main_box {
  background: linear-gradient(135deg, #178066, #1fab89);
  border-radius: 24px;
  padding: 50px 40px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.benefits_main_box::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -20%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.benefits_main_box h3 {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.benefits_main_box p {
  font-size: 16px;
  opacity: 0.9;
  line-height: 1.7;
  position: relative;
  z-index: 2;
  margin-bottom: 25px;
}

.benefits_badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 14px;
  position: relative;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.benefits_badge i {
  font-size: 18px;
}

.benefits_list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits_list li {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid #f0f3f1;
  transition: all 0.3s ease;
}

.benefits_list li:last-child {
  border-bottom: none;
}

.benefits_list li:hover {
  padding-left: 8px;
}

.benefit_icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  background: linear-gradient(135deg, rgba(23, 128, 102, 0.08), rgba(98, 210, 162, 0.12));
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.benefits_list li:hover .benefit_icon {
  background: linear-gradient(135deg, #178066, #1fab89);
  box-shadow: 0 6px 18px rgba(23, 128, 102, 0.25);
}

.benefit_icon i {
  font-size: 20px;
  color: #178066;
  transition: color 0.3s ease;
}

.benefits_list li:hover .benefit_icon i {
  color: #ffffff;
}

.benefit_text h5 {
  font-size: 18px;
  font-weight: 700;
  color: #1a2a3a;
  margin-bottom: 6px;
}

.benefit_text p {
  font-size: 14px;
  color: #777;
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- CTA Banner --- */
.services_cta {
  background: linear-gradient(135deg, #0d5e4a 0%, #178066 50%, #1fab89 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.services_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.services_cta h2 {
  color: #ffffff;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.services_cta p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 17px;
  max-width: 550px;
  margin: 0 auto 35px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.services_cta_btns {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  position: relative;
  z-index: 2;
}

.services_cta_btns a {
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.services_cta_btns .btn_primary {
  background: #ffffff;
  color: #178066;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.services_cta_btns .btn_primary:hover {
  background: #f0faf6;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.services_cta_btns .btn_secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.services_cta_btns .btn_secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}

/* --- Counter Stats --- */
.services_stats {
  background: #ffffff;
  padding: 0;
  margin-top: -50px;
  position: relative;
  z-index: 10;
}

.stats_container {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
  padding: 45px 30px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat_item {
  text-align: center;
  padding: 10px;
  position: relative;
}

.stat_item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background: #eef3f0;
}

.stat_number {
  font-size: 42px;
  font-weight: 800;
  color: #178066;
  line-height: 1;
  margin-bottom: 8px;
}

.stat_number span {
  color: #62d2a2;
}

.stat_label {
  font-size: 14px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* =============================================
   RESPONSIVE STYLES
   ============================================= */

@media (max-width: 1200px) {
  .services_grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .specialized_grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .services_hero h1 {
    font-size: 40px;
  }

  .services_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialized_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .benefits_container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .stats_container {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat_item:nth-child(2)::after {
    display: none;
  }
}

@media (max-width: 768px) {
  .services_hero {
    padding: 80px 0 60px;
  }

  .services_hero h1 {
    font-size: 32px;
  }

  .services_grid {
    grid-template-columns: 1fr;
  }

  .specialized_grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats_container {
    grid-template-columns: repeat(2, 1fr);
    padding: 30px 20px;
  }

  .stat_item::after {
    display: none !important;
  }

  .services_cta h2 {
    font-size: 28px;
  }

  .services_section_title h2 {
    font-size: 30px;
  }
}

@media (max-width: 576px) {
  .services_hero h1 {
    font-size: 28px;
  }

  .specialized_grid {
    grid-template-columns: 1fr;
  }

  .stats_container {
    grid-template-columns: 1fr;
  }

  .services_cta_btns {
    flex-direction: column;
    align-items: center;
  }
}
