@import url('https://fonts.googleapis.com/css2?family=Marhey:wght@300&display=swap');
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Marhey, sans-serif;
    direction: ltr;
    text-align: center;
}

body {
    /*font-family: 'Preahvihear', sans-serif;*/
    overflow: hidden;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

header {
    position: sticky;
    top: 0px;
    background-color: #60b4df;
    width: 100%;
    z-index: 1000;
}

.cloud-right {
    position: absolute;
    width: 1000px;
    animation-name: cloud-right;
    animation-duration: 4s;
    animation-fill-mode: both;
    transition-timing-function: ease-in-out;
}

.cloud-left {
    position: absolute;
    width: 1000px;
    transform: rotateX(150deg);
    animation-name: cloud-left;
    animation-duration: 4s;
    animation-fill-mode: both;
    transition-timing-function: cubic-bezier(0.88, -0.42, 0.48, 1.35);
}

.filtre_btn {
    background-color: white;
    border-radius: 50%;
    bottom: 10px;
    position: absolute;
    right: 20px;
    padding: 10px 15px;
}
.filtre_btn  i{
    font-size: x-large;
}

.choice-icon {
    font-size: 8em;
    transition: font-size 0.3s ease-in-out;
}

.choice-icon:hover {
    font-size: 9em;
}

.icon_social {
    width: 50px;
    height: 50px;
    margin: 10px;
}

.bienvenue {
    display: flex;
    justify-content: center;
    top: 150px;
    font-size: x-large;
    align-items: center;
    animation-name: bienvenue;
    animation-duration: 4s;
    animation-delay: 1s;
    animation-fill-mode: both;
    transition-timing-function: cubic-bezier(0.88, -0.42, 0.48, 1.35);
    opacity: 0;
}

.bienvenue img:not(.icon_social) {
    width: 500px;
}

@keyframes cloud-right {

    to {
        right: -900px;
    }
}

@keyframes cloud-left {

    to {
        left: -900px;
    }
}

@keyframes bienvenue {

    to {
        opacity: 100%;
    }
}

@keyframes bienvenueHide {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        display: none;
    }
}

.container3d {

    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 300px;
    min-width: 280px;
    height: 400px;
}
.etablissemetsDiv, .demandeEmploisDiv{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* أنماط بطاقات المؤسسات الجديدة */
.institution-card, .demande-emploi-card {
    background-color: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    width: 300px;
    display: flex;
    flex-direction: column;
    direction: rtl;
}

.institution-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}

.institution-image {
    height: 180px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.institution-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    color: white;
}

.institution-location {
    font-size: 14px;
    text-align: right;
}

.institution-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.institution-title {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
    text-align: right;
    font-weight: bold;
}

.institution-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 15px;
    justify-content: flex-end;
}

.category-badge {
    background-color: #e1f5fe;
    color: #0288d1;
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    display: inline-flex;
    align-items: center;
}

.category-badge i {
    margin-right: 5px;
}

.institution-rating {
    margin-bottom: 15px;
    font-size: 18px;
    color: #ddd;
    text-align: right;
}

.institution-rating .star.active {
    color: #ffc107;
}

.institution-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #0288d1;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.institution-link:hover {
    background-color: #01579b;
    color: white;
    text-decoration: none;
}

/* أنماط زر إظهار المزيد */
.load-more-container {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.load-more-btn {
    background-color: #0288d1;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.load-more-btn:hover {
    background-color: #01579b;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.2);
}

.load-more-btn i {
    transition: transform 0.3s ease;
}

.load-more-btn:hover i {
    transform: translateY(3px);
}

.hidden-card {
    display: none;
}
.card3d {
    width: 100%;
    margin: 10px;
    transition: all 1s ease;
    transform-style: preserve-3d;
    height: 400px;
    box-shadow: 0px 20px 20px rgba(0, 0, 0, 0.5), 0px 0px 50px rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    border-radius: 7px;
    background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 1))
}

.img3d {
    width: 100%;
    height: 8rem;

    z-index: 2;
    /*background-color: red;*/
}

/*.sneaker3d{*/
/*    min-height: 35vh;*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    border-radius: 50%;*/
/*}*/
.info3d {
    font-size: 3rem;
    padding: 1rem;
}

