
body {
        font-family: 'Spartan', sans-serif;
       background-color: #e3f2fd; 
    margin: 0;
    padding: 0;
    color: #333;
}
.team-intro{
    margin-top: -30px;
}
.leadership-wrapper {
    margin: 0 auto;
    padding: 30px; 
    background-color: #ffffff;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    background: linear-gradient(145deg, #f7f7f7, #e2e2e2);
}

.intro-section {
    text-align: center;
    background-color: #0a3d67;
    padding: 20px; 
    color: white;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.heading {
    font-size: 2.5rem; 
    color: #fff;
    font-weight: 700;
    margin-bottom: 20px;
}

.intro-text {
    font-size: 1.1rem; 
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.directors-desk {
    border-bottom-left-radius: 15px;
    border-bottom-right-radius: 15px;
    width: 100%;
    background-color: #cfe4f4;
    padding: 40px;
    text-align: center;
}

.section-heading {
    font-size: 2.4rem; 
    color: #2e3b4e;
    font-weight: 700;
    margin-bottom: 40px;
}

.director-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 40px;
    padding: 0 20px;
}

.director-photo {
    width: 35%;
    text-align: center;
}

.director-photo img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    object-fit: cover;
}

.director-message {
    width: 60%;
    text-align: left;
    padding: 25px;
    background-color: #fafafa;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.message-text {
    font-size: 1.1rem; 
    color: #555;
    line-height: 1.8;
}
.management-team {
    max-width: 1200px;
    margin: 10px auto 0 auto; /* Center horizontally */
    padding: 0 20px; /* Safe padding for smaller screens */
}

.team-member {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 50px;
    padding: 20px;
    border-bottom: 1px solid #e0e4e8;
    border-radius: 12px;
    background-color: #f8f9fa;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-12px);
    box-shadow: 0 6px 10px #F03729;
}

.member-photo {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin: 0 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.member-info {
    flex: 1;
    padding: 0 20px;
    text-align: left;
}

.member-name {
    font-size: 1.7rem;
    color: #F03729;
    font-weight: 600;
}

.member-position {
    font-size: 1.2rem;
    color: #0a3d67;
    margin-top: 10px;
    font-weight: 600;
}

.member-description {
    font-size: 1rem;
    color: #555;
    margin-top: 15px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1400px) {
    .member-photo {
        width: 150px;
        height: 150px;
    }

    .member-name {
        font-size: 1.5rem;
    }

    .member-position {
        font-size: 1.1rem;
    }

    .member-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .management-team {
        padding: 20px;
    }

    .team-member {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 15px;
    }

    .member-photo {
        width: 150px;
        height: 150px;
        margin-bottom: 20px;
    }

    .member-info {
        width: 100%;
        padding: 0;
    }

    .member-name {
        font-size: 1.4rem;
    }

    .member-position {
        font-size: 1.1rem;
    }

    .member-description {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .member-name {
        font-size: 1.3rem;
    }

    .member-position {
        font-size: 1rem;
    }

    .member-description {
        font-size: 0.9rem;
    }
}

.title-container {
    display: flex;
    justify-content: center;
    overflow: hidden;
    width: 100%;
}

.team-title,
.heading {
    white-space: nowrap;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
    color: #0a3d67;
}

@media (max-width: 1024px) {
    .team-title,
    .heading {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .team-title,
    .heading {
        font-size: 1.8rem;
        padding: 0 10px;
        white-space: normal;
    }
}

@media (max-width: 480px) {
    .team-title,
    .heading {
        font-size: 1.5rem;
    }
}
