@import url('https://fonts.cdnfonts.com/css/typo-style-demo');

:root { 
    --accent: #25803d;
    --bg: #0c0f1d; 
    --text: #ffffffc9;
    --card-bg: #04050a;
    --card-bg-opac: #04050ab7;
    --card-light: #ffffff29;
    --nav-bg: #1b1f3b;
    --transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  }

  .dark-mode {
    --accent: #ca5b24;
    --bg: #ffffff;
    --text: #0c0f1d;
    --card-bg: #f5f5f7;
    /* --card-bg-opac: rgba(4, 5, 10, 0.733); */
    --nav-bg: rgba(255, 255, 255, 0.7);
  }

/* p {
    color: #cbcada;
} */

h1,h2 {
    font-family: Typo style Demo, sans-serif;
    color: var(--accent);
}

#appears {
    display: flex;
    gap: 20px;
    animation: appears 9s infinite ease-in-out;
}

@keyframes appears {
    0% {
       display: none;
    }
    50% {
       display: flex;
       opacity: 0.4;
    }
    75% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

#appears .fa {
    color: var(--text);
}

#appears span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

#appears span b {
   font-size: 1.1rem;
   color: var(--text);
}

.hero-text h2 {
    font-size: 3rem;
    color: var(--text);
}

.programm {
    width: 80%;
    margin: 30px auto;
}

.programm .card_pro {
    display: flex;
    flex-wrap: wrap;
    /* grid-template-columns: repeat(4, 1fr); */
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.programm .card_pro .body_pro {
    position: relative;
    width: 200px;
    height: 350px;
    /* border: 2px solid var(--bg); */
    box-shadow: 0 0 10px #04050a3c;
    border-radius: 18px;
    flex: auto;
} 

.containt {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(transparent, var(--bg));
    border-radius: 18px;
    z-index: 100;
}

.containt h1 {
    color: var(--accent);
}

.containt a {
    color: #ffffff;
    font-weight: 600;
    background: #0c0f1d76;
    border-radius: 20px;
    padding: 5px;
}

.containt a:hover {
    color: var(--text);
}

.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0px;
    z-index: -1;
}

.background img {
    width: 100%;
    height: 100%;
    border-radius: 0px;
    object-fit: cover;
}

.uf_24 {
    position: relative;
    width: 100%;
    height: 100vh;
    background: #0c0f1d44;
    margin-top: 40px;
}

.uf_24 .background {
    border-radius: 0px;
}

.uf_24 .background img {
    border-radius: 0px;
}

.uf_24 .banniere {
    height: 100%;
    border-radius: 0px;
}

.uf_24 .containt {
    display: fex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    border-radius: 0px;
    background: #0000008b;
}

.uf_24 .containt h1 {
    width: 60%;
    margin: 40px auto;
    font-size: 3rem;
    margin-bottom: 20px;
}

.uf_24 .containt p {
    width: 60%;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .uf_24 .containt h1 {
        width: 80%;
    }
    .uf_24 .containt p {
        width: 80%;
    }
}

.p1 h2 {
    margin-bottom: 20px;
}

.focus_Gr {
    position: relative;
    padding: 100px 0 40px 0;
    overflow: hidden;
    background: #04050ab7;
    border-bottom: 1px solid #f1f1f10c;
}

.bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    filter: blur(5px);
    z-index: -1;
    transition: .5s;
    animation: scale 10s ease infinite;
}

@keyframes scale {
    0% {
      transform: scale(1);
    }
    50% {
      transform: scale(1.025);
    }
    100% {
      transform: scale(1); 
    }
}

.focus_Gr > div {
    width: 60%;
    margin: 0 auto;
}

.focus_Gr > div h2 {
    font-size: 2.5rem;
}

.focus_Gr > div p {
    color: #f5f5f7;
}

.focus_Gr > div .pan_Gr{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 40px;
}

.focus_Gr > div .pan_Gr .pan_one{
    position: relative;
    width: 450px;
    height: 300px;
    border: 2px solid var(--card-bg);
    overflow: hidden;
    border-radius: 10px;
}

.focus_Gr > div .pan_Gr .pan_one .background img{
    transition: all .7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.focus_Gr > div .pan_Gr .pan_one .background img:hover{
    transform: scale(1.1);
}

.focus_Gr > div .pan_Gr .pan_one .background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 2;
    transition:  0.7s ;
}

@media (max-width: 1000px) {
    .focus_Gr > div {
        width: 80%;
    }
    .p1 {
        width: 80%;
    }
}

@media (max-width: 740px) {
    .hero-text h1 {
        font-size: 2.1rem;
        margin-top: 50px;
    }

    #appears span b {
        font-size: 0.9rem;
    }

    .hero-text h2 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }
    #uf_26 {
        height: 140vh;
    }
}

.container {
    width: 100%;
    height: 100vh;
    padding: 60px;
    background: var(--card-bg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    
}

.title {
    text-align: center;
    color: var(--text);
    font-size: 2.5rem;
    margin-bottom: 40px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

/* --- Style Glassmorphism (Effet Glace) --- */
.glass-card {
    background: rgba(255, 255, 255, 0.1); /* Transparence */
    backdrop-filter: blur(15px); /* Flou d'arrière-plan */
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2); /* Bordure légère */
    border-radius: 25px;
    padding: 40px 20px;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: center;
    color: var(--text);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.user-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    border: 3px solid rgba(255, 255, 255, 0.5);
    overflow: hidden;
}

.user-avatar img {
    border-radius: 50%;
}

.glass-card h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.glass-card p {
    font-size: 1rem;
    opacity: 0.8;
    font-weight: 300;
    color: var(--accent);
}

/* --- Swiper Spécifique --- */
.swiper {
    width: 100%;
    padding: 50px 0;
    border-radius: 18px;
    z-index: -1;

}

.body_pro .swiper-wrapper {
    border-radius: 18px;
}

.body_pro .swiper-slide {
    border-radius: 18px;
    overflow: hidden;
}

.body_pro .swiper-slide img {
    border-radius: 18px;
}

.swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.8);
    width: 12px;
    height: 12px;
}

.swiper-pagination-bullet-active {
    background: #fff;
    width: 30px;
    border-radius: 5px;
}