.info3d h3 {
    font-size: 1.3rem;
    color: #585858;
    font-weight: lighter;

}

.sizes3d {
    display: flex;
    justify-content: space-between;

}

.centre {
    text-align: center;
}

button.active3d {
    background: #585858;
    color: white;
}

.burchase3d {

    margin-top: 1rem;
}

.burchase3d button {
    width: 100%;
    border: none;
    border-radius: 30px;
    font-size: 3rem;
    cursor: pointer;
    padding: 1rem 0rem;

}

.section-home {
    position: relative;
    height: calc(100vh - 3rem);
    width: 100%;
    background: url('../medias/images/bg2.jpg') fixed center;
    overflow-x: hidden;
    background-repeat: no-repeat;
    background-size: cover;

}

.section-title {
    width: 100%;
    background: linear-gradient(20deg, #ffffff, #ffb0bf, #ffffff);
    border-radius: 30px;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

.section-title svg {
    height: 2em;
    color: red;
}

.overlay {
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    /*animation-name: bienvenueHide;*/
    /*animation-duration: 1s;*/
    /*animation-delay: 3s;*/
    /*animation-fill-mode: both;*/
    /*transition-timing-function: cubic-bezier(0.88, -0.42, 0.48, 1.35);*/
    /*background-color: rgb(56, 165, 238, 0.5);*/
}
.rating {
    font-size: 0;
    margin: 10px 0;
}

.rating span {
    display: inline-block;
    font-size: 24px;
    cursor: pointer;
    padding: 0 2px;
}

.rating span.star {
    color: #f8c300;
}

.rating span.active {
    color: #ff6e40;
}

.fill-container {
    width: 100%;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}


.container {
    max-width: 80rem;
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;
    position: relative;
}

.logo-container {
    flex: 1;
    display: flex;
    align-items: center;
}

.nav-btn {
    display: flex;
}

.nav-links {
    flex: 2;
}

.log-sign {
    padding: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex: 1;
}

.logo {
    width: 160px;

}

.logo span {
    font-weight: 300;
}

/* Brand Logo Styles */
.brand-logo {
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-logo:hover {
    transform: scale(1.05);
    text-decoration: none;
}

.logo-text {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: 'Arial', sans-serif;
    display: inline-flex;
    align-items: baseline;
    position: relative;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.school-text {
    color: #2c3e50;
    position: relative;
    transition: all 0.3s ease;
}

.com-text {
    color: #e74c3c;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 900;
}

.dz-text {
    color: #f39c12;
    font-size: 0.8em;
    font-weight: 600;
    margin-left: 3px;
    position: relative;
    top: -0.5em;
    transition: all 0.3s ease;
}

/* Hover animations */
.brand-logo:hover .school-text {
    color: #3498db;
    transform: translateY(-2px);
}

.brand-logo:hover .com-text {
    color: #c0392b;
    transform: scale(1.1) rotateY(10deg);
}

.brand-logo:hover .dz-text {
    color: #e67e22;
    transform: translateY(-3px) rotateZ(5deg);
}

/* Glow effect */
.brand-logo:hover .logo-text {
    text-shadow: 
        0 0 10px rgba(52, 152, 219, 0.3),
        0 0 20px rgba(231, 76, 60, 0.2),
        0 0 30px rgba(243, 156, 18, 0.1);
}

/* Pulse animation keyframes */
@keyframes logoPulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Add pulse animation on focus */
.brand-logo:focus .logo-text {
    animation: logoPulse 1s ease-in-out infinite;
}

/* Gradient background on hover */
.brand-logo::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    right: -10px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        rgba(52, 152, 219, 0.1), 
        rgba(231, 76, 60, 0.1), 
        rgba(243, 156, 18, 0.1));
    border-radius: 10px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.brand-logo:hover::before {
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2rem;
    }
    
    .dz-text {
        font-size: 0.7em;
    }
}

.btn {
    display: inline-block;
    padding: .5rem 1.3rem;
    font-size: .8rem;
    border: 2px solid #fff;
    border-radius: 2rem;
    line-height: 1;
    margin: 0 .2rem;
    transition: .3s;
    text-transform: uppercase;
}

.btn.solid, .btn.transparent:hover {
    background-color: #fff;
    color: #69bde7;
}

.btn.transparent, .btn.solid:hover {
    background-color: transparent;
    color: #fff;
}

.nav-links > ul {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nav-link {
    position: relative;
}

.nav-link > a {
    line-height: 3rem;
    color: #fff;
    padding: 0 .8rem;
    letter-spacing: 1px;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: .5s;
}

.nav-link > a > i {
    margin-left: .2rem;
}

.nav-link:hover > a {
    transform: scale(1.1);
}

.dropdown {

    pointer-events: none;
    transition: .5s;
}

.dropdown ul {
    position: relative;
}

.dropdown-link > a {
    display: flex;
    background-color: #fff;
    color: #3498db;
    padding: .5rem 1rem;
    font-size: .9rem;
    align-items: center;
    justify-content: space-between;
    transition: .3s;
}

.dropdown-link:hover > a {
    background-color: #3498db;
    color: #fff;
}

.dropdown-link:not(:nth-last-child(2)) {
    border-bottom: 1px solid #efefef;
}

.dropdown-link i {
    transform: rotate(-90deg);
}

.arrow {
    position: absolute;
    width: 11px;
    height: 11px;
    top: -5.5px;
    left: 32px;
    background-color: #fff;
    transform: rotate(45deg);
    cursor: pointer;
    transition: .3s;
    z-index: -1;
}

.dropdown-link:first-child:hover ~ .arrow {
    background-color: #3498db;
}

.dropdown-link {
    position: relative;
}

.dropdown.second {
    top: 0;
    left: 100%;
    padding-left: .8rem;
    cursor: pointer;
    transform: translateX(10px);
}

.dropdown.second .arrow {
    top: 10px;
    left: -5.5px;
}

.nav-link:hover > .dropdown,
.dropdown-link:hover > .dropdown {
    transform: translate(0, 0);
    opacity: 1;
    pointer-events: auto;
}

.hamburger-menu-container {
    flex: 1;
    display: none;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.hamburger-menu div {
    width: 1.6rem;
    height: 3px;
    border-radius: 3px;
    background-color: #fff;
    position: relative;
    z-index: 1001;
    transition: .5s;
}

.hamburger-menu div:before,
.hamburger-menu div:after {
    content: '';
    position: absolute;
    width: inherit;
    height: inherit;
    background-color: #fff;
    border-radius: 3px;
    transition: .5s;
}

.hamburger-menu div:before {
    transform: translateY(-7px);
}

.hamburger-menu div:after {
    transform: translateY(7px);
}

#check {
    position: absolute;
    top: 50%;
    right: 1.5rem;
    transform: translateY(-50%);
    width: 2.5rem;
    height: 2.5rem;
    z-index: 90000;
    cursor: pointer;
    opacity: 0;
    display: none;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div {
    background-color: transparent;
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:before {
    transform: translateY(0) rotate(-45deg);
}

#check:checked ~ .hamburger-menu-container .hamburger-menu div:after {
    transform: translateY(0) rotate(45deg);
}

.wilayaSectionFiltre {
    /*position: absolute;*/
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 80%;
    height: 100%;
    top: 0;
    left: 0;
    margin: 0 auto;
    max-width: 400px;
    /*background-color: rgb(56, 165, 238, 0.5);*/
}

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

@media (max-width: 920px) {

    .bienvenue img:not(.icon_social) {
        width: 300px;
    }

    .choice-icon {
        font-size: 4em;
        transition: font-size 0.3s ease-in-out;
    }

    .choice-icon:hover {
        font-size: 6em;
    }

    h5 {
        font-size: 0.7rem;
    }

    .hamburger-menu-container {
        display: flex;
    }

    #check {
        display: block;
    }

    .nav-btn {
        position: fixed;
        /*height: calc(100vh - 3rem);*/
        top: 3rem;
        left: 0;
        width: 100%;
        background-color: #69bde7;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        overflow-x: hidden;
        overflow-y: auto;
        transform: translateX(100%);
        transition: .65s;
    }

    #check:checked ~ .nav-btn {
        transform: translateX(0);
    }

    #check:checked ~ .nav-btn .nav-link,
    #check:checked ~ .nav-btn .log-sign {
        animation: animation .5s ease forwards var(--i);
    }

    .nav-links {
        flex: initial;
        width: 100%;
    }

    .nav-links > ul {
        flex-direction: column;
    }

    .nav-link {
        width: 100%;
        opacity: 0;
        transform: translateY(15px);
    }

    .nav-link > a {
        line-height: 1;
        padding: 1.6rem 2rem;
    }

    .nav-link:hover > a {
        transform: scale(1);
        background-color: #50a9d6;
    }

    .dropdown, .dropdown.second {
        position: initial;
        top: initial;
        left: initial;
        transform: initial;
        opacity: 1;
        pointer-events: auto;
        width: 100%;
        padding: 0;
        background-color: #3183ac;
        display: none;
    }

    .nav-link:hover > .dropdown,
    .dropdown-link:hover > .dropdown {
        display: block;
    }

    .nav-link:hover > a > i,
    .dropdown-link:hover > a > i {
        transform: rotate(360deg);
    }

    .dropdown-link > a {
        background-color: transparent;
        color: #fff;
        padding: 1.2rem 2rem;
        line-height: 1;
    }

    .dropdown.second .dropdown-link > a {
        padding: 1.2rem 2rem 1.2rem 3rem;
    }

    .dropdown.second .dropdown.second .dropdown-link > a {
        padding: 1.2rem 2rem 1.2rem 4rem;
    }

    .dropdown-link:not(:nth-last-child(2)) {
        border-bottom: none;
    }

    .arrow {
        z-index: 1;
        background-color: #69bde7;
        left: 10%;
        transform: scale(1.1) rotate(45deg);
        transition: .5s;
    }

    .nav-link:hover .arrow {
        background-color: #50a9d6;
    }

    .dropdown .dropdown .arrow {
        display: none;
    }

    .dropdown-link:hover > a {
        background-color: #3a91bd;
    }

    .dropdown-link:first-child:hover ~ .arrow {
        background-color: #50a9d6;
    }

    .nav-link > a > i {
        font-size: 1.1rem;
        transform: rotate(-90deg);
        transition: .7s;
    }

    .dropdown i {
        font-size: 1rem;
        transition: .7s;
    }

    .log-sign {
        flex: initial;
        width: 100%;
        padding: 1.5rem 1.9rem;
        justify-content: flex-start;
        opacity: 0;
        transform: translateY(15px);
    }

}



.slider-wrapper {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 70px 55px;
}

.card-list .card-item {
    height: auto;
    color: #ffffff;
    user-select: none;
    padding: 35px;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    backdrop-filter: blur(30px);
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.card-list .card-item .user-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 40px;
    border: 3px solid #ffffff;
    padding: 4px;
}

.card-list .card-item .user-profession {
    font-size: 1.15rem;
    color: #e3e3e3;
    font-weight: 500;
    margin: 14px 0 40px;
}

.card-list .card-item .message-button {
    font-size: 1.25rem;
    padding: 10px 35px;
    color: #030728;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    background: #fff;
    border: 1px solid transparent;
    transition: 0.2s ease;
}

.card-list .card-item .message-button:hover {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid #fff;
    color: #fff;
}

.slider-wrapper .swiper-pagination-bullet {
    background: #fff;
    height: 13px;
    width: 13px;
    opacity: 0.5;
}

.slider-wrapper .swiper-pagination-bullet-active {
    opacity: 1;
}

.slider-wrapper .swiper-slide-button {
    color: #fff;
    margin-top: -55px;
    transition: 0.2s ease;
}

.slider-wrapper .swiper-slide-button:hover {
    color: #4658ff;
}

@media (max-width: 768px) {
    .slider-wrapper {
        margin: 0 10px 40px;
    }

    .slider-wrapper .swiper-slide-button {
        display: none;
    }
}

.containerCards {
    display: flex;
    justify-content: space-around;
    overflow-y: hidden;
    /*width: 90%;*/
    padding: 30px;
    scroll-behavior: smooth;
}



.scroll-button {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 15px;
    font-size: 24px;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.scroll-button.left {
    left: 10px;
}

.scroll-button.right {
    right: 10px;
}

.scroll-button:disabled {
    background-color: #ddd;
    cursor: not-allowed;
}
::-webkit-scrollbar {
    width: 10px;
    height: 5px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 1px grey;
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #ff5600;
    border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}
