/* ------------------------
   Styles spécifiques aux pages d’examens
   ------------------------ */

.exam-hero {
  position: relative;
  background-size: cover;
  background-position: center;
  color: white;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Poppins", sans-serif;
   animation: fadeInUp 1s ease;

}

.exam-hero .overlay {
  background: rgba(0, 0, 0, 0.6);
  padding: 40px;
  border-radius: 10px;
  text-align: center;
   animation: fadeInUp 1s ease;
}

.exam-hero h1 {
  font-size: 3em;
  color: #ffa500;
  margin-bottom: 10px;
}

.btn-cta {
  background: #ff8c00;
  color: #fff;
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}
.btn-cta:hover {
  background: #ffb84d;
}

/* SECTION INFORMATIONS */
.exam-info,
.exam-prep,
.exam-videos {
  padding: 60px 10%;
  background: #fff;
  color: #222;
}

.exam-info h2,
.exam-prep h2,
.exam-videos h2 {
  color: #ff8c00;
  margin-bottom: 20px;
}

.exam-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin-top: 30px;
}
.exam-details h2{
  margin: -50px 200px;
  text-align: center;
  color: black;
}
.exam-details div {
  flex: 1;
  background: #f8f8f8;
  padding: 20px;
  border-radius: 10px;
}

/* SECTION PREPARATION */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  margin-top: 40px;
}
.resource-card {
  background: #fff8f0;
  border: 1px solid #f1d6b8;
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}
.resource-card:hover {
  transform: translateY(-5px);
}
.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* VIDEOS SECTION */
.exam-videos .video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 25px;
  margin-top: 30px;
}
.exam-videos iframe {
  width: 100%;
  height: 200px;
  border-radius: 10px;
  border: none;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .exam-details {
    flex-direction: column;
  }
  .exam-hero h1 {
    font-size: 2em;
  }
}




.exams-hero {
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('../images/exam_background.jpg') center/cover;
  color: white;
  text-align: center;
  padding: 100px 20px;
  animation: fadeIn 1s ease;
  
}

.exam-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px;
}

.exam-card {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  transition: 0.4s;
  border: 2px solid #000;
  border-top: 6px solid #ff6600;
}

.exam-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.exam-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.exam-info {
  padding: 20px;
}

.exam-info h3 {
  color: #ff6600;
  font-weight: 700;
  margin-bottom: 10px;
}

.exam-info ul {
  list-style: none;
  padding-left: 0;
}

.exam-info ul li {
  padding: 5px 0;
  border-bottom: 1px solid #eee;
}

.btn-orange {
  display: inline-block;
  background: #ff6600;
  color: white;
  padding: 10px 20px;
  margin-top: 10px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
  transition: 0.3s;
}

.btn-orange:hover {
  background: #000;
  color: #ff6600;
}

/* Conseils & ressources */
.exam-tips, .exam-resources {
  background: #f9f9f9;
  padding: 60px 20px;
}

.tips-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 0 40px;
}

.tip {
  flex: 1;
  min-width: 300px;
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  border-left: 6px solid #ff6600;
  transition: 0.3s;
}

.tip iframe {
  width: 100%;
  height: 220px;
  border-radius: 8px;
}

.resource-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  padding: 20px 40px;
}

.resource-card {
  background: #fff;
  width: 280px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid #ddd;
  transition: 0.3s;
}

.resource-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px 10px 0 0;
}

.resource-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.exam-hero {
  position: relative;
  height: 80vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: -60px -200px 20px;
}

.exam-hero .overlay {
  background: rgba(0,0,0,0.6);
  color: white;
  text-align: center;
  padding: 2rem;
  border-radius: 10px;
}

.exam-hero h1 {
  font-size: 60px;
  color: #ffa31a;
  margin-bottom: 1rem;
}
.exam-hero p {
  font-size: 19px;
  color: white;
  margin-bottom: 1rem;
}


.exam-details {
  padding: 3rem 1rem;
 
}
.exam-details h2 {
  padding: 3rem 1rem;
  font-size: 60px;
  text-align: center;
}
.exam-details p {
 
  font-size: 19px;
}
.exam-detail-duration{
  margin: 20px;
  font-size: 19px;
}

.levels-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 2rem;
}

.level-card {
  flex: 1 1 220px;
  background: white;
  border-left: 6px solid #ff6600;
  border-radius: 8px;
  padding: 1.2rem;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.level-card:hover {
  transform: translateY(-5px);
}

.exam-preparation {
  background: #f9f9f9;
  padding: 3rem 1rem;
  margin: 0px -200px;
}
.exam-preparation h2{

  padding: 3rem 1rem;
  font-size: 60px;
  text-align: center;
}
.exam-preparation p{

text-align: center;
  font-size: 19px;
}
.exam-prep {
  background: white;
  padding: 3rem 1rem;
  margin: 0px -200px;
}
.exam-prep h2{

  padding: 3rem 1rem;
  font-size: 60px;
  text-align: center;
}
.exam-prep p{

text-align: center;
  font-size: 19px;
}
.prep-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.prep-item {
  background: white;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  padding: 1rem;
  flex: 1 1 320px;
  max-width: 450px;
}

.prep-item iframe {
  width: 100%;
  height: 250px;
  border-radius: 8px;
}

.prep-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
}
/* === GENERAL LAYOUT === */


h2 {
  color: #0b0b0c;
  text-align: center;
  margin-bottom: 2rem;
}
/* === TYPES === */
.ielts-types {
  background: #f1f5f9;
  padding: 3rem 0;
  margin: 0px -200px;
}
.type-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.type-card {
  background: white;
  border-radius: 1rem;
  overflow: hidden;
  width: 320px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease;
}
.type-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.type-card:hover {
  transform: scale(1.03);
}


/* === SESSIONS === */
.ielts-sessions {
  background: #eef2ff;
  padding: 3rem 0;
  margin: 0px -200px;
  height: 450px;
  margin-bottom: -100px;
}
.session-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}
.session-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  width: 300px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.session-card:hover {
  transform: translateY(-8px);
}
/* === MODERN TABLE === */
.ielts-scores{
  margin: 80px 0px;
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  margin-top: 2rem;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.modern-table thead {
  background: linear-gradient(90deg, #4c4e53, #000000);
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modern-table th, .modern-table td {
  padding: 1rem 1.2rem;
  text-align: left;
}

.modern-table tbody tr {
  background: #fff;
  border-bottom: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.modern-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.modern-table tbody tr:hover {
  background: #e0f2fe;
  transform: scale(1.01);
}

.modern-table td:first-child {
  font-weight: 600;
  color: black;
}

.modern-table td:nth-child(2) {
  color: black;
  font-weight: 500;
}
