/* Reset default margin and font */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 2.0;
    font-size: 20;
}

/* Navbar styling */
.navbar {
    display: flex;
    justify-content: space-between; /* Logo left, buttons right */
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(2, 62, 138, 0.95); /* Slight transparency for overlay effect */
    padding: 15px 30px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Logo styling */
.navbar .logo {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
}

/* Buttons container */
.nav-buttons {
    display: flex;
    gap: 15px;
}

/* Navbar buttons */
.nav-buttons button {
    padding: 10px 20px;
    font-size: 16px;
    border: none;
    cursor: pointer;
    background-color: #0077b6;
    color: white;
    transition: background-color 0.3s, transform 0.2s;
    border-radius: 5px;
}

/* Hover effects */
.nav-buttons button:hover {
    background-color: #0096c7;
    transform: translateY(-3px);
}

/* Special style for login button */
.nav-buttons .login-btn {
    background-color: #ff7f50;
}

.nav-buttons .login-btn:hover {
    background-color: #ff4500;
}

/* Home Section with animated background */
.home-section {
    position: relative;
    height: 100vh;
    background: linear-gradient(-45deg, #0077b6, #0096c7, #00b4d8, #90e0ef);
    background-size: 400% 400%;
    animation: gradientBG 15s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

@keyframes gradientBG {
    0% {background-position: 0% 50%;}
    50% {background-position: 100% 50%;}
    100% {background-position: 0% 50%;}
}

.home-section .overlay {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 30px;
    border-radius: 10px;
}

/* Sections styling */
section {
    padding: 120px 30px 60px; /* Top padding to avoid being hidden under navbar */
    min-height: 100vh;
}

h1, h2 {
    color: #023e8a;
    margin-bottom: 15px;
}

/* Team Section */
.team-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
}

.team-member {
    background-color: #f0f0f0;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    width: 200px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.team-member img {
    width: 100%;
    border-radius: 50%;
    margin-bottom: 15px;
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Smooth scroll effect */
html {
    scroll-behavior: smooth;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-buttons {
        flex-direction: column;
        width: 100%;
    }
    .nav-buttons button {
        width: 100%;
        text-align: left;
    }

    .team-container {
        flex-direction: column;
        align-items: center;
    }
}
