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

/* === VARIABLES === */
:root {
    --black: #2E2E2E; /* Texte doux, presque noir */
  --gray-light: #A0A0A0; /* Texte secondaire */
  
  --primary-color: #FFC107; /* Jaune doux et professionnel (boutons) */
  --primary-light: #FFF8E1; /* Jaune très pâle, arrière-plans légers */
  
  --secondary-color: #03A9F4; /* Bleu frais et moderne (accents, bordures) */
  --secondary-dark: #0288D1; /* Bleu foncé pour survols, profondeur */
  --secondary-light: #E1F5FE; /* Bleu très pâle, fond ou footer */
  
  --white: #FFFFFF;
  --black-light: #0000001a; /* Ombres légères */
  --gray: #F5F5F5; /* Fonds alternatifs */
  --transition-slow: 0.4s ease-in-out;

        --topHeader: #e3f2fd;           /* Bleu très clair */
    --blueColor: #0d47a1;           /* Bleu foncé dynamique */
    --yellowColor: #ffca28;         /* Jaune plus chaud */
    --goldColor: #ff9800;           /* Orange doré */
    --headingColor: #1a237e;        /* Bleu nuit */
    --textColor: #263238;           /* Gris foncé bleuté */
    --whiteColor: #ffffff;          /* Blanc pur */
       --parkinsans-font: "Parkinsans", sans-serif;
       --winky-font:"Winky Sans", sans-serif;
       --transition-fast: all .4s ease-in-out;
       --transition-slow: all .6s ease-in-out;
}

/* === RESET & BASE === */
* {
  box-sizing: border-box;
  margin : 0;
  padding: 0;
  list-style: none;
  text-decoration: none;
  font-family: "Outflit", sans-serif;
}


.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s ease-out;
}

.scroll-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.section_image{
       width: 50%;
       display: flex;
       justify-content: center;
       align-items: center;
       position: relative;
}
.section_image img{
       width: 100%;
      height: 100%;
      object-fit: cover;
}
section{
       width: 100%;
       display: flex;
       justify-content: space-between;
       align-items: center;
       z-index: 9;
       position: relative;
       padding: 5% 12%;
       gap: 50px;
}
.section_title h2{
       font-size: 3rem;
       font-family: var(--parkinsans-font) serif;
       font-weight: 400;
       text-transform: uppercase;
       color: var(--black);
       padding-bottom: 10px;
}
.section_title{
    display: flex;
    flex-direction: column;
    align-items: start;
    width: 50%;
    z-index: 9;
    position: relative;
    gap: 30px;
      
}
.section_title h6{
       font-size: 1rem;
       font-weight: 400;
       font-family: 'Parkinsans', sans-serif;  /* Police avec fallback plus sûre */
       text-transform: uppercase;
       color: var(--black);
       padding-bottom: 10px;
}
.section_title p{
       font-size: 1rem;
       color: var(--gray-light);
       padding-bottom: 10px;
       line-height: 1.5px;

}
.btn{
  background-color: var(--secondary-dark);
  color:white;
  height: 50px;
  width: 150px;
  outline: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 20px;
  cursor:pointer !important;
  border: .5px solid var(--primary-color);
}
.btn_wrap2{
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2px 0;
  overflow: hidden;
  font-weight: bold;
}
.btn_wrap2 span{
  font-size: 1rem;
  transition: transform 1s cubic-bezier(.23, 1, .32, 1);

}
.btn_wrap2 span:nth-child(2){
 position: absolute;
 bottom: 0;
 left: 0;
 transform: translateY(20px);
}
.btn_wrap2:hover span:nth-child(1){
  transform: translateY(-20px);
}
.btn_wrap2:hover span:nth-child(2){
  transform: translateY(0);
}

.btn2{
  background-color: var(--secondary-dark);
  color: white;
  height: 50px;
  width: 150px;
  outline: none;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  cursor:pointer !important;
  border: 1px solid var(--primary-color);
}
.btn:hover, .btn2:hover {
  background-color: var(--primary-color);
   border: 1px solid var(--secondary-dark); /* Bleu foncé */
  color: var(--black);
}
/* nav*/

