/********** Template CSS **********/
:root {
  --primary: #656565;
  --light: #e6f7db;
  --dark: #111a24;
}

.fw-medium {
  font-weight: 500 !important;
}

.fw-semi-bold {
  font-weight: 600 !important;
}

.error-message {
  color: #c9c9c9;
  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: #c9c9c9 !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: #c9c9c9;
}

@media (max-width: 991.98px) {
  .navbar-dark .navbar-nav .nav-link {
    margin-right: 0;
    padding: 10px 0;
  }
}
:root {
  --bg-color: #f8fffc;
  --accent-color: #043d4e;
  --text-color: #666565;
  --white: #ffffff;
}

  /* Footer Styles */
  .footer {
    background-color: var(--dark) !important;
    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: #c9c9c9 !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: #c9c9c9;
    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: 0px;
  right: 0;
  width: 40%;
  background: #f2f2f2;
  padding: 15px 25px 22px;
  transition: right 0.3s ease;
  box-shadow: 0 5px 10px rgb(0, 0, 0);
  z-index: 999;
  width: 100%;

  @media (max-width: 600px) {
    width: 100%;
  }
}

.cookie-wrapper .show {
  right: 20px;
}

.hidden {
  display: none;
}

header i {
  color: #656565;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #656565;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #656565;
  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 #656565;
  color: #fff;
  padding: 8px 0;
  background: #656565;
  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: #656565;
}

#declineBtn {
  background-color: #fff;
  color: #656565;
}

#declineBtn:hover {
  background-color: #656565;
  color: #fff;
}

/* new styles  */
/* Variables globales */
:root {
  --bg-primary: #c0c0c0;
  --text-primary: #383838;
  --accent-color: #656565;
  --heading-color: #112413;
  --border-radius: 0;
  --shadow: 0 2px 8px rgba(0,0,0,0.1);
}



/* Styles pour le bloc hero */
.hero-section {
  padding: 150px 0;
  background: linear-gradient(135deg, #fffbfb 0%, #fff1f1 100%);
}

.hero-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 3.5rem;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--accent-color);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 3rem;
  max-width: 600px;
}

.stats-card {
  background: var(--bg-primary);
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  transition: all 0.3s ease;
}

.stats-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.stats-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.stats-label {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1rem;
}

.btn-primary-custom {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: white;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary-custom:hover {
  background-color: transparent;
  color: var(--accent-color);
  transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .hero-section {
    padding: 60px 0;
  }
  
  .stats-card {
    margin-bottom: 1.5rem;
  }
}
/* Styles pour le bloc À propos */
.about-section {
  padding: 80px 0;
  background-color: #ededed;
}

.about-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.about-text {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-primary);
  border-left: 4px solid var(--accent-color);
  border-radius: var(--border-radius);
}

.feature-icon {
  color: var(--accent-color);
  margin-right: 1rem;
  margin-top: 0.2rem;
  font-size: 1.5rem;
}

.feature-text {
  flex: 1;
  color: var(--text-primary);
  font-size: 1rem;
}

/* Styles pour le bloc Programmes */
.programs-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.programs-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.program-card {
  background: var(--bg-primary);
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  height: 100%;
}

.program-card:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.btn-small {
  padding: 4px 10px;
  text-transform: initial;
  border: 1px solid #000000;
  color: #000000;
  border-radius: 0px;
}
.program-number {
  background-color: var(--accent-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.program-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.program-feature {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.program-feature-icon {
  color: var(--accent-color);
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  font-size: 1.2rem;
}

.program-feature-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Responsive pour les nouveaux blocs */
@media (max-width: 768px) {
  .about-title, .programs-title {
    font-size: 2rem;
  }
  
  .about-image {
    height: 300px;
    margin-bottom: 2rem;
  }
  
  .program-card {
    padding: 2rem;
  }
}

/* Styles pour le bloc Avantages */
.advantages-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ededed 0%, #f5f5f5 100%);
}

.advantages-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.advantage-card {
  background: var(--bg-primary);
  border: none;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(78, 21, 4, 0.15);
}

.advantage-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--accent-color);
}

.advantage-icon {
  background: var(--accent-color);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 1.8rem;
}

