/* in the name of god */

input, button, textarea
input:focus, button:focus, textarea:focus, button:hover {
    outline: none;
}

button, button:focus {
    border: none;
}

.-mt-2 {
    margin-top: -8px;
}

.text-color {
    color: #1F2937FF !important;
}

.flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

/*.flex-wrap {*/
/*    flex-wrap: wrap;*/
/*}*/

.flex-col {
    flex-direction: column;
}

.container {
    width: 90%;
    margin: auto;
}

.bg-info {
    background-color: #005b9a;
}

.text-info {
    color: #005b9a;
}

/*Header*/

/*menu*/
header {
    box-shadow: 2px 2px 4px #eee;
    padding-top: 4px
}


header .menu-list .navigation ul {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

header .menu-list .navigation ul li {
    font-weight: bold;
    font-size: 18px;
    transition: all ease-in-out .3s;
}

header .menu-list .navigation ul li a {
    color: #252529;
}

header .menu-list .navigation ul li a:hover {
    color: #00557a !important;
}

/*hamburger*/
.hamburger .hamburgerIcon {
    cursor: pointer;
    font-size: 28px;
}

/*overlay*/
#overlay {
    visibility: hidden;
    position: fixed;
    top: 0;
    left: 0;
    inset: 0;
    background-color: black;
    opacity: .5;
    z-index: 40;
}

/*mobile - menu*/
#mobileMenu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 290px;
    height: 100vh;
    background-color: #002b3e;
    padding-right: 18px;
    padding-top: 16px;
    z-index: 50;
    transition: all ease .3s;
}

#mobileMenu #closeMenu {
    color: #ff8d8d;
    display: block;
    position: absolute;
    left: 10px;
    font-size: 28px;
    margin-top: -10px;
}

#mobileMenu ul {
    width: 100%;
}

#mobileMenu ul li a {
    display: block;
    color: white !important;
    padding: 4px 0;
}

.logo {
    font-size: 24px;
    font-weight: 800;
}

/*slider*/

.slider {
    height: 70vh;
}

@media screen and (max-width: 768px) {
    .slider {
        height: 60vh;
        margin-top: 0;
    }
}

@media screen and (max-width: 500px) {
    .slider {
        height: 40vh;
    }
}

.slider-item .item.active {
    display: flex;
}

.slider-item .item .img {
    animation: zoom 1s linear forwards;
    -webkit-animation: zoom 1s linear forwards;
}

@keyframes zoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.01);
    }
}

.slider-item .item .caption {
    width: 1200px;
}

.slider-item .item .caption h1 {
    animation: text 1s ease forwards;
    -webkit-animation: text 1s ease forwards;
    background-color: rgba(34, 34, 34, 0.42);
    padding: 15px 4px;
    border-radius: 5px;
}

.slider-item .item .caption p {
    animation: text 1s ease forwards;
    -webkit-animation: text 1s ease forwards;
    animation-delay: .5s;
    background-color: rgba(34, 34, 34, 0.42);
    padding: 15px 4px;
    border-radius: 5px;
}

