/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
    padding-top: 75px;
}

/* Header */
header {
    background: #fff;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    z-index: 1000;
    border-radius: 10px;
}

.logo img {
    /* Increase the height to whatever you prefer, for example: 80px or 100px. */
    height: 65px; 
    margin-right: 1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    font-size: 0.9rem;
}

.nav-links .button {
    background-color: #004aad;
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border-radius: 20px;
}

.nav-links .button:hover {
    background-color: #003b8e;
}

/* Team Intro */
.team-intro {
    text-align: center;
    padding: 2rem 1rem;
    background-color: #f8f9fa;
    margin: 2rem 0;
}

.team-intro h2 {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #004aad;
}

.team-intro p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px;
    margin: 0 auto;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    padding: 1rem;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.team-card img {
    width: 100%;
    height: 250px; /* Increased height from 200px */
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.team-card h3 {
    font-family: 'Marcellus', serif;
    font-size: 1.5rem;
    color: #004aad;
    margin: 1rem 0 0.5rem;
}

.team-card p {
    font-size: 1rem;
    color: #555;
}

/* Footer */
footer {
    background: #f8f9fa;
    text-align: center;
    padding: 1rem 2rem;
    color: #555;
    font-size: 0.9rem;
    border-top: 1px solid #e0e0e0;
    margin: 0;
    padding: 0;
}

footer p {
    margin: 0;
}
/* Call-to-Action Section */
.cta {
    background-color: #004aad;
    color: white;
    padding: 4rem 2rem;
}

.cta-wrapper {
    display: flex;
    align-items: center; /* Align items vertically in the center */
    justify-content: flex-start; /* Align the sections to the left */
    gap: 4rem; /* Add space between the two sections */
}

.cta-links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem; /* Add space between social links */
    font-size: 1.2rem;
}

.cta-links a, .cta-links div {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem; /* Space between icons and text */
}

.cta-links i {
    font-size: 24px;
}

.cta-content {
    flex-grow: 1; /* Allow the text section to take up remaining space */
    text-align: left; /* Align text to the left */
}

.cta-content h2 {
    font-family: 'Marcellus', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #004aad;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.cta-button:hover {
    background: #f0f0f0;
    color: #003b8e;
}

#chatbot-icon {
    z-index: 1100; /* Ensure it's above the Swiper or other dynamic content */
}

#chatbox-container {
    z-index: 1100; /* Higher priority than Swiper */
    bottom: 120px; /* Adjusted to stay above Swiper pagination/buttons */
}


/* Responsive Styling */
/* Responsive Styling */
@media screen and (max-width: 1240px) {
    header {
        width: 90%;
        padding: 1rem;
        top: 1rem;
    }

    .logo img {
        height: 40px;
    }

    .nav-links {
        display: none; /* Hide nav links by default */
        flex-direction: column; /* Stack links vertically when shown */
        gap: 1rem;
        background-color: #fff;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        border-radius: 10px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    .nav-links.show {
        display: flex;
    }

    .hamburger {
        display: block; /* Show hamburger on small screens */
        cursor: pointer;
        font-size: 1.5rem;
    }

    .hamburger span {
        display: block;
        width: 25px;
        height: 3px;
        background: #333;
        margin: 5px 0;
        transition: all 0.3s ease;
    }

    .hamburger.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .team-grid {
        grid-template-columns: 1fr; /* Stack team cards in one column */
        gap: 1.5rem;
    }

    .team-card img {
        display: block;
        width: auto;
        max-width: 100%; /* Ensure image is responsive */
        height: auto;
        aspect-ratio: 1 / 1; /* Maintains a square shape */
        border-radius: 10px 10px 0 0;
        object-fit: cover; /* Prevent distortion and fill the square */
    }

    .cta-wrapper {
        flex-direction: column; /* Stack CTA content vertically */
        gap: 2rem;
        text-align: center;
    }

    .cta-content {
        order: 2;
    }

    .cta-links {
        order: 1;
        align-items: center;
        gap: 1rem;
    }
}

