/* FONTS */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* espace après la navbar sticky (hauteur ≈ 58px) */
body { padding-top: 0; }  /* la navbar est sticky donc pas besoin de padding global */

/* Amélioration tactile globale */
a, button, .btn, .nav-link, .cta-button, .promotion-btn, .activity-btn {
  -webkit-tap-highlight-color: transparent;
}


/* -------------------------------------------- */
:root {
      /* Font Family */
  --font-primary: 'Poppins', sans-serif;
  --primary-color: #2c3e50;
  --secondary-color: #3498db;
  --accent-color: #e74c3c;
  --light-color: #f8f9fa;
  --dark-color: #212529;
  --text-color: #333;
  --text-light: #fff;
  --border-radius: 8px;
  --box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  --transition: all 0.3s ease;
}


/* -------------------------------------------- */
body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  margin: 0;
  padding: 0;
}

/* -------------------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: var(--text-color);
  opacity: 0.8;
  font-size: 1.1rem;
}

/* -------------------------------------------- */
.hero-carousel {
  position: relative;
  margin-bottom: 3rem;
}

.carousel-container {
  height: 450px;
  overflow: hidden;
  border-radius: var(--border-radius);
}

.carousel-slide {
  position: relative;
  height: 100%;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: var(--text-light);
}

.slide-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.slide-description {
  font-size: 1.2rem;
  opacity: 0.9;
}

/* -------------------------------------------- */

  .events-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .events-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1524179091875-bf99a9a6af57?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    opacity: 0.15;
  }
  
  .event-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
  }
  
  .event-card.upcoming {
    border-left: 5px solid #28a745;
  }
  
  .event-card.past {
    border-left: 5px solid #6c757d;
  }
  
  .event-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .event-img {
    height: 250px;
    object-fit: cover;
    object-position: center;
  }
  
  .event-body {
    padding: 2rem;
  }
  
  .event-title {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
  }
  
  .event-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 0.9rem;
  }
  
  .meta-icon {
    color: #3498db;
  }
  
  .event-date {
    background: #f8f9fa;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #2c3e50;
  }
  
  .events-section {
    padding: 4rem 0;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: #3498db;
    left: 25%;
  }
  
  .upcoming-title {
    color: #28a745;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 20px;
  }
  
  .upcoming-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #28a745;
    border-radius: 50%;
  }
  
  .past-title {
    color: #6c757d;
    margin-bottom: 2rem;
    position: relative;
    padding-left: 20px;
  }
  
  .past-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    background: #6c757d;
    border-radius: 50%;
  }


/* -------------------------------------------- */
  .admission-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .admission-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    opacity: 0.15;
  }
  
  .admission-section {
    padding: 3rem 0;
  }
  
  .requirements-card, .process-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-left: 5px solid #3498db;
  }
  
  .requirement-item, .process-item {
    padding: 1rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: flex-start;
  }
  
  .requirement-item:last-child, .process-item:last-child {
    border-bottom: none;
  }
  
  .requirement-icon, .process-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1.5rem;
    min-width: 30px;
  }
  
  .requirement-text, .process-text {
    flex: 1;
  }
  
  .process-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #3498db;
    color: white;
    border-radius: 50%;
    font-weight: bold;
    margin-right: 1rem;
  }
  
  .cta-section {
    background: #f8f9fa;
    padding: 4rem 0;
    text-align: center;
  }
  
  .cta-button {
    background: #28a745;
    color: white;
    padding: 0.8rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    border: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
  }
  
  .cta-button:hover {
    background: #218838;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }
  
  .section-title {
    position: relative;
    margin-bottom: 2rem;
    padding-bottom: 10px;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 3px;
    background: #3498db;
  }
  
  .note-text {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 1rem;
  }

/* -------------------------------------------- */

  .activities-hero {
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .activities-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('/images/defile2.jpg') center/cover no-repeat;
    opacity: 0.15;
  }
  
  .activity-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
  }
  
  .activity-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .activity-img {
    height: 250px;
    object-fit: cover;
    object-position: center;
  }
  
  .activity-body {
    padding: 2rem;
  }
  
  .activity-title {
    font-size: 1.5rem;
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .activity-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .activity-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
  }
  
  .activity-date {
    color: #6c757d;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
  }
  
  .activity-btn {
    background: #2575fc;
    color: white;
    border: none;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
  }
  
  .activity-btn:hover {
    background: #1a5dc8;
    color: white;
  }
  
  .activities-section {
    padding: 4rem 0;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: #2575fc;
    left: 25%;
  }
  

  .icon-robot {
    color: #6a11cb;
  }
  
  .icon-code {
    color: #2575fc;
  }
  
  .icon-sport {
    color: #28a745;
  }
  
  .icon-culture {
    color: #fd7e14;
  }

