:where([class^="ri-"])::before {
    content: "\f3c2";
}

body {
    font-family: 'Montserrat', sans-serif;
}

.hide-scroll-bar::-webkit-scrollbar {
    display: none;
}

.hide-scroll-bar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.custom-checkbox {
    position: relative;
    cursor: pointer;
}

.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 4px;
}

.custom-checkbox input:checked~.checkmark {
    background-color: #3b82f6;
    border-color: #3b82f6;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.custom-checkbox input:checked~.checkmark:after {
    display: block;
}

.custom-checkbox .checkmark:after {
    left: 7px;
    top: 3px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.hero-section {
    background-image: url();
    background-position: center;
    background-size: cover;
}

.grid-view-btn {
    transition: all 0.2s ease;
}

.grid-view-btn.active {
    background-color: #3b82f6;
    color: white;
}

.grid-view-btn:hover:not(.active) {
    background-color: #e5e7eb;
}

@media only screen and (max-width: 998px) {
    .newsletter {
        padding: 6rem 4rem;
    }

    .newsletter__content {
        flex-direction: column;
        align-items: center;
    }

    .newsletter__email {
        width: 45rem;
    }

    .newsletter__data {
        margin-bottom: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .newsletter__content {
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .newsletter__email {
        width: 45rem;
        display: block;
        margin-bottom: 1.6rem;
    }
}

@media only screen and (max-width: 568px) {
    .newsletter__email {
        width: 23rem;
        font-size: 1.2rem;
    }

    .newsletter__data h3 {
        font-size: 1.6rem;
    }

    .newsletter__data p {
        font-size: 1rem;
    }

    .newsletter__link:link,
    .newsletter__link:visited {
        padding: 1.2rem 2rem;
        margin-left: 0;
    }
}

/*
  ======================
  Footer
  ======================
  */

.footer {
    background-color: var(--black3);
    padding: 6rem 1rem;
    line-height: 3rem;
}

.footer-top__box span svg {
    width: 1.6rem;
    height: 1.6rem;
    fill: var(--grey3);
}

.footer-top__box span {
    margin-right: 1rem;
}

.footer__top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    color: var(--grey3);
}

.footer-top__box a:link,
.footer-top__box a:visited {
    display: block;
    color: var(--grey);
    font-size: 1.4rem;
    transition: 0.6s;
}

.footer-top__box a:hover {
    color: var(--orange);
}

.footer-top__box div {
    color: var(--grey);
    font-size: 1.4rem;
}

.footer-top__box h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

@media only screen and (max-width: 998px) {
    .footer__top {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 2rem;
    }
}

@media only screen and (max-width: 768px) {
    .footer__top {
        grid-template-columns: 1fr;
        row-gap: 2rem;
    }
}

.news {
    padding-bottom: 8rem;
}

.new__card {
    background-color: var(--primaryColor);
    width: 95%;
    margin: 0 auto;
}

.new__card:not(:last-child) {
    margin-right: 1rem;
}

.card__footer {
    padding: 3rem 1.4rem;
}

.card__footer h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.card__footer span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--black2);
}

.card__footer p {
    font-size: 1.5rem;
    color: var(--black2);
    margin-bottom: 1.6rem;
    line-height: 2.7rem;
}

.card__footer a button,
.card__footer a button {
    display: inline-block;
    padding: 1.4rem 4rem;
    border: 1px solid var(--black);
    color: var(--black);
    cursor: pointer;
    transition: 0.3s;
}

.card__footer a button:focus {
    outline: none;
}

.card__footer a button:hover {
    border: 1px solid var(--black);
    color: var(--white);
    background-color: var(--black);
}


/*news Letter*/
.news {
    padding-bottom: 8rem;
}

.new__card {
    background-color: var(--primaryColor);
    width: 95%;
    margin: 0 auto;
}

.new__card:not(:last-child) {
    margin-right: 1rem;
}

.card__footer {
    padding: 3rem 1.4rem;
}

.card__footer h3 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 1rem;
}

.card__footer span {
    display: inline-block;
    margin-bottom: 1rem;
    color: var(--black2);
}

.card__footer p {
    font-size: 1.5rem;
    color: var(--black2);
    margin-bottom: 1.6rem;
    line-height: 2.7rem;
}

.card__footer a button,
.card__footer a button {
    display: inline-block;
    padding: 1.4rem 4rem;
    border: 1px solid var(--black);
    color: var(--black);
    cursor: pointer;
    transition: 0.3s;
}

.card__footer a button:focus {
    outline: none;
}

.card__footer a button:hover {
    border: 1px solid var(--black);
    color: var(--white);
    background-color: var(--black);
}

/*
======================
Testimonial Media Query
======================
*/
@media only screen and (max-width: 1200px) {
    .testimonial__box {
        height: 100%;
    }

    .testimonial__box p {
        width: 90%;
        margin: 0 auto;
        line-height: 2.2rem;
        margin-bottom: 3rem;
    }

    .client__image {
        margin-bottom: 2.5rem;
    }
}

@media only screen and (max-width: 568px) {
    .testimonial {
        height: 100%;
        padding: 4rem 0 5rem;
        z-index: 1;
        text-align: center;
    }

    .testimonial__box {
        height: 100%;
    }

    .testimonial__box p {
        width: 100%;
        font-size: 1.3rem;
        line-height: 2rem;
        margin-bottom: 2rem;
    }

    .client__image {
        margin-bottom: 1.5rem;
    }

    .testimonial__box span {
        margin-bottom: 1rem;
    }

    .testimonial .glide__bullets {
        bottom: -8%;
    }
}

/*
======================
Testimonial 
======================
*/

.testimonial {
    position: relative;
    background: url("./images/testimonial.jpg") center/cover no-repeat;
    height: 50rem;
    padding: 5rem 0;
    z-index: 1;
    text-align: center;
}

.testimonial::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.9);
    z-index: -1;
}

.client__image {
    margin-bottom: 3rem;
}

.client__image img {
    width: 7rem;
    height: 7rem;
    max-width: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.testimonial__container {
    height: 100%;
    padding: 1rem;
}

.testimonial__box {
    width: 90%;
    margin: 0 auto;
    height: 100%;
    color: #ccc;
}

.testimonial__box p {
    width: 70%;
    margin: 0 auto;
    line-height: 2.5rem;
    font-style: italic;
    font-size: 1.5rem;
    margin-bottom: 3rem;
}

.client__info h3 {
    font-weight: 400;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.client__info span {
    font-size: 1.4rem;
}

.testimonial .glide__bullets {
    bottom: -20%;
}


:root {
    --primaryColor: #f1f1f1;
    --black: #222;
    --black2: #555;
    --black3: #252525;
    --black4: #000;
    --black5: #212529;
    --orange: #eb0028;
    --white: #fff;
    --grey: #959595;
    --grey2: #666;
    --grey3: #ccc;
    --secondaryColor: #2b1f4d;
    --yellow: #ffcc00;
    --green: #59b210;
    --blue: rgb(56, 10, 223);
}