* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "cairo", sans-serif;
    color: var(--font-color);
}

button {
    transition: all 300ms ease;
}

.text-warning {
    color: var(--secondary) !important;
}

.border-warning {
    border-color: var(--secondary) !important;
}


/* ======================
        top nav
===================== */

header .top {
    background: var(--bs-body);
    height: 30px;
}

#toggle-switch {
    width: 35px;
}

#toggle-switch:checked {
    background-color: var(--secondary);
}

#toggle-switch:focus {
    box-shadow: 0 0 1px var(--secondary);
}

.call *,
.email * {
    transition: all 500ms ease-in;
}

.call:hover *,
.email:hover * {
    color: var(--secondary);
}

/* ======================
        navbar
===================== */
header .nav {
    position: static;
    top: 30px;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: rgba(255, 255, 255, 1.8);
    backdrop-filter: blur(4px);
}

header .nav .links {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-direction: row-reverse;
    justify-content: start;
    transition: all 300ms;
}

header .nav .links .link {
    font-size: 16px;
    text-decoration: none;
    color: #797979;
    position: relative;
    cursor: pointer !important;
}

header .nav .links .link.active {
    color: var(--secondary);
    font-family: "GESS-med", sans-serif;
}

a.active::before {
    transition: all .3s;
    content: '';
    bottom: -10px;
    width: 0%;
    left: 50%;
    height: 5px;
    transform: translateX(-50%);
    background: var(--gradient);
    position: absolute;
    border-radius: 20px;
    animation: nav-link-active .3s .3s ease-in forwards;
}


@keyframes nav-link-active {
    to {
        width: 40%;
    }
}

/* ======================
        hero
===================== */

main .hero {
    height: 75vh;
    position: relative;
}

main .hero #myCarousel {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

main .hero #myCarousel .carousel-item,
main .hero #myCarousel .carousel-inner,
main .hero #myCarousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

main .hero .carousel-inner {
    height: 75vh;
    position: relative;
}

main .hero .carousel-inner::before {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    content: '';
    display: block;
    background-color: rgba(0, 0, 0, 0.48);
    height: 100%;
    width: 100%;
    z-index: 2;
}

main .hero .carousel-item img {
    object-position: center;
    object-fit: cover;
    filter: brightness(0.6);
}

main .hero .carousel-item .carousel-details {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    width: 80%;
    z-index: 2;
    display: grid;
    place-content: center;
    text-align: center;
    margin: auto;
}

main .hero .carousel-item .carousel-details *:not(span, i) {
    opacity: 0;
    transform: translateY(50px);
}

main .hero .carousel-item.active .fade-up {
    animation: fade-up 300ms ease forwards;
}

main .hero .carousel .carousel-control-prev,
main .hero .carousel .carousel-control-next {
    z-index: 5;
}


@keyframes fade-up {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceZoom {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    30% {
        transform: scale(1.2);
    }

    50% {
        transform: scale(0.9);
    }

    70% {
        transform: scale(1.1);
    }
}


.arrow2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    flex-grow: 1;
    overflow-y: hidden;
}

.arrow2::before {
    content: '';
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, .2);
    left: 50%;
    margin-left: -0.5px;
    bottom: 5%;
    position: absolute;
    -webkit-transition: .5s;
    transition: .5s;
    -moz-transition: .5s;
    -ms-transition: .5s;
    -o-transition: .5s;
    z-index: 2;
}

.arrow2::before {
    will-change: transform;
    width: 1px;
    background: #fff;
    -webkit-animation-name: b;
    animation-name: b;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(.77, 0, .175, 1);
    animation-timing-function: cubic-bezier(.77, 0, .175, 1);
    z-index: 10;
}

@-webkit-keyframes b {
    0% {
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transform: scaleY(1);
        transform: scaleY(1)
    }

    50% {
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transform: scaleY(0);
        transform: scaleY(0)
    }

    50.0001% {
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scaleY(0);
        transform: scaleY(0)
    }

    to {
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scaleY(1);
        transform: scaleY(1);
        -moz-transform: scaleY(1);
        -ms-transform: scaleY(1);
        -o-transform: scaleY(1);
    }
}

@keyframes b {
    0% {
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transform: scaleY(1);
        transform: scaleY(1)
    }

    50% {
        -webkit-transform-origin: 50% 100%;
        transform-origin: 50% 100%;
        -webkit-transform: scaleY(0);
        transform: scaleY(0)
    }

    50.0001% {
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scaleY(0);
        transform: scaleY(0)
    }

    to {
        -webkit-transform-origin: 50% 0;
        transform-origin: 50% 0;
        -webkit-transform: scaleY(1);
        transform: scaleY(1)
    }
}

/* ======================
        aboutus
===================== */
#aboutus {
    position: relative;
    min-height: 65vh;
}

#aboutus::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url(../images/shapes.png) repeat;
    background-size: contain;
    filter: grayscale(0.7);
    opacity: 0.4;
    z-index: -1;
}