/* -------------------------------------------- */


.stats-section {
  background-color: #2c3e50;
  color: white;
  padding: 3rem 0;
  margin: 2rem 0;
}
.stats-section .stat-number,
.stats-section .stat-value {
  color: #3498db;
}

.stats-section .stat-label {
  color: rgba(255,255,255,0.85);
}
.stats-container {
  display: flex;
  justify-content: space-around;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.stat-card {
  text-align: center;
  padding: 1rem;
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #3498db;
  transition: all 0.3s ease;
}

.stat-label {
  font-size: 1.2rem;
  opacity: 0.9;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 768px) {
  .stats-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .stat-value {
    font-size: 2.5rem;
  }
}

/* -------------------------------------------- */
.cards-section {
  padding: 3rem 0;
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card-image-container {
  height: 200px;
  overflow: hidden;
}

.card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.nav-card:hover .card-image {
  transform: scale(1.05);
}

.card-content {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.card-text {
  color: var(--text-color);
  opacity: 0.8;
  margin-bottom: 1.5rem;
}

.card-link {
  display: inline-block;
  color: var(--secondary-color);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.card-link:hover {
  color: var(--primary-color);
}

/* -------------------------------------------- */
.schools-section {
  background-color: var(--light-color);
  padding: 3rem 0;
}

.school-specialties i {
  margin-right: 8px;
  color: #3498db;
  font-size: 1.1em;
}

.schools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); 
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.school-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: 12px; 
  overflow: hidden;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.school-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0,0,0,0.15);
}

.school-logo-container {
  width: 100%;
  height: 220px; 
  overflow: hidden;
  position: relative;
}

.school-logo {
  width: 100%;
  height: 100%;
  object-fit: cover; 
  object-position: center;
  transition: transform 0.5s ease;
}

.school-card:hover .school-logo {
  transform: scale(1.05);
}

.school-details {
  padding: 1.8rem;
  flex-grow: 1;
}

.school-name {
  font-size: 1.5rem;
  color: #2c3e50;
  margin: 0 0 0.5rem 0;
}

.school-location {
  color: #3498db;
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 0.8rem 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.school-specialties {
  color: #7f8c8d;
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0 0 1.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
  .schools-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  
  .school-logo-container {
    height: 180px;
  }
}
.school-actions {
  display: flex;
  gap: 1rem;
}

.school-link {
  color: var(--accent-color);
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: var(--transition);
}

.school-link:hover {
  text-decoration: underline;
}

.section-footer {
  text-align: center;
  margin-top: 2rem;
}

.cta-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  background-color: var(--primary-color);
  color: white;
  text-decoration: none;
  border-radius: var(--border-radius);
  font-weight: 600;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--dark-color);
}

/* -------------------------------------------- */
.admission-section {
  padding: 3rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.process-steps {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 0 1rem;
}

.process-step {
  flex: 1;
  min-width: 250px;
  max-width: 300px;
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  position: relative;
  text-align: center;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--secondary-color);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
}

.step-title {
  color: var(--primary-color);
  margin-top: 1rem;
}

.step-description {
  color: var(--text-color);
  opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 768px) {
  .carousel-container {
    height: 350px;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 2rem;
  }
  
  .school-card {
    flex-direction: column;
  }
  
  .school-logo-container {
    width: 100%;
    height: 120px;
  }
  
  .process-step {
    min-width: 100%;
  }
}

  /* -------------------------------------------- */

.hero-carousel {
  position: relative;
  margin-bottom: 3rem;
  overflow: hidden;
}

.carousel-container {
  height: 450px;
  position: relative;
}

.carousel-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
  opacity: 1;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: white;
  text-align: center;
}

