* {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    text-decoration: none;
    list-style: none;
    box-sizing: border-box;
    scroll-behavior: smooth;

}
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background-color: #4db6c5;
}

::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px rgb(7, 18, 63);
}

:root {
    --color-primary: #46748c;
    --color-success: #0020bf;
    --color-warning: #f7c94b;
    --color-danger: #69deef;
    --color-danger-variant: rgba(247, 88, 66, 0.4);
    --color-white: #fff;
    --color-light: rgba(255, 255, 255, 0.7);
    --color-black: #000;
    --color-bg: #686c6e;
    --color-bg1: #3e738f;
    --color-bg2: #184e6b;

    --container-width-lg: 80%;
    --container-width-lm: 85%;
    --container-width-md: 90%;
    --container-width-sm: 94%;

    --transition: all 400ms ease;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.7;
    color: var(--color-white);
    background: var(--color-bg);

}

.container {
    width: var(--container-width-lg);
    margin: 0 auto;
}

section {
    padding: 2rem 0;

}

section h2 {
    text-align: center;
    margin-bottom: 4rem;
}

h1,
h2,
h3,
h4,
h5 {
    line-height: 1.2;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.6rem;
}

h4 {
    font-size: 1.3rem;
}

a {
    color: var(--color-white);
}

img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.btn {
    margin: 2px;
    display: inline-block;
    background: #4db6c5;
    color: var(--color-white);
    padding: 1rem 2rem;
    border: 1px solid transparent;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 1rem;
    box-shadow: 0 0 25px #4db6c5
}

.btn:hover {
    background: transparent;
    color: var(--color-white);
    border-color: whitesmoke;
    box-shadow: 0 0 60px whitesmoke;

}

.btn-primary {
    background: var(--color-danger);
    color: var(--color-white);
}

.logo__image {


}
/* ========== Scroll to Top ==========*/
#progress {

    position: fixed;
    bottom: 20px;
    right: 10px;
    height: 70px;
    width: 70px;
    display: none;
    place-items: center;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;

}

#progress-value {

    height: calc(100% - 15px);
    width: calc(100% - 15px);
    background-color: white;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 35px;
    color: #001a2e;
}



/* ========== End of Scroll to Top ==========*/


/* ================= NAVBAR ==================*/
nav {
    background: transparent;
    width: 100vw;
    height: 5rem;
    position: fixed;
    top: 0;
    z-index: 11;

}

/*change navbar styles when scrolling by js*/

.window-scroll {
    background: var(--color-primary);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.2);
}

.nav__container {
    height: 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav button {
    display: none;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.nav__menu a {
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav__menu a:hover {
    color: var(--color-bg2);
}


/* ================= HEADER ==================*/

header {
    position: relative;
    top: 5rem;
    overflow: hidden;

    margin-bottom: 5rem;
}

.header__container {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 5rem;
    height: 100%;
    margin-top: 7rem;
    margin-bottom: 2rem;
}

.header__left p {
    margin: 2rem 0 2.4rem;
    text-align: justify;
    font-size: 18px;
}
.header__left h4 {
    margin: 2rem 0 2.4rem;
    font-size: 18px;
}

.header__right-image img {

    filter: opacity(90%);
}

.redcolored{
    color: #ff095f;
}


.header__left h1 {
    color: var(--color-danger);
    font-style: italic;
}


/*  =========== HEADER ARROW DOWN TO FAQS =========== */

.croll__to__faqs {
    margin-top: 30px;
    margin-left: 48%;

    margin-bottom: 0;

}

.croll__to__faqs p  {
    color: #ffffff;
    font-weight: bold;
    margin-left: 8px;
}

.croll__to__faqs a {
    margin-left: -2%;
}
.arrows {
    margin-top: -30%;
    margin-left: -125%;
    width: 62px;
    height: 74px;
    position: relative;
    display: grid;

    bottom: 2px;
}

.arrows path {
    stroke: #ffffff;
    fill: transparent;
    stroke-width: 2px;
    animation: arrow 1s infinite;
    -webkit-animation: arrow 2s infinite;
}

@keyframes arrow
{
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

@-webkit-keyframes arrow /*Safari and Chrome*/
{
    0% {opacity:0}
    40% {opacity:1}
    80% {opacity:0}
    100% {opacity:0}
}

.arrows path.a1 {
    animation-delay:-1s;
    -webkit-animation-delay:-1s; /* Safari 和 Chrome */
}

.arrows path.a2 {
    animation-delay:-0.5s;
    -webkit-animation-delay:-0.5s; /* Safari 和 Chrome */
}

.arrows path.a3 {
    animation-delay:0s;
    -webkit-animation-delay:0s; /* Safari 和 Chrome */
}



/* ==== ENd OF HEADER ARROW DOWN TO FAQS

/* ================= CATEGORIES ==================*/

.categories {
    background: var(--color-bg1);

}

.categories h1 {
    line-height: 1;
    margin-bottom: 3rem;
}

.categories__container {
    display: grid;
    grid-template-columns: 30% 70%;
    /*gap: 4rem*/;
}

.categories__left {
    margin-right: 4rem;
    margin-top: 20%;
}

.categories__left p {
    margin: 1rem 0 3rem;
    font-size: 18px;
}

.categories__right {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.category {
    background: var(--color-bg2);
    padding: 1.3rem;
    border-radius: 2rem;
    transition: var(--transition);
    box-shadow: 0 0 25px #4db6c5;
}

.category:hover {
    box-shadow: 0 3rem rgba(0, 0, 0, 0.3);
    z-index: 1;
}
.category:nth-child(1) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}

.category:nth-child(2) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}

.category:nth-child(3) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}

.category:nth-child(4) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}

.category:nth-child(5) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}.category:nth-child(6) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}.category:nth-child(7) .category__icon {
    font-size: 27px;
    background: #4db6c5;
    box-shadow: 0 0 25px #4db6c5

}

