/* Base styles for the body and fonts */
body {
    font-family: 'Inter', sans-serif;
    background-color: #f7f7f7; /* Slightly gray background color */
}

/* Color variables for consistency */
.header-bg {
    background-color: #2E7D32; /* Dark green matching the new theme */
}
.text-primary-green {
    color: #2E7D32; /* Dark green for headings and accents */
}
.bg-primary-green-light {
    background-color: #E8F5E9; /* Very light green for alternating section backgrounds */
}
.bg-section-green {
    background-color: #4CAF50; /* Green for the "Why choose us?" section */
}

/* Primary button styles */
.btn-primary {
    background-color: #2E7D32;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.btn-primary:hover {
    background-color: #388E3C; /* Slightly lighter green on hover */
}

/* Outline button styles */
.btn-outline {
    border: 2px solid white;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    background-color: transparent;
    transition: background-color 0.3s ease, color 0.3s ease;
}
.btn-outline:hover {
    background-color: white;
    color: #2E7D32;
}

/* Custom shadow for cards and sections */
.shadow-custom {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive grid for 2 columns on larger screens, 1 on small screens */
.grid-custom-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 768px) {
    .grid-custom-cols-2 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* Carousel specific styles */
.carousel-container {
    position: relative;
    max-width: 900px; /* Adjust as needed */
    margin: 0 auto;
    overflow: hidden;
}
.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}
.carousel-slide {
    min-width: 100%; /* Each slide takes full width of the container */
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 1rem; /* Padding for the card inside */
}

/* Carousel navigation buttons */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    z-index: 10;
    border-radius: 50%;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
}
.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}
.carousel-btn.prev {
    left: 10px;
}
.carousel-btn.next {
    right: 10px;
}

/* Carousel pagination dots */
.dots-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
    gap: 10px;
}
.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}
.dot.active {
    background-color: #2E7D32;
}

/* Testimonial card specific styles */
.testimonial-card {
    background-color: #E8F5E9; /* Light green background for cards */
    padding: 2.5rem 1.5rem 1.5rem; /* Adjusted padding to make space for photo */
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    height: 300px; /* Fixed height for square-like appearance */
    justify-content: space-between; /* Distribute content vertically */
    position: relative; /* For absolute positioning of the photo */
    margin-top: 50px; /* Space for the photo above the card */
}

.client-photo {
    width: 100px; /* Size of the circular photo */
    height: 100px;
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Ensure image covers the circle */
    border: 4px solid white; /* White border around the photo */
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2); /* Shadow for the photo */
    position: absolute; /* Position absolutely to center above the card */
    top: -50px; /* Half of its height to sit on the top edge */
    left: 50%;
    transform: translateX(-50%); /* Center horizontally */
    background-color: #fff; /* Background if image isn't loaded */
}


.justified-text {
  text-align: justify;
}