﻿.hidden {
    display: none !important;
}

body {
    background: url("../IMG/poster-frame-children-room-kids-room-nursery.jpg");
    background-size: cover; /* تخلي الصورة تغطي كل الشاشة */
    background-repeat: no-repeat; /* تمنع تكرار الصورة */
    background-position: center; /* تخلي الصورة في المنتصف */
    background-attachment: fixed; /* دي اللي بتثبت الصورة */
    scroll-behavior: smooth; /* سكرول ناعم */
    /* overflow-y:scroll ; */
    max-width: 100%;
    overflow-X: hidden;
    height: fit-content;
}
.careers-frame {
    padding: 40px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
}
@media (max-width: 768px) {
    .careers-frame {
        padding: 24px;
    }
}

main {
    margin-top: 150px;
    max-width: 100%;
    overflow-X: hidden;
}

    main section {
        padding: 0;
    }

.hero {
    display: flex;
    justify-content: center;
    gap: 20px;
    min-height: 70vh;
    width: 90%;
    margin: auto;
    padding: 20px 0px;
}

    .hero .content {
        width: 50%;
    }

        .hero .content h1 {
            color: var(--secondary-color);
            font-size: 40px;
            font-weight: 600;
        }

        .hero .content p {
            width: 100%;
            font-size: 17px;
        }

        .hero .content .social-media a {
            display: inline-block;
            width: 40px;
            height: 40px;
            background-color: var(--primary-color);
            border-radius: 50%;
            padding: 7px 11px;
            text-align: center;
            font-size: 20px;
            color: white;
            transition: .3s;
            margin: 0;
        }

            .hero .content .social-media a:hover {
                background-color: var(--secondary-color);
            }

form {
    width: 50%;
}

    form h2 {
        color: white;
        font-weight: 600;
    }

    form input {
        display: block;
        width: 100%;
        margin-top: 20px;
        border: none;
        outline: none;
        border-bottom: 2px solid var(--accent-color);
        padding: 10px 5px;
        background-color: transparent;
        color: white;
        font-size: 22px;
    }

        form input::placeholder {
            color: white;
        }

    form textarea {
        display: block;
        font-size: 22px;
        background-color: transparent;
        color: white;
        width: 100%;
        border: none;
        outline: none;
        border-bottom: 2px solid var(--accent-color);
        margin-top: 20px;
    }

        form textarea::placeholder {
            color: white;
        }

    form button {
        background-color: var(--text-color);
        color: white;
        padding: 15px 25px;
        border-radius: 10px;
        border: 0;
        margin-top: 30px;
        font-weight: 600;
        transition: .5s;
    }

        form button:hover {
            background-color: var(--accent-color);
            color: var(--dark-color);
        }

@media (max-width:700px) {
    .hero {
        width: 95%;
        flex-direction: column;
    }

        .hero .content {
            width: 100%;
        }

            .hero .content h1 {
                font-size: 30px;
            }

    form {
        width: 100%;
    }

    .careers-section {
        width: 95%;
    }
}

.careers-section {
    padding: 50px 20px;
    font-family: "Poppins", sans-serif;
    position: relative;
    width: 90%;
    margin: auto;
}
@media (min-width:1400px){
    .careers-section{
        width:60%!important;
    }
}
    .careers-section h2 {
        font-size: 40px;
        color: var(--secondary-color);
        margin-bottom: 20px;
        font-weight: 600;
    }

    .careers-section p {
        max-width: 700px;
        font-size: 18px;
        line-height: 1.7;
    }

    .careers-section .btn-careers {
        background: var(--primary-color);
        color: #fff;
        border: none;
        padding: 14px 35px;
        font-size: 16px;
        border-radius: 8px;
        cursor: pointer;
        transition: 0.3s;
    }

        .careers-section .btn-careers:hover {
            background: var(--accent-color);
            color: black;
            transform: translateY(-3px);
        }

        .careers-section .btn-careers i {
            margin-right: 8px;
        }


#carear-application {
    position: fixed;
    bottom: 0px;
    left: 0;
    min-width: 100%;
    min-height: 50%;
    z-index: 9999999999999 !important;
    display: flex;
    justify-content: center;
    margin: 0;
}

    #carear-application::after {
        content: "";
        position: fixed; /* ✅ fixed بدل absolute علشان يغطي الشاشة بالكامل */
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #00214762;
        z-index: -1;
    }

    #carear-application form {
        background-color: #e7e7e7;
        padding: 20px;
        border-radius: 10px;
        max-width: 700px;
        width: 100%;
        margin: 0;
        position: relative;
        max-height: 550px;
        overflow-y: scroll;
        color: black;
        z-index: 9999999999999 !important;
        position: relative;
    }

        #carear-application form .close-form {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 25px;
            font-weight: 700;
            background: transparent;
            border: 0;
            cursor: pointer;
            overflow-y: auto;
            transition: 0.7s;
            color: #333;
        }

            #carear-application form .close-form:hover {
                color: rgb(175, 3, 3);
                transform: rotate(180deg);
            }

    #carear-application h2, #carear-application p {
        color: black;
    }


#partenar-application {
    position: fixed;
    bottom: 0px;
    left: 0;
    min-width: 100%;
    min-height: 50%;
    z-index: 9999999999999 !important;
    display: flex;
    justify-content: center;
    margin: 0;
}

    #partenar-application::after {
        content: "";
        position: fixed; /* ✅ fixed بدل absolute علشان يغطي الشاشة بالكامل */
        top: 0px;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: #00214762;
        z-index: -1;
    }

    #partenar-application form {
        background-color: #e7e7e7;
        padding: 20px;
        border-radius: 10px;
        max-width: 700px;
        width: 100%;
        margin: 0;
        position: relative;
        max-height: 550px;
        overflow-y: scroll;
        z-index: 9999999999999 !important;
        position:relative;
        color: black;
    }

        #partenar-application form .close-form {
            position: absolute;
            top: 15px;
            right: 20px;
            font-size: 25px;
            font-weight: 700;
            background: transparent;
            border: 0;
            cursor: pointer;
            overflow-y: auto;
            transition: 0.7s;
            color: #333;
        }

            #partenar-application form .close-form:hover {
                color: rgb(175, 3, 3);
                transform: rotate(180deg);
            }

    #partenar-application h2, #partenar-application p {
        color: black;
    }
@media(min-width: 576px){
    #partenar-application , #carear-application {

    }
}

@media (min-width: 800px) and (max-width: 1550px) {
    #partenar-application form {
        max-height: 580px;
    }
}