.navbar {
  height: 90px;
  width: 98%;
  margin: 15px auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 3%;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 99;
  background: linear-gradient(135deg, #548cee 10%, #1b3962 90%);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  transition: height 0.3s ease, box-shadow 0.3s ease;
}
.logo h2{
  font-family: var(--winky-font);
  font-size: 1.8rem;
  color: var(--black);
  font-weight: 500;
  margin-left: -10px;
}
.logo h2 a {
  display: inline-block;
  font-weight: bold;
  background: linear-gradient(
    to right,
    var(--black) 0%,
    var(--black) 43%,
    var(--secondary-color) 43%,
    var(--secondary-color) 100%
  );
  background-size: 100% 100%;
  background-repeat: no-repeat;

  /* fallback pour navigateurs non compatibles */
  color: var(--black);

  /* Pour WebKit : rendu du texte en dégradé */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@supports (-webkit-background-clip: text) {
  .logo h2 a {
    color: transparent;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }
}

/* Optionnel : effet animé au hover */
.logo h2 a:hover {
  background-position: 100% 0;
}

.menu {
  display: flex;
  gap: 18px;
}

.menu li {
  padding: 10px 20px;
  border: 1px solid rgba(212, 175, 55, 0.4); /* bordure dorée légère */
  border-radius: 50px;
  background: var(--primary-color); /* léger fond transparent */
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.menu li:hover {
  transform: translateY(-3px); /* effet flottant élégant */
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4); /* lueur dorée */
  border-color: var(--accent-color); /* bordure plus vive au hover */
}

.menu li a {
  color: var(--text-color); /* blanc élégant */
  font-size: 1rem;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.menu li:hover a {
  color: var(--accent-color); /* texte doré au survol */
}



.number,
.btn,
.btn2 {
  width: auto + 1; /* ou min-width si tu veux une base */
  max-width: 140%;
}

.menu li:hover::after{
  opacity: 1;
}
.nav_right{
    display: flex;
    align-items: center;
    gap:20px;
}
.number{
  display: flex;
  align-items: center;
  border: 1px solid #0000001a;
  padding: 12px 18px 5px 5px;
  border-radius: 30px;
  background-color: var(--primary-light);
  gap:12px;
  position: relative;

}
.number_btn_wrap{
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2px 0;
  overflow: hidden;
}
.number_btn_wrap span{

  transition: transform 1s cubic-bezier(.23, 1, .32, 1);
}
.number i{
  background-color: var(--goldColor);
  padding: 9px 9px 9px 9px;
  font-size: 1.5rem;
  border-radius: 50%;
}
.number_btn_wrap span:nth-child(2){
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(20px);
}
.number_btn_wrap:hover span:nth-child(1){
  transform: translateY(-20px);
}
.number_btn_wrap:hover span:nth-child(2){
  transform: translateY(0);
}
.nav_right .search{
  font-size: 1.2rem;
}
.nav_right_icon{
  font-size: 1.1rem;
  background-color: var(--primary-light);
  padding: 12px;
  border-radius: 50%;
  display: none !important;
}
.icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}

.nav_right_icon.icon {
  background-color: var(--secondary-color);
  padding: 12px;
  border-radius: 50%;
}

@media screen and (max-width:1400px){
    .number{
        padding: 5px;
        display: none;
    }
}
@media screen and (max-width:1200px){
    .menu{
        width: 100%;
        position: absolute;
        height: 0;
        top: 100%;
        flex-direction: column;
        left: 0;
        background-color: var(--white);
        box-shadow: 2px 2px 10px rgba(0,0,0,.1);
        gap:0;
        transition: var(--transition-slow);
        opacity: 0;
        overflow: hidden;
    }
    .menu li{
        padding-left: 12%;
    }
    .menu li:after{
        display: none;
    }
    .nav_right_icon{
        display: block !important;
    }
    .nav_right .search{
        display: none !important;
    }
    .active{
        height: 320px;
        opacity: 1;
    }
}
@media screen and (max-width:900px){
    .navbar{
        padding: 0px 8%;
    }
}
@media screen and (max-width:768px){
    .nav_right .btn{
        display: none;
    }
}
@media screen and (max-width:500px){
    .nav_right_icon{
        display: none !important;
    }
    #toggle{
        display: block !important;
    }
}

/* hero section*/

.hero_container{
        height: 700px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
        align-items: center;
        background-image: url(Images/5.webp);
        background-repeat: no-repeat;
        background-position: center center;
        background-size: cover;
        border-radius: 50px;
        overflow: hidden;
        padding: 50px;
        
}
.hero_box{
    background-color: var(--gray);
    border-radius: 30px;
    display:flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    position: relative;
    padding: 50px;
    padding-bottom: 0;
    max-width: 650px;
}
.hero_box h1{
     font-size: 2.2rem;
    padding-bottom: 30px;
    font-weight: 600;
    font-family: var(--winky-font), sans-serif;
    color: var(--secondary-dark);
    line-height: 1.3;
    font-style: italic;
    text-align: center;
}
.hero_box p{
    font-size: 1rem;
    font-family: var(--parkinsans-font), 'Segoe UI', sans-serif; /* fallback élégant */
    line-height: 1.5rem;
    color: var(--black);
    padding-bottom: 20px;
}
.hero_btns{
    display: flex;
    gap:20px;
    flex-wrap: wrap;
}
.hero_box ul{
    width: 100%;
    display: flex;
    padding: 30px 0;
    align-items:center;
    gap: 30px ;
    flex-wrap: wrap;
}
.hero_box ul li{
     display: flex;
     align-items: center;
}
.hero_box ul li i{
    background-color: var(--goldColor);
    color: var(--white);
    border-radius: 50%;
    margin-right:4px;
    font-size:.9rem;
    padding: 3px 5px;
}
#growth-close_img1{
    position: absolute;
    width: 20%;
    right: -50px;
    top: 0;
}
#growth-close_img2{
    position: absolute;
    top: -75px;
    right: 0;
    width: 8%;
}
#growth-close_img3{
    position: absolute;
    right: -50px;
    width: 10%;
    top: 120px;
}
@media screen and (max-width:1400px){
    .hero{
        padding-top: 6%;
    }
    .hero_container{
        background-position: top right;
        background-size: 16% auto;
    }

}
@media screen and (max-width:1200px){
     .hero{
        padding-top: 8%;
    }
    .hero_container{
       padding-left: 0;
       align-items: flex-end;
    }
}
@media screen and (max-width:900px){
     .hero{
        padding-top: 5% 8%;
        padding-top: 10%;
    }
    .hero_container{
      padding-bottom: 0;
      align-items: flex-end;
      padding: 0;
      background-position: top right;
      background-size: 180% auto;
    }
    .hero_box{
        max-width: 100%;
        width: 100%;
    }
    #growth-close_img2{
        width: 5%;
        top: -20%;
        right: 20px;
    }
    #growth-close_img1{
        width: 10%;
        top: -20px;
        right: 0;
    }
    #growth-close_img3{
        top: 42px;
        right: 0;
    }
}
@media screen and (max-width:768px){
    .hero_box{
        gap: 0;
    }

    #growth-close_img2{
        width: 5%;
        top: -30%;
    }
    #growth-close_img1{
        width: 10%;
        top: -94px;
        right: 30;
    }
    #growth-close_img3{
        top: -43px;
        right: 25px;
    }
    .hero_box h1{
        font-size: 2rem;
    }
}
@media screen and (max-width:500px){
    .hero{
        padding-top: 18%;
        padding-bottom: 0;
    }

    #growth-close_img2{
        display: none;
    }
    #growth-close_img1{
       display: none;
    }
    #growth-close_img3{
        display: none;
    }
    .hero_box h1{
        font-size: 1.3rem;
        padding-bottom: 10px;
    }
    .hero_box p{
        font-size: .8rem;
        line-height: 1.2rem;
    }
    .hero_container{
        align-items: center;

    }
    .hero_box{
        transform: translateY(80px);
        height: 550px;
    }
    .hero_box ul{
        margin-bottom: 100px;
        font-size: .9rem;
    }
}



/* about us*/


.about-wave-top {
  position: relative;
  width: 100%;
  height: 100px;
  overflow: hidden;
  z-index: 3;
}

.about-wave-top svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.about {
  position: relative;
  z-index: 1;
  padding-top: 60px;
  background-color: var(--secondary-dark);
  transform: skewY(-6deg); /* Incline la section pour un effet dynamique */
  overflow: hidden;
  margin-top: -80px;
  animation: fadeInLeft 1.2s ease-out forwards;
  animation-delay: 0.3s;
  opacity: 0;
  
}

/* Overlay transparent avec effet rideau */
.about::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}


/* Contenu au-dessus de l'image et de l'overlay */
.about > * {
  position: relative;
  z-index: 3;
}

.about_image {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
  max-width: 700px; /* ou même 800px si tu veux plus large */
  width: 90%;
  margin: auto;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border: 3px solid transparent;
  background-image: linear-gradient(#000, #000), 
                    radial-gradient(circle at top left, var(--goldColor), transparent);
  background-origin: border-box;
  background-clip: content-box, border-box;
  animation: borderGlow 3s ease-in-out infinite;
  margin-left: -60px;
}

.about_image::before {
  content: "";
  position: absolute;
  top: 5%;
  left: 5%;
  width: 90%;
  height: 90%;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 25px;
  z-index: 1;
  pointer-events: none;
}

.about_image::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 10%;
  width: 80%;
  height: 20px;
  background: linear-gradient(to top, rgba(255,255,255,0.25), transparent);
  filter: blur(6px);
  z-index: 0;
}

