:root{
    --main--yellow: #ffd93d;
    --main--orange: #ff6f61;
    --blue--100: #005f4b;
}

body {
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
    background-color: #fffbea;
    color: #222;
    text-decoration: none;
    
  }
    a {
        color: inherit;
        text-decoration: none;
    }
  .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fffbea;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    overflow: hidden;
  }
  
  .logo {
    font-size: 1.5rem;
    font-weight: bold;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
  }
  
  .nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 500;
  }
  
  .btn-yellow {
    background-color: #ffd93d;
    padding: 0.6rem 1rem;
    border-radius: 20px;
    text-decoration: none;
    color: black;
    font-weight: bold;
  }
  
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4rem 2rem;
    background-color: #fffbea;
    overflow: hidden;
  }
  
  .hero-text {
    max-width: 40%;
    margin-bottom: 6rem;
  }
  
  .hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
  }
  
  .hero-text p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #444;
  }
  
  .btn-green {
    background-color: #005f4b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
  }
  
  .home-header_image-wrap {
    position: relative;
    width: fit-content;
  }
  
  .home-header_image {
    position: relative;
    z-index: 2;
    max-width: 550px;
  }
  
  .home-header_bg {
    position: absolute;
    top: 60%;
    left: 40%;
    width: 100%;
    transform: translate(-50%, -50%);
    z-index: 1;
  }
  




.home-header_colors {
    z-index: 10;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    grid-template-rows: auto;
    grid-template-columns: 1fr 1fr 1fr;
    grid-auto-columns: 1fr;
    display: grid;
    position: relative;
    margin-top: -80px;
}

.home-header_color {
    background-color: orange;
    width: 100%;
    height: .75rem
}

.home-header_color.blue {
    background-color: blue
}

.home-header_color.yellow {
    background-color: yellow
}



.section_home-about{
    background-color: #005f4b;
    z-index: 10;
    position: relative;
    margin-top: -9rem;
    overflow: hidden;
}

.top_container{
    text-align: center;
    margin: 0 20%;
    padding-top: 5rem;
}

.text-style-label-2{
    margin-top: 5rem;
    color: white;
    text-transform: uppercase;
    font-size: 1.2rem;
}
.top_container h2 {
    color: white;
    font-size: 4.5rem;
    margin-bottom: 1rem;
    font-weight: 500;
}
.heading-style-h2{
    font-size: 3rem;
    margin-bottom: 1rem;
    color: white;
}






.home-about_wrapper {
    height: 3em; /* height of one item */
    overflow: hidden;
    position: relative;
  }
  
  .home-about_list {
    position: relative;
    height: 3em;
  }
  
  .home-about_item {
    position: absolute;
    width: 100%;
    height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
  
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }
  
  .home-about_item.active {
    opacity: 1;
    transform: translateY(0);
    position: relative; /* on active, relative so it fills container */
  }


  .button {
    margin-top: 4rem;
    display: inline-block;
    background-color: #f8d665; /* bright yellow */
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    text-decoration: none;
    user-select: none;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.1s ease;
    box-shadow: 0 4px 8px rgba(230, 233, 54, 0.25);
  }
  
  .button:hover {
    background-color: #e6d444; /* slightly darker yellow */
    box-shadow: 0 6px 12px rgba(230, 212, 68, 0.5);
  }
  
  .button:active {
    background-color: #c5b737; /* darker mustard yellow */
    box-shadow: 0 2px 6px rgba(197, 183, 55, 0.6);
    transform: translateY(1px);
  }
  
  .button_text {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #2b2b2b; /* dark text for contrast on yellow */
    pointer-events: none;
  }
  



  .buttom_contaner {
    position: relative;
    width: 100%;        /* take full width */
    height: auto;
    display: flex;      /* use flexbox to center child */
    justify-content: center;
    align-items: center;
    margin-top: 5rem;
  }
  
  .home-about_graphic-wrap {
    position: relative;
    display: inline-block;
    text-align: center; /* centers inline content if any */
    margin-top: 5rem;
    width: 100%; /* full width for the wrapper */
  }
  
  .home-about_image {
    position: relative;
    z-index: 2;
    display: block;
    max-width: 80%;
    height: auto;
    margin: 0 auto; /* center if block */
  }
  
  .home-about_bg-graphic {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: 50% 50%;
    transition: transform 0.1s ease;
    max-width: 100%;
    height: auto;
    pointer-events: none;
  }
  



  .home-choice {
    background-color: #f04832; /* example dark green bg */
    color: white;
    padding: 4rem 1rem; /* vertical + horizontal padding */
    position: relative;
    z-index: 10;
    overflow: hidden;
  }
  
  .container-sm {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 1rem;
  }
  
  .home-choice__content {
    display: flex;
    gap: 3rem;           /* space between items */
    justify-content: center;
    flex-wrap: wrap;     /* wrap on smaller screens */
  }
  
  .home-choice__item {
    flex: 1 1 300px;     /* grow, shrink, basis */
    display: flex;
    flex-direction: column;
    /* align-items: center; */
    text-align: left;
  }
  
  .home-choice__icon {
    width: 150px;
    height: auto;
    margin-bottom: 1rem;
  }
  
  .home-choice__stat {
    font-weight: 500;
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
    color: #ffd93d;
    line-height: 55px;
  }
  
  .home-choice__description {
    font-size: 1rem;
    line-height: 1.5;
    max-width: 320px;
  }
  
  /* Responsive tweaks */
  @media (max-width: 600px) {
    .home-choice__content {
      flex-direction: column;
      gap: 2rem;
    }
    .home-choice__item {
      max-width: 100%;
      text-align: left;
      align-items: center;
    }
  }
  



  .section_campus {
    text-align: center;
    background-color: #fffbea; /* optional background */
    overflow: hidden;
  }
  
  .campus_image {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
  }
  


