/********** Template CSS **********/
:root {
  --primary: #a23aa7;
  --light: #fef3b8;
  --dark: #111a24;
  --bg-light: #f8f9fa;
  --dark-bg: #542359;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.back-to-top {
  position: fixed;
  display: none;
  right: 45px;
  bottom: 45px;
  z-index: 99;
}

/*** Spinner ***/
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-out, visibility 0s linear 0.5s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.5s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/*** Button ***/
.btn {
  font-weight: 500;
  text-transform: uppercase;
  transition: 0.5s;
}

.btn.btn-primary,
.btn.btn-secondary {
  color: #ffffff;
}

.btn-square {
  width: 38px;
  height: 38px;
}

.btn-sm-square {
  width: 32px;
  height: 32px;
}

.btn-lg-square {
  width: 48px;
  height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: normal;
  border-radius: 2px;
}

/*** Navbar ***/
.navbar-dark .navbar-nav .nav-link {
  margin-right: 30px;
  padding: 25px 0;
  color: #ffffff;
  font-size: 15px;
  text-transform: uppercase;
  outline: none;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--primary);
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}

/*** Header ***/
.carousel-caption {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(24, 24, 24, 0.6);
  z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
  width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 3rem;
  height: 3rem;
}

@media (max-width: 768px) {
  #header-carousel .carousel-item {
    position: relative;
    min-height: 450px;
  }

  #header-carousel .carousel-item img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .mobile-no {
  display: none;
  }
}

.page-header {
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.page-header-inner {
  background: rgba(15, 23, 43, 0.7);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--light);
}

.booking {
  position: relative;
  margin-top: -100px !important;
  z-index: 1;
}



.footer {
  position: relative;
  /* margin-top: -110px;
    padding-top: 180px; */
}

.footer .btn.btn-social {
  margin-right: 5px;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light);
  border: 1px solid #ffffff;
  border-radius: 35px;
  transition: 0.3s;
}

.footer .btn.btn-social:hover {
  color: var(--primary);
}

.footer .btn.btn-link {
  display: block;
  margin-bottom: 5px;
  padding: 0;
  text-align: left;
  color: #ffffff;
  font-size: 15px;
  font-weight: normal;
  text-transform: capitalize;
  transition: 0.3s;
}

.footer .btn.btn-link::before {
  position: relative;
  content: ">";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  margin-right: 10px;
}

.footer .btn.btn-link:hover {
  letter-spacing: 1px;
  box-shadow: none;
}

.footer .copyright {
  padding: 25px 0;
  font-size: 15px;
  border-top: 1px solid rgba(256, 256, 256, 0.1);
}

.footer .copyright a {
  color: var(--light);
}

.footer .footer-menu a {
  margin-right: 15px;
  padding-right: 15px;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .footer-menu a:last-child {
  margin-right: 0;
  padding-right: 0;
  border-right: none;
}
/* Google Fonts - Poppins */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap");

@media (max-width: 700px) {
  .cookie-wrapper {
    width: 100%;
  }
}

.cookie-wrapper {
  position: fixed;
  bottom: 0px;
  right: 0;
  width: 40%;
  background: #fff;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;
  @media (max-width: 600px) {
    width: 100%;
  }
}
.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}
header i {
  color:#a23aa7;
  font-size: 32px;
  text-align: center;
}
header h2 {
  color:#a23aa7;
  font-weight: 500;
  text-align: center;
}
.data {
  text-align: center;
}
.data p a {
  color:#a23aa7;
  text-decoration: none;
  text-align: center !important;
}
.data p a:hover {
  text-decoration: underline;
}
.buttons {
  padding: 20px 0px;
  text-align: center;
}
.buttons .cookie-button {
  border: 2px solid#a23aa7;
  color: #fff;
  padding: 8px 0;
  background:#a23aa7;
  cursor: pointer;
  width: calc(100% / 2 - 10px);
  transition: all 0.5s ease;
  max-width: 150px;
  border-radius: 0;
}
.buttons #acceptBtn:hover {
  background-color: transparent;
  color:#a23aa7;
}
#declineBtn {
  background-color: #fff;
  color:#a23aa7;
}
#declineBtn:hover {
  background-color:#a23aa7;
  color: #fff;
}
/* Footer Style */
/* new styles  */
.contact-section {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(35, 40, 89, 0.1);
}