.slide-title {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.slide-description {
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  margin-bottom: 0;
}


  /* -------------------------------------------- */


  .about-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
  }
  
  .about-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('/images/defile2.jpg') center/cover no-repeat;
    opacity: 0.2;
  }
  
  .mission-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    padding: 2.5rem;
    margin-bottom: 3rem;
    border-left: 5px solid #3498db;
    transition: transform 0.3s ease;
  }
  
  .mission-card:hover {
    transform: translateY(-5px);
  }
  
  .feature-list {
    background: white;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    overflow: hidden;
  }
  
  .feature-item {
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    transition: background 0.3s ease;
  }
  
  .feature-item:last-child {
    border-bottom: none;
  }
  
  .feature-item:hover {
    background: #f8f9fa;
  }
  
  .feature-icon {
    font-size: 1.5rem;
    color: #3498db;
    margin-right: 1rem;
    min-width: 40px;
  }
  
  
  .stat-item {
    text-align: center;
    padding: 1.5rem;
  }
  
  .stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    color: #7f8c8d;
    font-size: 1.1rem;
  }


  /* -------------------------------------------- */
  .teachers-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #3498db 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 3rem;
    text-align: center;
  }
  
  .teacher-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    height: 100%;
  }
  
  .teacher-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .teacher-img {
    height: 250px;
    object-fit: cover;
    object-position: top;
    border-bottom: 4px solid #3498db;
  }
  
  .teacher-body {
    padding: 1.5rem;
  }
  
  .teacher-name {
    color: #2c3e50;
    font-weight: 700;
    margin-bottom: 0.5rem;
  }
  
  .teacher-subject {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
  }
  
  .teacher-bio {
    color: #555;
    line-height: 1.6;
  }
  
  .subject-icon {
    margin-right: 8px;
  }
  
  .teachers-section {
    padding: 3rem 0;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: #3498db;
    left: 25%;
  }

  .promotions-hero {
    background: linear-gradient(135deg, #1e5631 0%, #4CAF50 100%);
    color: white;
    padding: 5rem 0;
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  
  .promotions-hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80') center/cover no-repeat;
    opacity: 0.15;
  }
  
  .promotion-card {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    margin-bottom: 30px;
    height: 100%;
  }
  
  .promotion-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
  }
  
  .promotion-img {
    height: 250px;
    object-fit: cover;
    object-position: center;
    border-bottom: 4px solid #4CAF50;
  }
  
  .promotion-body {
    padding: 2rem;
  }
  
  .promotion-year {
    font-size: 1.8rem;
    color: #1e5631;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
  }
  
  .promotion-year::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 50px;
    height: 3px;
    background: #4CAF50;
  }
  
  .promotion-desc {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1.5rem;
  }
  
  .promotion-stats {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
  }
  
  .stat-badge {
    background: #f1f8f1;
    color: #1e5631;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
  }
  
  .promotion-btn {
    background: #4CAF50;
    color: white;
    border: none;
    padding: 8px 25px;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  
  .promotion-btn:hover {
    background: #3d8b40;
    color: white;
    transform: translateY(-2px);
  }
  
  .promotions-section {
    padding: 4rem 0;
  }
  
  .section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 3rem;
  }
  
  .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50%;
    height: 3px;
    background: #4CAF50;
    left: 25%;
  }  

/* ============================================================
   RESPONSIVE — TABLETTE (≤ 768px)
   ============================================================ */
@media (max-width: 768px) {

  /* Carousel */
  .carousel-container { height: 300px; }
  .slide-title        { font-size: 1.6rem; }
  .slide-description  { font-size: 0.95rem; }
  .slide-overlay      { padding: 1.2rem; }

  /* Héros de pages */
  .events-hero,
  .admission-hero,
  .activities-hero,
  .promotions-hero,
  .about-hero,
  .teachers-hero     { padding: 2.5rem 0; margin-bottom: 1.5rem; }

  /* Grille écoles */
  .schools-grid {
    grid-template-columns: 1fr;
    padding: 0 1rem;
  }
  .school-logo-container { height: 180px; }

  /* Steps admission */
  .process-step { min-width: 100%; }

  /* Cards navigations */
  .cards-container {
    grid-template-columns: 1fr;
    padding: 0 0.5rem;
  }

  /* Stats */
  .stats-container {
    flex-direction: column;
    gap: 1.5rem;
  }
  .stat-value { font-size: 2.5rem; }

  /* Event / Activity / Teacher cards body */
  .event-body,
  .activity-body,
  .teacher-body,
  .promotion-body  { padding: 1.2rem; }

  /* Section header */
  .section-title { font-size: 1.6rem; }

  /* Mission card */
  .mission-card { padding: 1.5rem; }
  .requirements-card, .process-card { padding: 1.5rem; }
}