#aboutus .img-wrap,
#services .img-wrap {
    background-color: var(--secondary);
    width: 25vw;
    height: 15vw;
    border: 10px solid var(--font-color);
    outline: solid 1.5px var(--primary);
}

#aboutus img {
    width: 100%;
}

#aboutus p {
    line-height: 1.9rem;
}

#aboutus ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    align-items: end;
}

#aboutus ul li {
    line-height: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

#services .glide__slides .card,
#aboutus .cards-wrap .card {
    height: 300px;
    width: 300px;
    overflow: hidden;
}

#services .glide__slides .card .card-img-top,
#aboutus .cards-wrap .card .card-img-top {
    overflow: hidden;
}

#aboutus .cards-wrap .card img {
    height: 130px;
    width: 100%;
    object-fit: cover;
    object-position: top;
    transition: object-position 1s;
}

#services .glide__slides .card:nth-child(2) {
    background-color: var(--primary);
}

#services .glide__slides .card:hover img,
#aboutus .cards-wrap .card:hover img {
    object-position: center;
}

/* ======================
        services
===================== */

#services {
    min-height: 70vh;
}

#services>div {
    background: var(--pattern) no-repeat;
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 100%;
}

#services .card {
    width: 300px !important;
    height: 330px !important;
}

#services .card-img-top {
    width: auto;
    padding: 2rem;
    object-fit: contain;
}

#services .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ======================
        items
===================== */

#items {
    background: var(--light-gradient) !important;
}

#items .items-wrap {
    display: flex;
    align-items: start;
    justify-content: center;
    flex-wrap: wrap;
    margin-inline: auto;
    gap: 1rem;
    width: 50%;
}

#items .items-wrap .item {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: 130px;
    height: 130px;
    aspect-ratio: 1;
}

#items .items-wrap .item img {
    width: 100%;
    height: 70px;
    object-fit: cover;
    object-position: center;
    border: var(--primary) 2px solid;
    padding: 1rem;
    border-radius: 3px;
}

#items .items-wrap .item p {
    font-size: "cairo=light";
    font-size: 14px;
    text-align: center;
    margin-top: 0.8rem;
}

/* ======================
        subscruption
===================== */

#subscruption {
    min-height: 27vh;
    background-color: var(--secondary);
    display: grid;
    align-items: center;
}

#subscruption .wrap {
    background: url(../images/orange-bg.png) no-repeat;
    background-size: cover;
    background-position: bottom;
    min-height: 100%;
    width: 100%;
    display: grid;
    align-items: center;
}

#subscruption .wrap .form-input {
    margin-top: 1rem;
}

#subscruption .wrap .form-input input {
    background-color: rgba(255, 255, 255, .18);
    border-color: var(--bs-light);
    border-width: 1px;
}

#subscruption .wrap .btn {
    background-color: rgba(255, 255, 255, .18);
}

#subscruption .wrap h3 {
    color: #fff;
}

#subscruption .wrap p {
    color: #fff;
}

#subscruption .wrap .form-input input:focus {
    border: var(--secondary);
}

#subscruption .wrap .form-input input::placeholder {
    font-style: italic;
    color: #dddddd;
}

/* ======================
        footer
===================== */

footer>div {
    min-height: fit-content;
    background-color: var(--dark);
}

footer>div {
    background: url(../images/dark-bg.png) no-repeat;
    background-size: cover;
    background-position: bottom;
    display: grid;
    place-content: center;
    padding-top: 1rem;
}

footer .about,
footer .services,
footer .address {
    height: auto;
}

footer .services ul {
    list-style: none;
}

footer .about h6,
footer .about p {
    color: #dddddd;
    margin-right: 1rem;
}

footer .about p {
    line-height: 2rem;
}

footer .services {
    display: grid;
    align-items: flex-end;
}

footer .services ul {
    list-style-type: none;
    margin-right: 1rem;
}

footer .services h6,
footer .services li a {
    color: #dddddd;
    list-style: none;
    text-decoration: none;
    font-family: "cairo-light";
}

footer .address {
    display: flex;
    flex-direction: column;
    align-items: start;
    margin-right: 1rem;
}

footer .map {
    width: 300px;
    height: 180px;
}

footer .services li {
    line-height: 2rem;
}

footer .address p {
    color: #dddddd;
}

/* ======================
        contactus
===================== */
#contactus {
    /* background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 720 160"><path fill="%23F39435" fill-opacity="1" d="M0,160L12,152C24,144,48,128,72,114.7C96,101,120,89,144,82.7C168,76,192,69,216,72C240,75,264,86,288,93.3C312,101,336,107,360,101.3C384,96,408,80,432,82.7C456,86,480,101,504,96C528,91,552,64,576,56C600,48,624,64,648,76C672,88,696,96,708,100L720,104L720,160L708,160C696,160,672,160,648,160C624,160,600,160,576,160C552,160,528,160,504,160C480,160,456,160,432,160C408,160,384,160,360,160C336,160,312,160,288,160C264,160,240,160,216,160C192,160,168,160,144,160C120,160,96,160,72,160C48,160,24,160,12,160L0,160Z"></path></svg>') repeat; */
    background: url(../images/wave.svg) repeat;
    background-size: cover;
}