.about_image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 30px;
  z-index: 2;
  position: relative;
  transition: transform 0.6s ease, filter 0.4s ease;
}

.about_image:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 40px 60px rgba(0, 0, 0, 0.25);
}

.about_image:hover img {
  transform: scale(1.05);
  filter: brightness(1.1);
}

@keyframes borderGlow {
  0% {
    box-shadow: 0 0 10px 0 var(--goldColor);
  }
  50% {
    box-shadow: 0 0 20px 6px var(--goldColor);
  }
  100% {
    box-shadow: 0 0 10px 0 var(--goldColor);
  }
}

.about_title {
  max-width: 600px;
  padding-left: 40px;
  color:white;
}

.about_title h6 {
  font-size: 14px;
  text-transform: uppercase;
  color: whitesmoke;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.about_title h2 {
  font-size: 36px;
  color:white;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.about .section_title h2{
   font-size: 36px;
  color:white;
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
  
}

.about_title h3 {
  font-size: 16px;
  line-height: 1.8;
  color: white;
  font-weight: 400;
  margin-bottom: 25px;
  text-align: justify;
}
.about_title ul{
    width: 100%;
    display: flex;
    padding: 30px 0;
    align-items:center;
    gap: 30px ;
    flex-wrap: wrap;
}
.about_title ul li{
     display: flex;
     align-items: center;
}
.about_title ul li i{
    background-color: var(--goldColor);
    color: var(--white);
    border-radius: 50%;
    margin-right:4px;
    font-size:.9rem;
    padding: 3px 5px;
}
@media screen and (max-width:1400px){
     .section_title h2{
        font-size: 2.5rem;
    }
}
@media screen and (max-width:1200px){
     .section_title h2{
        font-size: 2rem;
    }
}
@media screen and (max-width:900px){
     section{
        flex-direction: column;
    }
    .section_image{
       width: 100%;
    }
    .section_title{
        width: 100%;
    }

}
@media screen and (max-width:600px){
    .about {
         background-color: var(--secondary-dark);
    }
}
@media screen and (max-width: 768px) {
  .about_image {
    max-width: 100%;
    margin-left: 20px;
  }
}
@media screen and (max-width:500px){
    .about .section_title h2{
        font-size: 1rem;
    }
    .section_title h6{
        font-size: .9rem;
    }
    .section_title p{
        font-size: .9rem;
    }
    .about {
        background-color: var(--secondary-dark);
    }
}
@media screen and (max-width:400px){
     .section_title h2{
        font-size: 1rem;
    }
    .section_title h6{
        font-size: .9rem;
    }
    .section_title p{
        font-size: .9rem;
    }
    .about {
        background-color: var(--secondary-dark);
    }
}


/*services*/

.service{
    flex-direction: column;
     border-radius: 15%;
     background-size: 80%;
      z-index: 1;
      animation: fadeInZoom 1s ease-out forwards;
  animation-delay: 0.4s;
  opacity: 0;
}
.service_title{
    text-align: center;
    align-items: center;
    width: 100%;
   
}
.service_title h6{
  font-size: 14px;
  text-transform: uppercase;
  color: #00539C;
  letter-spacing: 1px;
  margin-bottom: 10px;
}
.service_title h2{
  font-size: 40px;
  color:var(--secondary-dark);
  margin-bottom: 20px;
  font-weight: 600;
  line-height: 1.3;
}
.service_wrap{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    place-content: center;
    gap:30px;
}
.service_item{
    width: 100%;
    height: 450px;
    display: flex;
    flex-direction: column;
    align-items: start;
    background: transparent;
    background-image: linear-gradient(142deg, var(--primary-color) 0%, var(--secondary-light) 70%);
    padding: 12px;
    border-radius: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service_image {
  width: 100%;
  overflow: hidden;
  position: relative;
  border-radius: 20px;
  box-shadow:
    0 0 15px rgba(0, 255, 255, 0.3),
    0 0 25px rgba(0, 255, 255, 0.2),
    0 0 40px rgba(0, 255, 255, 0.1);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}

.service_image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
  transition: transform 0.4s ease, filter 0.3s ease;
}

/* Glow on hover */
.service_image:hover {
  transform: scale(1.03);
  box-shadow:
    0 0 20px rgba(0, 255, 255, 0.6),
    0 0 35px rgba(0, 255, 255, 0.4),
    0 0 50px rgba(0, 255, 255, 0.3);
}

.service_image:hover img {
  filter: brightness(1.1) contrast(1.05);
  transform: scale(1.05);
}

.service_item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Optional: cool shape for images (wave-like bottom)
.service_image {
  -webkit-mask-image: url('https://www.svgbackgrounds.com/wp-content/uploads/2021/03/wave-masked-bottom.svg');
  -webkit-mask-size: cover;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: bottom;
  mask-image: url('https://www.svgbackgrounds.com/wp-content/uploads/2021/03/wave-masked-bottom.svg');
  mask-size: cover;
  mask-repeat: no-repeat;
  mask-position: bottom;
} */

.service_info{
    width: 100%;
    display: flex;
    flex-direction: column;
}
.service_info h4{
    width: 60%;
    font-size: 1.6rem;
    font-weight: 400;
    font-family: var(--parkinsans-font);
    padding-bottom: 30px;
}
.service_item .btn{
    width: 100%;
    background-color: var(--goldColor);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0px 10px;
}
.service_item .btn i{
    color: var(--black);
    background-color: var(--primary-color);
    font-size: .9rem;
    padding: 12px 14px;
    border-radius: 50%;

}
.service_item .btn i:hover{
  background-color: var(--whiteColor);
}


@media screen and (max-width:1400px){
     .service_wrap{
        grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:768px){
     .service_wrap{
        grid-template-columns: repeat(1,1fr);
    }
    .service_item{
        width: 80%;
        margin: auto;
    }
    .service_info h4{
        width: 100%;
    }
}
@media screen and (max-width:500px){
    .service_item{
        width: 100%;
        margin: 0;
    }
    .service .service_title h2{
      font-size: 1.6rem;
    }
}



/* Start Reviews Section  */
.reviews {
    background: url(Images/bg-review.png) no-repeat;
    height: 100%;
    background-position: center;
    background-size: cover;
    position: relative;
   
}

.reviews::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255 255 255 / .7);
}

.reviews::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255 255 255 / 0.7);
    z-index: 0;
}

.reviews .container {
    position: relative;
    max-width: 900px; /* largeur maximale pour le texte */
    margin: 0 auto;
    z-index: 1;
}

