@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
    --welcome-screen-border: 10px;
}

* {
    font-family: "Cairo", sans-serif;
}

body {
    overflow-x: hidden;
    margin: 0%;
    padding: 0%;
    background-color: #ffffff;
}

/*navbar*/
nav {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    background-color: #fff;
}

.collapse.navbar-collapse.mx-5 .d-flex a, .collapse.navbar-collapse.mx-5 .d-flex p {
    text-decoration: none;
    color: #287f71;
    font-weight: bold;
    font-size: 1rem;
}

/*end of navbar*/
/*main*/
.welcome-screen {
    margin: 10px;
    margin-top: 20px;
    padding-left: 3rem;
    position: relative;
    top: 60px;
    box-shadow: 0px 6px 25px 7px rgba(0, 0, 0, 0.25);
    background-color: #fff;
    border-radius: var(--welcome-screen-border);
    animation: fadeIn 1.5s ease-out;
}

.background-vector-image {
    display: flex;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top center;
}

    .background-vector-image img {
        width: -webkit-fill-available;
        border-radius: var(--welcome-screen-border);
    }

.welcome-screen .col-8 {
    padding-inline: 150px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 134, 112, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 134, 112, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 134, 112, 0);
    }
}

@keyframes arrowMove {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: translateX(10px);
        opacity: 0;
    }
}

.demo-btn-container-mobile,
.demo-btn-container {
    display: none;
}

@media only screen and (max-width: 1024px) {

    .demo-btn-container {
        display: none;
    }

    .demo-btn-container-mobile {
        display: flex;
        position: relative;
        top: 70px;
    }
}

@media only screen and (min-width: 1023px) {
    .demo-btn-container {
        display: block;
        margin: 1.5rem;
    }

    .demo-btn-container-mobile {
        display: none;
    }
}

.demo-btn {
    display: inline-block;
    padding: 15px 30px;
    margin: auto;
    background-color: #008670;
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 134, 112, 0.2);
    position: relative;
    animation: fadeIn 1s ease-out, pulse 2s infinite;
}

    .demo-btn:hover {
        background-color: #006753;
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 134, 112, 0.3);
        color: white;
        text-decoration: none;
    }

    .demo-btn:active {
        transform: translateY(0);
        box-shadow: 0 4px 15px rgba(0, 134, 112, 0.2);
    }

    .demo-btn .arrow {
        display: inline-block;
        margin-left: 8px;
        position: relative;
        width: 12px;
        height: 2px;
        background-color: white;
        vertical-align: middle;
    }

        .demo-btn .arrow::after {
            content: '';
            position: absolute;
            right: 0;
            top: -3px;
            width: 8px;
            height: 8px;
            border-top: 2px solid white;
            border-right: 2px solid white;
            transform: rotate(45deg);
        }

    .demo-btn:hover .arrow {
        animation: arrowMove 1s infinite;
    }

/*end of main*/
/*about-us*/
.about-us.my-5.w-100,
.service.my-5.w-100,
.terms.my-5.w-100,
.Pricing.my-5.w-100,
.VM.my-5.w-100,
.FAQ.my-5.w-100,
footer {
    position: relative;
    top: 70px;
}

.aboutus-content,
.tm-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    background-color: #ffffff;
    padding-top: 0;
    padding-bottom: 0%;
}

.vm-content {
    padding: 6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;
    padding-top: 0;
    padding-bottom: 0;
}

.img-div-vm,
.img-div-tm,
.img-div-as {
    padding-right: 0%;
}

.tm-content p.col-12 {
    font-size: 20px;
}

.vission-containet .col-12 p {
    font-size: 20px;
}

/*end od about-us*/

/* our services */

.service.my-5.w-100 .articles {
    display: grid;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px;
    place-content: center;
    place-items: start;
    max-width: 1500px;
}

.articles article {
    max-width: 320px;
    position: relative;
    display: block;
    transition: all 0.4s ease-in-out;
    overflow: hidden;
    border-radius: 16px;
}

    .articles article a {
        display: inline-flex;
        color: var(--primary);
        text-decoration: none;
    }

    .articles article h2 {
        margin: 0 0 18px 0;
        font-size: 1.6rem;
        color: #fff;
        transition: color 0.3s ease-out;
    }

    .articles article p {
        line-height: normal;
        color: #92e3a9;
    }

    .articles article img {
        max-width: 100%;
        transform-origin: center;
        transition: transform 0.4s ease-in-out;
    }

