body {
    font-family: 'Inter', sans-serif;
    background-color: #F8F7F4; /* Warm Neutral Background */
    color: #3D405B; /* Dark Blue-Gray for text */
}
.btn-primary {
    background-color: rgb(39, 174, 96); /* New Accent Color: Green */
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(39, 174, 96, 0.2); /* Softer shadow */
}
.btn-primary:hover {
    background-color: rgb(34, 150, 80); /* Slightly darker green */
    transform: translateY(-2px);
}
.btn-secondary {
    background-color: #81B29A; /* Complementary Color: Sage Green */
    color: white;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    font-weight: 600;
    transition: background-color 0.3s, transform 0.2s;
    box-shadow: 0 4px 8px rgba(129, 178, 154, 0.2); /* Softer shadow */
}
.btn-secondary:hover {
    background-color: #72a089; /* Slightly darker sage */
    transform: translateY(-2px);
}
.form-input {
    border: 1px solid #B0B0B0; /* Light Gray Border */
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.form-input:focus {
    border-color: rgb(39, 174, 96);
    outline: none;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.3);
}
.section-heading {
    color: #3D405B;
    font-weight: 700;
    font-size: 2.25rem; /* text-4xl */
    line-height: 1.2;
}
.sub-heading {
    color: rgb(39, 174, 96); /* Green for sub-headings */
    font-weight: 600;
    font-size: 1.5rem; /* text-2xl */
}
.text-content {
    color: #5C6370; /* Slightly lighter text for body */
}
.shadow-custom {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #F8F7F4;
    padding: 1rem 1.5rem;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
}
@media (min-width: 768px) {
    .sticky-cta-bar {
        display: none; /* Hide on desktop */
    }
}
.testimonial-card {
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.credibility-icon {
    font-size: 2.5rem;
    color: #81B29A;
    margin-bottom: 0.75rem;
}
.feature-card {
    background-color: white;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.feature-card:hover {
    transform: translateY(-3px);
}
.feature-icon {
    font-size: 2rem;
    color: rgb(39, 174, 96); /* Green for feature icons */
    margin-bottom: 0.75rem;
}
.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fefefe;
    margin: auto;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    position: relative;
}
.close-button {
    color: #aaa;
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
}
.progress-bar-container {
    width: 100%;
    background-color: #e0e0e0;
    border-radius: 0.5rem;
    overflow: hidden;
    margin-bottom: 1.5rem;
}
.progress-bar {
    height: 0.75rem;
    background-color: #81B29A;
    width: 0%;
    border-radius: 0.5rem;
    transition: width 0.3s ease-in-out;
}

/* Video Testimonial Specific Styles */
.video-thumbnail-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: 0.5rem;
    cursor: pointer;
    margin-bottom: 1rem;
}

.video-thumbnail-container img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.video-thumbnail-container:hover img {
    transform: scale(1.05);
}

.play-button-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease-in-out;
}

.video-thumbnail-container:hover .play-button-overlay {
    background-color: rgba(0, 0, 0, 0.6);
}

.play-button-overlay svg {
    filter: drop-shadow(0 0 5px rgba(0,0,0,0.5));
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Testimonial Slider Specific Styles */
#testimonial-slider::-webkit-scrollbar {
    display: none; /* Hide scrollbar for Chrome, Safari and Opera */
}

#testimonial-slider {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
    /* Default for mobile - horizontal scroll with snap */
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
    padding-bottom: 1rem; /* Add some padding for scrollbar on mobile if it appears */
    margin-left: auto; /* Center slider content */
    margin-right: auto; /* Center slider content */
}

.testimonial-card {
    flex-shrink: 0;
    width: 90%; /* On mobile, make cards take most of the screen width */
    margin-right: 1rem; /* Gap between cards on mobile */
    scroll-snap-align: center; /* Snap to center on mobile */
    background-color: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}
.testimonial-card:hover {
    transform: translateY(-5px);
}
.testimonial-card:last-child {
    margin-right: 0; /* No margin on the last card */
}

/* Desktop slider navigation buttons */
#testimonial-prev, #testimonial-next {
    display: none; /* Hidden by default, shown on md screens */
}

@media (min-width: 768px) {
    #testimonial-slider {
        overflow-x: hidden; /* Hide scrollbar when using buttons on desktop */
        scroll-snap-type: none; /* Disable snap for smooth scrolling with buttons on desktop */
        padding-bottom: 0; /* Remove padding-bottom for desktop */
        /* Max width to control how wide the 3-column layout gets */
        max-width: 1024px; /* Example max-width for the slider container */
    }
    .testimonial-card {
        /* Calculate width for 3 cards side-by-side with a gap */
        width: calc(33.333% - (1rem * 2 / 3)); /* 1rem is the margin-right, 2/3 because there are 2 gaps for 3 items */
        margin-right: 1rem; /* Consistent gap between cards on desktop */
        scroll-snap-align: none; /* Disable snap on desktop */
    }
    .testimonial-card:last-child {
        margin-right: 0;
    }
    #testimonial-prev, #testimonial-next {
        display: block; /* Show buttons on desktop */
    }
}