.contact-info {
  padding: 3rem 2rem;
}

.contact-map {
  height: 100%;
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.contact-item {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
}

.contact-icon {
  background-color: rgba(58, 66, 167, 0.1);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-text h5 {
  margin-bottom: 0.5rem;
  color: var(--dark-bg);
  font-weight: 600;
}

.contact-text p {
  margin-bottom: 0;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .contact-map {
      min-height: 350px;
  }
}

/* new styles  */
/* Загальні стилі */
:root {
  --primary: #a23aa7;
  --light: #fef3b8;
  --dark: #111a24;
  --bg-light: #f8f9fa;
  --dark-bg: #542359;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--dark);
  line-height: 1.6;
}

/* Спільні класи */
.section-padding {
  padding: 5rem 0;
}

.section-title {
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.section-subtitle {
  font-weight: 400;
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

/* Стилі для головного екрану */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-light);
  height: 90vh;
  display: flex;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 2rem;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.5rem;
  max-width: 650px;
  color: var(--dark-bg);
}

.hero-image-container {
  position: relative;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-height: 90vh;
  border-radius: 0 0 0 100px;
  box-shadow: -15px 15px 0px rgba(162, 58, 167, 0.2);
}

.hero-backdrop {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background: linear-gradient(135deg, rgba(254, 243, 184, 0.3), rgba(162, 58, 167, 0.1));
  z-index: 1;
}

.hero-accent {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--light);
  border-radius: 50%;
  opacity: 0.6;
  z-index: 1;
}

.accent-1 {
  top: -50px;
  left: -50px;
}

.accent-2 {
  bottom: -30px;
  right: 10%;
  width: 120px;
  height: 120px;
  background-color: rgba(162, 58, 167, 0.2);
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-image {
    border-radius: 0 0 0 50px;
  }
  
  .order-switch {
    order: 2;
  }
  
  .image-order {
    order: 1;
  }
}

@media (max-width: 767.98px) {
  .hero-section {
    min-height: auto;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-content {
    padding: 3rem 1rem;
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .hero-image {
    max-height: 50vh;
    border-radius: 0;
  }
}
/* Розширені загальні стилі */
.section-spacing {
  padding: 6rem 0;
}

.section-title {
  color: var(--primary);
  margin-bottom: 2.5rem;
  font-weight: 700;
  position: relative;
  padding-bottom: 1rem;
  text-align: center;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--light), var(--primary));
}

.section-subtitle {
  color: var(--dark-bg);
  margin-bottom: 1.2rem;
  font-weight: 600;
}

.text-primary-custom {
  color: var(--primary);
}

.text-dark-custom {
  color: var(--dark);
}

.bg-light-custom {
  background-color: var(--bg-light);
  position: relative;
  overflow: hidden;
}

.bg-light-custom::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: rgba(162, 58, 167, 0.05);
  top: -100px;
  right: -100px;
  z-index: 0;
}

.bg-light-custom::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-color: rgba(254, 243, 184, 0.3);
  bottom: -80px;
  left: -80px;
  z-index: 0;
}

/* Стилі для блоку "Про нас" */
.about-section {
  position: relative;
}

.about-content {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid var(--primary);
}

.about-content p {
  color: #555;
  line-height: 1.8;
}

/* Стилі для блоку "Наші переваги" */
.feature-card {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  position: relative;
  z-index: 1;
  transition: transform 0.3s, box-shadow 0.3s;
  overflow: hidden;
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--light));
  z-index: 2;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
  color: var(--primary);
  font-size: 3rem;
  margin-bottom: 1.5rem;
  background-color: rgba(254, 243, 184, 0.3);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
}