.article-preview {
    padding: 24px;
    background: #003f96;
    border-bottom-right-radius: 24px;
    border-bottom-left-radius: 24px;
    max-height: 290px;
    min-height: 290px;
    overflow: hidden;
    font-weight: bold;
    transition: max-height 0.5s ease, min-height 0.5s ease, height 0.5s ease;
    text-overflow: ellipsis;
}

.articles figure {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin: 0 0 0rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #003f96;
}


.btn.link-primary:active {
    border: none !important;
    outline: none !important;
}

.btn.link-primary {
    border: none !important;
    outline: none !important;
}

@media only screen and (max-width: 767px) {
    .aboutus-content,
    .tm-content,
    .vm-content {
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        background-color: #ffffff;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1023px) {
    .articles {
        grid-template-columns: repeat(2, 1fr);
        place-content: center;
        place-items: start;
        gap: 50px;
        max-width: 700px;
        margin: 0%;
    }
}

/* end of our services */

/* pricing */
/* end of pricing */
/*accordion*/
.accordion-button:not(.collapsed) {
    color: #2d9de0;
}

    .accordion-button:not(.collapsed)::after {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%287f71e0'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    }

code {
    font-size: 0.875em;
    color: #2d9de0;
    word-wrap: break-word;
}

/*end of accordion*/

/*footer*/
footer {
    background-color: #014d4d;
    min-width: 300px;
    bottom: 0px;
    display: flex;
    align-items: center;
    flex-direction: column;
    margin: 0 !important;
}

.footer-wrapper {
    display: flex;
    background: transparent;
    flex-direction: column;
    max-width: 1320px;
    padding: 0px;
}

/*? top section */
.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 16px 0px;
}

.footer-line {
    display: block;
    width: 100%;
    height: 8px;
}

/*? footer subscribe */
.footer-subscribe {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

    .footer-subscribe > input {
        border: 1px solid #2d9de0;
        color: #2d9de0;
        outline: none;
        min-height: 36px;
        background-color: #fff;
        font-size: 1.2rem;
        flex: 1 0 120px;
        padding: 8px 12px;
        border-radius: 8px;
        max-height: 50px;
    }

        .footer-subscribe > input::placeholder {
            color: #2d9de0;
        }

    .footer-subscribe > textarea {
        border: 1px solid #2d9de0;
        color: #2d9de0;
        outline: none;
        min-height: 36px;
        background-color: #fff;
        font-size: 1.2rem;
        flex: 1 0 120px;
        padding: 8px 12px;
        border-radius: 8px;
    }

        .footer-subscribe > textarea::placeholder {
            color: #2d9de0;
        }

    .footer-subscribe > button {
        cursor: pointer;
        background-color: var(--primary-blue) !important;
        color: var(--text-white) !important;
        border-radius: 8px;
        font-size: 1.25rem;
        min-width: 120px;
        min-height: 36px;
        flex: 1 0 80px;
        white-space: nowrap;
        padding: 8px 12px;
        outline: none;
        border: 1px solid var(--primary-blue);
        max-height: 50px;
    }

        .footer-subscribe > button:hover {
            background-color: var(--text-white) !important;
            color: var(--primary-blue) !important;
        }

/*? footer columns */
.footer-columns {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: start;
    flex: 2 0 140px;
    width: 100%;
    gap: 16px;
    padding: 24px 8px 16px 8px;
    margin: 0 auto;
}

    .footer-columns ul {
        list-style-type: none;
        padding: 0;
        margin: 0;
    }

.social-links ul li {
    background-color: #0d6efd;
    border-radius: 50%;
    height: 50px;
    width: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-columns ul a {
    color: var(--text-white);
    text-decoration: none;
}

    .footer-columns ul a:hover {
        text-decoration: underline;
    }

.footer-columns ul li {
    margin-bottom: 16px;
    text-align: left;
}

.footer-columns h3 {
    color: var(--text-white);
    margin-top: 0;
    margin-bottom: 25px;
    font-size: 1.125rem;
    border-bottom: 2px solid #2d9de0;
    width: fit-content;
    padding-bottom: 5px;
}

.footer-centering {
    margin: 0 auto;
}

.footer-columns > section {
    min-width: 150px;
}

.footer-logo {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-color);
    margin-left: 0px !important;
}

    .footer-logo svg {
        stroke: var(--text-color);
        stroke-width: 8px;
        width: 50px;
        height: 50px;
    }

/*? Footer bottom */

.footer-bottom {
    text-align: center;
    margin-top: 0px;
    display: flex;
    align-items: center;
    width: 100%;
    gap: 16px;
    padding: 16px 0px;
    flex-wrap: wrap;
    justify-content: center;
    color: #fff;
}

    .footer-bottom > small {
        font-size: 16px;
        margin: 0 4px;
    }

.footer-headline > h2 {
    margin: 0px;
    color: var(--text-white);
}

.footer-headline > p {
    color: var(--text-gray);
    margin: 4px 0px 20px 0px;
}

.footer-line {
    display: block;
    min-width: 40px;
    height: 2px;
    background-color: var(--text-gray);
}

/*? socials */

.social-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.social-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-links img {
    width: 24px;
    height: 24px;
    transition: all 0.2s ease-in-out;
}

    .social-links img:hover {
        transform: scale(1.1);
    }

.social-links ul {
    display: flex;
    gap: 12px;
    list-style-type: none;
    padding: 0;
    margin-bottom: 0% !important;
}

/*? mobile */



/*end of footer*/


/*flowting message*/

@media only screen and (min-width: 899px) and (max-width: 1750px) {
    .description {
        width: 500px !important;
    }
}



.accordion-item:not(:first-of-type) {
    border-top: 0;
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
    margin-block: 10px;
}

.accordion-flush > .accordion-item:first-child {
    box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
}

.accordion-button:not(.collapsed) {
    background-color: #fff !important;
    color: #287f71 !important;
}

@media (max-width: 1024px) {
    .welcome-screen {
        padding-left: 0rem;
    }

        .welcome-screen .row .col-12.col-lg-8.d-flex.flex-column.justify-content-center h1 {
            display: flex;
            justify-content: center;
            align-items: center;
            flex-direction: column;
        }

            .welcome-screen .row .col-12.col-lg-8.d-flex.flex-column.justify-content-center h1 span {
                font-size: 40px !important;
            }

        .welcome-screen .row .col-12.col-lg-8.d-flex.flex-column.justify-content-center p {
            display: none;
        }

    .about-us.my-5.w-100 .header, .about-website .header {
        padding-left: 0% !important;
        text-align: center;
    }

    .col-12.col-lg-6.aboutus-content.wow.slideInRight .colored-txt {
        text-align: center;
        color: #287f71;
    }

    .aboutusimg {
        width: 100%;
    }

    .row.about.termsofservices {
        flex-direction: column-reverse;
    }

    .service.my-5.w-100.wow.bounceInUp h2 {
        padding-left: 0% !important;
        text-align: center;
    }

    .terms.my-5.w-100.wow.slideInLeft h2 {
        padding: 0% !important;
        text-align: center;
    }

    .VM.my-5.w-100.wow.slideInRight h2 {
        padding: 0% !important;
        text-align: center;
        font-size: 40px !important;
    }

    .FAQ.my-5.w-100.px-5.wow.pulse h2 {
        padding: 0% !important;
        text-align: center !important;
        font-size: 36px !important;
    }

    .mission-containet {
        flex-direction: row-reverse;
    }

    .vission-containet {
        flex-direction: column-reverse;
    }

    .footer-wrapper {
        display: flex !important;
        background: transparent !important;
        flex-direction: column !important;
        max-width: 1320px !important;
        padding: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .footer-top {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0;
        position: relative;
        right: 0;
        left: 0;
        width: 100%;
    }

    .footer-logo {
        margin-bottom: 0px;
    }

    .row.about.vission-containet .col-12.col-lg-6.img-div-vm.d-flex.justify-content-center.align-items-center img,
    .aboutusimg {
        width: 100% !important;
    }
}

@media (max-width: 1023px) {
    .navbar.navbar-expand-lg.navbar-light.fixed-top {
        width: 100% !important;
    }

    .container-fluid {
        padding-inline: 0px !important;
        justify-content: space-around !important;
    }

    footer {
        padding-top: 12px !important;
    }
}

@media (max-width: 1500px) {
    .articles {
        display: flex !important;
        max-width: 1500px;
        flex-basis: auto !important;
        flex-flow: wrap !important;
        justify-content: center !important;
        margin: 0 auto !important;
        gap: 20px !important;
    }
}
