@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,400;1,700&family=Source+Sans+Pro:ital,wght@0,400;0,600;0,700;1,400&display=swap');

*, ::before, ::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-decoration: none;

}
html {
    scroll-behavior: smooth;
}
body {
    font-family: 'Source Sans Pro', sans-serif;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background: #1E9695;
    border-radius: 4px;
}
a {
    font-family: 'Montserrat';
}
.container {
    width: 1250px;
    margin: 0 auto;
}
header {
    width: 100%;
    height: 100vh;
    background: linear-gradient(150deg, #fffffc80,#6dcaca88,#53cfcf56);
}
.top {
    background-color: #fff;
    box-shadow: 0 0 16px #c9c9c9;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    flex-wrap: wrap;
}
nav .logo {
    width: 160px;
}
nav .logo img {
    width: 100%;
}
.nav {
    display: flex;
    gap: 15px;
}
.nav a {
    position: relative;
    padding: 10px;
    padding-top: 20px;
    font-size: 20px;
    font-weight: 600;
    color: #A8A8AA;
    transition: color 0.2s ease-in-out;
}

.nav a::before {
    content: '';
    display: block;
    position: absolute;
    width: 0%;
    height: 3px;
    font-weight: 400;
    background-color: #faaf40;
    bottom: 0;
    transition: width 0.2s ease-in-out;
}
.nav a:hover, nav .active {
    color: #008c8d;
}
.nav a:hover::before, nav .active::before {
    width: 100%;
}

/* header left  */
header .bottom {
    display: flex;
    min-height: 100vh;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px;
}
.bottom .left {
    flex: 2;
}
.bottom .right {
    flex: 3;
}
.bottom .right img {
    width: 80%;
}
.bottom .left p {
    font-size: 40px;
    font-weight: 700;
    padding: 0 20px;
}
.bottom .left p span {
    color: #1E9695;
}
.scroll-icon {
    width: 10px;
    height: 10px;
    margin: -150px auto;
}
.scroll-icon .arrow{
    bottom: 60px;
    position: absolute;
}
.scroll-icon .arrow span {
    display: block;
    width: 25px;
    height: 25px;
    border-bottom: 5px solid #008c8d;
    border-right: 5px solid #008c8d;
    transform: rotate(45deg);
    margin: -10px;
    animation: scroll 2s 3;
}
.scroll-icon span:nth-child(2){
    animation-delay: -.2s;
}
.scroll-icon span:nth-child(3){
    animation-delay: -.4s;
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: rotate(45deg) translate(-20px, -20px);
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: rotate(45deg) translate(20px, 20px);
    }
    
}


/* formation */
main .formation {
    min-height: 100vh;
    overflow: hidden;    
}
.title-section{
    margin: 0 auto;
    width: 280px;
    text-align: center;
    padding-top: 50px;
}
main .formation .title-section h2{
    font-size: 40px;
    color: #444;
}
main .formation .title-section p{
    color: #1E9695;
    font-weight: 600;
    font-size: 25px;
}
.formation .formation-galery {
    display: flex;
    flex-direction: row;
    justify-content: center;
}
.formation .hexa-gallery {
    display: flex;
    flex-direction: row;
}
.hexa-gallery:nth-child(1) {
    margin-top: 170px;
}
.hexa-gallery:nth-child(2) {
    margin-left: -30px;
}.hexa-gallery:nth-child(3) {
    margin-bottom: 170px;
    margin-left: -30px;
}

.hexa-gallery .hexagon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}
 .hex {
    background-repeat: no-repeat;
    background-size: 100%;    
    width: 200px;
    height: 180px;
    display: flex;
    color: #fff;
    clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    -webkit-clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
    justify-content: center;
    align-items: center;
    font-size: 25px;
    text-align: center;
    font-weight: 600;    
    transition: background-image 0.3s ease-out;    
}
.hexa-gallery .hexagon .hex-link:hover {
    background-image: url(images/10.png) !important;
}
.hexa-gallery .hexagon:nth-child(2) {
    margin-left: -30px;
    margin-right: -30px;
}
.hexa-gallery .hexagon:nth-child(3) {
}
.formation .hexahidden {
    display: none;
}
.formation .hexahidden img {
    width: 100%;
}