/* Стилі для блоку "Популярні курси" */
.course-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.4s, box-shadow 0.4s;
  height: 100%;
  position: relative;
}

.course-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-img-wrapper {
  position: relative;
  overflow: hidden;
}

.card-img-top {
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s;
}

.course-card:hover .card-img-top {
  transform: scale(1.05);
}

.card-body {
  padding: 1.8rem;
  background-color: white;
}

.card-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 1rem;
}

.card-text {
  color: #555;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

/* Стилі для блоку "Як це працює" */
.how-it-works {
  position: relative;
  z-index: 1;
}

.steps-container {
  background-color: white;
  border-radius: 20px;
  padding: 3rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.07);
  position: relative;
}

.step-item {
  position: relative;
  padding-left: 5rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-left: 2px dashed rgba(162, 58, 167, 0.2);
}

.step-item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-left: none;
}

.step-number {
  position: absolute;
  left: -25px;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), #c27ec6);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  box-shadow: 0 5px 15px rgba(162, 58, 167, 0.3);
}

.step-item h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.step-item p {
  color: #555;
  line-height: 1.7;
}

/* Адаптивність */
@media (max-width: 991.98px) {
  .section-spacing {
    padding: 5rem 0;
  }
  
  .feature-card, .course-card, .steps-container {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-subtitle {
    font-size: 1.2rem;
  }
  
  .feature-icon {
    width: 70px;
    height: 70px;
    font-size: 2.5rem;
  }
  
  .step-item {
    padding-left: 4rem;
  }
}
/* Стилі для блоку "Наші викладачі" */
.team-section {
  position: relative;
}

.team-card {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.team-img-container {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.team-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.team-card:hover .team-img {
  transform: scale(1.05);
}

.team-info {
  padding: 1.8rem;
  text-align: center;
}

.team-name {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--dark-bg);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.team-description {
  color: #555;
  line-height: 1.7;
}

/* Стилі для блоку "Відгуки студентів" */
.testimonials-section {
  background-color: var(--bg-light);
  position: relative;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  position: relative;
  transition: transform 0.3s;
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.testimonial-content {
  position: relative;
  padding-top: 2rem;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  font-style: italic;
  color: #555;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
}

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.testimonial-course {
  font-size: 0.9rem;
  color: var(--dark-bg);
}

.testimonial-rating {
  display: flex;
  margin-bottom: 0.8rem;
}

.star-icon {
  color: #ffd700;
  font-size: 1.2rem;
  margin-right: 0.2rem;
}

/* Стилі для блоку "Блог/Поради" */
.blog-section {
  position: relative;
}

.blog-card {
  background-color: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  border-top: 4px solid var(--primary);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.blog-date {
  display: inline-block;
  color: white;
  background-color: var(--primary);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.blog-title {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.blog-excerpt {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.blog-link:hover {
  text-decoration: underline;
}

.blog-link .material-icons {
  font-size: 1.2rem;
  margin-left: 0.5rem;
}

/* Стилі для блоку "Наша історія" */
.story-section {
  background-color: var(--bg-light);
  position: relative;
}

.story-content {
  padding: 2.5rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.story-image-container {
  position: relative;
  height: 100%;
  width: 100%;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-content p:last-child {
  margin-bottom: 0;
}

/* Стилі для блоку "Наші цінності" */
.values-section {
  position: relative;
}

.values-content {
  padding: 3rem;
  border-radius: 15px;
  background: linear-gradient(135deg, rgba(162, 58, 167, 0.03), rgba(254, 243, 184, 0.2));
  position: relative;
  z-index: 2;
}

.values-content::before {
  content: "";
  position: absolute;
  top: -15px;
  left: 20px;
  width: 60px;
  height: 60px;
  background-color: rgba(254, 243, 184, 0.8);
  border-radius: 50%;
  z-index: -1;
}

.values-content::after {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 40px;
  width: 80px;
  height: 80px;
  background-color: rgba(162, 58, 167, 0.08);
  border-radius: 50%;
  z-index: -1;
}

.values-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.values-title::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--light));
}

.values-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.values-content p:last-child {
  margin-bottom: 0;
}
/* Стилі для блоку "Каталог курсів" */
.courses-catalog-section {
  position: relative;
}

.catalog-title {
  margin-bottom: 3rem;
}

.catalog-course {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid var(--primary);
  position: relative;
  overflow: hidden;
}

.catalog-course::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, rgba(254, 243, 184, 0.3) 0%, rgba(254, 243, 184, 0) 70%);
  border-radius: 50%;
}

.catalog-course:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.course-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0;
}

.course-level {
  display: inline-block;
  padding: 0.3rem 1rem;
  background-color: rgba(162, 58, 167, 0.1);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
}

.level-beginner {
  background-color: rgba(80, 200, 120, 0.1);
  color: #50c878;
}

.level-intermediate {
  background-color: rgba(255, 165, 0, 0.1);
  color: #ffa500;
}

.level-advanced {
  background-color: rgba(220, 20, 60, 0.1);
  color: #dc143c;
}

.course-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.course-details {
  display: flex;
  flex-wrap: wrap;
}

.course-detail {
  display: flex;
  align-items: center;
  margin-right: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--dark-bg);
}

.course-detail .material-icons {
  font-size: 1.2rem;
  margin-right: 0.5rem;
  color: var(--primary);
}

/* Стилі для блоку "Програма навчання" */
.curriculum-section {
  background-color: var(--bg-light);
  position: relative;
}

.curriculum-content {
  position: relative;
  z-index: 2;
}

.curriculum-item {
  background-color: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: transform 0.3s;
}

.curriculum-item:hover {
  transform: translateY(-5px);
}

.curriculum-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary), var(--light));
  border-radius: 15px 15px 0 0;
}

