/* Team Section */
/* Team Section */
/* Team Section */
/* Team Section */
/* Team Section */
.our-team-section {
    padding: 50px 0;
    background-color: #000; /* Black background */
}

.our-team-container {
    text-align: center;
    max-width: 1200px; /* Match the width of the services section */
    margin: 0 auto; /* Center the container */
    padding: 0 20px; /* Add padding for smaller screens */
}

.our-team-container h2 {
    font-size: 36px;
    margin-bottom: 40px;
    color: #fff; /* White text */
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)); /* Always 3 columns with equal width */
    gap: 20px; /* Space between blocks */
}

.team-member {
    text-align: center;
    padding: 20px;
    background-color: #222; /* Dark gray background */
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(255, 255, 255, 0.1); /* White shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content horizontally */
    justify-content: center; /* Center content vertically */
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.team-member img {
    width: 100%; /* Responsive images */
    max-width: 200px; /* Larger images */
    height: auto; /* Maintain aspect ratio */
    border-radius: 50%; /* Circular images */
    margin-bottom: 20px; /* Space below the image */
}

.team-member h3 {
    font-size: 24px; /* Larger font size */
    margin-bottom: 10px;
    color: #fff; /* White text */
}

.team-member p {
    font-size: 16px; /* Larger font size */
    color: #ccc; /* Light gray text */
}

/* Responsive Design for Team Section */
@media (max-width: 1024px) {
    .team-grid {
        gap: 15px; /* Slightly reduce gap for tablets */
    }

    .team-member img {
        max-width: 180px; /* Slightly smaller images for tablets */
    }

    .team-member h3 {
        font-size: 20px; /* Adjusted font size for tablets */
    }

    .team-member p {
        font-size: 14px; /* Adjusted font size for tablets */
    }
}

@media (max-width: 768px) {
    .team-grid {
        gap: 10px; /* Further reduce gap for mobile */
    }

    .team-member img {
        max-width: 150px; /* Smaller images for mobile */
    }

    .team-member h3 {
        font-size: 18px; /* Adjusted font size for mobile */
    }

    .team-member p {
        font-size: 12px; /* Adjusted font size for mobile */
    }
}

/* Extra Small Screens (e.g., very small phones) */
@media (max-width: 480px) {
    .team-grid {
        gap: 10px; /* Keep small gap for very small phones */
    }

    .team-member img {
        max-width: 120px; /* Smaller images for very small phones */
    }

    .team-member h3 {
        font-size: 16px; /* Adjusted font size for very small phones */
    }

    .team-member p {
        font-size: 10px; /* Adjusted font size for very small phones */
    }
}