/********** Template CSS **********/
:root {
  --primary: #580c47;
  --light: #f8fff3;
  --dark: #420835;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.error-message {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  min-height: 1.2rem;
  display: block;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.error-message:not(:empty) {
  opacity: 1;
}

/* Додатковий стиль для полів з помилками */
.form-control.error {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.15) !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: #dc3545;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}
:root {
  --bg-color: #f8fffc;
  --accent-color: #580c47;
  --text-color: #666565;
  --white: #ffffff;
}

  /* Footer Styles */
  .footer {
    background-color: #240b17;
    color: #ffffff;
    padding: 3rem 0 1rem;
    margin-top: 5rem;
}

.footer-brand {
    color: #ffffff !important;
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-brand:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.btn-link {
    color: #ffffff !important;
    text-decoration: none;
    padding: 0.5rem 0;
    border: none;
    text-align: left;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.btn-link:hover {
    color: #dc3545 !important;
    transform: translateX(5px);
}

.footer-email {
    color: #ffffff;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-email-icon {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.footer-section-title {
    color: #e7e7e7;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Copyright section */
.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    color: #bdc3c7;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-brand {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .footer-links {
        margin-bottom: 1.5rem;
    }
}

/* 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: 30px;
  right: 30px;
  width: 420px;
  max-width: 95vw;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(25,66,142,0.12), 0 1.5px 6px rgba(25,66,142,0.08);
  padding: 28px 32px 22px;
  border: 1.5px solid #e1e8ed;
  transition: box-shadow 0.3s, right 0.3s, bottom 0.3s;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cookie-wrapper.thanks {
  border: 2.5px solid #580c47;
  box-shadow: 0 8px 32px rgba(25,66,142,0.18), 0 1.5px 6px rgba(25,66,142,0.10);
}

.cookie-wrapper .bx-cookie, .cookie-wrapper i.bx-cookie {
  font-size: 2.5rem;
  color: #580c47;
  margin-bottom: 8px;
}

.cookie-wrapper h2 {
  color: #580c47;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: center;
}

.cookie-wrapper .data {
  text-align: center;
  margin-bottom: 18px;
}

.cookie-wrapper .data p {
  color: #333;
  font-size: 1rem;
  margin-bottom: 0;
}

.cookie-wrapper .data p a {
  color: #580c47;
  text-decoration: underline;
  font-weight: 500;
}

.cookie-wrapper .buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
  margin-top: 10px;
}

.cookie-wrapper .cookie-button {
  border: none;
  color: #fff;
  background: #580c47;
  font-weight: 600;
  font-size: 1rem;
  padding: 10px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(25,66,142,0.08);
  outline: none;
}

.cookie-wrapper .cookie-button#acceptBtn:hover {
  background: #fff;
  color: #580c47;
  border: 1.5px solid #580c47;
}

.cookie-wrapper .cookie-button#declineBtn {
  background: #fff;
  color: #580c47;
  border: 1.5px solid #580c47;
}

.cookie-wrapper .cookie-button#declineBtn:hover {
  background: #580c47;
  color: #fff;
}

@media (max-width: 600px) {
  .cookie-wrapper {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    border-radius: 0;
    padding: 18px 8px 14px;
  }
  .cookie-wrapper .buttons {
    flex-direction: column;
    gap: 10px;
  }
  .cookie-wrapper .cookie-button {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
}

.hidden {
  display: none;
}

header i {
  color: #580c47;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #580c47;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #580c47;
  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 #580c47;
  color: #fff;
  padding: 8px 0;
  background: #580c47;
  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: #580c47;
}

#declineBtn {
  background-color: #fff;
  color: #580c47;
}

#declineBtn:hover {
  background-color: #580c47;
  color: #fff;
}

/* new styles  */

/* Загальні стилі */
:root {
  --primary-color: #580c47;
  --heading-color: #240b17;
  --text-color: #292929;
  --light-color: #FFF;
  --secondary-color: #6c757d;
  --light-primary: rgba(88, 12, 71, 0.05);
  --primary-transparent: rgba(88, 12, 71, 0.8);
}

body {
  font-family: 'Roboto', 'Helvetica Neue', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-weight: 700;
}

/* Стилі для блоку 1: Hero Section */
.hero-section {
  position: relative;
  min-height: 100vh;
  background-color: var(--light-color);
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(36, 11, 23, 0.8), rgba(88, 12, 71, 0.4));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
  font-weight: 700;
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--light-color);
  font-weight: 300;
}

.hero-btn {
  background-color: var(--light-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.hero-btn:hover {
  background-color: var(--primary-color);
  color: var(--light-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hero-image {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: center;
  position: absolute;
  top: 0;
  left: 0;
}

/* Стилі для блоку 2: About Us Section */
.about-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.about-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.about-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.about-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.about-image-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 70%, var(--primary-transparent));
  z-index: 1;
}

.about-image-container:hover .about-image {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .about-image-container {
    margin-top: 3rem;
  }
}

@media (max-width: 767.98px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .about-title {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1rem;
  }
}
/* Стилі для блоку 3: Méthodes d'apprentissage et thèmes */
.methods-section {
  padding: 6rem 0;
  background-color: var(--light-primary);
}

.methods-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--heading-color);
}

.methods-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.methods-card {
  background-color: var(--light-color);
  border-radius: 5px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.methods-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.methods-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

.methods-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.methods-list-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.methods-list-item:last-child {
  margin-bottom: 0;
}

.methods-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

/* Стилі для блоку 4: Ce que l'participant obtiendra */
.benefits-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.benefits-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--heading-color);
}

