@media (min-width: 700px) {
    .cover {
        left: 0;
        right: 0;
        height: calc(100vh - 260px) !important;
    }
}

@media (min-width: 700px) {
    html,
    body {
        height: 100vh;
        overflow: hidden;
    }
}

main {
    position: relative;
}

:focus-visible {
    border: 3px solid lime;
}

body {
    margin: 0;
    padding: 0;
    background: white;
}

.cover::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgb(255 255 255) 5%, rgb(255 255 255 / 44%) 10%, #ffffff00 30%);
    z-index: 1;
    pointer-events: none;
}
.cover-slick {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    z-index: -1;
}

.cover-slick div {
    height: 100%;
    background-size: cover;
    background-position: bottom center;
    background-repeat: no-repeat;
}

.cover .toggle-slick {
    position: absolute;
    top: 125px;
    right: 15px;
    background: none;
    border: 0;
}

.cover-content {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    z-index: 99;
    text-align: center;
    max-width: 600px;
    margin-top: -60px;
}

@media (max-width: 700px) {
    .cover {
        height: auto !important;
        padding: 0 !important;
        background: #ffffff;
        display: flex;
        flex-direction: column;
    }

    .cover-slick {
        position: relative !important;
        height: 250px;
        /* min-height: 300px; */
        width: 100%;
        z-index: 1;
    }
}
/*main container*/
.main-content-container {
    width: 100%;
    max-width: 900px;
    margin: 110px auto 10px auto;
    padding-right: clamp(150px, 14vw, 220px);
    padding: 0 15px;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    height: calc(100vh - 275px);
    gap: 35px;
}

#content {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 250px);
    padding-top: 10px;
    padding-bottom: 40px;
    clear: both;
}
@media (max-height: 800px) {
    .main-content-container {
        justify-content: space-around;
    }
}
@media(max-width: 1700px) {
    .main-content-container {
        max-width: 700px;
        margin: 76px auto 8px auto;
        height: calc(100vh - 214px);
        gap: 15px;
    }
}
@media(max-width: 1225px) {
    .main-content-container {
        width: 100%;
        max-width: 700px;
     
    } 
}
@media (max-width:991px) and (min-width:700px){
    .main-content-container {
        margin: 0 auto;
        max-width: 450px;
    }    
}
@media(max-width: 700px) {
    .main-content-container {
        width: 100%;
        max-width: 500px;
        margin: auto;
        height: auto;
        margin-top: -240px;
        margin-bottom: 0rem;
        gap:35px;
    } 
}
/**/
.header nav.navigation {
    display: none;
}

/*events */
.homepage-events-floating {
    position: absolute; 
    top: 50%;
    transform: translateY(-40%);
    right: 0;
    left: auto;
    bottom: auto;
    width: clamp(150px, 14vw, 220px);
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vh, 15px);
    direction: rtl;
}

.events-slider-wrapper {
    position: relative;
    background: #ffffff;
    padding: 8px;
    padding-bottom: 0;
    border-radius: 14px 0 0 14px;
    padding-right: 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
}

.events-slider:not(.slick-initialized) {
    overflow: hidden;
    display: flex;
}

.events-slider:not(.slick-initialized) .event-card:not(:first-child) {
    display: none;
}

