/********** Template CSS **********/
:root {
  --primary: #1a7663;
  --light: #f8fff3;
  --dark: #111a24;
}

.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;
  }
}


/*** Footer ***/
.newsletter {
  position: relative;
  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: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: #1a7663;
  font-size: 32px;
  text-align: center;
}

header h2 {
  color: #1a7663;
  font-weight: 500;
  text-align: center;
}

.data {
  text-align: center;
}

.data p a {
  color: #1a7663;
  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 #1a7663;
  color: #fff;
  padding: 8px 0;
  background: #1a7663;
  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: #1a7663;
}

#declineBtn {
  background-color: #fff;
  color: #1a7663;
}

#declineBtn:hover {
  background-color: #1a7663;
  color: #fff;
}

/* new styles  */
:root {
  --bg-color: #f8fffc;
  --accent-color: #1a7663;
  --text-color: #666565;
  --white: #ffffff;
}
.hero-section {
  padding: 7rem 0;
  min-height: 80vh;
}

.hero-title {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 3.5rem;
}

.hero-subtitle {
  color: var(--text-color);
  font-size: 1.5rem;
  font-weight: 300;
}

.hero-description {
  font-size: 1.1rem;
  line-height: 1.8;
}

.btn-custom {
  background-color: var(--accent-color);
  border: none;
  padding: 15px 35px;
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: #145a4a;
  transform: translateY(-2px);
}

.hero-image {
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(26, 118, 99, 0.1);
}

.stats-section {
  background-color: var(--white);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(26, 118, 99, 0.08);
}

.stat-number {
  color: var(--accent-color);
  font-size: 3rem;
  font-weight: 700;
}

.stat-text {
  font-size: 0.95rem;
  line-height: 1.6;
}

.stat-icon {
  color: var(--accent-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .hero-title {
      font-size: 2.5rem;
  }
  
  .hero-subtitle {
      font-size: 1.3rem;
  }
  
  .stat-number {
      font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .hero-title {
      font-size: 2rem;
  }
  
  .hero-subtitle {
      font-size: 1.2rem;
  }
}
.section-spacing {
  padding: 5rem 0;
}

.author-image {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(26, 118, 99, 0.15);
}

.section-title {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

.course-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(26, 118, 99, 0.08);
  transition: all 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(26, 118, 99, 0.15);
}

.course-number {
  background: var(--accent-color);
  color: var(--white);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.course-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.domains-section {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 15px 35px rgba(26, 118, 99, 0.1);
}

.domain-item {
  background: var(--bg-color);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.domain-item:hover {
  border-color: var(--accent-color);
  transform: translateY(-3px);
}

.domain-icon {
  color: var(--accent-color);
  font-size: 3rem;
  margin-bottom: 1rem;
}

.domain-text {
  font-weight: 500;
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }
  
  .section-spacing {
      padding: 3rem 0;
  }
  
  .domains-section {
      padding: 2rem;
  }
}
.section-spacing {
  padding: 5rem 0;
}

.section-title {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 3rem;
}

/* Pricing Cards */
.pricing-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 15px 35px rgba(26, 118, 99, 0.1);
  transition: all 0.3s ease;
  position: relative;
  border: 2px solid transparent;
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(26, 118, 99, 0.2);
  border-color: var(--accent-color);
}

.plan-popular {
  border-color: var(--accent-color);
}

.plan-popular::before {
  content: "Plus populaire";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-color);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 25px;
  font-size: 0.85rem;
  font-weight: 500;
}

.plan-title {
  color: var(--accent-color);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.plan-price {
  color: var(--accent-color);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

.plan-features {
  list-style: none;
  padding: 0;
  margin-bottom: 2rem;
}

.plan-features li {
  padding: 0.5rem 0;
  position: relative;
  padding-left: 2rem;
}

.plan-features li::before {
  content: "check_circle";
  font-family: 'Material Icons Outlined';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0.5rem;
}

.btn-plan {
  background-color: var(--accent-color);
  border: none;
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-plan:hover {
  background-color: #145a4a;
  transform: translateY(-2px);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(26, 118, 99, 0.08);
  position: relative;
}

.testimonial-card::before {
  content: "format_quote";
  font-family: 'Material Icons';
  font-size: 3rem;
  color: var(--accent-color);
  opacity: 0.3;
  position: absolute;
  top: 1rem;
  left: 1.5rem;
}

.testimonial-content {
  margin-top: 2rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
}

.testimonial-stars {
  color: #ffc107;
  margin-bottom: 1rem;
}

/* Blog Cards */
.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 118, 99, 0.08);
  transition: all 0.3s ease;
  height: 100%;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(26, 118, 99, 0.15);
}

.blog-image {
  height: 450px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  color: var(--accent-color);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.btn-blog {
  background-color: var(--accent-color);
  border: none;
  padding: 10px 25px;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-blog:hover {
  background-color: #145a4a;
  transform: translateY(-1px);
}

@media (max-width: 768px) {
  .section-title {
      font-size: 2rem;
  }
  
  .section-spacing {
      padding: 3rem 0;
  }
  
  .plan-price {
      font-size: 2.5rem;
  }
}

  /* Contact Section */
  .contact-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(26, 118, 99, 0.1);
    text-align: center;
}

.contact-icon {
    color: var(--accent-color);
    font-size: 4rem;
    margin-bottom: 2rem;
}

.contact-email {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1.3rem;
    text-decoration: none;
    padding: 1rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.contact-email:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Form Section */
.form-section {
    background: var(--white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(26, 118, 99, 0.1);
}

.form-description {
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
}

.form-floating {
    margin-bottom: 1.5rem;
}

.form-floating > .form-control {
    border: 2px solid #e9ecef;
    border-radius: 10px;
    padding: 1rem 0.75rem;
    height: auto;
    transition: all 0.3s ease;
}

.form-floating > .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(26, 118, 99, 0.25);
}

.form-floating > label {
    color: var(--text-color);
    padding: 1rem 0.75rem;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: var(--accent-color);
    transform: scale(0.85) translateY(-0.5rem) translateX(0.15rem);
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #145a4a;
    border-color: #145a4a;
    transform: translateY(-2px);
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-icon {
    color: var(--accent-color);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }
    
    .section-spacing {
        padding: 3rem 0;
    }
    
    .contact-section,
    .form-section {
        padding: 2rem;
    }
    
    .contact-icon,
    .form-icon {
        font-size: 3rem;
    }
}

@media (max-width: 576px) {
    .contact-email {
        font-size: 1.1rem;
        padding: 0.8rem 1.5rem;
    }
}
  /* 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: var(--accent-color) !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: var(--accent-color);
    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;
    }
}