/* HERO SECTION */
.hero {
  position: relative;
  height: 90vh;
  background: url('../images/Capture d’écran 2025-10-31 144501.png') center/cover no-repeat;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
   animation: fadeInUp 1s ease;
}
.hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2.8rem;
  color: #ff7b00;
}
.hero p {
  font-size: 1.3rem;
  margin: 1rem 0;
}
.cta {
  background: #ff7b00;
  color: white;
  padding: 0.8rem 2rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}
.cta:hover {
  background: #000;
  color: #ff7b00;
}

/* COURS */
.home-courses {
  text-align: center;
  margin: 4rem auto;
}
.course-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.course-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  width: 300px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.course-card:hover {
  transform: translateY(-10px);
}
.course-card img {
  width: 100%;
  height: 180px;
  animation: fadeInUp 1s ease;
  object-fit: cover;
}
.course-info {
  padding: 1rem;
}

/* EXAMS */
.home-exams {
  background: #000;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}
.exam-icons {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 2rem 0;
}
.exam-icons img {
  width: 80px;
  transition: transform 0.3s;
}
.exam-icons img:hover {
  transform: scale(1.1);
}

/* RESOURCES */
.home-resources {
  text-align: center;
  margin: 4rem auto;
}
.resource-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.resource-card {
  width: 280px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ABOUT */
.home-about {
  margin: 4rem auto;
}
.home-about h2{
  text-align: center;
}
.about-flex {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.about-text {
  flex: 1;
  margin-right: 300px;
  margin-top: -200px;
  
}
.about-img img {
  width: 200%;
  animation: fadeInUp 1s ease;
  border-radius: 15px;
  height: 600px;
  margin-left: -200px;
}

/* CONTACT */
.contact-footer {
  background: #ff7b00;
  color: white;
  text-align: center;
  padding: 3rem 2rem;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}
.social-icons img {
  width: 35px;
  filter: brightness(0) invert(1);
  transition: transform 0.3s;
}
.social-icons img:hover {
  transform: scale(1.1);
}
.btn-orange {
  display: inline-block;
  background-color: #ff7b00;
  color: white;
  padding: 0.8rem 1.8rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.btn-orange:hover {
  background-color: #000;
  color: #ff7b00;
  transform: scale(1.05);
}
.exam-icons i {
  font-size: 2rem;
  color: #ff7b00;
  background: #111;
  padding: 15px;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.exam-icons i:hover {
  color: #fff;
  background: #ff7b00;
  transform: scale(1.2);
}

/* -------------------- */
/*   TEMOIGNAGES        */
/* -------------------- */

.home-testimonials {
  background: #f9f9f9;
  padding: 70px 0;
  margin-top: 60px;
}

.home-testimonials h2 {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.testi-sub {
  text-align: center;
  margin-bottom: 50px;
  color: #555;
}

.testimonials-wrapper {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}

.testimonial-card {
  background: #fff;
  padding: 25px;
  width: 320px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  color: #444;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ff7d00;
}

.testimonial-author h4 {
  margin: 0;
  font-size: 1.1rem;
}

.testimonial-author span {
  font-size: 0.9rem;
  color: #777;
}
.video-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    margin-top: 30px;
}

.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.overlays {
    position: relative;
    z-index: 10;
    text-align: center;
    top: 40%;
    color: white;
}

.overlays h1 {
    font-size: 3rem;
    font-weight: bold;
}

.overlays p {
    font-size: 1.3rem;
    margin: 10px 0;
}

.cta-btn {
    padding: 12px 25px;
    background: #007bff;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}
