
.about-us-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
    /* Adjust padding as needed */
    max-width: 1200px;
    /* Max width for the content */
    margin: 0 auto;
    /* Center the section */
}
.about-us-text,
.about-us-carousel {
    flex: 1;
    min-width: 300px;
    /* Minimum width before wrapping */
    padding: 20px;
}

.about-us-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    color: #333;
}

.about-us-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 15px;
}

.about-us-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    /* To hide parts of images if they are larger than container */
}

.about-us-carousel img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    /* Optional: subtle rounded corners for images */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Optional: subtle shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .about-us-section {
        flex-direction: column;
        /* Stack columns on smaller screens */
    }

    .about-us-text,
    .about-us-carousel {
        width: 100%;
        /* Full width on smaller screens */
    }

    .about-us-text h2 {
        font-size: 28px;
    }
}

/* New styles for Manager Introduction section */
.manager-section {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    /* Align items to the top */
    padding: 60px 20px;
    /* Adjust padding as needed */
    max-width: 1000px;
    /* Max width for the content */
    margin: 0 auto;
    /* Center the section */
    background-color: #f9f9f9;
    /* Light background for contrast */
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.manager-photo,
.manager-details {
    flex: 1;
    min-width: 300px;
    /* Minimum width before wrapping */
    padding: 20px;
}

.manager-photo img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.manager-details h3 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #333;
}

.manager-details .title {
    font-size: 18px;
    color: #777;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.manager-details .title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: #e60023;
    /* Red line as in the image */
}

.manager-details p {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
    margin-bottom: 15px;
}

/* Responsive adjustments for manager section */
@media (max-width: 768px) {
    .manager-section {
        flex-direction: column;
        /* Stack columns on smaller screens */
    }

    .manager-photo,
    .manager-details {
        width: 100%;
        /* Full width on smaller screens */
    }

    .manager-details h3 {
        font-size: 26px;
    }

    .about-us-carousel .swiper-slide {
        width: 100% !important;
    }
    .about-us-carousel .swiper-slide img {
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* New styles for Team Members section */
.team-members-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    /* Two columns on larger screens, fluid */
    gap: 30px;
    /* Space between team member cards */
}

.team-member-card {
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    padding: 20px;
    transition: transform 0.3s ease;
    /* Smooth hover effect */
}

.team-member-card:hover {
    transform: translateY(-5px);
    /* Lift card on hover */
}

.team-member-photo {
    flex-shrink: 0;
    /* Prevent photo from shrinking */
    width: 120px;
    /* Fixed width for photo */
    height: 120px;
    /* Fixed height for photo */
    border-radius: 50%;
    /* Circular photo */
    overflow: hidden;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Cover the area, crop if necessary */
}

.team-member-details {
    flex-grow: 1;
    /* Allow details to take remaining space */
}

.team-member-details h4 {
    font-size: 24px;
    margin-bottom: 5px;
    color: #333;
}

.team-member-details .role {
    font-size: 16px;
    color: #777;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 5px;
}

.team-member-details .role::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 1px;
    background-color: #e60023;
}

.team-member-details p {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit text to 3 lines */
    -webkit-box-orient: vertical;
}

/* Responsive adjustments for team members section */
@media (max-width: 768px) {
    .team-members-section {
        grid-template-columns: 1fr;
        /* Single column on smaller screens */
    }

    .team-member-card {
        flex-direction: column;
        /* Stack image and text */
        align-items: center;
        text-align: center;
    }

    .team-member-photo {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

/* New styles for Team Activities section */
.team-activities-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.team-activity-card {
    flex: 1;
    min-width: 300px; /* Minimum width for each card before wrapping */
    max-width: 550px; /* Max width to ensure two columns on larger screens */
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden; /* Ensure image doesn't overflow rounded corners */
    transition: transform 0.3s ease;
    text-align: center;
}

.team-activity-card:hover {
    transform: translateY(-5px);
}

.team-activity-card img {
    width: 100%;
    height: auto;
    display: block;
}

.team-activity-card h4 {
    font-size: 22px;
    color: #333;
    margin: 20px 0;
    padding: 0 15px;
}

/* Responsive adjustments for team activities section */
@media (max-width: 768px) {
    .team-activities-section {
        flex-direction: column; /* Stack cards on smaller screens */
    }

    .team-activity-card {
        width: 100%;
        max-width: none; /* Remove max-width on small screens */
    }
}