@keyframes text {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progress {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .slider-item .item .caption {
        width: 80vw;
    }
}

/*notifications / easy access*/
.section_fastAccess_notifications {
    display: flex;
    justify-content: space-between;
}

.section_fastAccess_notifications main {
    width: 67.5%;
}

.section_fastAccess_notifications aside {
    width: 30%;
    padding: 5px;
    border-radius: 4px;
    border: 1px solid #bfbfbf;
    box-shadow: 1px 1px 8px #b5b5b5;

}

.notification {
    border-bottom: 1px solid #a8a8a8;
    padding: 4px 4px 10px 4px;
    margin-bottom: 9px;
}

.notif_icon {
    width: 24px;
    height: 15px;
    border-radius: 50%;
    background-color: #ff3a3a;
}

.notification div h2 {
    color: #222;
}

.notification p {
    text-align: justify;
}

.notification div p a {
    color: #00557a;
}

.more_notif {
    border: 2px solid #00557a;
    color: #00557a;
    transition: all ease-in-out .1s;
}

.more_notif:hover {
    color: #fff;
    background-color: #00557a;
}

.fast-access {
    box-shadow: 1px 1px 10px #e6e6e6;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 8px;
    width: 95%;
    margin: auto;
    justify-content: space-around;
    display: flex;
}

.fast_access_item {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: white;
    padding: 2px;
}

.fast_access_item i {
    font-size: 10px;
    margin-bottom: 2px;
}

.fast_access_item p {
    font-size: 12px;
}

/*cultured_item*/
.cultured_item a img {
    width: 100%;
    height: 340px;
    border-radius: 6px;
}

.bottom-4 {
    bottom: 18px;
}

/*branch*/

.branch_item .branch-header {
    color: white;
    display: flex;
    gap: 16px;
    align-items: center;
    vertical-align: middle;
    padding: 16px 6px;
    border-top-right-radius: 6px;
    border-top-left-radius: 6px;
}

.branch_item .branch-content {
    padding: 10px 8px;
}

.branch_item .branch-content p {
    line-height: 2;
    text-align: justify;
}

.branch_item .branch-content a {
    font-weight: 800;
    margin-right: 8px;
}

/*consultation*/
.consultation {
    margin: 30px 0;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    position: relative;
}

.consultation-overlay {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.consultation h1, .consultation p {
    text-align: center;
    color: white;
    z-index: 2;
    line-height: 2;
}

.consultation p {
    width: 75%;
    margin: 16px auto 30px auto;

}

.consultation a {
    z-index: 2;
    display: block;
    margin: 10px auto;
}

/*footer*/
footer {
    box-shadow: 1px 1px 10px #717171;
    padding-top: 40px;
    margin-top: 30px;
    background-color: #fefefe;
}

footer .footer {
    display: flex;
}

footer .helpful_links {
    width: 30%;
}

footer .services {
    width: 30%;
}

footer .aboutUs_footer {
    width: 40%;
}

footer .aboutUs_footer p {
    text-align: justify;
    line-height: 26px;
}

footer h3 {
    margin-bottom: 6px;
    color: #222;
    font-size: 18px;
}

footer ul li {
    margin-top: 8px;
}

footer ul li a {
    color: #222;
}

/*login*/

.min-h-screen {
    height: 100vh;
}

.form-container {
    padding: 60px;
    width: 500px;
    background-color: rgb(247, 247, 247);
}

/*notifications page*/

.P-Ns_notification {
    border: 1px solid #aeaeae;
    border-radius: 4px;
    padding: 18px;

}

.P-N_notif_icon {
    width: 20px;
    height: 24px;
    padding: 10px;
    border-radius: 50%;
    background-color: #ff3a3a;
}

.P-Ns_notification p,
.P-Ns_notification-details p {
    text-align: justify;
    line-height: 26px;
}

/*notification details page*/
.P-Ns_notification-details {
    border: 1px solid #aeaeae;
    padding: 24px;
}

/*cultureds page*/
.P-cultureds {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px;
    margin-top: 20px;
}

.P-cultureds-image img {
    height: 440px;
    border-radius: 4px;
    box-shadow: 1px 1px 8px #b5b5b5;
}

.P-cultureds h2 {
    font-size: 20px;
    color: #303030;
}

.P-cultureds p,
.p-cultured-item p {
    text-align: justify;
    line-height: 26px;
}

/*p-cultured-item*/
.p-cultured-item {
    border: 1px solid #eaeaea;
    border-radius: 4px;
    padding: 18px;
    margin-top: 20px;
    display: flex;
}

.p-cultured-item .P-cultured-image img {
    border-radius: 10px;
    border: 1px solid #eaeaea;
    box-shadow: 1px 1px 12px #ababab;
}

/*about us*/
.P-aboutUs {
    box-shadow: 1px 1px 8px #b5b5b5;
    border: 1px solid #e7e7e7;
    border-radius: 4px;
    padding: 18px;
    width: 65%;
}

/*Personnel*/
.personnel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.personnel-item {
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    box-shadow: 1px 1px 8px #b5b5b5;
}

.personnel-item .personnel-image img {
    display: block;
    margin: auto;
    border: 1px solid #f1f1f1;
}

.personnel-item .personnel-info h3 {
    font-size: 20px;
}

.personnel-item .personnel-info h5 {
    font-size: 14px;
    margin-top: 10px;
    color: #303030;
}
/*panel*/
.panelList {
    border: 1px solid #d1d1d1;
}
.PanelCard {
    border: 1px solid #d1d1d1;
}
.PanelCard-header h2 {
    text-align: center;
}
.PanelCard-body table,
.PanelCard-body thead,
.PanelCard-body tr,
.PanelCard-body td,
.PanelCard-body th {
    text-align: center;
}
.panelImg {
    display: block;
    width: 100%;
    height: 200px;
    border: 1px solid #d1d1d1;
}
/*404 / access denied*/

#container-404 {
    width: 100vw;
    height: 100vh;
    background: url("../Images/p404.png");
    direction: rtl;
    background-color: #151729;
}

#container-404 .content {
    width: 100%;
}