.reviews .container h2 {
    text-align: center;
    font-size: 2.8rem;
    padding-bottom: 30px;
    font-weight: 600;
    font-family: var(--winky-font), sans-serif;
    color: var(--headingColor);
    line-height: 1.3;
    font-style: italic;
    position: relative;
}

.reviews .review-content {
    position: relative;
    min-height: 350px; /* pour éviter saut de contenu */
}

.reviews .review-box {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 20px 30px;
    box-sizing: border-box;
    opacity: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease-in-out;
}

.reviews .review-box.active {
    opacity: 1;
    position: relative;
}

.reviews .review-box p {
    max-width: 1000px;
    margin: 0 auto 1rem auto;
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 400;
    color: #333333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reviews .review-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.reviews .profile-desc {
    margin-top: 0;
}

.reviews .profile-desc h5 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--secondary-dark);
    text-transform: capitalize;
    margin-bottom: 0.3rem;
    font-family: var(--winky-font), sans-serif;
}

.reviews .profile-desc span {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--goldColor);
    text-transform: capitalize;
    font-style: normal;
}


.reviews .review-box span {
    font-size: 1.6rem;
    font-weight: 300;
    color: var(--textColor);
    text-transform: capitalize;
}

.reviews .arrow {
     display: flex; /* Centrage de l'icône */
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  font-size: 1.5rem; /* plus grand */
 z-index: 3;
  cursor: pointer;

  background-color: white;
  color: #0D47A1; /* bleu foncé */
  border: 3px solid #0D47A1;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(13, 71, 161, 0.3);
}

.reviews .arrow.left {
    left: 1rem;
}

.reviews .arrow.right {
    right: 1rem;
}

.reviews .arrow:hover {
    color: var(--yellowColor);
    background-color: var(--secondary-light);
}



.reviews .dots {
    text-align: center;
    position: absolute;
    width: 100%;
    bottom: 2rem;
    left: -30px;
    display: block;
    height: 1.2rem;
    z-index: 2;
}

.reviews .dots .dot {
    display: inline-block;
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    border: .1rem solid #000;
    margin: 0 1rem;
    cursor: pointer;
    position: relative;
}

.reviews .dots .dot.active,
.reviews .dots .dot:hover {
    background-color: var(--yellowColor);
    border-color: var(--yellowColor);
}

.reviews .dots .dot.active {
    animation: review-scale .5s ease-in-out forwards;
}

.reviews .review-box.active img {
    animation: review-show .5s ease-in-out forwards;
}

.reviews .review-box.active .profile-desc {
    animation: review-content-in .4s ease-in-out forwards;
}

.reviews .review-box.active p {
    animation: review-content-in .5s ease-in-out forwards;
}

.reviews .review-box.inactive img {
    animation: review-hide .5s ease-in-out forwards;
}

.reviews .review-box.inactive .profile-desc {
    animation: review-content-out .4s ease-in-out forwards;
}

.reviews .review-box.inactive p {
    animation: review-content-out .5s ease-in-out forwards;
}

@keyframes review-scale {
    0% {
        box-shadow: 0px 0px 0px 0px #eee;
    }

    35% {
        box-shadow: 0px 0px 10px 5px #eee;
    }

    70% {
        box-shadow: 0px 0px 10px 5px var(--goldColor);
    }

    100% {
        box-shadow: 0px 0px 0px 0px var(--goldColor);
    }
}

@keyframes review-content-in {
    from {
        opacity: 0;
        transform: translateY(100%);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes review-content-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-100%);
    }
}

@keyframes review-show {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: translateY(1);
    }
}

@keyframes review-hide {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0);
    }
}

@media (max-width: 900px) {
  .reviews .review-box {
    padding: 15px 20px;
  }
  .reviews .review-box p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: justify;
    word-break: break-word;
    max-width: 120%;
    margin-top: 2.5rem;
    padding-top:4px;
  }
}
@media (max-width: 700px) {
  .reviews .review-box {
    padding: 15px 20px;
  }

  .reviews .review-box p {
    font-size: 1rem;
    line-height: 1.4;
    text-align: justify;
    word-break: break-word;
    max-width: 120%;
    margin-top: 2.5rem;
    padding-top:4px;
  }
  .container{
    margin-top: 00px;
  }

  .reviews .profile-desc h5 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
  }

  .reviews .profile-desc span {
    font-size: 1.1rem;
  }

  .reviews .review-box img {
    width: 80px;
    height: 80px;
    margin-bottom: 1.2rem;
  }

  .reviews .container h2 {
    font-size: 2rem;
    padding: 0 10px 25px 10px;
    line-height: 1.2;
  }

  .reviews .dots {
    left: 0;
    bottom: 1.5rem;
    margin-top: 20px;
  }

  .reviews .arrow {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
}

@media (max-width: 500px) {
  .reviews .review-box {
    padding: 15px 20px;
  }

  .reviews .review-box p {
    font-size: 0.9rem;
    line-height: 1.2;
    margin-top: 4rem;
    word-break: break-word;
    text-align: justify;
  }

  .reviews .profile-desc h5 {
    font-size: 1.2rem;
  }

  .reviews .profile-desc span {
    font-size: 1rem;
  }

  .reviews .review-box img {
    width: 70px;
    height: 70px;
    margin-bottom: 1rem;
  }

  .reviews .container h2 {
    font-size: 1.6rem;
    padding: 0 10px 20px 10px;
  }

  .reviews .dots {
    margin-top: 30px;
    left: 0;
  }

  .reviews .arrow {
    width: 35px;
    height: 35px;
    font-size: 1.1rem;
  }
}