.section_home-goal{
    width: 95%;
    text-align: center;
    padding: 10px;
    font-weight: 300;
    overflow: hidden;
}

.heading-style-h3{
    padding: 2rem 10rem;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #005f4b; /* dark green */
}
.home-goal_image{
    width: 60%;
    position: relative;
    z-index: 10;
}
.home-goal_bg-graphic{
    width: 60%;
    margin-top: -100%;
}
  


.section_blog-list {
    background-color: rgb(21, 221, 194); /* light background */
    padding: 2rem 0;
    text-align: center;
    margin-top: -3rem;
    position: relative;
    z-index: 10;
    padding: 25px;
    overflow: hidden;
   
}

.blog-list_head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }
  
  /* Optional: heading style */
  .blog-list_head h2 {
    font-size: 3.8rem;
    margin: 0;
  }
  
  /* White button styling */
  .button.is-small.is-white {
    background-color: #fff;
    color: #333;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 50px;
    text-decoration: none;
    transition: background 0.2s ease;
  }
  
  .button.is-small.is-white:hover {
    background-color: #f0f0f0;
  }
  




  
.blog-list_list-new {
    display: flex;
    flex-direction: row;
}

.blog-list_block-new {
    text-decoration: none;
}
.blog-list_item-new{
    border-radius: 10px;
    margin: 0 1rem;
    padding: 0rem;
    flex: 1; /* allows items to grow equally */
    max-width: 100%; /* three items per row with spacing */
    box-sizing: border-box; /* includes padding in width calculation */
}

.blog-list_main-new{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: 100%; /* ensures all items are the same height */
    text-align: left;
    color: black;
    list-style: none;
    text-decoration: none;
}
.blog-list_main-new img{
    width: 50%;
    height: auto;
    margin-right: 5px;
}
.heading-style-h4{
    font-size: 1.5rem;
}







/* Hide hamburger by default */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 24px;
    height: 24px;
    cursor: pointer;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #222;
    border-radius: 2px;
  }
  
  /* Show hamburger on small screens and hide nav links */
  @media (max-width: 768px) {
    
  }
  



  /* MOBILE FIRST RESPONSIVE */