.event-card {
    display: block;
    text-decoration: none;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.event-thumb img {
width: 100%;
height: auto;
aspect-ratio: 1 / 1;
display: block;
border-radius: 0;
object-fit: cover;
}

.event-body-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.event-info {
    display: none;
}

.event-date {
    position: absolute;
    bottom: 0;
    right: 0;
    background: hsl(0deg 0% 100% / 80%);
    padding: 6px 12px;
    border-radius: 18px 0 0 0;
    color: #333333;
    font-weight: bold;
    font-size: clamp(11px, 0.8vw, 13px);
    text-align: center;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    box-shadow: -2px -2px 10px rgba(0, 0, 0, 0.08);
    border: 2px solid white;
    border-right: 0;
    border-bottom: 0;
}

.slider-arrow.prev-arrow {
    position: absolute;
    left: -14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: #ffffff;
    color: #65b32e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    z-index: 100;
    font-weight: bold;
    font-size: 13px;
    transition: all 0.2s ease-in-out;
}

.slider-arrow.prev-arrow:hover {
    background: #65b32e;
    color: #ffffff;
}

.read-more-btn {
    display: block;
    background-color: #59c517;
    color: #ffffff;
    text-align: center;
    padding: clamp(4px, 0.8vh, 5px);
    border-radius: 10px;
    text-decoration: none;
    font-size: clamp(15px, 0.9vw, 15px);
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: background-color 0.2s ease;
    width: 109px;
    margin-left: 0;
    margin-right: auto;
}

.read-more-btn:hover {
    background-color: #419845;
    color: #ffffff;
    text-decoration: none;
}

.event-card {
    transition:
        transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover {
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.12);
}

.event-thumb {
    overflow: hidden;
}

.event-thumb img {
    transition: transform 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.event-card:hover .event-thumb img {
    transform: scale(1.15);
}

.event-thumb img {
    transform: none !important;
    transition: filter 0.3s ease;
}

.events-slider-wrapper {
    transition: box-shadow 0.35s ease;
    box-shadow: -4px 8px 20px rgba(0, 0, 0, 0.12);
}

.homepage-events-floating:hover .events-slider-wrapper {
    box-shadow: -10px 12px 28px rgba(0, 0, 0, 0.22);
}

.event-card {
    position: relative;
    overflow: hidden;
}

.event-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.35), transparent);
    transition: left 0.65s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 5;
    pointer-events: none;
}

.event-card:hover::before {
    left: 160%;
}

.event-card:hover .event-thumb img {
    filter: brightness(1.04);
}

.event-date {
    transition:
        background-color 0.3s ease,
        color 0.3s ease;
}

.homepage-events-floating:hover .event-date {
    background-color: #005e9c;
    color: #ffffff;
}

.read-more-btn {
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease;
}
 .homepage-events-floating:hover .read-more-btn {
    background-color: #005e9c;
}
 .homepage-events-floating:hover  .slider-arrow.prev-arrow {
    background-color: #005e9c;
     color:white;
}
@media (min-width: 600px) and (max-height: 850px) {
    .homepage-events-floating {
        right: 0;
    }
}

@media (max-width: 700px) {
    .homepage-events-floating {
    transform: translateY(0%);
    position: absolute;
    top: auto;
    bottom: clamp(55px, 24vh, 150px);
    right: 0;
    width: clamp(150px, 14vw, 220px);
    z-index: 98;
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.2vh, 15px);
    direction: rtl;
}
    .homepage-events-floating {
        position: relative;
        top: 0;
        bottom: 0;
        right: auto;
        margin: 45px auto;
        width: 70%;
        direction: rtl;
    }
.events-slider-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding-right:6px;

}
    .event-card {
        display: block;
        text-decoration: none;
        border-radius: 18px;
        overflow: hidden;
        position: relative;
    }

    .event-thumb img {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        display: block;
        border-radius: 0;
        object-fit: cover;
    }

    .event-body-overlay {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .slider-arrow.prev-arrow {
        position: absolute;
        left: -16px;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        background: #ffffff;
        color: #65b32e;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: -2px 4px 10px rgba(0, 0, 0, 0.15);
        cursor: pointer;
        z-index: 100;
        font-weight: bold;
        font-size: 14px;
    }

}

/* News * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
.news.strip {
    position: absolute;
    bottom: 36px;
    left: auto;
    width: 100%;
    z-index: 10;
    display: flex;
    align-items: center;
    border: none;
}

.news.strip .container {
    width: 100%;
    max-width: 100%;
    padding: 0 20px;
    min-width: unset;
}

.news.strip h2,
.news.strip .bn-controls {
    display: none !important;
}

.news.strip #newsTicker2 {
    height: 36px !important;
    line-height: 36px !important;
    border: none !important;
    background: transparent !important;
    margin: 0;
    width: 100%;
}

.bn-news ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.bn-news ul li {
    padding: 0 30px !important;
    position: relative;
}

.bn-news ul li::after {
    content: "\2022";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffcb05;
    font-size: 18px;
}

.bn-news ul li:last-child::after {
    display: none;
}

.bn-news ul li a {
    color: #ffffff !important;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    white-space: nowrap;
    padding: 0;
}

.news .date {
    color: #65ccf2;
}

.news .date:after {
    display: none;
}
.bn-news ul li a {
    transition:
        color 0.25s ease,
        opacity 0.25s ease;
}

.bn-news ul li a:hover {
    color: #ffcb05 !important;
    opacity: 0.95;
}

.news .date {
    transition: color 0.25s ease;
}

.bn-news ul li a:hover .date {
    color: #ffffff;
}

@media (max-width: 700px) {
    .news.strip {
        position: relative;
        bottom: 40px;
        margin-top: 5rem;
    }
}
/**/