/* testimonial section */
.testimonials_container{
    background-color: var(--primary-light);
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 50px;
}
.testimonials_title{
    width: 100%;
    align-items: center;
    text-align: center;
    padding-bottom: 100px;
}
.testimonials_swiper{
    width:100% !important;
    display: flex !important;
   justify-content: center !important;
   align-items: center !important;
   max-width: 900px; /* limite raisonnable */
    margin: auto;
     padding: 20px; /* optionnel pour respirer */
}
.testimonials_item {
    width: 100%;
    max-width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-sizing: border-box;
    overflow-wrap: break-word; /* force les longs mots à couper */
    word-break: break-word;
}
.swiper-wrapper{
   padding-left: 30px;
   display: flex;
}
.testimonials_item i{
   font-size: 2rem;
   padding-bottom: 20px;
}
.testimonials_item p{
   font-size: 1rem;
   font-family: var(--parkinsans-font);
   font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    word-wrap: break-word;
    overflow-wrap: break-word;
}
.testimonials_user {
   display: flex;
   align-items: center;
   gap: 20px;
   padding-top: 30px;
}
.testimonials_user img{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
.testimonials_user h4{
   font-size: 1rem;
   font-weight: 400;
   text-transform: uppercase;
   font-family: var(--parkinsans-font);
}
.testimonials_user h4 span{
    display: block;
    font-size: .8rem;
}
@media screen and (max-width:500px){
    .testimonials_container{
        padding: 30px;
    }
    .testimonials_title h2{
        font-size: 13px;

    }
    .testimonials_item {
        max-width: 470px; /* ou une autre largeur adaptée */
        margin: 0 auto; /* centre horizontalement */
    }
    .testimonials_title h6{
        font-size: 10px;
    }
    .swiper-wrapper{
        max-width: 400px;
        margin-left: -20px;
    }
   
}
@media screen and (max-width:700px){
    .testimonials_container{
        padding: 30px;
    }
    .testimonials_title h2{
        font-size: 17px;

    }
    .testimonials_title h6{
        font-size: 13px;
    }
    .swiper-wrapper{
        max-width: 500px;
        margin-left: -20px;
    }
}


/* contact section */

.contact{
   height: 750px;
    animation: fadeInRight 1.2s ease-out forwards;
        animation-delay: 0.2s;
        opacity: 0;
}
.contact_title{
    height: 100%;
    padding: 30px;
    border-radius: 30px;
    background-image: linear-gradient(142deg, var(--primary-color) 0%, var(--secondary-light) 60%);

}
.contact_form{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.contact_head{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.contact_box{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-bottom: 10px;
}
.contact_box input,
.contact_box select{
    width: 100%;
    height: 45px;
    border: none;
    padding-left: 12px;
    font-size: 1rem;
    outline: none;
}
.contact_box label{
    font-size: 1rem;
    padding-bottom: 8px;
    font-weight: 400;
}
.contact .btn{
    margin: 20px 0;
}
.ko{
    margin-top: -150px;
    padding-top: -100px;
}
.contact_image{
    height: 100%;
    gap:20px;
    flex-direction: column;
}
.contact_image img:nth-child(1){
    height:70%;
    border-radius: 20px;
}
.contact_element_image{
    padding: 20px;
    height: 30%;
    background-color: var(--primary-light);
    border-radius: 20px;
    position:relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}
.contact_text{
    display: flex;
}
.contact_text i{
    background-color: var(--goldColor);
    color:var(--white);
    border-radius: 180px;
    margin-right: 10px;
    margin-bottom:10px;
    padding: 4px;
}
.contact_text h4{
    font-size: 1.1rem;
    font-weight: 400;
    font-family: var(--parkinsans-font);
}
.contact_element_image img{
    position: absolute;
    top: 0;
    right:-30px;
    width:100px;
    height: 180px;
    object-fit: contain;

}.contact_title h2{
  font-size: 2.3rem;
  font-family: Georgia, 'Times New Roman', Times, serif;
}
.contact_element_image p{
    font-size: 1rem;
    font-weight: 400;
    font-family: var(--parkinsans-font);
    padding-left: 30px;
}
@media screen and (max-width:500px){
    .contact_head{
        grid-template-columns: repeat(1, 1fr);
    }
    .contact_element_image{
      margin-top: 8px;
      height: 200px;
    }
}

/* blog section */

.blog {
  padding: 6rem 5%;
  background: var(--background-secondary, #f7f8fa);
  color: var(--textColor, #333);
  font-family: 'Segoe UI', sans-serif;
  position: relative;
  overflow: hidden;
}

.blog .h2 {
  line-height: 1.3;
  margin-bottom: 3rem;
  text-align: center;
  font-weight: 700;
  font-size: 2rem;
  color: hsl(200, 70%, 40%); /* bleu doux */
  letter-spacing: 1px;
  position: relative;
}

.blog .h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  margin: 0.5rem auto 0;
  background: hsl(140, 50%, 60%); /* vert pastel pour accent */
  border-radius: 10px;
}

/* ----- ENTRÉE ANIMÉE ----- */
.blog-card-group {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-bottom: 3rem;
 animation: fadeSlideIn 0.8s ease both;
}

/* Animation entrée */
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ----- BLOG CARD ----- */
.blog-card {
  background: linear-gradient(145deg, #114b5f, #028090);
  padding: 14px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0, 150, 136, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
  display: grid;
  grid-template-columns: 3fr 4fr;
  gap: 22px;
  position: relative;
  overflow: hidden;

}

.blog-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.05);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.blog-card:hover::before {
  opacity: 1;
}

.blog-card:hover {
  transform: translateY(-7px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 150, 136, 0.45);
  background: linear-gradient(145deg, #0d3c4d, #016170);
}

/* ----- BANNIÈRE ----- */
.blog-card-banner {
  overflow: hidden;
  border-radius: 14px;
}

.blog-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .45s ease;
}

.blog-card:hover .blog-banner-img {
  transform: scale(1.08) rotate(1deg);
}

/* ----- CONTENU ----- */
.blog-content-wrapper {
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- BADGE BLOG-TOPIC --- */
.blog-topic {
  background: linear-gradient(90deg, #ebff66, #bacc33);
  color: #01201d;
  font-weight: 700;
  padding: 0.35rem 1.2rem;
  border-radius: 50px;
  margin-bottom: 1rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.blog-card:hover .blog-topic {
  transform: scale(1.07);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* --- TITRE --- */
.blog-card .h3 {
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  transition: color 0.3s ease;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}

.blog-card .h3:hover {
  color: #66ffcc;
  text-decoration: none;
}

/* --- TEXTE --- */
.blog-text {
  color: #e2f7f4;
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
  font-weight: 400;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

/* ----- PROFIL ----- */
.wrapper-flex {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-wrapper {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #66ffcc, #33cc99);
  padding: 3px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0,255,200,0.4);
  transition: transform 0.3s ease;
}

.profile-wrapper img { border-radius: 50%; }

.wrapper a.h4 {
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease;
}

.wrapper a.h4:hover { color: #66ffcc; }

.text-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #aee6de;
  font-size: 0.85rem;
}

.separator {
  background: #aaa;
  width: 3px; height: 3px;
  border-radius: 50%;
}

/* ----- BOUTON LOAD MORE ----- */
.load-more {
  margin: auto;
  background: linear-gradient(90deg, #33cc99, #66ffcc);
  color: #00332e;
  padding: 0.75rem 1.3rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  border-radius: 50px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.load-more:hover {
  transform: scale(1.07);
  box-shadow: 0 6px 18px rgba(0,255,200,0.4);
  background: linear-gradient(90deg, #66ffcc, #33cc99);
}

.load-more:active {
  transform: scale(0.97);
  box-shadow: 0 3px 8px rgba(0,255,200,0.3) inset;
}

/* ----- ASIDE ----- */
.aside {
  display: block;
  align-self: stretch;
  animation: fadeIn 0.8s ease forwards;
}

/* ----- ASIDE ----- */
aside.aside {
  flex: 1; /* prend moins de place */
  position: sticky; /* reste visible lors du scroll */
  top: 20px;
  height: fit-content; /* ajuste la hauteur */
  display: block;
  animation: fadeIn 0.8s ease forwards;
  transition: transform 0.5s ease; /* animation glissante */
}

/* Animation apparition aside */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Animation slide-in / hidden */
aside.aside.slide-in {
  transform: translateX(0);
}

aside.aside.hidden {
  transform: translateX(100%); /* décalé à droite initialement */
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.aside .h2 {
  color: var(--foreground-secondary, #00332e);
  margin-bottom: 2rem;
  text-align: center;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: 0.5px;
  position: relative;
}
.aside .h2::after {
  content: '';
  display: block;
  width: 50px;
  height: 3px;
  margin: 0.5rem auto 0;
  background: var(--accent, #33cc99);
  border-radius: 10px;
}

.aside .wrapper {
  background: var(--background-primary, #f0f8f7);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 20px hsla(0, 0%, 0%, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.aside .wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 25px hsla(0, 0%, 0%, 0.15);
}


/* ----- SUJETS ----- */
.topics { margin-bottom: 3rem; }

.topic-btn {
  display: flex;
  align-items: stretch;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 5px 15px hsla(0, 0%, 0%, 0.05);
}
.topic-btn:not(:last-child) { margin-bottom: 1rem; }
.topic-btn:hover {
  transform: translateX(5px);
  box-shadow: 0 10px 20px hsla(0, 0%, 0%, 0.1);
}
.topic-btn:nth-child(1) .icon-box { background: hsl(200, 90%, 60%); }
.topic-btn:nth-child(2) .icon-box { background: hsl(140, 65%, 50%); }
.topic-btn:nth-child(3) .icon-box { background: hsl(15, 85%, 60%); }

.topic-btn .icon-box {
  font-size: 22px;
  width: 70px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  transition: background 0.3s ease, color 0.3s ease;
}
.topic-btn ion-icon { --ionicon-stroke-width: 40px; }
.topic-btn p {
  padding: 15px;
  color: var(--foreground-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}
.topic-btn:hover p { color: var(--accent); }

/* ----- TAGS ----- */
.tags { margin-bottom: 3rem; }
.tags .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.tags .hashtag {
  padding: 6px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: white;
}
.tags .hashtag:nth-child(1) { background: hsl(220, 70%, 55%); }
.tags .hashtag:nth-child(2) { background: hsl(15, 80%, 55%); }
.tags .hashtag:nth-child(3) { background: hsl(140, 65%, 45%); }
.tags .hashtag:nth-child(4) { background: hsl(280, 60%, 55%); }

.tags .hashtag:hover {
  transform: scale(1.08);
  box-shadow: 0 4px 12px hsla(0,0%,0%,0.2);
}

/* ----- BLOG CARD RESPONSIVE ----- */
@media (max-width: 900px) {
  .blog-card {
    grid-template-columns: 1fr; /* Une seule colonne pour plus de lisibilité */
    gap: 15px;
  }

  .blog-card .blog-banner-img {
    height: 200px; /* Réduit la hauteur des images */
  }

  .blog-card .h3 {
    font-size: 1.15rem; /* Texte plus petit */
  }

  .blog-text {
    font-size: 0.9rem;
  }

  .wrapper a.h4 {
    font-size: 0.85rem;
  }

  .text-sm {
    font-size: 0.75rem;
  }

  .blog-topic {
    font-size: 0.75rem;
    padding: 0.3rem 1rem;
  }
}

@media (max-width: 720px) {
  .blog{
    margin-top: 450px;
  }
  .blog-card .blog-banner-img {
    height: 150px;
  }
 .blog .container {
    display: flex;
    flex-direction: column; /* Empile verticalement les éléments */
  }
    .blog-card-group {
    width: 100%; /* prend toute la largeur */
    
  }

  .blog-card .h3 {
    font-size: 0.95rem;
  }

  .blog-text {
    font-size: 0.8rem;
  }

  .wrapper a.h4 {
    font-size: 0.75rem;
  }

  .text-sm {
    font-size: 0.65rem;
  }

  .blog-topic {
    font-size: 0.65rem;
    padding: 0.2rem 0.8rem;
  }
  /* Aside compact et police réduite */
  aside {
    flex: 0 0 55%; /* prend moins de place que le blog-group */
    max-width: 48%;
    font-size: 0.75rem;
    margin-left: 325px;
  }

  /* Uniformiser les couleurs des blocs aside */
  aside .topics,
  aside .tags,
  aside .newsletter {
    background: hsl(178, 97%, 29%); /* couleur uniforme */
    border-radius: 12px;
    padding: 15px;
    color: #fff;
  }
  .topics{
    margin-top: -2400px;
    
  }
  .topic-btn{
    background-color: #f5f4f4;
  }

  aside h2.h2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  aside .topic-btn,
  aside .hashtag,
  aside .wrapper p {
    font-size: 0.75rem;
  }

  aside .topic-btn .icon-box ion-icon {
    font-size: 1rem; /* réduit les icônes */
  }

  aside .tags .hashtag {
    padding: 4px 8px;
    font-size: 0.7rem;
    margin: 2px;
  }

  aside .newsletter input[type="email"] {
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  aside .newsletter button.btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .newsletter .wrapper p{
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .newsletter .wrapper input{
    background-color: #00332e;
  }
}



@media (max-width: 500px) {
  .blog{
    margin-top: 450px;
  }
  .blog-card .blog-banner-img {
    height: 150px;
  }
 .blog .container {
    display: flex;
    flex-direction: column; /* Empile verticalement les éléments */
  }
    .blog-card-group {
    width: 100%; /* prend toute la largeur */
    margin-left: 15px;
  }

  .blog-card .h3 {
    font-size: 0.95rem;
  }

  .blog-text {
    font-size: 0.8rem;
  }

  .wrapper a.h4 {
    font-size: 0.75rem;
  }

  .text-sm {
    font-size: 0.65rem;
  }

  .blog-topic {
    font-size: 0.65rem;
    padding: 0.2rem 0.8rem;
  }
  /* Aside compact et police réduite */
  aside {
    flex: 0 0 55%; /* prend moins de place que le blog-group */
    max-width: 45%;
    font-size: 0.75rem;
    margin-left: 255px;
  }

  /* Uniformiser les couleurs des blocs aside */
  aside .topics,
  aside .tags,
  aside .newsletter {
    background: hsl(178, 97%, 29%); /* couleur uniforme */
    border-radius: 12px;
    padding: 15px;
    color: #fff;
  }
  .topics{
    margin-top: -2500px;
    
  }
  .topic-btn{
    background-color: #f5f4f4;
  }

  aside h2.h2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  aside .topic-btn,
  aside .hashtag,
  aside .wrapper p {
    font-size: 0.75rem;
  }

  aside .topic-btn .icon-box ion-icon {
    font-size: 1rem; /* réduit les icônes */
  }

  aside .tags .hashtag {
    padding: 4px 8px;
    font-size: 0.7rem;
    margin: 2px;
  }

  aside .newsletter input[type="email"] {
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  aside .newsletter button.btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .newsletter .wrapper p{
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .newsletter .wrapper input{
    background-color: #00332e;
  }
}
  
@media (max-width: 600px) {
  .blog{
    margin-top: 450px;
  }
  .blog-card .blog-banner-img {
    height: 150px;
  }
 .blog .container {
    display: flex;
    flex-direction: column; /* Empile verticalement les éléments */
  }
    .blog-card-group {
    width: 100%; /* prend toute la largeur */
   
  }

  .blog-card .h3 {
    font-size: 0.95rem;
  }

  .blog-text {
    font-size: 0.8rem;
  }

  .wrapper a.h4 {
    font-size: 0.75rem;
  }

  .text-sm {
    font-size: 0.65rem;
  }

  .blog-topic {
    font-size: 0.65rem;
    padding: 0.2rem 0.8rem;
  }
  /* Aside compact et police réduite */
  aside {
    flex: 0 0 55%; /* prend moins de place que le blog-group */
    max-width: 45%;
    font-size: 0.75rem;
    margin-left: 285px;
  }

  /* Uniformiser les couleurs des blocs aside */
  aside .topics,
  aside .tags,
  aside .newsletter {
    background: hsl(178, 97%, 29%); /* couleur uniforme */
    border-radius: 12px;
    padding: 15px;
    color: #fff;
  }
  .topics{
    margin-top: -2500px;
    
  }
  .topic-btn{
    background-color: #f5f4f4;
  }

  aside h2.h2 {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
  }

  aside .topic-btn,
  aside .hashtag,
  aside .wrapper p {
    font-size: 0.75rem;
  }

  aside .topic-btn .icon-box ion-icon {
    font-size: 1rem; /* réduit les icônes */
  }

  aside .tags .hashtag {
    padding: 4px 8px;
    font-size: 0.7rem;
    margin: 2px;
  }

  aside .newsletter input[type="email"] {
    font-size: 0.75rem;
    padding: 6px 8px;
  }

  aside .newsletter button.btn {
    font-size: 0.75rem;
    padding: 6px 12px;
  }
  .newsletter .wrapper p{
    color: #000;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  }
  .newsletter .wrapper input{
    background-color: #00332e;
  }
}

@media (min-width: 901px) {
  .container {
    display: flex;
    gap: 2rem;
  }

  .blog-card-group {
    flex: 3; /* Prend plus de place que l’aside */
  }

  .aside {
    flex: 1;
  }
}

/* Tablette portrait (≤720px) */
@media screen and (max-width: 720px) {
  .blog-card {
    width: 100%; /* une colonne pour plus de lisibilité */
  }

  .blog-card .h3 {
    font-size: 1.2rem;
  }

  .blog-text {
    font-size: 0.95rem;
  }
}

/* Tablette paysage / petit desktop (≤900px) */
@media screen and (max-width: 900px) {
  .blog-card {
    width: 48%; /* deux colonnes */
  }

  .blog-card .h3 {
    font-size: 1.25rem;
  }

  .blog-text {
    font-size: 0.98rem;
  }
}

/* Ajustement aside responsive */
@media screen and (max-width: 900px) {
  .aside {
    margin-top: 3rem;
  }
}

@media screen and (max-width: 720px) {
  .aside {
    width: 100%;
  }
}

/* ----- CONTACT ----- */
.contact { margin-bottom: 3rem; }
.contact p {
  color: var(--foreground-secondary);
  margin-bottom: 1rem;
  text-align: center;
}
.social-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}
.social-link .icon-box {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 22px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.social-link .discord { background: hsl(235, 86%, 65%); color: white; }
.social-link .twitter { background: hsl(203, 89%, 53%); color: white; }
.social-link .facebook { background: hsl(220, 46%, 48%); color: white; }

.social-link .icon-box:hover {
  transform: scale(1.15);
  box-shadow: 0 0 10px currentColor;
}

/* ----- NEWSLETTER ----- */
.newsletter {
  position: sticky;
  top: 3rem;
  margin-bottom: 98px;
}
.newsletter p {
  color: var(--foreground-secondary);
  margin-bottom: 1rem;
  text-align: center;
}
.newsletter input {
  border: none;
  background: var(--action-primary);
  display: block;
  width: 100%;
  padding: 0.7rem 1rem;
  font: inherit;
  color: var(--foreground-secondary);
  border-radius: 8px;
  margin-bottom: 1rem;
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.newsletter input:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--accent);
  background: var(--background-primary);
}
.newsletter input::placeholder { color: inherit; opacity: 0.7; }
.newsletter .btn-primary {
  display: block;
  margin: auto;
  padding: 0.7rem 1.2rem;
  font-weight: 700;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.newsletter .btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 15px hsla(0,0%,0%,0.15);
}

.hiddenss-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-slide-in {
  opacity: 1;
  transform: translateY(0);
}


@media (min-width: 1024px) {
  .main .container {
    display: grid;
    grid-template-columns: 5fr 2fr;
    gap: 60px;
  }
  .aside {
    display: block;
    align-self: stretch;
  }
  .topics, .tags, .contact, .newsletter {
    background: var(--background-primary, #0d1b5e);
    border-radius: 10px;
    padding: 40px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 5px rgba(0,0,0,0.05);
  }
  .topic-btn {
    display: flex;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    color: #000;
    margin-bottom: 1rem;
    transition: background 0.3s ease;
  }
  .topic-btn:hover { background: var(--accent, gold); }
  .topic-btn .icon-box {
    width: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--action-primary, cyan);
  }
}










.faqs{
    align-items: flex-start;
     animation: fadeInLeft 1.2s ease-out forwards;
  animation-delay: 0.5s;
  opacity: 0;
}
.faq_title h6{
  color: var(--secondary-dark);
}
.faq_box{
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 450px;
    background-color: var(--secondary-dark);
    padding: 30px;
    border-radius: 30px;
    margin-top: 50px;
}
.faq_box h4{
    font-size: 1.8rem;
    font-weight: 400;
    padding-bottom: 20px;
    line-height: 2.5rem;
}
.faq_number{
    display: flex;
    align-items: center;
    border: 1px solid #0000001a;
    background-color: var(--primary-light);
    border-radius: 30px ;
    gap:8px;
    padding: 5px 10px 5px 5px;
    position: relative;
}
.faq_number_btn_wrap{
    display: flex;
    flex-direction: column;
    position: relative;
    padding: 2px 0;
    overflow: hidden;
}
.faq_number_btn_wrap span{
    transition: transform 1s cubic-bezier(0.23, 1, 0.320, 1);

}
.faq_number i{
    font-size: 1.5rem;
    border-radius: 50%;
    background-color: var(--goldColor);
    padding: 9px 9px 9px 9px;
}
.faq_number_btn_wrap span:nth-child(2){
    position: absolute;
    bottom: 0;
    left: 0;
    transform: translateY(20px);
}
.faq_number_btn_wrap:hover span:nth-child(1){
    transform: translateY(-20px);
}
.faq_number_btn_wrap:hover span:nth-child(2){
    transform: translateY(0);
}
.faq_main{
    width: 50%;
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.faq_item{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: var(--primary-light);
    border-radius: 30px;
    padding: 20px;
    transition: height .3s ease-in-out;
}
.faq_question{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-light);
    padding-bottom: 8px;
    border-radius: 20px;
    cursor: pointer;
    gap:20px;
}
.faq_question span{
    font-size: 1.3rem;
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    font-weight: bold;
}
.faq_question i{
    background-color: var(--goldColor);
    padding: 1rem;
    border-radius: 50%;
    font-size: 1rem;
    transition: transform .3s ease-in-out;
}
.faq_question i:hover{
  background-color: var(--white);
}
.faq_answer{
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease-in-out;
}
.faq_item.active .faq_answer{
    max-height: 200px;
}
.faq_answer p{
    font-size: .9rem;
    line-height: 1.7rem;
    padding-top: 10px;
    border-top: 1px solid #d5d8dc;
    color: var(--black);
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;

}
@media screen and (max-width:1200px){
    .faq_question span{
       font-size: 1rem;
    }
}
@media screen and (max-width:900px){
    .faq_main{
        width: 100%;
    }
}
@media screen and (max-width:768px){
    .faq_box{
        max-width: 100%;
    }
}
@media screen and (max-width:500px){
    .faq_box h4{
        font-size: 1.1rem;
        line-height: 1.8rem;
    }
}

/* blog section */

footer{
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 5% 2%;
    padding-bottom: 0;
    background-color: var(--secondary-light);
    
}
.footer_top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
}

.footer_top_logo {
  flex-shrink: 0; /* pour éviter que le logo rétrécisse */
  
}

.footer_top_logo img {
  height: 150px; /* ajuste la taille du logo */
  width: auto;
  object-fit: contain;
  user-select: none;
}

.footer_top_left h2{
    font-size: 2rem;
    padding-bottom: 10px;
    font-family: var(--parkinsans-font);
    font-weight: 500;
}
.footer_top_right{
    display: flex;
    flex-direction: column;
    align-items: start;
}
.footer_top_right h6{
    font-size: 1rem;
    font-family: var(--parkinsans-font);
    font-weight: 500;
    padding-bottom: 10px;
}
.footer_input_box{
    display: flex;
    align-items: center;
    gap:10px;
}
.footer_input_box input{
    height: 50px;
    width: 250px;
    padding-left: 12px;
    border:none;
    font-size: .9rem;
    border-radius: 30px;
    outline:none;
}
.footer_wrap{
    width: 100%;
    display:grid;
    grid-template-columns: repeat(4, 1fr);
    place-items: center;
    place-content: center;
    padding: 50px 0;
    gap:30px;
    
}
.footer_col{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.footer_col h6{
    font-size: 1rem;
    font-family: var(--parkinsans-font);
    font-weight: 500;
    text-transform: uppercase;
}
.footer_col ul li{
    font-size: .9rem;
    padding: 12px 0;
    font-weight: 300;
}
.footer_col ul li a{
    font-family: var(--parkinsans-font);
    color: var(--black);
    transition: var(--transition-slow);
}
.footer_col ul li a:hover{
    color: var(--secondary-color);
}
.footer_col p{
    padding: 20px 0;
}
.contact_email{
    text-decoration: underline;
    font-size: 1rem;
    padding-top: 10px;
    color: var(--black);
}
.times{
    display: flex;
    gap:20px;
}
.footer_bottom{
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-top: 1px solid var(--black-light);
}
.footer_bottom p{
    font-size: 1rem;
    font-family: var(--parkinsans-font);
}
.footer_icon{
    display: flex;
    gap:20px;
}
.footer_icon i {
    font-size: 1rem;
    transition: var(--transition-slow);
    color: var(--black);
}
.footer_icon i:hover{
    color: var(--primary-color);
}
.footer_number{
  display: flex;
  align-items: center;
  border: 1px solid #0000001a;
  padding: 12px 18px 5px 5px;
  border-radius: 30px;
  gap:12px;
  position: relative;

}
.footer_number_btn_wrap{
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 2px 0;
  overflow: hidden;
}
.footer_number_btn_wrap span{

  transition: transform 1s cubic-bezier(.23, 1, .32, 1);
}
.footer_number i{
  background-color: var(--primary-color);
  padding: 9px 9px 9px 9px;
  font-size: 1.5rem;
  border-radius: 50%;
}
.footer_number_btn_wrap span:nth-child(2){
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(20px);
}
.footer_number_btn_wrap:hover span:nth-child(1){
  transform: translateY(-20px);
}
.footer_number_btn_wrap:hover span:nth-child(2){
  transform: translateY(0);
}
@media screen and (max-width:1200px){
    .footer_wrap{
       grid-template-columns: repeat(2,1fr);
    }
}
@media screen and (max-width:900px){
    .footer_top{
       flex-direction: column;
       gap:50px;
    }
    .footer_top_left{
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align:center;
    }
    .footer_top_right{
        width: 100%;
        display: flex;
        align-items: center;
    }
    .footer_input_box{
        width: 100%;
    }
    .footer_input_box input{
        width: 100%;
    }
}
@media screen and (max-width:500px){
    .footer_wrap{
       grid-template-columns: repeat(1S,1fr);
       max-width: 470px; /* ou une autre largeur adaptée */
       margin: 0 auto; /* centre horizontalement */
       
    }
    .footer_col{
        max-width: 470px; /* ou une autre largeur adaptée */
        margin: 0 auto; /* centre horizontalement */
    }

    .footer_bottom{
        flex-direction: column;
        gap: 20px;
    }
    .footer_top_left{
        width: 100%;
    }
    .footer_top_left h2{
        font-size: 1.5rem;
    }
    .footer_top_right{
        width: 100%;
    }
    .footer_input_box{
        flex-direction: column;
    }
    .footer_number_btn_wrap{
      font-size: .82rem;
    }
}