/* --- New Section Styles --- */
.bd-counter__area {
    background-color: #f7f5ff; /* Optional: adds a light background to the entire section */
    padding: 100px 0;
}

.custom-container {
    display: flex;
    justify-content: flex-end; /* Pushes the content to the far right */
    align-items: center;
    gap: 0; /* Removes any gap between the image and the content box */
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

/* --- Image Section --- */
.counter-image-section {
    position: relative;
    width: 50%; /* Image takes up half of the container */
    max-width: 600px;
    box-sizing: border-box;
    overflow: hidden;
}

.counter-image-section img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px 0 0 20px; /* Rounds the left corners only */
}

/* --- Content Section (The Green Box) --- */
.counter-content-section {
    background-color: #6a9b58;
    color: #fff;
    padding: 50px;
    border-radius: 0 20px 20px 0; /* Rounds the right corners only */
    width: 40%; /* Makes the box smaller */
    min-width: 400px;
    box-sizing: border-box;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.counter-title {
    font-size: 2rem; /* Adjusted for a smaller box */
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.counter-description {
    font-size: 0.9rem; /* Adjusted for a smaller box */
    line-height: 1.6;
    margin-bottom: 25px;
}

.counter-btn {
    background-color: #fff;
    color: #6a9b58;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.counter-btn:hover {
    background-color: transparent;
    color: #fff;
    border: 2px solid #fff;
}

/* --- Responsive Design --- */
@media (max-width: 992px) {
    .custom-container {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .counter-image-section,
    .counter-content-section {
        width: 100%;
        border-radius: 20px; /* Rounds all corners on smaller screens */
        margin-bottom: 30px;
    }

    .counter-image-section img {
        border-radius: 20px;
    }
}



/*testimonials*/
.testimonials-section {
    background-color: #f8f8f8; /* A light background for contrast */
    
}

.testimonials-section .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 10px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background-color: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card:hover {
    transform: translateY(-10px);
}

.quote-icon {
    font-size: 2.5rem;
    color: #6a9b58; /* Main theme color */
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1rem;
    color: #444;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 30px;
}

.customer-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto; /* Pushes content to the bottom of the card */
}

.customer-photo {
    width: 60px;
    height: 60px;
    border-radius: 50%; /* Circular image */
    object-fit: cover;
    border: 3px solid #6a9b58;
}

.customer-name {
    font-size: 1.1rem;
    color: #333;
    margin: 0;
    font-weight: bold;
}

.customer-location {
    font-size: 0.9rem;
    color: #888;
    margin: 0;
}