/* Hero Section */
.service-hero {
  padding: 140px 72px 72px 72px;
  background-image: url(../assets/img/service-bg.webp);
  background-size: cover;
  background-position: center;
  min-height: 100vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.hero__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: start;
}
.hero__title {
  font-size: 32px;
  color: #000;
  font-family: "Montserrat Alternates SemiBold", sans-serif;
  text-transform: uppercase;
}
.hero__col .text-regular {
  font-size: 18px;
  color: #000;
  font-family: "Montserrat Alternates Regular", sans-serif;
}
.hero__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  object-fit: contain;
}

/* Service Section */
.service-section {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  border-radius: 20px;
  box-shadow: 2px 2px 8px rgba(167, 156, 238, 0.08);
  padding: 40px 48px;
  margin: 32px 0;
  position: relative;
}
.service-section--1 {
  background-color: #ffeec4;
}
.service-section--2 {
  background-color: #e5f8e7;
}
.service-section--3 {
  background-color: #fecfce;
}
.service-section__icon {
  flex: 0 0 80px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.service-icon {
  width: 64px;
  height: 64px;
  object-fit: contain;
}
.service-icon--big {
  width: 112px;
  height: 112px;
}
.service-section__content {
  flex: 1 1 0;
}
.service-section .section-title {
  font-size: 24px;
  margin-bottom: 12px;
}
.service-section .text-regular {
  font-size: 16px;
  line-height: 1.7;
}

/* Service Cards (Як проходить заняття) */
.service-cards {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.service-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 2px 2px 8px rgba(167, 156, 238, 0.1);
  padding: 32px 24px 24px 24px;
  flex: 1 1 210px;
  max-width: 260px;
  min-width: 180px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s;
  position: relative;
}
.service-card:hover {
  box-shadow: 2px 4px 16px rgba(167, 156, 238, 0.4);
}
.service-card__icon {
  margin-bottom: 16px;
}
.service-card__icon .service-icon {
  width: 64px;
  height: 64px;
}
.service-card__title {
  font-size: 18px;
  font-family: "Montserrat Alternates SemiBold", sans-serif;
  margin-bottom: 8px;
  color: #6c5ce7;
  text-align: center;
}
.service-card .text-regular {
  font-size: 15px;
  color: #222;
  text-align: center;
}

/* Info Grid Section */
.info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
}
.info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 2px 2px 8px rgba(167, 156, 238, 0.08);
  padding: 24px 12px 16px 12px;
  min-width: 160px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.info__title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
}
.info-card-img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
  border-radius: 10px;
}
.info-card p {
  font-size: 14px;
  color: #000;
  font-family: "Montserrat Alternates Regular", sans-serif;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .service-section {
    flex-direction: column;
    align-items: center;
    padding: 32px 16px;
    gap: 16px;
  }
  .service-section__icon {
    margin-bottom: 8px;
  }
  .service-cards {
    gap: 16px;
  }
  .info-grid {
    gap: 16px;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__img {
    display: none;
  }
  .service-section__content {
    text-align: center;
  }
}
@media (max-width: 600px) {
  .service-hero .section-title {
    font-size: 28px;
  }
  .service-hero .text-regular {
    font-size: 16px;
  }
  .service-section {
    padding: 20px 4px;
    margin: 20px 0;
  }
  .service-section .section-title {
    font-size: 20px;
  }
  .service-icon {
    width: 44px;
    height: 44px;
  }
  .service-icon--big {
    width: 80px;
    height: 80px;
  }
  .service-card {
    padding: 20px 8px 16px 8px;
    min-width: 120px;
    max-width: 100%;
  }
  .info-card {
    width: 100%;
    padding: 16px 4px 12px 4px;
  }
}

@media screen and (max-width: 455px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