.hexagon .hex a {
    color: #fff !important;
    padding: 40px 0;
}


/* promo iinaia */

.promo-iinaia {
    padding-top: 50px;
}
.promo-iinaia .img-section {
    width: 400px;
    height: 100px;
    margin: 0 auto;
}

.promo-iinaia img {
    width: 100%;
}
.p-list {
    margin-top: 20px;
}
.p-list ul {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    width: 100%;
}
.p-list li {
    max-width: 300px;
    margin-top: 20px;
}
.p-list li p {
    padding: 20px;
    padding-top: 10px;
    text-align: center;
    font-size: 18px;
    color: #444;
    line-height: 1.4;
}


/* avis section */


.avis-box{
    min-height: 90vh;
    background-color: #F9F9F9;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
}
.avis {
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 0 20px #ccc;
    margin: 100px;
    padding: 0 20px;
    max-width: 70%;
}
.avis-box h2 {
    font-size: 40px;
    color: #444;
    text-align: center;
    padding: 10px;
    padding-bottom: 0;
    margin-top: 40px;
    margin-bottom: 20px;
}
.avis-box .avis-content {
    display: flex;
    padding: 0;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}
.avis .a-item {
    width: 300px;
    height: auto;
    background-color: #f1f1f1;
    border-radius: 5px;
    box-shadow: 0 0 12px #d9d9d9;
    cursor: default;
    margin-top: 20px;
    margin-bottom: 30px;
}
.avis .a-user {
    display: flex;
    padding: 10px;
    position: relative;    
}
.avis .a-user::before {
    content: url("images/quote-left.svg");
    position: absolute;
    right: 0;
    top: -30px;
}
.avis .a-item img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
}
.a-item .a-user p {
    font-size: 22px;
    font-weight: 600;
    margin-left: 10px;
}
.a-item .a-user span {
    display: block;
    color: #008c8d;
    font-size: 18px;
}
.a-item .p-avis {
    margin-top: 10px;
    padding: 25px;
    padding-top: 0;
    line-height: 1.4;
    font-size: 18px;
    text-align: justify;
}

/* travaillion ensemble */

.motivation {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-image: url(images/25.png);
    background-size: cover;
}
.motivation h3 {
    color: #bbb9b9;
    font-size: 60px;
    text-align: center;
    padding-top: 50px;
    margin-bottom: 100px;
}
.motivation .m-midel {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
}
.m-midel ul p {
    font-weight: 700;
    font-size: 35px;
    line-height: 1.5;
}
.m-midel .contact-us {
    background-color: #ffffffc8;
    position: relative;
    padding: 20px;
    padding-left: 90px;
    border-radius: 10px;
    overflow: hidden;
    border-left: 3px solid #1E9695;
}
.m-midel .contact-us::before {
    content: url("images/ampoule.svg");
    position: absolute;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f1f1f1;
    width: 64px;
}
.m-midel ul li {
    margin-bottom: 10px;
}
.m-midel .contact-us p {
    font-weight: 600;
    font-size: 22px;
    
}
.m-midel .contact-us a {
    font-weight: 600;
    font-size: 22px;
    border: solid 2px #1E9695;
    padding: 10px 20px;
    border-radius: 50px;
    position: absolute;
    right: 10px;
    bottom: 10px;
    color: #1E9695;
}
.m-midel .contact-us a:hover {
    background-color: #1e969625;
}
.img-reu {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 60%;
    min-height: 120px;
}
.img-reu img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* footer */
footer {
    background-color: #5D6078;
    color: #fff;
    width: 100%;
    padding: 5px 20px;
    overflow: hidden;
}
.footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
    text-align: center;
}
.footer .f-all h3{
    font-size: 25px;
    margin-top: 20px;
}
.footer .f-all ul {
    margin-top: 20px;
}
.footer .f-all a {
    color: #fff;
}
.footer .f-1 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}
.f-1 img {
    width: 250px;
}
.f-1 button {
    width: 260px;
    font-size: 16px;
    padding: 10px 20px;
    border-radius: 50px;
    outline: none;
    border: solid 2px #fff;
    color: #fff;
    background: none;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.2s ease-in-out;
}
.f-1 button:hover {
    background-color: #ffffff5e;
}