/* For devices smaller than 768px (tablets and below) */
@media (max-width: 768px) {

    /* Navbar */
    .navbar {
      padding: 1rem;
      overflow: visible;
    }
  
    .nav-links {
        display: none;
        flex-direction: column;
        gap: 1rem;
        background-color: var(--main--yellow);
        position: absolute;
        top: 50px; /* below navbar */
        right: 1rem;
        padding: 1rem 2rem;
        border-radius: 8px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
      }
    
      .nav-links.active {
        display: flex;
      }
    
      .hamburger {
        display: flex;
      }
  
    .nav-links a {
      font-size: 0.9rem;
    }
  
    /* Hero Section */
    .hero {
      flex-direction: column;
      padding: 2rem 1rem;
      text-align: center;
    }
  
    .hero-text {
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .hero-text h1 {
      font-size: 2.5rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    /* Buttons */
    .btn-green, .btn-yellow, .button {
      padding: 0.8rem 1.5rem;
      font-size: 0.9rem;
    }
  
    /* Home header images */
    .home-header_image-wrap {
      max-width: 80vw;
      margin: 6rem auto;
    }
  
    .home-header_image {
      max-width: 110%;
      margin-top: -5rem;
    }

   
  
    .home-header_bg {
      top: 50%;
      left: 50%;
      width: 110%;
    }
  
    /* Home header colors grid */
    .home-header_colors {
      grid-template-columns: 1fr 1fr;
      margin-top: -50px;
    }
  
    /* About section */
    .top_container {
      margin: 0 10%;
    }
  
    .text-style-label-2 {
      margin: 2rem 0;
      font-size: 1rem;
    }
  
    .top_container h2 {
      font-size: 2rem;
    }
  
    .heading-style-h2 {
      font-size: 2rem;
    }
  
    /* About list height */
    .home-about_wrapper {
      height: 2.5em;
    }
  
    .home-about_item {
      height: 2.5em;
      font-size: 1.2rem;
    }
  
    /* Bottom container and images */
    .buttom_contaner {
      margin-top: 3rem;
      padding: 0 1rem;
    }
  
    .home-about_image {
      max-width: 90%;
    }
  
    .home-about_bg-graphic {
      max-width: 80%;
      left: 10%;
      top: -10%;

      
    }



    .section_blog-list {
        background-color: rgb(21, 221, 194); /* light background */
        padding: 2rem 0;
        text-align: center;
        margin-top: -3rem;
        position: relative;
        z-index: 10;
        padding: 25px;
        overflow: hidden;
       
    }
    .blog-list_main-new{
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%; /* ensures all items are the same height */
        text-align: left;
        color: black;
        list-style: none;
        text-decoration: none;
    }
    .blog-list_main-new img{
        width: 100%;
        height: auto;
        margin-right: 5px;
    }
  }
  
  /* For very small devices (phones smaller than 400px) */
  @media (max-width: 400px) {
    
    .top_container {
      margin: 0 5%;
    }
  
    .top_container h2 {
      font-size: 1.5rem;
    }
  
    .heading-style-h2 {
      font-size: 1.5rem;
    }
  
    .home-about_item {
      font-size: 1rem;
      height: 2em;
    }
  
    .btn-green, .btn-yellow, .button {
      padding: 0.6rem 1rem;
      font-size: 0.85rem;
    }
    .button{
        margin-top: 1rem;
    }
    .hero-text h1 {
      font-size: 2rem;
    }
  }
  














/* Footer */
.footer {
    background-color: #1c1c1c;
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    overflow: hidden;
  }
  
  .footer-content {
    display: flex;
    align-items: center;
    gap: 30px;
  }
  
  /* Logo */
  .footer-title {
    font-size: 2.5rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  /* Social icons */
  .social-icons {
    display: flex;
    gap: 20px;
  }
  
  .icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: transform 0.2s;
  }
  
  .icon:hover {
    transform: scale(1.1);
  }
  
  .icon.facebook {
    background-color: #fef08a;
    color: #000;
  }
  
  .icon.instagram {
    background-color: #a7f3d0;
    color: #000;
  }
  
  .icon.linkedin {
    background-color: #fb923c;
    color: #fff;
  }
  
  .icon.x {
    background-color: #047857;
    color: #fff;
  }
  .icon.phone {
    background-color: #38bdf8; /* bleu clair */
    color: #fff;
  }
  
  /* Base footer styles you provided here... */

/* Responsive for smaller screens */
@media (max-width: 600px) {
    .footer-content {
      flex-direction: column;
      align-items: center;
      gap: 15px;
    }
  
    .footer-title {
      font-size: 2rem; /* Slightly smaller on mobile */
      justify-content: center; /* center horizontally */
    }
  
    .social-icons {
      justify-content: center;
      gap: 15px;
    }
  }
  
  








  /* Général : mobiles */
@media (max-width: 768px) {

 
    .hero-text {
      max-width: 100%;
      margin-bottom: 2rem;
    }
  
    .hero-text h1 {
      font-size: 2.2rem;
    }
  
    .hero-text p {
      font-size: 1rem;
    }
  
    .home-header_image {
      max-width: 100%;
    }
  
    .top_container {
      margin: 0 5%;
    }
  
    .top_container h2 {
      font-size: 2.5rem;
    }
  
    .heading-style-h2 {
      font-size: 2rem;
    }
  
    .heading-style-h3 {
      padding: 1rem;
      font-size: 1.5rem;
    }
  
    .home-choice__content {
      flex-direction: column;
      align-items: center;
      gap: 2rem;
    }
  
    .home-choice__stat {
      font-size: 1.8rem;
    }
  
    .home-goal_image,
    .home-goal_bg-graphic {
      width: 90%;
    
    }
    .home-goal_bg-graphic {
        margin-top: -10rem;
    }
  
    .blog-list_list-new {
      flex-direction: column;
      gap: 1rem;
    }
  
    .blog-list_head h2 {
      font-size: 2rem;
    }
  
    .button {
      padding: 10px 20px;
      font-size: 0.9rem;
    }
  
    .button_text {
      font-size: 0.9rem;
    }
  
    .home-about_image {
      max-width: 100%;
    }
  }
  





