/* General Styles */
:root {
  --primary-color: #4caf50;
  --secondary-color: #8bc34a;
  --dark-color: #2e7d32;
  --light-color: #f1f8e9;
  --text-color: #333;
  --gray-color: #f5f5f5;
  --white-color: #ffffff;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

/* Header et navigation */
.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: white;
}

.navbar-brand {
  font-weight: 700;
  color: var(--primary-color);
}

.nav-link {
  font-weight: 500;
  color: var(--text-color);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.dropdown-menu {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
  background-color: rgba(76, 175, 80, 0.1);
  color: var(--primary-color);
}

#hero {
  width: 100%;
  height: 80vh;
  position: relative;
  padding: 0;
  margin-bottom: 40px;
}

#hero:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* Sections */
.section {
  padding: 80px 0;
}

.section-title {
  position: relative;
  margin-bottom: 40px;
  font-weight: 700;
  color: var(--primary-color);
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--accent-color);
}

/* Cards */
.card {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 30px;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
  height: 200px;
  object-fit: cover;
}

.card-title {
  font-weight: 600;
  color: var(--primary-color);
}

/* Boutons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #3d8b40;
  border-color: #3d8b40;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(76, 175, 80, 0.3);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 30px;
  padding: 10px 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 10px rgba(76, 175, 80, 0.3);
}

.btn-get-started {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  background: var(--primary-color);
  text-decoration: none;
  margin-right: 15px;
}

.btn-get-started:hover {
  background: var(--dark-color);
  color: #fff;
}

.btn-services {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  color: #fff;
  border: 2px solid #fff;
  text-decoration: none;
}

.btn-services:hover {
  background: #fff;
  color: var(--primary-color);
}

.btn-learn-more {
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  border-radius: 50px;
  transition: 0.5s;
  color: var(--primary-color);
  background: transparent;
  border: 2px solid var(--primary-color);
  text-decoration: none;
}

.btn-learn-more:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Features */
.feature-box {
  text-align: center;
  padding: 30px;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

/* Testimonials */
.testimonial {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
}

/* Footer */
footer {
  background-color: var(--dark-color);
  color: white;
  padding: 60px 0 30px;
}

.footer-title {
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

.footer-link {
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  display: block;
  margin-bottom: 10px;
}

.footer-link:hover {
  color: white;
  text-decoration: none;
  transform: translateX(5px);
}

/* Social Media Icons */
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-right: 10px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icon:hover {
  background-color: var(--dark-color);
  color: var(--white-color);
  transform: translateY(-3px);
}

.social-icon i {
  font-size: 18px;
}

.copyright {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media (max-width: 768px) {
  .hero {
    padding: 60px 0;
  }

  .section {
    padding: 50px 0;
  }

  .feature-box {
    margin-bottom: 20px;
  }
}

/* Animation */
.fade-in {
  animation: fadeIn 1s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Page spécifique - Pédagogie */
.pedagogy-image {
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.timeline {
  position: relative;
  padding-left: 50px;
  margin-bottom: 50px;
}

.timeline:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--primary-color);
}

.timeline-item {
  position: relative;
  margin-bottom: 30px;
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -50px;
  top: 5px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--primary-color);
}

.timeline-date {
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Page spécifique - Contact */
.contact-info {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.contact-icon {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.map-container {
  height: 400px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Formulaires */
.form-control {
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  padding: 12px 15px;
  margin-bottom: 20px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(76, 175, 80, 0.25);
}

/* Galerie */
.gallery-item {
  margin-bottom: 30px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  position: relative;
}

.gallery-item img {
  transition: transform 0.3s ease;
  max-width: 100%;
  height: auto;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-info {
  text-align: center;
}

.gallery-info h4 {
  color: white;
  margin-bottom: 5px;
}

.gallery-info p {
  color: #ddd;
  margin: 0;
}

.portrait {
  border-radius: 8px;
  width: 400px;
  height: 500px;
  object-fit: cover;
  display: block;
  margin: 0 auto;
}
