/* Hide the entire consent field (checkbox + text) */
.glsr-field-choice[data-field="terms"] {
    display: none !important;
}
/* Make reviews display like cards */
.site-reviews {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center; /* center the cards */
}

/* Individual review card */
.site-reviews .glsr-review {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    flex: 1 1 calc(33% - 20px); /* 3 cards per row, adjusts automatically */
    box-sizing: border-box;
    min-width: 250px; /* ensures cards don't shrink too much on mobile */
    max-width: 350px;
}

/* Reviewer Name */
.site-reviews .glsr-review .glsr-author {
    font-weight: 600;
    margin-bottom: 8px;
}

/* Star Rating */
.site-reviews .glsr-review .glsr-stars svg {
    fill: #ffb400; /* gold stars */
}

/* Verified Badge */
.site-reviews .glsr-review::after {
    content: "Verified Client";
    display: inline-block;
    background: #28a745;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 8px;
}
/* === RESTORE CARD BACKGROUND & TEXT COLORS === */
.swiper-slide .glsr-review {
    background: #243A69 !important;
    color: #ffffff !important;
    padding: 25px !important;
    border-radius: 12px !important;
    box-sizing: border-box;
}

/* Make ALL text inside the review white */
.swiper-slide .glsr-review * {
    color: #ffffff !important;
    font-family: 'Nunito Sans', sans-serif !important;
}

/* === NAME STYLE === */
.swiper-slide .glsr-review .glsr-review-author .glsr-tag-value {
    font-size: 22px !important;  /* 2px larger than before */
    font-weight: 600 !important;
}

/* === REVIEW TEXT === */
.swiper-slide .glsr-review .glsr-review-content .glsr-tag-value {
    font-size: 15px !important;
    font-weight: 500 !important;
    font-style: italic !important;
}

/* === DATE === */
.swiper-slide .glsr-review .glsr-review-date .glsr-tag-value {
    font-size: 13px !important;
    font-weight: 500 !important;
    font-style: normal !important;
}

/* === STARS — align LEFT === */
.swiper-slide .glsr-review .glsr-star-rating {
    justify-content: flex-start !important;
    text-align: left !important;
    margin-bottom: 10px !important;
}

/* === VERIFIED BADGE === */
.swiper-slide .glsr-review .verified-badge {
    display: inline-block !important;
    background: #3BB54A !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: 5px !important;
    font-size: 13px !important; /* (we increased by 1px) */
    font-weight: 600 !important;
    width: auto !important;
    max-width: fit-content !important;
    margin-bottom: 10px !important;
}

/* In case your verified badge is inside another element */
.swiper-slide .glsr-review .glsr-review::before {
    content: "Verified Client";
    display: inline-block;
    background: #3BB54A;
    color: #ffffff;
    padding: 4px 10px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 5px;
    margin-bottom: 12px;
}
/* VERIFIED BADGE FIX — shows above the name inside each review */
.swiper-slide .glsr-review .glsr-review-author {
    position: relative;
}

/* VERIFIED BADGE — show BELOW the name */
.swiper-slide .glsr-review .glsr-review-author {
    position: relative;
    display: flex;
    flex-direction: column; /* stack name + badge vertically */
    gap: 6px; /* space between name and badge */
}

/* Badge below the name */
.swiper-slide .glsr-review .glsr-review-author::after {
    content: "Verified Client";
    display: inline-block;
    background: #3BB54A !important;
    color: #ffffff !important;
    padding: 4px 10px !important;
    border-radius: 5px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    width: fit-content !important;
}
/* Increase spacing between items inside each review card, align left */
.swiper-slide .glsr-review {
    display: flex;
    flex-direction: column;
    align-items: flex-start; /* force everything to left */
    gap: 20px; /* spacing between name, stars, review, date, badge */
}/* Entire form font */
.glsr-form-wrap, 
.glsr-form-wrap input, 
.glsr-form-wrap textarea, 
.glsr-form-wrap select, 
.glsr-form-wrap label, 
.glsr-form-wrap button {
    font-family: 'Nunito Sans', sans-serif;
}

/* Field labels */
.glsr-form-wrap label span {
    font-size: 15px;
    font-weight: 600;
    color: #06060F;
    margin-bottom: 5px;
    display: inline-block;
}

/* Inputs and textarea */
.glsr-form-wrap input.glsr-input,
.glsr-form-wrap textarea.glsr-textarea,
.glsr-form-wrap select.glsr-select {
    font-size: 15px;
    font-weight: 500;
    color: #06060F;
    border: 1px solid #ccc;
    padding: 8px 10px;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
}

/* Rating dropdown */
.glsr-form-wrap .glsr-star-rating select {
    font-size: 15px;
    font-weight: 500;
    color: #06060F;
}

/* Space between fields */
.glsr-form-wrap .glsr-field {
    margin-bottom: 10px; /* adjust spacing */
}

/* Terms checkbox label */
.glsr-form-wrap .glsr-field-choice label {
    font-size: 16px;
    font-weight: 500;
    color: #06060F;
}