.curriculum-title {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.curriculum-title .material-icons {
  margin-right: 1rem;
  font-size: 1.8rem;
}

.curriculum-description {
  color: #555;
  line-height: 1.7;
}

.curriculum-image-container {
  position: relative;
  height: 100%;
  min-height: 250px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

.curriculum-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Стилі для блоку "Послуги" */
.services-section {
  position: relative;
}

.service-container {
  position: relative;
}

.service-box {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  z-index: 1;
}

.service-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.service-icon {
  width: 80px;
  height: 80px;
  background-color: rgba(254, 243, 184, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon .material-icons {
  font-size: 2.5rem;
  color: var(--primary);
}

.service-title {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-description {
  color: #555;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-features {
  margin-bottom: 1.5rem;
}

.service-feature {
  display: flex;
  align-items: center;
  margin-bottom: 0.8rem;
}

.service-feature .material-icons {
  color: var(--primary);
  font-size: 1.2rem;
  margin-right: 1rem;
}

.service-feature-text {
  color: #555;
}

/* Стилі для блоку "Консультації" */
.consultation-section {
  background-color: var(--bg-light);
  position: relative;
}

.consultation-content {
  padding: 2.5rem;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.consultation-content p {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.consultation-image-container {
  position: relative;
  height: 100%;
  min-height: 350px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.consultation-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.consultation-cta {
  background: linear-gradient(135deg, var(--primary), #c27ec6);
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.consultation-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(162, 58, 167, 0.3);
}

.consultation-cta .material-icons {
  margin-left: 0.8rem;
}
/* Стилі для блоку "Історії успіху" */
.success-stories-section {
  position: relative;
}

.success-story {
  margin-bottom: 4rem;
  position: relative;
}

.story-box {
  background-color: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  height: 100%;
  transition: transform 0.3s;
}

.story-box:hover {
  transform: translateY(-8px);
}

.story-header {
  padding: 2rem 2rem 0;
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.story-image-container {
  width: 100%;
  height: 100%;
  border-radius: 3%;
  overflow: hidden;
  border: 5px solid rgba(254, 243, 184, 0.5);
  margin-right: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.story-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-person-info {
  flex-grow: 1;
}

.story-name {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.3rem;
  font-size: 1.5rem;
}

.story-course {
  color: var(--dark-bg);
  font-style: italic;
  margin-bottom: 0.5rem;
}

.story-body {
  padding: 0 2rem 2rem;
}

.story-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.story-results {
  background: linear-gradient(135deg, rgba(162, 58, 167, 0.05), rgba(254, 243, 184, 0.2));
  padding: 1.5rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.result-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.result-item:last-child {
  margin-bottom: 0;
}

.result-icon {
  width: 50px;
  height: 50px;
  background-color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.result-icon .material-icons {
  color: var(--primary);
  font-size: 1.5rem;
}

.result-text {
  flex-grow: 1;
}

.result-title {
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.2rem;
}

.result-description {
  color: #555;
  font-size: 0.95rem;
}

/* Стилі для блоку "FAQ" */
.faq-section {
  background-color: var(--bg-light);
  position: relative;
}

.faq-container {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.accordion-item {
  border: none;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary);
  background-color: white;
  box-shadow: none;
}

.accordion-button:not(.collapsed) {
  color: white;
  background: linear-gradient(135deg, var(--primary), #c27ec6);
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(162, 58, 167, 0.2);
}

.accordion-button::after {
  background-size: 1.2rem;
  width: 1.2rem;
  height: 1.2rem;
  background-position: center;
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(5);
}

.accordion-body {
  padding: 1.5rem;
  color: #555;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .story-header {
    flex-direction: column;
    text-align: center;
  }
  
  .story-image-container {
    margin-right: 0;
    margin-bottom: 1rem;
  }
  
  .faq-container {
    padding: 2rem 1.5rem;
  }
  
  .accordion-button {
    padding: 1.2rem;
  }
}
/* Стилі для блоку "Контактна інформація" */
.contact-section {
  position: relative;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
}

.contact-info {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  height: 100%;
  position: relative;
  z-index: 2;
  flex: 1;
  min-width: 300px;
}

.contact-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.contact-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--primary), var(--light));
}

.contact-detail {
  display: flex;
  margin-bottom: 1.5rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(254, 243, 184, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1rem;
  flex-shrink: 0;
}

.contact-icon .material-icons {
  color: var(--primary);
  font-size: 1.5rem;
}

.contact-text {
  flex-grow: 1;
}

.contact-label {
  color: var(--dark-bg);
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.contact-value {
  color: #555;
  line-height: 1.5;
}

.contact-value a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s;
}

.contact-value a:hover {
  text-decoration: underline;
}

.map-container {
  flex: 1.5;
  min-width: 300px;
  height: 450px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Стилі для блоку "Форма заявки" */
.contact-form-section {
  background-color: var(--bg-light);
  position: relative;
}

.form-container {
  background-color: white;
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  position: relative;
  z-index: 2;
}

.form-title {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.form-subtitle {
  color: #555;
  text-align: center;
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  color: var(--dark-bg);
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  width: 100%;
  transition: all 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(162, 58, 167, 0.1);
}

.form-control.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
  padding-right: calc(1.5em + 0.75rem);
}

.invalid-feedback {
  display: none;
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid + .invalid-feedback {
  display: block;
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-submit {
  background: linear-gradient(135deg, var(--primary), #c27ec6);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-top: 1rem;
}

.form-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(162, 58, 167, 0.3);
}

.form-submit .material-icons {
  margin-left: 0.8rem;
}

@media (max-width: 991.98px) {
  .contact-container {
    flex-direction: column;
  }
  
  .contact-info {
    margin-bottom: 2rem;
  }
  
  .map-container {
    height: 350px;
  }
}

@media (max-width: 767.98px) {
  .form-container {
    padding: 2rem 1.5rem;
  }
}
