/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

/* Section Titles */
.section-title {
    font-size: 36px;
    font-weight: bold;
    color: #004aad;
    margin-bottom: 20px;
    text-align: center; /* Center the title */
}

/* About Section */
.about {
    margin-top: 40px;
    padding: 60px 20px;
    text-align: center;
    background: #fff;
}

.about-text {
    font-size: 18px;
    color: #444;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Team Section */
.team {
    padding: 20px 20px;
    background: #f8f9fa;
    margin-top: -60px;
}

.team-title {
    text-align: center;
    font-size: 32px;
    font-weight: bold;
    color: #004aad;
    margin-bottom: 40px;
}

/* Team Member Alternating Layout */
.team-member {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    transition: transform 0.3s ease-in-out;
}

/* Alternate left-right layout */
.team-member:nth-child(even) {
    flex-direction: row-reverse;
}

/* Hover Effect */
.team-member:hover {
    transform: scale(1.05);
}

/* Team Image */
.team-member img {
    width: 200px;
    height: 250px;
    border-radius: 20%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}

.team-grid .row .col-md-4:last-child {
    margin-top: 100px; /* adjust as needed */
}
.team-member:hover img {
    transform: rotate(5deg);
}

/* Member Info */
.member-info {
    flex: 1;
}

.member-info h3 {
    font-size: 22px;
    color: #222;
    margin-bottom: 5px;
}

.member-info p {
    font-size: 16px;
    color: #555;
}

.social-icons {
    margin-top: 10px;
}

.social-icons a {
    font-size: 18px;
    color: #004aad;
    margin-right: 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ff5733;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-member {
        flex-direction: column;
        text-align: center;
    }

    .team-member:nth-child(even) {
        flex-direction: column;
    }

    .team-member img {
        width: 150px;
        height: 150px;
    }
}

/* Team Section */
.team {
    padding: 50px 0;
    text-align: center;
}

/* Team Titles */
.team-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 30px;
}

.team-subtitle {
    font-size: 24px;
    font-weight: bold;
    margin-top: 50px;
    margin-bottom: 30px;
    color: #333;
}

/* Team Card */
.team-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

.team-card img {
    width: 150px; 
    height: 180px; 
    border-radius: 15px; 
    object-fit: cover;
    margin-bottom: 15px;
}

.team-card h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.team-card p {
    font-size: 14px;
    color: #777;
}

.team-card:hover {
    transform: translateY(-5px);
}

/* Why Choose Us Section */
.why-choose-us i {
    color: #007bff;
}
.why-choose-us h5 {
    font-weight: 600;
    margin-top: 10px;
}
.why-choose-us p {
    color: #555;
}
