body #hero {
    display: flex;
    height: 70vh;
    background-size: cover;
    justify-content: center;
    align-items: center;
}

body #hero::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90vh;
    background-image: url('assets/home-page.jpg');
    background-size: cover;
    background-position: center;
    z-index: -1;
    filter: blur(1px);
}

body #hero .tagline {
    font-weight: bolder;
    color:#ffffff;
    padding: 0rem 1rem;
    position: absolute;
    top: 40%;
    left: 10%;
    font-size: 5vw;
    text-align: center;
    word-break: break-word;
    font-family: 'Playfair Display', serif;
}

.card-container {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    height: fit-content;
    padding: 0% 4% 3% 4%;
    margin-top: -70px;
    left: 0px;
    justify-content: center;
    align-items: center;
}
.card {
    background: #f0eded;
    /* opacity: 0.9; */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 100%;
    min-height: 200px;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.card a{
    text-decoration: none;
}
.card:hover {
    transform: translateY(-5px);
    cursor: pointer;
}

.card:hover strong {
    color: #dab07ae3;
}

.card strong {
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
    color: #000000;
    font-size: larger;
}

.card p {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: #4b4a4a;
    margin: 10px 0;
}

.reviews-section{
    height: fit-content;
    display: flex;
    flex-wrap: wrap;
    padding: 6% 5%;
    background-color: #eed746;
    align-items: center;
    justify-content: center;
}

.reviews-section .reviews-poster{
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: left;
    padding: 2rem;
    color: #000000;
}

.reviews-section .customer-review-carousel .carousel-item{
    background-color: rgb(235, 231, 231);
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    padding: 2rem;
    gap: 1rem;
    display: flex;
    flex-direction: column;
    font-weight: bold;
    color: black;
}

/* Carousel Styles */
.customer-review-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    overflow: hidden;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.carousel-wrapper {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    min-width: 100%;
    background-color: white;
    padding: 2.5rem;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    box-shadow: none;
    border-radius: 0;
    justify-content: space-between;
    padding-bottom: 3rem;
}

.carousel-item div{
    gap: 20px;
}

.carousel-item div div{
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0px;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    color: #24262b;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 10;
    transition: background-color 0.3s, color 0.3s;
}

.carousel-control:hover {
    background-color: #24262b;
    color: #ffd700;
}

.carousel-control.prev {
    left: -5px; /* Positioned outside the carousel */
}

.carousel-control.next {
    right: -5px; /* Positioned outside the carousel */
}

.carousel-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 60px; /* Add padding to make room for the controls */
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(8, 7, 7, 0.5);
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
}

.carousel-indicator.active {
    background-color: #ffd700;
    transform: scale(1.2);
}

.review-text {
    font-size: 14px;
    font-style: italic;
    color: black;
    position: relative;
    font-weight: 400;
}

.customer-name {
    font-weight: bold;
    color: #24262b;
    margin-bottom: 4px;
}

.customer-title {
    color: #656464;
    font-size: 0.9rem;
}

.customer-image{
    height: 70px;
    width: 70px;
    border-radius: 50%;
}

/* WhatsApp Floating Button Styles */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease-in-out;
    cursor: pointer;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
}

.whatsapp-modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 100001;
    inset: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.whatsapp-modal .modal-content {
    background-color: #d8d7d7;
    margin: 36vh auto;
    padding: 1.25rem;
    width: 300px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    opacity: 0.9;
}

.whatsapp-modal .modal-header {
    font-size: 1.125rem;
    font-weight: bold;
    margin-bottom: 0.625rem;
    color: #000000;
}

.whatsapp-modal .modal-body a {
    display: block;
    padding: 0.625rem;
    text-decoration: none;
    color: #656464;
    font-weight: bold;
}

.whatsapp-modal .modal-body a:hover {
    background-color: #f1f1f1;
    border-radius: 5px;
}

.whatsapp-modal .close {
    position: relative;
    left: 250px;
    color: #aaa;
    font-size: 1.5rem;
    cursor: pointer;
}



@media screen and (max-width: 480px) {
    .carousel-control {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 0.9rem;
    }
    body #hero #title {
        font-size: 8vw;
        top: 35%;
        left: 5%;
    }
}


@media screen and (max-width:999px) {
    .card-container{
        grid-template-columns: 1fr 1fr;
    }
}


@media screen and (max-width: 768px) {
    .reviews-section {
        flex-direction: column;
        height: auto;
        /* padding: 2rem 1rem; */
    }
    
    .reviews-section .reviews-poster {
        padding: 1rem;
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .carousel-item {
        padding: 1.5rem;
    }
    
    .carousel-control {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }

    .carousel-control.prev {
        left: -10px; 
    }
    
    .carousel-control.next {
        right: -10px; 
    }
    
    .carousel-container {
        padding: 0;
    }

    body #hero {
        height: 70vh;
    }

    body #hero #title{
        font-size: 6vw;
        left: 5%;
    }

    body #hero::before{
        height: 70vh;
    }

    .card-container{
        grid-template-columns: repeat(1,1fr);
        margin-top: -100px;
    }

}