/* Submit button styling */
.glsr-form-wrap .glsr-button {
    background-color: #243A69;
    color: #ffffff;
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 10px 7px 10px 7px; /* top 10px, bottom 10px, left/right 7px */
    border-radius: 4px;
    border: none;
    cursor: pointer;
}

.glsr-form-wrap .glsr-button:hover {
    opacity: 0.9; /* subtle hover effect */
}
/* Add padding around the entire form */
.glsr-form-wrap {
    padding: 18px;
    box-sizing: border-box; /* ensures padding doesn't break width */
}
/* Increase border radius for all form fields */
.glsr-form-wrap input.glsr-input,
.glsr-form-wrap textarea.glsr-textarea,
.glsr-form-wrap select.glsr-select {
    border-radius: 12px !important; /* adjust px value as needed */
}
/* Style submit button */
.glsr-form-wrap .glsr-button {
    background-color: #243A69; /* button color */
    color: #ffffff; /* text color */
    font-family: 'Nunito Sans', sans-serif;
    font-size: 15px;
    font-weight: 500;
    padding: 12px 30px; /* top/bottom 12px, left/right 30px */
    border-radius: 50px; /* makes it oval */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Hover effect */
.glsr-form-wrap .glsr-button:hover {
    opacity: 0.9;
    transform: translateY(-1px); /* subtle lift */
}
/* FORM BACKGROUND */
.sp-testimonial-form-container {
    background-color: #E6E9EE !important;
    padding: 30px !important;
    border-radius: 12px !important;
}

/* INPUT & TEXTAREA BACKGROUND */
.sp-testimonial-form-container input[type="text"],
.sp-testimonial-form-container input[type="email"],
.sp-testimonial-form-container textarea {
    background-color: #ffffff !important;
    border: 1px solid #d1d5db !important;
    border-radius: 8px !important;
    box-shadow: none !important;
}

/* FILE INPUT (browser-safe) */
.sp-testimonial-form-container input[type="file"] {
    background-color: #ffffff !important;
    border: 1px dashed #d1d5db !important;
    border-radius: 8px !important;
}

/* Field labels / headings */
.sp-testimonial-form-container .sp-testimonial-label-section label {
    font-size: 15px !important;
    color: #000000 !important;
    font-weight: 600 !important;
}

/* Field description / helper text */
.sp-testimonial-form-container .sp-testimonial-input-field .tpro_client_after {
    font-size: 13px !important;
    font-weight: 400 !important;
    color: rgba(0, 0, 0, 0.6) !important; /* slightly transparent black */
    margin-top: 4px;
    display: block;
}
/* Hide the file upload field */
.sp-testimonial-form-container .sp-testimonial-input-field-img {
    display: none !important;
}
/* Add spacing above the submit button */
.sp-testimonial-form-container .sp-tpro-form-submit-button {
    margin-top: 2em !important;
}

/* Submit button styling */
.sp-testimonial-form-container .sp-tpro-form-submit-button input[type="submit"] {
    background-color: #243A69 !important;
    color: #ffffff !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 12px 30px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* Hover effect */
.sp-testimonial-form-container .sp-tpro-form-submit-button input[type="submit"]:hover {
    background-color: #1d2e57 !important;
}
/* Add spacing between form fields */
.sp-testimonial-form-container .sp-tpro-form-field {
    margin-bottom: 15px !important; /* adjust spacing as needed */
}

/* Apply Nunito Sans to all testimonial elements */
.sp-testimonial-free,
.sp-testimonial-free * {
    font-family: "Nunito Sans", sans-serif !important;
}
/* Testimonial card style */
.sp-testimonial-free {
    background-color: #243A69 !important;
    border-radius: 15px !important;
    color: #ffffff !important;
    padding: 20px; /* optional padding inside card */
}

/* Ensure inner text inherits white color */
.sp-testimonial-free h3,
.sp-testimonial-free h4,
.sp-testimonial-free p,
.sp-testimonial-free .sp-testimonial-client-designation {
    color: #ffffff !important;
}
/* Make testimonial content italic */
.sp-testimonial-free .sp-testimonial-content p {
    font-style: italic !important;
}

/* Testimonial slider arrows */
.swiper-button-prev.testimonial-nav-arrow,
.swiper-button-next.testimonial-nav-arrow {
    background-color: #ffffff !important;  /* white background */
    border: 1px solid #000000 !important;  /* black border */
    width: 40px;
    height: 40px;
    border-radius: 50% !important;        /* circular shape */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Arrow icon color */
.swiper-button-prev.testimonial-nav-arrow i,
.swiper-button-next.testimonial-nav-arrow i {
    color: #000000 !important;
    font-size: 30px;
    transition: color 0.3s ease;
}

/* Hover effect */
.swiper-button-prev.testimonial-nav-arrow:hover i,
.swiper-button-next.testimonial-nav-arrow:hover i {
    color: #000000 !important;  /* black on hover */
}


