/* Importing Google Font - Roboto */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

/* General Styles */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: 'Roboto', sans-serif; /* Applying Roboto font */
    background-color: #f4f4f4;
    line-height: 1.6; /* Adding line height for better readability */
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #006699; /* Dark Blue Background */
    color: white;
    padding: 20px;
    position: relative;
    box-sizing: border-box;
}

header .logo-container {
    flex: 0 1 auto;  /* Ensures logo stays on the left */
}

header .logo {
    height: 60px;
}

header .header-title {
    text-align: center;
    flex-grow: 2;
    font-size: 1.8em;
    font-weight: 700; /* Bold weight for the header */
    margin: 0;
    color: white; /* Set title text color to white */
}

.language-selector-container {
    position: absolute;
    top: 10px;
    right: 20px;
}

.language-selector {
    padding: 5px;
    background-color: #fff;
    border: 1px solid #ccc;
    font-size: 14px;
}

/* Navigation Menu */
.menu {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    background-color: #eee;
    margin: 0;
    padding: 10px;
}

.menu li {
    padding: 10px 20px;
    cursor: pointer;
    font-weight: 500; /* Semi-bold text for menu items */
}

.menu li:hover {
    background-color: #006699;
    color: white;
}

.menu li.active {
    text-decoration: underline;
    font-weight: 700; /* Bold font for active menu items */
}

/* Main Content Area */
.container {
    flex-grow: 1;
    width: 80%;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

/* Content Box */
.content {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-height: 70vh; /* Max height for scrollable content */
    overflow-y: auto; /* Enables scrolling for long content */
    flex-grow: 1; /* Allows content to grow and take available space */
}

h1, h2 {
    color: #006699;
    font-weight: 700; /* Bold headers */
    margin-top: 0;
}

h3, h4 {
    color: #333;
    font-weight: 500;
}

p {
    font-size: 16px; /* Setting the default font size for paragraphs */
    margin-bottom: 20px; /* Spacing between paragraphs */
}

ul {
    padding-left: 20px;
}

ul li {
    margin-bottom: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    position: relative;
    width: 100%;
    bottom: 0;
}

/* Team Section */
.team-section {
    padding: 50px 20px;
    background-color: #f4f4f4;
    text-align: center;
}

.team-section h2 {
    color: #006699;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-section p {
    font-size: 18px;
    color: #333;
    margin-bottom: 40px;
}

/* Grid Layout for Team Members */
.team-members {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 members per row */
    gap: 20px; /* Space between cards */
    justify-items: center;
    align-items: start;
    margin-top: 20px;
}

/* Individual Member Card */
.card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    max-width: 250px;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
}

.card:hover {
    transform: translateY(-10px); /* Hover effect */
}

/* Card Body */
.card-body {
    text-align: center;
    padding: 15px;
}

/* Image Styling */
.team-member-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
}

/* Name and Designation */
.team-member-name {
    font-size: 1.1em;
    font-weight: 600;
    color: #006699;
    margin: 5px 0;
}

.team-member-designation {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

/* Social Media Icons */
.social-media-links {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.social-icon {
    width: 25px;
    height: 25px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.1); /* Slightly enlarge icons on hover */
}


/* Responsive Styles */
@media (max-width: 768px) {
    .container {
        width: 95%;
    }
    
    header .header-title {
        font-size: 1.5em; /* Slightly smaller header on mobile */
    }

    .language-selector {
        font-size: 12px;
    }
    
    .menu {
        flex-direction: column;
    }

    .menu li {
        padding: 10px;
    }
    
    .team-members {
        grid-template-columns: repeat(2, 1fr); /* 2 members per row on tablets */
    }

    .card {
        max-width: 200px;
    }

    .team-member-image {
        width: 100px;
        height: 100px;
    }

    .team-member-name {
        font-size: 1em;
    }

    .team-member-designation {
        font-size: 0.8em;
    }

    .social-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .team-members {
        grid-template-columns: 1fr; /* 1 member per row on smaller screens */
    }

    .card {
        max-width: 180px;
    }

    .team-member-image {
        width: 80px;
        height: 80px;
    }

    .team-member-name {
        font-size: 0.9em;
    }

    .team-member-designation {
        font-size: 0.7em;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }
}