#container-404 .content h2 {
    font-size: 350px;
}

#container-404 .content h4 {
    font-size: 50px;
    margin: -80px 0 0 0;
}

#container-404 .content p {
    font-size: 20px;
    margin: 25px 0;
}

#container-404 .content button {
    background-color: #8500ff;
    padding: 10px 20px;
    transition: all 0.2s ease-in-out;
    box-shadow: 1px 1px 5px #8500ff;
}

#container-404 .content button:hover {
    transform: scale(1.00002);
    box-shadow: 2px 2px 6px #8500ff;
}

@media screen and (max-width: 768px) {
    #container-404 .content h2 {
        font-size: 275px;
    }
}

@media screen and (max-width: 585px) {
    #container-404 .content h2 {
        font-size: 220px;
    }

    #container-404 .content h4 {
        font-size: 30px;
        margin: -30px auto auto auto;
        display: block;
    }

    #container-404 .content p {
        margin: 10px 20px 30px;
        font-size: 18px;
    }
}

@media screen and (max-width: 416px) {
    #container-404 .content h2 {
        font-size: 130px;
    }

    #container-404 .content h4 {
        font-size: 25px;
    }

    #container-404 .content p {
        font-size: 16px;
        line-height: 1.5;
    }
}

.aceessDenied div h2 {
    font-size: 60px;
    font-weight: 800;
}

.aceessDenied div h4 {
    font-size: 30px;
    font-weight: 600;
}

.aceessDenied div p {
    font-size: 20px;
    font-weight: 500;
}
.aceessDenied div a {
background-color: #00557a;
    padding: 8px 20px;
    margin-top: 20px;
}
/* Gallery Grid */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 12px;
}

.gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform .2s;
}