.category:nth-child(8) .category__icon {
    font-size: 29px;
    background: #fd0202;

    box-shadow: 0 0 25px #4db6c5

}
.category:nth-child(6) .category__icon > a {

}


.category__icon {
    background: var(--color-primary);
    padding: 0.7rem;
    border-radius: 0.9rem;
}

.category h4 {
    font-size: 15px;
    margin: 2rem 0 1rem;
}

.category p {
    font-size: 0.85rem;
}


/* ================= POPULAR serviceS ==================*/

.services {
    margin-top: 6rem;
}

.services__container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service {
    background: var(--color-bg1);
    text-align: center;
    border: 6.5px solid var(--color-bg1);
    border-radius: 5%;
    transition: var(--transition);
    box-shadow: 0 0 25px #4db6c5
}
.service img {
    border-radius: 5%;
}

.service:hover {
    background: var(--color-bg);
    border-color: var(--color-primary);
    border-radius: 0;
    box-shadow: 0 0 50px #4db6c5

}
.service:hover img  {
    filter: saturate(0);
    transition: var(--transition);
    border-radius: 0;

}

.service__info {
    padding: 3rem;
    text-align: center;

}
.service:hover p  {
    color: var(--color-bg2);
    font-weight: bold;
    transition: var(--transition);



}

.service:hover  h4 {
    color: var(--color-bg2);
    font-weight: bolder;
    transition: var(--transition);
    margin-bottom: 0.5rem;




}

.service__info p {
    margin: 1rem 0 0.5rem;
    font-size: 1.1rem;
}

.services__container__bottom {

    position: relative;
    left: 46%;
    max-width: 20%;


}

.services__container__bottom a {
    margin-top: 50px;

}


/* ================= FAQs ==================*/
.faqs {
    background: var(--color-bg1);
    box-shadow: inset 0 0 3rem rgba(0, 0, 0, 0.5);
}

.faqs__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.faq {
    padding: 2rem;
    display: flex;
    align-items: center;
    gap: 1.4rem;
    height: fit-content;
    background: var(--color-primary);
    cursor: pointer;
    box-shadow: 0 0 25px #4db6c5

}

.faq h4 {
    font-size: 0.8rem;
    line-height: 2.2;
}

.faq__icon {
    align-self: flex-start;
    font-size: 1.2rem;
}

.faq p {
    margin-top: 0.8rem;
    display: none;
    text-align: justify;
}

.faq.open p {
    display: block;
}


/* ================= Testimonials ==================*/

.testimonials__container {
    overflow-x: hidden;
    position: relative;
    margin-bottom: 5rem;
}

.testimonial {
    padding-top: 2rem;
}

.avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 1rem;
    border: 1rem solid var(--color-bg1);
}

.testimonial__info {
    text-align: center;
}

.testimonial__body {
    background: var(--color-primary);
    padding: 2rem;
    margin-top: 3rem;
    position: relative;
}

.testimonial__body::before {
    content: "";
    display: block;
    background: linear-gradient(135deg, transparent, var(--color-primary), var(--color-primary));
    width: 3rem;
    height: 3rem;
    position: absolute;
    left: 47%;
    top: -1.5rem;
    transform: rotate(45deg);

}

/* ================= FOOTER ==================*/
footer {
    background: var(--color-bg1);
    padding-top: 5rem;
    font-size: 0.9rem;
}

.footer__container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 5rem;
}

.footer__container > div h4 {
    margin-bottom: 1.2rem;
}

.footer__1 p {
    margin: 0 0 2rem;
}

footer ul li {
    margin-bottom: 0.7rem;
}

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

.footer__socials {
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-top: 2rem;
}

.footer__copyright {
    text-align: center;
    margin-top: 4rem;
    padding: 1.2rem 0;
    border-top: 1px solid var(--color-bg2);
}

.footer__4 ul li > a:hover {
    color: var(--color-bg2);
    transition: var(--transition);
}