#contactus .form-header {
    background-color: var(--form-header);
}

#contactus input:focus {
    border: var(--secondary);
}

#contactus input::placeholder {
    font-style: italic;
    color: #bbbbbb;
    padding-right: 1rem;
}

.wa-button {
    position: fixed;
    bottom: 20px;
    left: 20px;
    border-radius: 20px 0 0 0;
    animation: pulse 2s infinite;
    background: #24CC63;
    outline: none;
    border: none;
}

.btn_top {
    position: fixed;
    bottom: 75px;
    left: 26px;
    border-radius: 20px 0 0 0;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 20px rgba(0, 0, 0, .1), 0 0 20px rgba(255, 255, 255, .1);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* ======================
        login screen
===================== */
.login_wrap {
    max-width: 500px;
    min-height: 70vh;
    margin-inline: auto;
    margin-top: 10vh;
    display: block;
    background-color: var(--bs-body-bg);
}

.login_wrap .container {
    padding-bottom: 5vh;
}

.signin_form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.psw-wrap {
    position: relative;
}

.psw-wrap .bx {
    position: absolute;
    top: 56%;
    left: 5%;
    font-size: 24px;
    color: rgb(158, 158, 158);
}

.form-check-input:checked {
    background-color: var(--secondary);
}

/* ======================
    view page
===================== */
#hero .hero-wrap {
    position: relative;
}

.page #hero .hero-img {
    width: 100%;
    height: 50vh;
    position: relative;
}

.page #hero .hero-img::before {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
    background: var(--gradient);
    opacity: 0.55;
    content: '';
}

.page #hero .hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* filter: brightness(0.6); */
}

.page #hero .hero-details {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.page #hero .hero-details .lead {
    color: white;
    text-align: center;
}

.page #aboutus .card {
    height: 450px;
}


.page #aboutus .card .card-img-top {
    height: 250px;
}

.page #aboutus .card .card-text {
    font-size: 13px;
    text-align: justify;
}

.page #services {
    display: grid;
    place-content: center;
}

.page #services>div {
    background: url();
}

.page #aboutus img {
    height: 98%;
    width: 100%;
    object-fit: cover;
}

.page .cards-wrap {
    margin-top: 6rem !important;
}

.page .team-img {
    position: relative;
}

.page .team-img::before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(to bottom, transparent 70%, var(--secondary-li));
}

/* ======================
        mobile screen
===================== */

/* For small devices (mobile phones, 0px to 575px) */
@media screen and (max-width: 768.98px) {
    header .top .social-icons {
        display: none !important;
    }

    header .top .container>div {
        justify-content: end !important;
    }

    header nav {
        position: relative;
        z-index: 5;
    }

    header {
        position: fixed;
        z-index: 6;
        width: 100%;
        top: 0;
    }

    header nav .links {
        position: fixed;
        top: -25px;
        right: -100%;
        height: 105svh;
        width: 50vw;
        padding-top: 15vh;
        flex-direction: column !important;
        background-color: var(--bs-body-bg);
        display: grid;
        gap: 2rem !important;
        place-content: center;
        z-index: 60 !important;
        opacity: 0;
        box-shadow: 0 0 50px rgba(0, 0, 0, .18);
    }

    .menu-open {
        right: 0 !important;
        opacity: 1 !important;
    }

    #aboutus .img-wrap,
    #services .img-wrap {
        width: 100%;
        height: 100%;
    }

    #aboutus .cards-wrap {
        flex-wrap: wrap-reverse;
    }

    #items {
        margin-top: 3rem;
    }

    #items .items-wrap {
        width: 80%;
    }

    #subscruption .row {
        flex-direction: column-reverse;
    }

    /* =========================
    page-break-inside
    ========================= */
    .page #hero {
        margin-top: 109px;
        height: fit-content;

    }

    .page #hero>div {
        height: 100%;
    }

    .page #hero .hero-img {
        min-height: fit-content;
    }

    .page #hero .hero-img img {
        height: 100%
    }

    .page #hero .hero-details img {
        height: 70px;
    }

    .page h5 {
        font-size: 18px;
    }

    .page #hero .hero-details .lead {
        width: 90% !important;
        font-size: 16px;
    }


    .page #hero .hero-wrap {
        height: 100%;
    }

    .page #hero .hero-img img {
        object-position: top;
    }

    .page .container .row {
        gap: 3rem;
        flex-direction: column-reverse;
    }

    .page #services>div {
        padding-block: 4rem !important;
        background: url();
        ;
    }

    .page #aboutus p {
        font-size: 16px;
    }

    .img-wrap.mobile {
        height: 100%;
        width: 100%;
        ;
    }
}