.benefits-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.benefits-content {
  position: relative;
  z-index: 1;
}

.benefits-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.benefits-list-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
}

.benefits-list-item:last-child {
  margin-bottom: 0;
}

.benefits-list-item .material-icons {
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--primary-color);
}

.benefits-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 350px;
}

.benefits-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.benefits-image-container:hover .benefits-image {
  transform: scale(1.05);
}

.content-wrapper {
  padding: 3rem 0;
}

@media (max-width: 991.98px) {
  .methods-title, .benefits-title {
    font-size: 2rem;
  }
  
  .methods-subtitle {
    font-size: 1.3rem;
  }
  
  .methods-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .benefits-image-container {
    min-height: 250px;
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .methods-list-item, .benefits-list-item {
    font-size: 1rem;
  }
  
  .methods-card {
    padding: 1.5rem;
  }
}

/* Стилі для блоку 5: Formats et niveaux d'apprentissage */
.levels-section {
  padding: 6rem 0;
  background-color: var(--primary-color);
  color: var(--light-color);
}

.levels-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--light-color);
}

.levels-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--light-color);
}

.level-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 5px;
  padding: 2.5rem;
  height: 100%;
  transition: transform 0.3s ease, background-color 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.level-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.level-subtitle {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--light-color);
  font-weight: 600;
}

.level-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.level-list-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.level-list-item:last-child {
  margin-bottom: 0;
}

.level-list-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--light-color);
}

.learn-more-btn {
  background-color: var(--light-color);
  color: var(--primary-color);
  border: none;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.learn-more-btn:hover {
  background-color: rgba(255, 255, 255, 0.9);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Стилі для блоку 6: Forfaits tarifaires */
.pricing-section {
  padding: 6rem 0;
  background-color: var(--light-color);
}

.pricing-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--heading-color);
}

.pricing-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.pricing-card {
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.pricing-image-container {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.pricing-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pricing-card:hover .pricing-image {
  transform: scale(1.1);
}

.pricing-content {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-plan {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pricing-price {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-color);
}

.pricing-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
  flex: 1;
}

.pricing-list-item {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1rem;
  display: flex;
  align-items: flex-start;
}

.pricing-list-item:last-child {
  margin-bottom: 0;
}

.pricing-list-item .material-icons {
  position: absolute;
  left: 0;
  top: 0.1rem;
  color: var(--primary-color);
  font-size: 1.2rem;
}

.pricing-badge {
  position: absolute;
  top: 20px;
  right: -30px;
  background-color: var(--primary-color);
  color: var(--light-color);
  padding: 5px 30px;
  font-size: 0.8rem;
  font-weight: 600;
  transform: rotate(45deg);
  z-index: 1;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

@media (max-width: 991.98px) {
  .levels-title, .pricing-title {
    font-size: 2rem;
  }
  
  .level-subtitle {
    font-size: 1.3rem;
  }
  
  .level-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .pricing-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .level-list-item, .pricing-list-item {
    font-size: 1rem;
  }
  
  .level-card {
    padding: 1.5rem;
  }
  
  .pricing-plan, .pricing-price {
    font-size: 1.4rem;
  }
}
/* Стилі для блоку 7: Témoignages des participants */
.testimonials-section {
  padding: 6rem 0;
  background-image: url('../img/benefits-image-1.webp');
  background-size: cover;
  background-position: center;
  position: relative;
}

.testimonials-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(36, 11, 23, 0.8), rgba(88, 12, 71, 0.7));
  z-index: 1;
}

.testimonials-content {
  position: relative;
  z-index: 2;
}

/* Повторне використання стилів з попередніх блоків */
.testimonials-title {
  position: relative;
  display: inline-block;
  margin-bottom: 3rem;
  font-size: 2.5rem;
  color: var(--light-color);
}

.testimonials-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--light-color);
}

.testimonial-card {
  background-color: var(--light-color);
  border-radius: 5px;
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
  position: relative;
}

.testimonial-text::before {
  content: '\201C';
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--primary-color);
  opacity: 0.2;
  position: absolute;
  top: -2rem;
  left: -0.5rem;
  line-height: 1;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  text-align: right;
}

/* Стилі для блоку 8: Contacts */
.contacts-section {
  padding: 6rem 0;
  background-color: var(--light-primary);
}

/* Повторне використання стилів з попередніх блоків */
.contacts-title {
  position: relative;
  display: inline-block;
  margin-bottom: 2.5rem;
  font-size: 2.5rem;
}

.contacts-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 80px;
  height: 4px;
  background-color: var(--primary-color);
}

.contacts-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.2rem;
  margin-top: 1rem;
  transition: color 0.3s ease;
}

.contact-email:hover {
  color: var(--heading-color);
  text-decoration: underline;
}

.contact-email .material-icons {
  margin-right: 0.5rem;
}

/* Повторне використання стилів для зображення з попередніх блоків */
.contacts-image-container {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  height: 100%;
  min-height: 350px;
}

.contacts-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contacts-image-container:hover .contacts-image {
  transform: scale(1.05);
}

@media (max-width: 991.98px) {
  .testimonials-title, .contacts-title {
    font-size: 2rem;
  }
  
  .testimonial-text {
    font-size: 1rem;
  }
  
  .contacts-image-container {
    min-height: 250px;
    margin-top: 2rem;
  }
}