video {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    transition: 1s opacity;
    object-fit: cover;
    z-index: -1;
}

#toggle-video {
    position: absolute;
    top: 125px;
    right: 15px;
    background: none;
    border: 0;
}

/**/
.qs-strip {
    direction: rtl;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
}

.qs-strip .qs-list {
    list-style: none;
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    width: 100%;
}

.qs-strip .qs-item {
    display: inline-block;
    position: relative;
}

.qs-strip .qs-wrapper,
.qs-strip .qs-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    color: #000000;
    font-size: clamp(0.9rem, 1vw, 1.2rem);
    line-height: 1.2;
    text-decoration: none;
    padding: 1.2rem 0;
    white-space: nowrap;
    transition: color 0.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.qs-strip .qs-link.on {
    font-weight: bold;
}

.qs-strip .qs-icon-box img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    display: block;
    transition: transform 0.25s cubic-bezier(0.19, 1, 0.22, 1);
}

.qs-strip .qs-item:hover .qs-link .qs-icon-box img {
    transform: translateY(-4px);
}

.qs-strip .qs-label {
    position: relative;
}

.qs-strip .qs-item:not(:last-child) .qs-label::after {
    content: "";
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.qs-strip .qs-item:nth-child(5n + 1) .qs-label::after {
    background-color: var(--nwesite1);
}
.qs-strip .qs-item:nth-child(5n + 2) .qs-label::after {
    background-color: var(--nwesite2);
}
.qs-strip .qs-item:nth-child(5n + 3) .qs-label::after {
    background-color: var(--nwesite3);
}
.qs-strip .qs-item:nth-child(5n + 4) .qs-label::after {
    background-color: var(--nwesite4);
}
.qs-strip .qs-item:nth-child(5n + 5) .qs-label::after {
    background-color: var(--nwesite5);
}

/**/
.qs-strip .qs-item:nth-child(5n + 1) {
    --qs-color: var(--nwesite1);
}
.qs-strip .qs-item:nth-child(5n + 2) {
    --qs-color: var(--nwesite2);
}
.qs-strip .qs-item:nth-child(5n + 3) {
    --qs-color: var(--nwesite3);
}
.qs-strip .qs-item:nth-child(5n + 4) {
    --qs-color: var(--nwesite4);
}
.qs-strip .qs-item:nth-child(5n + 5) {
    --qs-color: var(--nwesite5);
}

.qs-strip .qs-label::before {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--qs-color);
    transition:
        width 0.3s ease,
        left 0.3s ease;
}

.qs-strip .qs-item:hover .qs-link {
    color: var(--qs-color);
}
.qs-strip .qs-item:hover .qs-icon-box img {
    transform: translateY(-6px) scale(1.12);
}

.qs-strip .qs-item:hover .qs-label::before {
    width: 100%;
    left: 0;
}

@media (min-width: 992px) {
    .qs-strip.qs-mobile {
        display: none;
    }

    .qs-strip.qs-desktop {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;     
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%); 
        z-index: 89;
        width: auto;
        margin: 0;
    }

    .qs-strip.qs-desktop .qs-list {
        justify-content: center;
        gap: clamp(0.5rem, 1.5vw, 2.5rem);
    }

    .qs-strip.qs-desktop .qs-item:not(:last-child) .qs-label::after {
        left: calc(clamp(0.5rem, 2vw, 2.5rem) * -0.5);
    }
}