.footer .f-2 {
    text-align: left;
    margin-left: 10px;
    font-weight: 600;
}
.f-2 .c-link p {
    font-size: 18px;
    padding-right: 10px;
    
}
.f-2 .c-link .c-num {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
.f-2 .c-num div {
    display: flex;
    justify-content: left;
    gap: 5px;

}
.f-2 .c-num div p{
    font-size: 16px;
    margin-top: 15px;
}
.f-2 ul li {
    line-height: 1.5;
    font-size: 18px;
    padding-right: 10px;
}
.f-2 .c-num p{
    font-size: 16px;
}

.footer .f-3 ul {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
}
.footer .f-3 img {
    width: 45px;
}
.footer .f-4 {
    text-align: left;
    margin-left: 20px;
    font-weight: 600;
}

footer .low {
    display: flex;
    justify-content: center;
    padding: 15px;
    font-size: 18px;
    margin-top: 50px;
}

.modal-container {
    visibility: hidden;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100vh;
    transition: visibility 0.4s;
}
.modal-container.active {
    visibility: visible;
}
.overlay {
    opacity: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: #333333d3;
    transition: opacity 0.4s 0.2s ease-out;
}
.modal-container.active .overlay {
    opacity: 1;
    transition: opacity 0.4s ease-out;
}
.modal {
    opacity: 0;
    width: 95%;
    min-width: 300px;
    max-width: 500px;
    padding: 10px;
    background-color: #fff;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, calc(-50% - 50px));
    transition: opacity 0.4s ease-out,
    transform 0.4s ease-out;
}
.modal-container.active .modal {
    opacity: 1;
    transform: translate(-50%, -50%);
    transition: opacity 0.4s 0.2s ease-out,
    transform 0.4s 0.2s ease-out;
}
.close-modal {
    padding: 5px 6px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    background: #ff365e;
    color: #fff;
}
.close-modal:hover {
    background: #fa0f3e;
}
.modal img {
    width: 100%;
}
.modal form {
    font-family: 'Montserrat', sans-serif;
    text-align: center;
}
.modal form h3 {
    padding: 10px;
    font-size: 25px;
    text-align: center;
}
.modal form p {
    padding: 20px 10px;
    font-weight: 600;
    font-size: 18px;
    text-align: left;
}
.modal form input[type="text"] {
    background-color: #d9d9d9;
    padding: 10px;
    font-size: 18px;
    border: none;
    text-align: center;
    width: 69%;
}
.modal form input[type="submit"] {
    background-color: #1E9695;
    color: #fff;
    padding: 10px;
    border: none;
    font-weight: 600px;
    font-size: 18px;
    margin-left: -5px;
}


/* contact */
.contact-body {
    width: 100%;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
}
.contact-box {
    width: 950px;
    height: 650px;
    background-color: #f1f1f1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    color: #444;
}
.contact-box .c-left {
    display: flex;
    flex: 1;
    min-width: 300px;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.c-left .p1 {
    font-size: 40px;
    margin-left: 100px;
}
.c-left .p2 {
    font-size: 25px;
    margin-left: 100px;
}

.c-info .c-link {
    margin-left: 100px;
}
.c-info .c-link p {
    font-size: 18px;
    margin: 15px 0 5px;
}
.c-info .c-link .c-num {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: row;
    justify-content: left;
    align-items: center;
}
.c-info .c-link .c-num div {
    display: flex;
    justify-content: left;
    gap: 5px;
    margin-top: -20px;
}
.c-info .c-num ul {
    border-right: solid 4px #1E9695;
    padding-right: 20px;
}
.c-num li {
    font-size: 18px;
    line-height: 1.4;
}
.c-num p {
    font-size: 16px;
}
.c-num img {
    margin-top: 15px;
}
.c-social ul {
    display: flex;
    gap: 5px;
    margin-left: 93px;
    margin-top: 10px;
}
.c-social svg {
    color: #1E9695;
}
.contact-box .c-right {
    display: flex;
    flex: 1;
    background-image: url(images/contact.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}
.contact-box .c-right form {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 20px;
    gap: 15px;
    width: 100%;
    min-width: 400px;
    justify-content: center;
}
.c-right form input {
    border: solid 2px #fff;
    height: 40px;
    font-size: 18px;
    padding-left: 5px;
}
input:focus {
    outline: 2px solid #1E9695;
}
.c-right div input {
    max-width: 180px;
}
.c-right textarea {
    padding: 10px;
    font-size: 18px;
    font-family: 'Montserrat';
    border: #fff;
    resize: none;
    font-weight: 500;
}
.c-right textarea:focus {
    outline: 2px solid #1E9695;
}
.c-right input[type="submit"] {
    text-align: center;
    right: 0;
    bottom: 0;
    border: solid 2px #1E9695;
    width: 150px;
    padding: 5px 20px;
    font-size: 18px;
    font-weight: 700;
    color: #1E9695;
    background-color: #fff;
    border-radius: 50px;
}


/* medecine */
.medecine-body {
    min-height: 100vh;
    width: 100%;
    background-color: #f1f1f1;
}
.medecine-body .p-titel {
    text-align: center;
    font-size: 30px;
    font-weight: 600;
    color: #444;
    padding-top: 50px;
    
}
.medecine-body h2 {
    text-align: center;   
    font-size: 40px;
    color: #1E9695;
    padding-bottom: 20px;
}
.medecine-body .fne-box {
    max-width: 800px;
    font-size: 22px;
    text-align: center;
    margin-top: 50px;
}
.medecine-body .fne-box span {
    color: #faaf40;
}
.medecine-body .fne-box a {
    margin-top: 20px;
    display: block;
    font-size: 20px;
    color: #fff;
    width: 200px;
    background-color: #008c8d;
    padding: 10px 12px;
    border-radius: 5px;
    margin-left: 50%;
    transform: translateX(-50%);
    transition: background-color 0.2s ease-in;
}
.medecine-body .fne-box a:hover {    
    background-color: #008d8dac;
}
.medecine-body .galery {
    display: grid;
    grid-template-columns: repeat(auto-fill, 280px);
    grid-gap: 10px;
    row-gap: 20px;
    padding: 50px;
    justify-content: center;
}
.medecine-body .filter-box {    
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 0 50px;
    justify-content: left;
}
.filter-box h2 {
    margin-top: 10px;
    font-size: 20px;
    font-weight: 500;
    color: #1e293b;
}


.select {
    position: relative;
}

.select__label {
    border: 1px solid #1e293b;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 4px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: 0.3s background-color ease-in-out;
    color: #1e293b;
    font-family: 'Arial';
    font-size: 14px;
}

.select__label:hover {
    background-color: #f1f5f9;
}

.select__label svg {
    stroke: #1e293b;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    transition: 0.3s transform ease-in-out;
}

.select.active .select__label svg {
    transform: rotate(180deg);
}

.select__content {
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    border-radius: 5px;
    position: absolute;
    top: 40px;
    left: 0;
    opacity: 0;
    background-color: #fff;
    height: 1px;
    width: 1px;
    overflow: hidden;
    transition: 0.3s opacity ease-in-out;
    padding: 0;
}

.select.active .select__content {
    opacity: 1;
    padding: 10px 20px;
    width: 230px;
    height: auto;
}
.select.active .select__content ul {
    margin: 0;
    padding: 0;
}

.select__content__field {
    margin-bottom: 10px;margin-top: 10px;
    display: block;
    color: #1e293b;
    font-family: 'Arial';
    font-size: 14px;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
}


.select__content__field:hover,
.select__content__field.active {
    background-color: #3741512f;
}





.medecine-body .galery .card {
    max-width: 280px;
    border-radius: 0 0 20px 20px;
    background-color: #fff;
}
.medecine-body .galery .card.hide {
    display: none;
}
.galery .card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}
.card .formation-star {
    display: none
}
.card .formation-star img {
    height: auto;
}

.galery .card .card-info {
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.card .card-info .formation-name {
    font-size: 18px;
    font-weight: 700;
}
.medecine-body .galery .f-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 5px;
}
.f-info p span {
    font-weight: 600;
    color: #828283;
    display: inline;
    margin-left: 5px;
}
.f-info p:first-child{
    color: rgb(225, 33, 33);
    display: inline;
}
.card .card-info .formation-star {
    text-align: right;
}
.galery .card span {
    text-align: center;
    margin: 15px;
    
}
.galery .card-info img {
    width: 12px;

}
.galery .card a {
    border: solid 2px #1E9695;
    width: 150px;
    padding: 5px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #1E9695;
    background-color: #fff;
    border-radius: 50px;        
}




@media only screen and (max-width: 1500px) {
    .avis-box {
        padding: 0px;
        width: 100%;
    }
    .avis-content .a-item {
        width: 300px;
    }
    .avis-content .a-item p {
        font-size: 16px;
    }
    .medecine-body .galery {
        grid-template-columns: repeat(auto-fill, 260px);
    }
    .scroll-icon {
        display: none
    }
}

@media only screen and (max-width: 1250px) {
    .container {
        width: 100%;
        padding: 0 10px;
    }
    .top nav {
        padding: 10px;
    }
    .motivation h3 {
        font-size: 40px;
        padding-top: 20px;
        margin-bottom: 30px;
    }
    .m-midel ul p {
        font-size: 25px;
        line-height: normal;
    }
    .m-midel .contact-us {
        padding: 20px;
        min-height: 150px;
    }
    .m-midel .contact-us p {
        font-size: 20px;
        padding-left: 50px;
    }
    .m-midel .contact-us a {
        font-size: 20px;
        padding: 5px 15px;
        bottom: 10px;
    }

    .f-1 img {
        width: 200px;
    }
    .f-1 button {
        width: 230px;
        padding: 10px;
        font-size: 16px;
    }
}
@media only screen and (max-width: 950px) {
    header {
        height: 120vh;
    }
    header .bottom {
        flex-direction: column;
        margin-top: 30px;
    }
    .bottom .left {
        text-align: center;
        max-width: 800px;
        flex: 1;
        padding-bottom: 50px;
    }
    .bottom .right {
        width: 70%;
        max-height: 80vh;
        flex: 30;
    }
    .hex {
        width: 150px;
        height: 140px;
        font-size: 18px;  
    }
    .avis-box .avis .a-item{
        width: 100%;
    }
    .contact-box {
        width: 100%;
        height: 100vh;
        background-color: #f1f1f1;
    }
    .contact-box .c-left {
        flex: 2;        
    }
    .c-left .p1 {
        font-size: 35px;
        margin-left: 40px;
        padding-bottom: 0;
    }
    .c-left .p2 {
        font-size: 25px;
        margin-left: 40px;
    }
    
    .c-info .c-link {
        margin-left: 40px;
    }
    .c-info .p2 {
        font-size: 22px;
        
    }
    .c-info .c-link .c-num {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        flex-direction: row;
        justify-content: left;
        align-items: center;
    }
    .c-info .c-num div p {
        font-size: 16px;
    }

    .c-social ul {
        margin-left: 33px;
    }

    .contact-box .c-right {
        flex: 3;                
    }
}





@media only screen and (max-width: 770px) {
    .contact-box .c-left {
        width: 100%;
    }
    .contact-box .c-right {
        width: 100%;
    }
    .contact-box .c-right form {
        width: 100%;
        min-width: 300px;
    }
    .contact-box .c-left .p1 {
        font-size: 30px;
    }
    .contact-box form div {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 5px;      
    }
    .input {
        min-width: 250px;       
    }
    .c-social .p2 {
        font-size: 20px;
    }
    .c-social img {
        width: 50px;
        height: 50px;
        padding-bottom: 10px;
    }
    .contact-box .c-right input[type="text"] {
        width: 100%;
    }
    .contact-box .c-right textarea {
        width: 100%;
    }
    .bottom .right {
        width: 90%;
    }
    .medecine-body .filter-box {
        justify-content: center;
    }
}

@media only screen and (max-width: 670px) {
    .medecine-body .galery {
        display: grid;
        grid-template-columns: repeat(auto-fill, 250px);
        grid-gap: 10px;
        row-gap: 20px;
        padding: 50px;
        justify-content: center;
    }
    .medecine-body .p-titel {
        padding-top: 20px;
        font-size: 25px;
    }
    .medecine-body .name-domaine {
        font-size: 30px;
    }
    .medecine-body .filter-box h2 {
        font-size: 18px;
    }
}

@media only screen and (max-width: 600px) {
    nav .logo {
        width: 130px;
        padding: 5px;
    }
    .nav {
        gap: 3px;
    }
    .nav a {
        padding: 20px 5px;
        font-size: 18px;
    }

    .hexa-gallery .hexagon {
        gap: 3px;
    }
    .hex {
        width: 130px;
        height: 120px;
        font-size: 16px;
    }
    .hexa-gallery {
        margin-top: 50px;
    }
    .hexa-gallery .hexagon .hexnone {
        display: none;
    }

    .formation .hexahidden {
        display: block;
        display: flex;
        justify-content: space-between;
        max-width: 320px;
        height: 180px;
        margin: -55px auto;
    }
    .promo-iinaia {
        padding-top: 0;
    }
    .promo-iinaia .img-section {
        width: 310px;
        height: 80px;
        margin: 0 auto;
    }
    .avis-box {
        padding: 0 20px;
    }
    .avis-box .avis {
        max-width: 100%;
        margin: 50px 10px;
    }
    .avis-box .avis p {
        font-size: 16px;
    }
    .avis-box h2 {
        font-size: 30px;
    }
    .motivation h3 {
        font-size: 35px;
        margin-bottom: 30px;
    }
    .m-midel ul p {
        font-size: 22px;
    }
    .m-midel .contact-us {
        padding: 18px;
        min-height: 180px;
    }
    .m-midel .contact-us p {
        font-size: 18px;
        padding-left: 50px;
    }
    .m-midel .contact-us a {
        font-size: 20px;
        bottom: 10px;
    }   
}


@media only screen and (max-width: 451px) {
    nav .logo {
        width: 100px;
        padding: 2px;
    }
    .nav {
        gap: 5px;
    }
    .nav a {
        padding: 20px 3px;
        font-size: 15px;
    }
    header .bottom .left-p {
        font-size: 30px;
    }
    .promo-iinaia .img-section {
        max-width: 250px;
        width: 80%;
        height: 80px;
        margin: 0 auto;
    }
    .footer {
        padding-top: 50px;
    }
    .f-1 img {
        width: 200px;
    }
    .medecine-body .filter-box {
        justify-content: left;
    }
    .medecine-body .filter-box h2 {
        margin: 0;
        padding: 0;
    }
}
@media only screen and (max-width: 359px) {
    nav {
        justify-content: center;
        height: 100px;
    }
    nav .logo {
        width: 120px;
        padding: 5px;
    }
    .nav {
        height: 30px;
    }
    .nav a {
        padding: 20px 5px;
        font-size: 18px;
    }
    .bottom .right {
        width: 100%;
    }
    .c-left .p1 {
        font-size: 30px;
    }
    .c-left .p2 {
        font-size: 20px;
    }

    .c-info .c-link p {
        font-size: 18px;
        margin: 15px 0 5px;
    }
    .c-info .c-link .c-num {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        flex-direction: row;
        justify-content: left;
        align-items: center;
    }
    .c-info .c-link .c-num div p{        
        font-size: 14px;
    }
    .c-info .c-num ul {
        padding-right: 15px;
        margin-bottom: 10px;
    }
    .c-num li {
        font-size: 18px;
        line-height: 1.4;
    }
    .c-num p {
        font-size: 16px;
    }
    .c-num img {
        margin-top: 15px;
    }
}


main {
    display: flex;
    flex-direction: column;
}