.gallery img:hover {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.lightbox img {
    max-width: 90%;
    max-height: 80vh;
    border-radius: 12px;
}

/* Controls */
.lightbox button {
    position: absolute;
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    cursor: pointer;
}

.close {
    top: 20px;
    right: 20px;
    font-size: 36px;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Small screens (≤300px) */
@media (max-width: 300px) {
    .gallery img {
        height: 100px;
    }

    .lightbox button {
        font-size: 24px;
    }
}
@media screen and (max-width: 460px) {
    .aceessDenied div img {
        width: 90%;
        height: 250px;
    }

    .aceessDenied div h2 {
        font-size: 40px;
    }

    .aceessDenied div h4 {
        font-size: 20px;
    }

    .aceessDenied div p {
        font-size: 14px;
    }
}

@media screen and (max-width: 360px) {
    .aceessDenied div img {
        width: 90%;
        height: 180px;
    }

    .aceessDenied div p {
        padding: 0 20px;
    }
}



/*request consultation*/
.request_consultation {
    display: grid;
    column-gap: 16px;
    grid-template-columns: 2fr 1fr;
}

.request_consultation form {
    box-shadow: 1px 1px 8px #e2e2e2;
    padding: 20px;
}
/*field-images*/
.field-images {
    width: 24.6%;
    height: 150px;
}
@media screen and (max-width: 1200px) {
    .fast-access {
        width: 100%;
    }

    /*    Personnel*/
    .personnel {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 1072px) {
    /*section_fastAccess_notifications*/
    .section_fastAccess_notifications {
        display: block;
    }

    .section_fastAccess_notifications main, .section_fastAccess_notifications aside {
        width: 100%;
    }

    /*fast_access_item*/
    .fast_access_item {
        height: 70px !important;
    }

    /*cultured*/
    .cultured {
        margin-bottom: 20px !important;
    }

    /*notification*/
    .notification {
        display: block;
    }

}

.fa-bars#hamburgerIcon {
    display: none;
}

@media screen and (max-width: 992px) {
    /*cultured*/
    .p-cultured-item {
        display: grid;
        gap: 14px;
    }

    .p-cultured-item img {
        margin: 0 auto 10px auto;
        display: block;
        width: 360px;
        height: 240px;
    }

    /* cultureds page*/
    .P-cultureds-image img {
        width: 100%;
        height: 300px
    }

    /*    about us */
    .P-aboutUs {
        width: 90%;
    }

    .P-aboutUs p {
        text-align: justify;
    }
    /*    Personnel*/
    .personnel {
        grid-template-columns: 1fr 1fr 1fr;
    }
/*    request consultation*/
    .request_consultation {
        grid-template-columns: 1fr;
        row-gap: 16px;
    }

}

@media screen and (max-width: 792px) {
    .navigation ul li {
        font-size: 14px !important;
    }
}

@media only screen and (max-width: 768px) {
    /*header responsive*/
    .navigation ul.list-base {
        visibility: hidden;
        display: none !important;
    }

    .fa-bars#hamburgerIcon {
        display: flex !important;
    }

    /*fast_access_item*/
    .fast_access_item {
        height: 70px !important;
    }

    /*footer*/
    footer .footer {
        flex-wrap: wrap;
    }

    footer .helpful_links {
        width: 48%;
    }

    footer .services {
        width: 48%;
    }

    footer .aboutUs_footer {
        width: 100%;
        margin-top: 14px;
    }

    .fast-access {
        gap: .5rem !important;
    }

    /*personnel*/

    .personnel {
        grid-template-columns: 1fr 1fr ;
    }

/* field images   */
    .field-images {
        width: 32%;
        height: 130px;
    }
}

@media screen and (max-width: 600px) {
    .cultured_item a img {
        height: 280px;
    }

    .branch-header h3 {
        font-size: 16px;
    }

    .branch_item .branch-content p {
        font-size: 14px !important;
    }

    /*slider*/
    .caption h1 {
        font-size: 16px;
    }

    .caption p {
        font-size: 14px;
    }

    /*    login*/
    .form-container {
        width: 500px;
    }

    /*    about us*/
    .P-aboutUs {
        width: 98%;
    }

}

@media screen and (max-width: 645px) {
    .fast-access {
        /*justify-content: unset;*/
        display: flex;
        justify-content: center;
        align-content: center;
    }

    .consultation p {
        width: 85%;
    }
}

@media screen and (max-width: 500px) {
    .fast-access .fast_access_item {
        width: 60px;
    }

    .caption a {
        bottom: 10px;
    }

    /* cultureds*/
    .P-cultureds-image img {
        height: 200px
    }
}

@media screen and (max-width: 470px) {
    /*    login*/
    .form-container {
        width: 360px;
    }

    /*  cultured  */
    .p-cultured-item img {
        width: 100%;
        height: 200px;
    }
    /* field images   */
    .field-images {
        width: 49%;
        height: 130px;
    }
}

@media screen and (max-width: 450px) {
    .cultured_item a img {
        height: 200px;
    }

    /*footer*/
    footer .footer {
        display: block;
    }

    footer .helpful_links {
        width: 100%;
    }

    footer .services {
        width: 100%;
    }

    footer .helpful_links, footer .services {
        margin-bottom: 18px;
    }

    footer .aboutUs_footer {
        width: 100%;
    }
    /*personnel*/

    .personnel {
        grid-template-columns: 1fr;
    }

    .personnel .personnel-item {
        width: 80% !important;
        margin: auto;
    }
}

@media screen and (max-width: 400px) {
    .cultured_item a img {
        height: 200px;
    }

    .caption a {
        bottom: 20px;
    }


    /* field images   */
    .field-images {
        width: 100%;
        height: 130px;
    }

}



    .P-cultureds img {
        overflow: hidden !important;
        width: 100%;
    }