/* ================= MEDIA QUERIES (TABLETS) ==================*/

@media screen and (max-width: 1024px) {
    .container {
        width: var(--container-width-md);
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.7rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    h4 {
        font-size: 0.9rem;
    }

    /* ================= NAVBAR ==================*/
    nav button {
        display: inline-block;
        background: transparent;
        font-size: 1.5rem;
        color: var(--color-white);
        cursor: pointer;
    }

    nav button#close-menu-btn {
        display: none;
    }

    .nav__menu {
        position: fixed;
        top: 5rem;
        right: 3%;
        height: fit-content;
        width: 18rem;
        flex-direction: column;
        gap: 0;
        display: none;
    }

    .nav__menu li {
        width: 100%;
        height: 4.8rem;
        animation: animateNavItems 400ms linear forwards;
        transform-origin: top right;
        opacity: 0;

    }

    .nav__menu li:nth-child(2) {
        animation-delay: 200ms;
    }

    .nav__menu li:nth-child(3) {
        animation-delay: 400ms;
    }

    .nav__menu li:nth-child(4) {
        animation-delay: 600ms;
    }
    .nav__menu li:nth-child(5) {
        animation-delay: 800ms;
    }
    .nav__menu li:nth-child(6) {
        animation-delay: 1000ms;
    }


    @keyframes animateNavItems {
        from {
            transform: rotateZ(-90deg);
        }

        to {
            transform: rotateZ(0);
            opacity: 1;
        }

    }

    .nav__menu li a {
        background: var(--color-primary);
        box-shadow: -4rem 6rem 10rem rgba(0, 0, 0, 0.6);
        width: 100%;
        height: 100%;
        display: grid;
        place-items: center;
    }

    .nav__menu li a:hover {
        background: var(--color-bg2);
        color: var(--color-white);
    }

    /* ================= HEADER ==================*/
    header {

        margin-bottom: 1rem;
    }


    .header__container {

        gap: 0.5rem;
        padding-bottom: 1rem;
    }



    .header__left p {
        text-align: justify;
        font-size: 14px;
    }
    .header__left h4 {
        margin: 0.5rem 0 1rem;
        font-size: 17px;
    }
    .header__left h1 {
        margin: 0.5rem 0 1rem;
        font-size: 24px;
    }
    .header__left a {
        margin: 2px;
    }




    .header__right-image img {
        filter: opacity(80%);
        margin-top: 8rem;
        margin-left: 2rem;
    }

    .arrows {
       display: none;
    }



    /* ================= Categories ==================*/
    .categories {
        height: auto;
    }

    .categories__container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .categories__left {
        margin-right: 0;

    }
    .categories__left h1{
        margin-right: 0;
        font-size: 24px;
        margin-bottom: 1rem;
        margin-top: 0.1rem;

    }
    .categories__left p{
        margin-right: 0;
        font-size: 14px;

    }

    /* ================= POPULAR serviceS ==================*/
    .services {
        margin-top: 0;
    }

    .services__container {
        grid-template-columns: 1fr 1fr;
    }

    /* ================= Frequently Asked Questions ==================*/
    .faqs__container {
        grid-template-columns: 1fr;
    }

    .faq {
        padding: 1.5rem;
    }

    /* ================= Footer ==================*/
    .footer__container {
        grid-template-columns: 1fr 1fr;
    }
}








/* ================= MEDIA QUERIES (MOBILES) ==================*/

@media screen and (max-width: 600px) {
    .container {
        width: var(--container-width-sm);
    }


    /* ========== NAVBAR ==========*/
    .nav__menu {
        right: 3%;

    }

    /* ========== HEADER ==========*/
    header {
        height: auto;
    }

    .header__container {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 0;
    }

    .header__left {
        margin-bottom: 0.1rem;

    }
    .header__right {
        margin-top: 0;

    }
    .arrows {
        display: none;
    }

    .header__right-image img {
        filter: opacity(80%);
        margin-top: 2rem;
        margin-left: 0;
    }

    /* ========== HCategories ==========*/
    .categories__right {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .category {
        padding: 0.5rem;
        border-radius: 1rem;
    }

    .category__icon {
        margin-top: 4px;
        display: inline-block;
    }


    /* ========== POPULAR serviceS ==========*/
    .services__container {
        grid-template-columns: 1fr;
    }

    .services__container__bottom {

        position: relative;
        left: 38%;
        text-align: center;


    }

    .services__container__bottom a {
        margin-top: 25px;
        font-size: 12px;
        margin-bottom: 1px;

    }

    .service__info p {
        font-size: 12px;
        margin: 5px;
    }


    /* ========== Testimonials ==========*/
    .testimonial__body {
        padding: 1.2rem;
    }

    /* ========== FOOTER ==========*/
    .footer__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .footer__1 p {
        margin: 1rem auto;
    }

    .footer__socials {
        justify-content: center;
    }


}





















