@media (max-width: 991px) {
    .qs-strip .qs-icon-box img {
        width: 55px;
        height: 55px;
    }
    .qs-strip.qs-desktop {
        display: none;
    }

    .qs-strip.qs-mobile {
        display: block;
        position: relative;
        top: auto;
        background: #ffffff00;
        overflow: hidden;
        z-index: 8;
        width: 100%;
    }

    .qs-strip.qs-mobile .qs-list {
        justify-content: center;
        overflow-x: auto;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding: 0 20px;
        gap: 2rem;
    }

    .qs-strip.qs-mobile .qs-item {
        flex-shrink: 0;
    }

    .qs-strip.qs-mobile .qs-item:not(:last-child) .qs-label::after {
        left: -28px;
    }

    .qs-strip.qs-mobile .qs-list::-webkit-scrollbar {
        display: none;
    }

    .qs-strip.qs-mobile .qs-list {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .qs-strip.qs-mobile .qs-list {
        display: flex;
        justify-content: flex-start;
        gap: 16px;
        padding: 0 15px;
    }

    .qs-strip.qs-mobile .qs-item {
        flex: 0 0 calc((100% - 48px) / 3.4);
        width: calc((100% - 48px) / 3.4);
    }

    .qs-strip.qs-mobile .qs-label {
        font-size: 16px;
        line-height: 1.1;
    }
}
/* Articles */

.articles {
    padding: 3rem 2rem;
}

.articles h2 {
    font-weight: bold;
    margin-bottom: 2rem;
}

.articles article {
    display: block;
    height: 100%;
}

.articles .row > div {
    margin-bottom: 30px;
}

/**/

/*HEADER*/
.header .top {
    background: #ffffff00;
}
@media (min-width: 991px) {
    .header nav > ul > li > span > a {
        color: #000000;
    }
}
@media (min-width: 992px) {
    .header .top {
        border-bottom: 0px solid white;
    }
}
.header nav.navigation > ul > li:nth-child(5n + 1):hover > span > a {
    color: #854d0e;
}
.header nav.navigation > ul > li:nth-child(5n + 2):hover > span > a {
    color: #00729f;
}
.header nav.navigation > ul > li:nth-child(5n + 3):hover > span > a {
    color: #2f7904;
}
.header nav.navigation > ul > li:nth-child(5n + 4):hover > span > a {
    color: #c21217;
}
.header nav.navigation > ul > li:nth-child(5n + 5):hover > span > a {
    color: #2d662e;
}

.header-side {
    background-color: #ffffff00;
    box-shadow: none;
}
/*Cover*/
@media (min-width: 700px) {
    .cover {
        left: 0;
        right: 0;
        max-height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: start;
        align-items: center;
        padding-top: clamp(10px, 2vh, 30px);
        padding-bottom: clamp(20px, 4vh, 80px);
        box-sizing: border-box;
        position: relative;
        height: calc(104vh - 175px) !important;
    }
    .cover {
        height: 100vh !important;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        position: relative;
        box-sizing: border-box;
        padding-top: clamp(10px, 3vh, 40px);
        padding-bottom: 0 !important;
    }
}

.cover::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20vh;
    background: linear-gradient(to top, rgb(19 88 126) 0%, rgb(17 87 125 / 80%) 40%, rgba(25, 159, 209, 0) 100%);
    z-index: 1;
    pointer-events: none;
}
@media (max-width: 700px) {
    .cover {
        height: auto;
        padding: 15px;
        padding-top: 0;
        position: relative;
    }
    .cover::after {
        content: "";
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 18vh;
        z-index: 1;
        pointer-events: none;
        background: linear-gradient(to top, rgb(19 88 126) 0%, rgb(17 87 125 / 80%) 35%, rgba(25, 159, 209, 0) 100%);
    }
}
/*WELCOME*/
@keyframes welcomeFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes welcomeLineGrow {
    from {
        opacity: 0;
        transform: scaleX(0);
    }
    to {
        opacity: 1;
        transform: scaleX(1);
    }
}
@media (min-width: 1px) {
    .welcome-title {
        text-align: center;
        direction: rtl;
        z-index: 2;
    }

    .welcome-title span {
        display: block;
        color: #005ea2;
        font-size: clamp(1.1rem, 1.2vw, 1.4rem);
        letter-spacing: -0.5px;
        line-height: 1.2;
        opacity: 0;
        animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.1s;
    }

    .welcome-title h1 {
        color: #005e9c;
        font-size: clamp(2.5rem, 4vw, 4.5rem);
        font-weight: 800;
        margin: 0;
        line-height: 1.1;
        letter-spacing: -1px;
        opacity: 0;
        animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.3s;
    }

    .welcome-title::after {
        content: "";
        display: block;
        width: clamp(100px, 8vw, 150px);
        height: 5px;
        background: linear-gradient(to right, #fbc02d, #4caf50, #00b0ff);
        margin: clamp(0.8rem, 1.5vh, 1.5rem) auto 0 auto;
        border-radius: 3px;
        opacity: 0;
        transform-origin: center;
        animation: welcomeLineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.6s;
    }
}

@media (max-width:1px) {
    .welcome-title {
        text-align: center;
        direction: rtl;
        padding: 0rem 1rem 1.5rem 1rem;
        z-index: 2;
        position: relative;
        padding-bottom: 1rem;
    }

    .welcome-title span {
        display: block;
        color: #005ea2;
        font-size: 1.25rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
        opacity: 0;
        animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.1s;
    }

    .welcome-title h1 {
        color: #005e9c;
        font-size: 2.8rem;
        font-weight: 800;
        margin: 0;
        line-height: 1.1;
        letter-spacing: -1px;
        opacity: 0;
        animation: welcomeFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.3s;
    }

    .welcome-title::after {
        content: "";
        display: block;
        width: 100px;
        height: 4px;
        background: linear-gradient(to right, #fbc02d, #4caf50, #00b0ff);
        margin: 1rem auto 0 auto;
        border-radius: 3px;
        opacity: 0;
        transform-origin: center;
        animation: welcomeLineGrow 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
        animation-delay: 0.6s;
    }
    .welcome-title {
        position: absolute !important;
        top: 10px;
        left: 0;
        right: 0;
        z-index: 3;
        padding: 0 15px !important;
        margin-top: 10px;
    }
}
@media (min-width: 600px),(max-height: 850px) {
    .welcome-title::after {
        width: 100px;
        height: 3px;
        margin: 0.4rem auto 0 auto;
    }
}
/*search*/
.form-search {
    position: relative;
    display: flex;
    align-items: center;
    background-color: hsl(0deg 0% 100% / 80%);
    border: 1.5px solid #e1e8ed;
    border-radius: 8px;
    height: 48px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(30, 31, 32, 0.06);
    transition:
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-search input {
    border: 0;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 1.05rem;
    padding: 0 25px 0 60px;
    outline: none;
    color: #005ca9;
    text-align: right;
    box-sizing: border-box;
    min-height: 37px;
}

.form-search input::placeholder {
    color: #005ca9;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.form-search button {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: 0;
    cursor: pointer;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;

    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

.form-search button::before {
    content: "";
    display: block;
    width: 21px;
    height: 21px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23005ca9' stroke-width='2.8'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath stroke-linecap='round' d='M21 21l-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    transition:
        transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
        filter 0.3s ease;
}

.form-search button i {
    display: none !important;
}

.form-search:hover,
.form-search:focus-within {
    transform: translateY(-2px);
    border-color: #005ca9;
    box-shadow: 0 8px 25px rgba(0, 92, 169, 0.14);
}

.form-search:focus-within input::placeholder {
    opacity: 0.4;
}

.form-search:hover button,
.form-search:focus-within button {
    background-color: #005ca9;
    box-shadow: 0 3px 10px rgba(0, 92, 169, 0.25);
}

.form-search:hover button::before,
.form-search:focus-within button::before {
    filter: brightness(0) invert(1);
    transform: scale(1.15) rotate(-6deg);
}

.form-search button:active {
    transform: translateY(-50%) scale(0.95) !important;
}


@media (max-width:700px) {
    .form-search {
        margin-bottom: 50px;
    }
}

/**/
@media (min-width:700px) {
    .footer {
        position: fixed;
    }
}
@media (max-width: 991px) {
    .footer {
        margin-top: -77px;
    }
}
.side-banners a {
    background-color: #fff;
    display: block;
    padding: 1rem;
    margin: 1rem 0;
}

@media (min-width: 600px) {
    .clickserv h3.mobile {
        display: none;
    }
    .services {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 100%;
    }

    .centered {
        position: absolute;
        top: 50%;
        left: 50%;
        margin-right: -50%;
        transform: translate(-50%, -50%);
    }

    .side-banners {
        position: absolute;
        top: 50%;
        transform: translate(0, -50%);
    }

    .side-banners.side-banners-right {
        right: 0;
    }

    .side-banners.side-banners-left {
        left: 0;
    }

    .hplinks {
        display: flex;
        justify-content: space-evenly;
        width: 100%;
        margin-top: 5rem;
        flex-wrap: wrap;
    }
    .services {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        flex-grow: 1;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

.clickserv {
    position: absolute;
    left: 0;
    top: 68px;
    z-index: 3;
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.clickserv h3 {
    position: relative;
    height: inherit;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    width: 100%;
    background: var(--site3);
    color: #fff;
    padding-block: 12px;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.52);
    padding-block: 12px;
}

.clickserv h3 .icon img {
    width: 30px;
}

.clickserv .wrap {
    display: flex;
    padding-block: 1.5rem;
    background-color: rgba(0, 0, 0, 0.62);
    backdrop-filter: blur(3px);
    flex-wrap: wrap;
    position: absolute;
    width: inherit;
    left: 0;
    min-height: 70vh;
    transform: translateY(-1rem);
    opacity: 0;
    transition: all 0.1s ease-in;
    z-index: -1;
}

.clickserv .wrap .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.clickserv.open .wrap {
    display: flex;
    transform: translateY(3.45rem);
    opacity: 1;
    z-index: 3;
    pointer-events: all;
}
.exitbutton {
    display: none;
}
.open .exitbutton {
    display: block;
    position: absolute;
    font-size: 1.15rem;
    right: 7px;
    top: 5px;
}

/*services*/
.card-body {
    background: #ffffff00;
}

    .services-list {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        width: 100%;
        box-sizing: border-box;
        direction: rtl;
        isolation: isolate;
        z-index: 3;
    }

    .service-item {
        flex: 0 1 250px;
        max-width: 250px;
        position: relative;
        display: flex;
        flex-direction: column;
        margin: 0;
    }

    .service-card {
        display: block;
        width: 100%;
        aspect-ratio: 1.6 / 1; 
        border-radius: 18px;
        position: relative;
        overflow: visible;
        text-decoration: none;
        background-color: var(--card-bg);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
        transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                    filter 0.25s ease;
    }

    .card-icon {
        position: absolute;
        bottom: 0;
        height: 123%; 
        z-index: 2;
        pointer-events: none;
        display: flex;
        align-items: flex-end;
    }

    .card-icon img {
        height: 100%;
        width: auto;
        display: block;
        transform-origin: bottom center;
        transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    [data-position="right"] .card-icon { left: -22px; right: auto; }
    [data-position="right"] .card-icon img { object-position: left bottom; }
    [data-position="right"] .card-body { right: 0; left: auto; text-align: right; width: 58%; padding: 14px 16px; }

    [data-position="left"] .card-icon { right: -22px; left: auto; }
    [data-position="left"] .card-icon img { object-position: right bottom; }
    [data-position="left"] .card-body { left: 0; right: auto; text-align: left; width: 58%; padding: 14px 16px; }

    [data-position="center"] .icon-center-left {left: -22px;right: auto;}
    [data-position="center"] .icon-center-left img { object-position: left bottom; }

    [data-position="center"] .icon-center-right { right: -22px; left: auto; }
    [data-position="center"] .icon-center-right img { object-position: right bottom; }

    [data-position="center"] .card-body { left: 0; right: 0; width: 100%; text-align: center; padding-bottom: 14px; }

    .card-body {
        position: absolute;
        bottom: 0;
        color: #ffffff;
        z-index: 3;
        box-sizing: border-box;
    }

    .card-title {
        font-size: clamp(1.2rem, 1.35vw, 1.55rem);
        line-height: 1.1;
        margin: 0;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.35);
        transition: transform 0.3s ease;
    }

    .service-card::before {
        content: '';
        position: absolute;
        inset: 0;
        border-radius: 18px;
        clip-path: inset(0 round 18px);
        pointer-events: none;
        z-index: 1;
        opacity: 0;
        background: linear-gradient(
            115deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 25%,
            rgba(255, 255, 255, 0.28) 50%,
            rgba(255, 255, 255, 0.03) 75%,
            transparent 100%
        );
        background-size: 220% 100%;
        background-position: 170% 0;
        transition: none;
    }

    .service-card:hover {
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
        filter: brightness(1.1);
    }

    .service-card:hover::before {
        opacity: 1;
        background-position: -70% 0;
        transition: background-position 1.2s cubic-bezier(0.15, 0.85, 0.15, 1), opacity 0.25s ease;
    }

    [data-position="right"] .service-card:hover .card-icon img,
    [data-position="center"] .service-card:hover .icon-center-left img {
        transform: translateY(-6px) scale(1.1) rotate(-3deg);
    }

    [data-position="left"] .service-card:hover .card-icon img,
    [data-position="center"] .service-card:hover .icon-center-right img {
        transform: translateY(-6px) scale(1.1) rotate(3deg);
    }
@media(max-width: 1700px) {
    .service-item {
        flex: 0 1 200px;
        max-width: 200px;
    }
}
@media (min-width: 991px) and (max-width: 1250px) {
    .service-item {
        max-width: 200px;
        flex: 1 1 200px;
    }

    .service-card .card-title {
        font-size: 1.4rem;
        padding: 0 10px;
    }
    
    .card-icon img {
        height: 100%;
        width: auto;
        object-fit: contain;
        image-rendering: -webkit-optimize-contrast;
    }
}
@media (max-width:991px) and (min-width:700px){
    .service-item {
        max-width: 115px;
        flex: 1 1 125px;
    }
    .service-card .card-title {
        font-size: 1.1rem;
    }
    .service-card {
        border-radius: 10px;
    }
    [data-position="center"] .service-card:hover .icon-center-left img {
        transform:none;
    }

    [data-position="center"] .service-card:hover .icon-center-right img {
        transform:none;
    }
}
@media (max-width: 700px) {
    .services-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(0.75rem, 7vh, 5.25rem);
        width: 100%;
        height: auto;
        z-index: 3;
        margin-top: -20px;
    }

    .service-item {
        width: 80%;
        max-width: 300px;
        flex: none;
        margin: 0;
    }

    .service-card {
        display: block;
        border-radius: 15px;
        position: relative;
        overflow: visible;
        background-color: var(--card-bg);
    }

    .card-icon {
        position: absolute;
        bottom: 0;
        height: 125%;
        z-index: 2;
    }

    .card-icon img {
        height: 100%;
        width: auto;
        object-fit: contain;
    }

    .card-body {
        position: absolute;
        bottom: 0;
        color: #ffffff;
        z-index: 3;
        width: 61%;
        padding: 0 1rem 1rem 1rem;
        box-sizing: border-box;
    }

    .card-title {
        font-size: 1.8rem;
        margin: 0 0 0.35rem 0;
        line-height: 1;
    }

    [data-position="right"] .card-body {
        right: 0;
        text-align: right;
    }

    [data-position="left"] .card-body {
        left: 0;
        text-align: left;
    }

    [data-position="center"] .card-body {
        left: 0;
        right: 0;
        text-align: center;
        margin: auto;
        padding: 0 28% 1rem 28%;
        width: auto;
    }

    .icon-right {
        right: 0;
    }

    .icon-left {
        left: -2rem;
    }

    [data-position="center"] .icon-left {
        left: 0.5rem;
        max-width: 32%;
    }

    .icon-center {
        right: -1.5rem;
        max-width: 100%;
        justify-content: center;
    }
    .service-item[data-position="right"],
    .service-item[data-position="left"] {
        align-self: flex-start;
        margin-right: 4%;
    }
    .service-item[data-position="center"] {
        align-self: flex-end;
        margin-left: 4%;
    }
    .service-card {
        transition:
            transform 0.2s ease,
            box-shadow 0.2s ease,
            filter 0.2s ease !important;
        display: block;
        width: 100%;
        aspect-ratio: 1.6 / 1;
        border-radius: 14px;
        position: relative;
        overflow: visible;
        text-decoration: none;
        background-color: var(--card-bg);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
        transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
    }

    .service-card:active {
        transform: scale(0.97) !important;
        filter: brightness(1.08) !important;
    }
}
.service-item[data-position="right"] .service-card {
    background-color: hsl(195deg 100% 46% / 80%) !important;
}
.service-item[data-position="left"] .service-card {
    background-color: hsl(47deg 98% 50% / 80%) !important;
}
.service-item[data-position="center"] .service-card {
    background-color: hsl(97deg 80% 42% / 80%) !important;
}

/**/

@media (max-width: 600px) {
    .desktop {
        display: none !important;
    }
    .mobile,
    h3.mobile {
        display: flex;
        position: absolute;
        top: 0;
    }
    .mob_serv {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        justify-content: space-evenly;
        margin-block-end: 4rem;
    }

    .mob_serv a {
        text-align: center;
        color: #fff;
        padding: 14px 1px 7px;
        margin-inline: 5px;
        flex: 1;
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        border-radius: 5px;
        line-height: 1;
    }
    .mob_serv .icon {
        position: absolute;
        top: -10px;
    }
    .mob_serv img {
        max-height: 20px;
        margin-bottom: 30px;
    }

    .centered {
        text-align: center;
    }

    .centered-banner img {
        max-width: 100%;
    }

    .cover .toggle-slick {
        display: none;
    }

    video,
    #toggle-video {
        display: none;
    }

    .open .exitbutton {
        right: 25px;
        top: 13px;
    }

    .clickserv {
        width: 100%;
        max-width: unset;
        top: unset;
        bottom: 0;
        z-index: 99;
    }

    .clickserv .wrap {
        backdrop-filter: blur(9px);
    }

    .clickserv.open .wrap {
        justify-content: center;
        height: inherit;
        width: inherit;
        align-items: center;
        transform: translateY(-100%);
        top: 55px;
    }

    .srv {
        width: 110px;
        height: auto;
    }

    .srv .icon img {
        max-width: 40px;
    }
    .srv figcaption {
        font-size: 1rem;
    }

    .clickserv .wrap {
        padding: 0;
        height: 100%;
        overflow: scroll;
    }
    .clickserv .wrap .list {
        padding: 50px 1rem 25px;
    }
    .clickserv .list > div {
        margin-block: 1rem;
        flex-basis: 25%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .exitbtn {
        display: block;
        position: absolute;
        bottom: 1rem;
    }

    .exitbtn i {
        width: 40px;
        height: 40px;
        background: var(--site2);
        font-size: 2rem;
        display: grid;
        place-content: center;
    }

    .low .news {
        padding: 5px;
    }

    .srvhp {
        height: auto;
        width: 100%;
        margin-inline: 0;
    }

    .srvhp h2 {
        font-size: 1.2rem;
    }
    .srvhp p {
        display: none;
    }
    .bn-controls {
        display: none;
    }
    .articles.events {
        display: none;
    }
}
.mob_serv {
    display: none;
}

@media (min-width: 992px) {
    #content {
        position: fixed;
        left: 0;
        right: 0;
        overflow: hidden;
        top: 0;
        bottom: 110px;
        height: 100vh;
    }

    .footer-container {
        height: 112px;
        background: #22546b;
        position: fixed;
    }

    .footer-logo-block {
        display: none;
    }
    .footer-phone {
        font-size: clamp(1.1rem, 1.3vw, 1.6rem);
    }
    .footer-brand {
        font-size: clamp(1rem, 1vw, 1.1rem);
    }
    .footer-bottom-row {
        border-top: 0px solid #e0e0e0;
    }
    .footer-bottom-row-hompage {
        padding-top: 0;
    }
}

@media (min-width: 991px){
    .footer-bottom-row-hompage {
        display: flex;
    }

    .footer-bottom-row-allpage {
        display: none;
    }
}
@media (max-width: 1250px) and (min-width: 991px){
    .footer-bottom-row-hompage {
        display: block;
    }
    .footer-credit {
        text-align: center;
    }
}
@media (min-width: 992px) and (max-height: 850px) {
    .header nav > ul > li > span > a {
        padding: 5px 0;
        font-size: 0.95rem;
    }

    .header-side {
        gap: 8px;
    }

    .moked-block {
        width: 65px;
        height: 65px;
        padding: 6px;
    }

    .moked-img {
        width: 65px;
    }
    .social-icons-grid .icon-btn {
        height: 30px;
        background-size: 16px;
    }
}

