/* HERO SLIDER  */


/* What we offer Css   */
.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    position: relative;
    border: 2px solid #ddd;
}

/* each box */
.grid-item {
    padding: 30px;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid #ddd;
}
.grid-item:hover{
 background-color: var(--accent);
 color: #fff !important;
}
.grid-item:hover img {
    box-shadow: 0 0 10px 10px #c49e22;
}


/* image boxes */
.grid-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ========================= */
/*   RESPONSIVE BREAKPOINTS  */
/* ========================= */

/* Tablet: 2 Columns */
@media (max-width: 991px) {
    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile: 1 Column */
@media (max-width: 576px) {
    .grid-container {
        grid-template-columns: 1fr;
    }

    .grid-item {
        min-height: 200px; /* little smaller for mobile */
    }
}


/* ======================================================= */
/* ======================================================= */

/* Testimonial css  */

.testimonial-section {
    padding: 90px 0;
    position: relative;
    text-align: center;
    justify-content: center;
    display: flex;
}

/* Floating Small Images */
.floating-images .img {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    position: absolute;
}

.img1 {
    left: 40px;
    top: 0;
}

.img2 {
    right: 500px;
    top: 0;
}

.img3 {
    left: 100px;
    top: 400px;
}

.img4 {
    right: 10px;
    top: 160px;
}

.img5 {
    right: 300px;
    top: 400px;
}

/* Testimonial Card */
.testimonial-box {
    /* width: 65%; */
    /* background: #ffffff; */
    padding: 50px;
    border-radius: 35px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.07);
    position: relative;
}

.user-info {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 90px;
    height: 90px;
    border-radius: 50%px;
    margin-right: 20px;
}

.review {
    font-size: 17px;
    color: #4b4b63;
    line-height: 1.6;
    margin-top: 15px;
}

.stars {
    color: #f7b500;
    font-size: 22px;
    margin-top: 20px;
}

.arrows {
    position: absolute;
    right: 40px;
    bottom: 40px;
}

.arrows span {
    font-size: 28px;
    margin-left: 20px;
    cursor: pointer;
}

.quote {
    font-size: 80px;
    color: #f4e9ff;
    font-weight: bold;
    position: absolute;
    right: 40px;
    top: 20px;
}

.testimonial {
    display: none;
}

.testimonial.active {
    display: block;
}

/* --------------------------- */
/* RESPONSIVE DESIGN STARTS   */
/* --------------------------- */

/* Tablet Screens (max-width: 992px) */

/* Mobile Screens (max-width: 768px) */
@media (max-width: 768px) {

    /* Floating images hide */
    .floating-images {
        display: none !important;
    }

    .testimonial-section {
        padding: 40px 0;
        display: block;
        text-align: center;
    }

    .testimonial-box {
        width: 100% !important;
        padding: 25px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    }

    .user-info {
        flex-direction: column;
        text-align: center;
    }

    .avatar {
        margin-right: 0;
        margin-bottom: 10px;
        width: 80px;
        height: 80px;
    }

    .arrows {
        position: relative;
        margin-top: 20px;
        right: 0;
        bottom: 0;
        text-align: center;
    }

    .arrows span {
        margin: 0 15px;
        font-size: 26px;
    }

    .quote {
        font-size: 55px;
        right: 10px;
        top: 10px;
    }
}

/* Extra Small Devices (max-width: 480px) */
@media (max-width: 480px) {

    .testimonial-box {
        padding: 20px;
    }

    .avatar {
        width: 65px;
        height: 65px;
    }


    .arrows span {
        font-size: 22px;
    }

    .quote {
        font-size: 45px;
    }
}