/* ============================================================
   RESPONSIVE — TÉLÉPHONE (≤ 480px)  — Android
   ============================================================ */
@media (max-width: 480px) {

  /* Base */
  body { font-size: 15px; }
  .container { padding-left: 12px; padding-right: 12px; }

  /* Carousel */
  .carousel-container { height: 220px; border-radius: 0; }
  .slide-title {
    font-size: 1.1rem;
    letter-spacing: 0;
    margin-bottom: 0.25rem;
  }
  .slide-description { font-size: 0.78rem; }
  .slide-overlay     { padding: 0.75rem 0.75rem 1rem; }

  /* Héros */
  .events-hero,
  .admission-hero,
  .activities-hero,
  .promotions-hero,
  .about-hero,
  .teachers-hero {
    padding: 2rem 0;
    margin-bottom: 1rem;
  }
  .events-hero h1,
  .admission-hero h1,
  .activities-hero h1,
  .promotions-hero h1,
  .about-hero h1,
  .teachers-hero h1 { font-size: 1.5rem; }
  .events-hero p,
  .admission-hero p,
  .activities-hero p,
  .promotions-hero p,
  .about-hero p,
  .teachers-hero p  { font-size: 0.9rem; }

  /* Section title */
  .section-title { font-size: 1.3rem; margin-bottom: 1.5rem; }
  .section-subtitle { font-size: 0.9rem; }

  /* Stats section */
  .stats-section    { padding: 1.5rem 0; }
  .stat-value       { font-size: 2rem; }
  .stat-label       { font-size: 0.95rem; }
  .stat-number      { font-size: 1.8rem; }

  /* Cards grille — 1 colonne pleine largeur */
  .cards-container {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }
  .card-image-container { height: 160px; }

  /* Écoles partenaires */
  .schools-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
  }
  .school-logo-container { height: 150px; }
  .school-details        { padding: 1rem; }
  .school-name           { font-size: 1.2rem; }

  /* Events */
  .event-img, .activity-img,
  .teacher-img, .promotion-img { height: 180px; }
  .event-body, .activity-body  { padding: 1rem; }
  .event-title, .activity-title { font-size: 1.15rem; }
  .event-meta   { gap: 8px; }
  .meta-item    { font-size: 0.82rem; }
  .event-date   { font-size: 0.82rem; padding: 0.4rem 0.75rem; }

  /* Teachers */
  .teacher-img  { height: 200px; }
  .teacher-body { padding: 1rem; }
  .teacher-name { font-size: 1.05rem; }
  .teacher-bio  { font-size: 0.88rem; }

  /* Promotions */
  .promotion-img  { height: 180px; }
  .promotion-year { font-size: 1.4rem; }
  .promotion-desc { font-size: 0.9rem; }

  /* Steps admission page principale */
  .process-step {
    min-width: 100%;
    padding: 1.5rem 1rem;
    margin-bottom: 1.5rem;
  }
  .process-steps { gap: 1rem; }

  /* Admission/requirement cards */
  .requirements-card, .process-card { padding: 1rem; margin-bottom: 1.5rem; }
  .requirement-icon, .process-icon  { font-size: 1.2rem; margin-right: 0.75rem; }
  .process-number { width: 26px; height: 26px; font-size: 0.85rem; }

  /* CTA button — pleine largeur sur mobile */
  .cta-button {
    width: 100%;
    justify-content: center;
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
  }

  /* Mission / About card */
  .mission-card { padding: 1rem; }
  .feature-item { padding: 0.85rem; }
  .feature-icon { font-size: 1.2rem; min-width: 30px; }

  /* Formulaire pré-inscription */
  .container.mb-5 { padding: 0 4px; }

  /* Footer */
  footer p { font-size: 0.8rem; }
}