/* ==========================================================================
   GLOBAL & RESETS
   ========================================================================== */
   * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
  }
  
  body {
    color: #333;
    background: #f9f9f9;
  }
  
  a {
    text-decoration: none;
    color: inherit;
  }
  
  section[id] {
    /* Évite le masquage des titres lors des clics sur les ancres */
  }
  
  /* ==========================================================================
     HERO SECTION (100% PLEIN ÉCRAN LARGEUR)
     ========================================================================== */
  .hero {
    position: relative;
    height: 600px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    margin-top: 0; 
    padding: 40px 20px;
  }
  
  .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
    z-index: 1;
  }
  
  .hero-content-container {
    position: relative;
    z-index: 2;
    color: #ffffff;
    padding: 0 20px;
    max-width: 1000px;
    margin: 0 auto;
  }
  
  .btn-hero-action {
    display: inline-block;
    background-color: #d97706;
    color: #ffffff;
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(217, 119, 6, 0.3);
    transition: transform 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
  }
  
  .btn-hero-action:hover {
    background-color: #b45309;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(217, 119, 6, 0.4);
  }
  
  /* ==========================================================================
     CONTENEURS DE SECTIONS ET COMPOSANTS
     ========================================================================== */
  .about-section-container,
  .services-section-container,
  .info-section-container,
  .team-section-container,
  .contact-section-container {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
  }
  
  h2 {
    font-size: 32px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 30px;
    text-align: center;
  }
  
  /* ==========================================================================
   ABOUT SECTION DESIGN
   ========================================================================== */
.about {
  text-align: left;             /* Align paragraphs to the left for standard readability */
  background: #ffffff;
  padding: 50px 40px;           /* Gives the text room to breathe inside the white card */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  max-width: 850px;             /* Prevents lines from stretching too wide on massive screens */
  margin: 0 auto;
  
  /* Keep your original scroll animation settings */
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.about.show {
  opacity: 1;
  transform: translateY(0);
}

/* Style the title specifically inside the about box */
.about h2 {
  text-align: center;           /* Keep the heading beautifully centered */
  margin-bottom: 35px;
  color: #0f172a;
}

/* Beautiful spacing and readability for paragraphs */
.about p {
  font-size: 16px;
  line-height: 1.75;            /* Gives perfect vertical spacing between lines of text */
  color: #475569;               /* Slate gray for a modern look that is easy on the eyes */
  margin-bottom: 22px;          /* Clean separation gap between paragraph breaks */
}

/* Remove the gap under the last paragraph so padding stays uniform */
.about p:last-child {
  margin-bottom: 0;
}

/* Accent color for highlighted terms */
.about strong {
  color: #1e3a8a;               /* Deep educational blue for key values and school name */
  font-weight: 600;
}
  
  /* SERVICES */
  /* SERVICES */
.services {
  text-align: center;
  padding: 20px 0;
  display: grid;
  /* Auto-fill drops cards down to new rows rather than stretching them all onto one line */
  grid-template-columns: repeat(auto-fill, minmax(280px, 350px)); 
  justify-content: center; /* Keeps the grid nicely centered when cards break onto subsequent rows */
  gap: 30px;
}
  .service-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    color: #fff;
    padding: 30px 20px;
    min-height: 250px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  .service-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
  }
  
  .service-card * {
    position: relative;
    z-index: 1;
  }
  
  .service-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
  }
  
  .service-card.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* CONTACT */
  .contact {
    background: #fff;
    padding: 40px;
    border-radius: 8px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.6s ease;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
  }
  
  .contact.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .contact form {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  
  .contact input,
  .contact textarea {
    padding: 14px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    font-size: 15px;
    outline: none;
    width: 100%;
  }
  
  .contact input:focus,
  .contact textarea:focus {
    border-color: #1e3a8a;
  }
  
  .contact .btn {
    background-color: #0f172a;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
  }
  
  .contact .btn:hover {
    background-color: #1e293b;
  }
  
  /* TEAM */
  .team {
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
    width: 100%;
  }
  
  .team.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .team-slider {
    position: relative;
    overflow: hidden;
    margin-top: 30px;
    padding: 10px 0;
  }
  
  .team-container {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .team-card {
    min-width: 260px;
    margin: 0 12px;
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  }
  
  .team-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 8px;
  }
  
  .team-card h3 {
    margin-top: 15px;
    font-size: 18px;
    color: #1e293b;
  }
  
  .team-card p {
    color: #64748b;
    font-size: 14px;
  }
  
  .prev,
  .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #0f172a;
    color: #fff;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 4px;
    z-index: 5;
  }
  
  .prev { left: 0; }
  .next { right: 0; }
  
  #winoxhub {
    color: dodgerblue;
    font-weight: 600;
  }
  
  /* FOOTER */
  footer {
    background: #0f172a;
    color: #fff;
    padding: 60px 5%;
    margin-top: 60px;
    width: 100%;
  }
  
  #footer-list {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
    max-width: 1300px;
    margin: 0 auto;
  }
  
  #footer-list > div {
    flex: 1 1 250px;
  }
  
  #footer-list h3.title {
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
    color: #ffffff;
  }
  
  #footer-list h3.title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #1e3a8a;
  }
  
  #footer-list p, #footer-list a {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 8px;
    display: inline-block;
  }
  
  #footer-list a:hover {
    color: #ffffff;
  }
  
  /* INFORMATION SECTION */
  .info-section {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.04);
    max-width: 1100px;
    margin: 0 auto;
  }
  
  .info-section h2 {
    color: #0f172a;
    margin-bottom: 40px;
  }
  
  .info-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
  
  .info-card {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 30px 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .info-card h3 {
    margin-bottom: 15px;
    font-size: 19px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 8px;
  }
  
  .info-card p {
    font-size: 15px;
  }
  
  .info-card ul {
    list-style: none;
    padding: 0;
  }
  
  .info-card ul li {
    margin-bottom: 10px;
    font-size: 14px;
    color: #cbd5e1;
  }
  
  .info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 25px rgba(15, 23, 42, 0.15);
  }
  
  /* TEAM PAGINATION */
  .team-pagination {
    text-align: center;
    margin-top: 30px;
  }
  
  .team-pagination .btn {
    display: inline-block;
    margin: 0 4px;
    padding: 8px 18px;
    background-color: #e2e8f0;
    color: #334155;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.2s ease;
  }
  
  .team-pagination .btn:hover {
    background-color: #cbd5e1;
  }
  
  .team-pagination .active {
    background-color: #1e3a8a;
    color: #fff;
    pointer-events: none;
  }
  
  /* ==========================================================================
     MEDIA QUERIES (NON-NAV CONTENT ONLY)
     ========================================================================== */
  @media (max-width: 768px) {
    body {
      padding-top: 70px; 
    }
  
    .hero h1 { font-size: 2.2rem !important; }
    .hero p { font-size: 18px !important; }
    .about-section-container, .services-section-container, .info-section-container, .team-section-container, .contact-section-container { padding: 50px 15px; }
    .info-section { padding: 30px 20px; }
    .team-container { overflow-scroll: touch; }
  }