.advantage-title-item {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.advantage-text {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

.advantages-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin-bottom: 1.5rem;
}

/* Styles pour le bloc Histoires de réussite */
.success-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.success-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.testimonial-card {
  background: #ededed;
  border-left: 5px solid var(--accent-color);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  position: relative;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  background: #f5f5f5;
  transform: translateX(5px);
}

.testimonial-quote {
  position: absolute;
  top: -10px;
  left: 20px;
  background: var(--accent-color);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.testimonial-text {
  color: var(--text-primary);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
  margin-top: 1rem;
}

.testimonial-author {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.author-icon {
  color: var(--accent-color);
  margin-right: 0.5rem;
  font-size: 1.2rem;
}

/* Responsive pour les nouveaux blocs */
@media (max-width: 768px) {
  .advantages-title, .success-title {
    font-size: 2rem;
  }
  
  .advantage-card {
    padding: 1.5rem;
  }
  
  .advantages-image {
    height: 200px;
  }
  
  .testimonial-card {
    padding: 2rem;
  }
}
/* Styles pour le bloc Conseils pratiques */
.tips-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.tips-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.tips-intro {
  font-size: 1.2rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.tips-images {
  margin-bottom: 3rem;
}

.tips-image {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 300px;
  object-fit: cover;
}

.tip-item {
  background: #ededed;
  border-radius: var(--border-radius);
  padding: 2rem;
  margin-bottom: 2rem;
  border-left: 5px solid var(--accent-color);
  transition: all 0.3s ease;
  position: relative;
}

.tip-item:hover {
  background: #f5f5f5;
  transform: translateX(5px);
  box-shadow: var(--shadow);
}

.tip-number {
  position: absolute;
  top: -15px;
  left: 20px;
  background: var(--accent-color);
  color: white;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.tip-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.tip-description {
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.6;
}

/* Styles pour le bloc Tarifs */
.pricing-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ededed 0%, #f5f5f5 100%);
}

.pricing-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.pricing-card {
  background: var(--bg-primary);
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 2.5rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  height: 100%;
  position: relative;
  text-align: center;
}

.pricing-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 10px 30px rgba(78, 21, 4, 0.15);
  transform: translateY(-5px);
}

.pricing-card.featured {
  border-color: var(--accent-color);
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: 'POPULAIRE';
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: white;
  padding: 5px 20px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.plan-name {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan-price {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.plan-period {
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 2rem;
}

.plan-feature {
  display: flex;
  align-items: flex-start;
  text-align: left;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.plan-feature-icon {
  color: var(--accent-color);
  margin-right: 0.75rem;
  margin-top: 0.1rem;
  font-size: 1.2rem;
}

.plan-feature-text {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.5;
  flex: 1;
}

.pricing-note {
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: var(--border-radius);
  padding: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: var(--text-primary);
  font-size: 1rem;
  font-style: italic;
}

/* Responsive pour les nouveaux blocs */
@media (max-width: 768px) {
  .tips-title, .pricing-title {
    font-size: 2rem;
  }
  
  .tips-image {
    height: 250px;
    margin-bottom: 1rem;
  }
  
  .tip-item {
    padding: 1.5rem;
  }
  
  .pricing-card {
    padding: 2rem;
    margin-bottom: 2rem;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .plan-price {
    font-size: 2rem;
  }
}
/* Styles pour le bloc Contacts */
.contact-section {
  padding: 80px 0;
  background-color: var(--bg-primary);
}

.contact-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
}

.contact-description {
  font-size: 1.2rem;
  color: var(--text-primary);
  text-align: center;
  margin-bottom: 3rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.contact-info {
  background: #ededed;
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 3rem;
  text-align: center;
  transition: all 0.3s ease;
}

.contact-info:hover {
  border-color: var(--accent-color);
  box-shadow: var(--shadow);
}

.email-link {
  display: inline-flex;
  align-items: center;
  background: var(--accent-color);
  color: white;
  padding: 1rem 2rem;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.email-link:hover {
  background: var(--heading-color);
  color: white;
  text-decoration: none;
  transform: translateY(-2px);
}

.email-icon {
  margin-right: 0.5rem;
  font-size: 1.3rem;
}

.social-title {
  color: var(--heading-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: var(--accent-color);
  color: white;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1.5rem;
}

.social-link:hover {
  background: var(--heading-color);
  color: white;
  transform: translateY(-3px) scale(1.1);
}

/* Styles pour le bloc Formulaire */
.form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #ededed 0%, #f5f5f5 100%);
}

.form-title {
  color: var(--heading-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-align: center;
}

.form-container {
  background: var(--bg-primary);
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  margin: 0 auto;
}

.form-floating {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-floating .form-control {
  border: 2px solid #f0f0f0;
  border-radius: var(--border-radius);
  padding: 1rem 0.75rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: transparent;
}

.form-floating .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(78, 21, 4, 0.15);
  background: transparent;
}

.form-floating .form-control:focus ~ label {
  color: var(--accent-color);
}

.form-floating label {
  color: var(--text-primary);
  display: flex;
  align-items: center;
  font-weight: 500;
  transition: all 0.3s ease;
}

.form-floating label .material-icons-outlined {
  color: var(--accent-color);
}

.error-message {
  color: #c9c9c9;
  font-size: 0.875rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  display: none;
}

.btn-primary {
  background-color: var(--accent-color);
  border: 2px solid var(--accent-color);
  color: white;
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(78, 21, 4, 0.25);
}

/* Responsive pour les blocs finaux */
@media (max-width: 768px) {
  .contact-title, .form-title {
    font-size: 2rem;
  }
  
  .contact-info {
    padding: 2rem;
  }
  
  .form-container {
    padding: 2rem;
    margin: 0 1rem;
  }
  
  .social-links {
    gap: 0.75rem;
  }
  
  .social-link {
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }
}