

/* Services Section with Hover Effect */
.service-card {
    transition: all 0.3s ease;
    position: relative;
    overflow-x: hidden !important;
    background: #F1F1F4;
}
.features-overlay {
    position: absolute;
    top: 0;
    left: 0; 
    right: 0;
    bottom: 0;
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    z-index: 1;
}

/* Close button styles */
.close-overlay {
    background: #f0f0f0;
    border-radius: 50%;
    align-items: center;
    cursor: pointer;
    z-index: 10;
    outline: 0;
    border: none;
    width: 32px;
    height: 45px;
    font-size: 24px;
    align-self: end;
    justify-content: center;
}

/* Desktop hover effect */
@media (min-width: 769px) {
    .service-card:hover .features-overlay {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    .close-overlay {
        display: none; /* Hide close button on desktop */
    }
}

/* Mobile styles */
@media (max-width: 768px) {
    .service-card.active .features-overlay {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        z-index: 1000;
        border-radius: 0;
    }
    
    .close-overlay {
        display: flex; /* Show close button on mobile */
    }
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}
.features-list li {
    padding: 0.5rem 0;
    color: #333;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
.features-list li:last-child {
    border-bottom: none;
}
.features-list li i {
    color: #F39C37;
    margin-right: 0.75rem;
    font-size: 0.8rem;
}

.features-overlay .btn-gradi {
    width: 100%;
    padding: 0.75rem;
    font-weight: 500;
    border: none;
    border-radius: 0.25rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.features-overlay .btn-gradi:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(55, 90, 125, 0.2);
}
.suggestion-list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ccc;
    display: none;
    max-height: 200px;
    overflow-y: auto;
    z-index: 999;
}
.suggestion-item {
    padding: 5px 10px;
    cursor: pointer;
}
.suggestion-item:hover {
    background-color: #f0f0f0;
}
.rating-cal{
    background: white;
    border: 5px solid #f39c375e;
    border-radius: 20px !important;
}
.title{
    font-size: 24px !important;
}

.form-group input:focus{
    box-shadow: 0 0 0 0.2rem #f39c375e;
    outline: 0;
    border:none;
}
.label-cal {
    margin: 7px 0px;
    font-family: "Lexend", sans-serif;
    font-size: 16px;
    font-weight: 300;
}
.form-control {
    padding: 8px;
}
.form-control::placeholder {
    color: #6c757d;
font-family: "Figtree", sans-serif;
}
.input-error, .average-rating-error, .infinity-error, .range-num-error, .show-more-reviews-error, .cal_in_rv_1-error, .cal_in_rv_2-error {
    color: red;
    font-size: 0.9em;
    font-family: "Figtree", sans-serif;
}
@media (max-width: 768px) {
    .title{
        font-size: 36px !important;
    }
}
.card-title{
    font-size: 18px !important;
font-weight: 500 !important ;
}
.product-card {

    width: 285px ;
        border-radius: 12px;
        overflow: hidden;
    }
@media (max-width: 1400px) {
    .product-card {
        width: auto !important;
    }
}
.li-item{
    font-size: 21px !important;
}
    .check-icon{
        width: 32px;
    }