/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: #8f948f; /* Background color */
    color: #070807; /* Text color */
    line-height: 1.7; /* Improved line height for readability */
    scroll-behavior: smooth; /* Smooth scrolling */
}

/* About Us Text Section */
.about-text {
    text-align: center; /* Center text alignment */
    margin: 150px auto 60px; /* Centering and spacing */
    padding: 40px; /* Padding for the section */
    max-width: 1050px; /* Maximum width */
    background: #fff; /* White background for contrast */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.about-text h2 {
    color: #016e0e; /* Green color for headings */
    margin-bottom: 20px; /* Space below heading */
}

.about-text p {
    margin-bottom: 20px; /* Space below paragraph */
    font-size: 1.1em; /* Slightly larger font size */
}

/* Media Queries for Mobile View */
@media (max-width: 768px) {
    .about-text {
        margin: 100px auto 40px; /* Adjust margins for smaller screens */
        padding: 20px; /* Reduce padding for smaller screens */
        max-width: 90%; /* Use more width on mobile */
    }

    .about-text h2 {
        font-size: 1.8em; /* Slightly smaller heading on mobile */
    }

    .about-text p {
        font-size: 1em; /* Adjust paragraph font size */
    }
}

/* Consultants Section */
.consultants {
    margin: auto; /* Center the section */
    padding: 40px; /* Padding for the section */
    max-width: 1200px; /* Maximum width */
}

.consultants h2 {
    text-align: center; /* Center text alignment */
    color: #f9faf9; /* Light color for heading */
    margin-bottom: 40px; /* Space below heading */
    font-size: 40px; /* Font size for heading */
}

.consultants-grid {
    display: flex; /* Flexbox for layout */
    flex-wrap: wrap; /* Allow wrapping of items */
    gap: 20px; /* Space between items */
    justify-content: center; /* Center items */
}

.consultant-card {
    background: #fff; /* White background for cards */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    overflow: hidden; /* Hide overflow for rounded corners */
    text-align: center; /* Center text in cards */
    width: 250px; /* Fixed width for cards */
    padding: 20px; /* Padding inside cards */
    transition: transform 0.3s; /* Smooth transform transition */
}

.consultant-card:hover {
    transform: scale(1.02); /* Slightly scale up on hover */
}

.consultant-card img {
    border-radius: 50%; /* Circular images */
    width: 100px; /* Fixed width */
    height: 100px; /* Fixed height */
    object-fit: cover; /* Maintain aspect ratio */
    margin-bottom: 15px; /* Space below image */
}

.consultant-card h3 {
    margin: 10px 0 5px; /* Margin around heading */
    color: #016e0e; /* Green color for names */
}

.consultant-card h4 {
    margin-bottom: 15px; /* Space below subtitle */
    color: #070807; /* Darker color for subtitle */
}

.consultant-details p {
    margin: 10px 0; /* Margin around details */
}
