/* Global Styles */
.navbar {
    background-color: rgba(65, 105, 225, 0.9);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 20px;
    position: relative;
    width: 100%;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.nav-links {
    display: flex;
    justify-content: center;
    flex-grow: 1;
    gap: 29px;
}

.nav-links a {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 18px;
}

.nav-links a:hover {
    color: #e88d2b;
}

.logo img {
    width: 69px;
    height: auto;
    object-fit: contain;
    padding-left: 19px;
}

/* Team Section Styles */
.team-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 69px;
    margin: 0px 199px 0px;
    border: none;
    font-family: 'Futura LT Home Medium', sans-serif;
    font-size: 18px;
}

.team-container * {
    margin: 0;
    padding: 0;
}

.team-info {
    width: 60%;
    padding-right: 20px;
}

.team-image-container {
    width: 40%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.team-image {
    max-width: 100%;
    height: auto;
}

/* Individual Team Member Styles */
.shirlin-section, .den-section, .jasmin-section {
    padding: 19px;
    margin-bottom: 20px; /* Added margin between sections */
}

.shirlin-container, .den-container, .jasmin-container {
    display: flex;
    background-color: #f8f8f8;
    padding: 69px;
    margin: 0 269px 20px; /* Added bottom margin to each container */
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

.shirlin-info, .den-info, .jasmin-info {
    width: 60%;
    padding: 0px 69px;
    font-size: 20px; /* Reduced font size from 24px to 20px */
}

.shirlin-image, .den-image, .jasmin-image {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    overflow: visible;
}

.shirlin-image img, .den-image img, .jasmin-image img {
    position: absolute;
    right: -50%;
    width: 200%;
    height: auto;
    border: 3px solid #27408B; /* Added professional border */
}

.shirlin-container h2, .den-container h2, .jasmin-container h2,
.shirlin-container h3, .den-container h3, .jasmin-container h3 {
    color: #27408B;
    font-family: 'Verdana', sans-serif; /* Changed font to Verdana */
    font-weight: bold;
    text-align: left;
}

.shirlin-container p, .den-container p, .jasmin-container p {
    text-align: justify;
    font-family: 'Verdana', sans-serif; /* Changed font to Verdana */
}

/* Leadership Team header */
.team-header {
    max-height: 333px;
    overflow: hidden;
    text-align: center;
    color: #003366;
    font-size: 48px;
    padding: 20px 50px;
    margin: 20px auto;
    width: calc(100% - 100px);
    font-family: 'Lucida Grande', sans-serif; /* Changed font to Lucida */
    letter-spacing: 2px; /* Added letter spacing */
}

/* Fade-in effect */
.fade-in {
    opacity: 0;
    transition: opacity 0.5s ease-out;
}

.fade-in.is-visible {
    opacity: 1;
}

/* Ensure elements are visible by default on mobile */
@media screen and (max-width: 768px) {
    .fade-in {
        opacity: 1;
    }
}

/* Footer Styles */
footer {
    text-align: center !important;
    background-color: rgba(65, 105, 225, 0.9) !important; /* Dark blue background */
    color: white !important; /* White text color for better contrast */
    padding: 1.5px !important; /* Consistent padding */
    border-radius: 5px !important; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0,0,0,0.1) !important; /* Subtle shadow for depth */
    font-size: 16px !important; /* Consistent font size */
    font-family: 'Futura LT Home Medium', sans-serif; /* Changed font to Futura LT */
}

footer a, footer a.privacy-link {
    color: white !important; /* Ensuring link colors are white */
    text-decoration: none !important; /* No underline */
    margin-left: 10px !important; /* Space between text and link */
}

footer a:hover {
    text-decoration: underline !important; /* Underline on hover for better user interaction */
}

/* Media Queries for Responsive Design */
@media screen and (max-width: 768px) {
    /* Global adjustments */
    body {
        margin: 0;
        padding: 0;
    }

    /* Navbar */
    .navbar {
        flex-direction: column;
        padding: 5px;
    }

    .nav-links {
        flex-direction: column;
        gap: 10px;
        margin-top: 5px;
    }

    .logo img {
        padding-left: 0;
        width: 50px;
    }

    /* Team Container */
    .team-container {
        flex-direction: column;
        padding: 10px;
        margin: 0;
        width: 100%;
        box-sizing: border-box;
    }

    .team-info, .team-image-container {
        width: 100%;
    }

    /* Individual Team Member Sections */
    .shirlin-container, .den-container, .jasmin-container {
        flex-direction: column !important;
        padding: 10px !important;
        margin: 0 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .shirlin-info, .den-info, .jasmin-info {
        width: 100% !important;
        padding: 10px 0 0 0 !important;
        font-size: 14px !important;
    }

    .shirlin-image, .den-image, .jasmin-image {
        width: 100% !important;
        height: 200px !important;
        margin-bottom: 10px !important;
        position: relative !important;
        overflow: hidden !important;
    }

    .shirlin-image img, .den-image img, .jasmin-image img {
        position: static !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        right: auto !important;
        border: none !important;
    }

    /* Ensure text doesn't overflow */
    .shirlin-container h2, .den-container h2, .jasmin-container h2,
    .shirlin-container h3, .den-container h3, .jasmin-container h3,
    .shirlin-container p, .den-container p, .jasmin-container p {
        font-size: 14px !important;
        margin-bottom: 5px !important;
    }
}

