@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
}

/* Global Styles */
body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    line-height: 1.6;
    color: #212529;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h2 {
    font-size: 2.5em;
    color: #000000;

}

.section {
    margin: 60px 0;
}

nav {

    justify-content: space-between;
    background-color: transparent;
    padding: 10px 20px;
    max-width: 1600px;
    width: 100%; /* Full width of the viewport */
    margin: 0 auto; /* Center the nav within its container */
    top: 0;
    left: 0;
    right: 0;
    z-index: 99; /* Ensure it stays on top */
}


nav ul {
    list-style: none;
    display: flex;
    justify-content: flex-end; /* Align items to the right */
    align-items: center;
    margin: 15px;
    padding: 0;
    z-index: 9px;
}

nav li {
    height: 40px;
}

nav a {
    height: 100%;
    padding: 0 20px;
    text-decoration: none;
    display: flex;
    align-items: center;
    color: #00409C;
    z-index: 99px;
}

nav a:hover {
    color: #0094F9;
}

nav li:first-child {
    margin-right: auto; /* Pushes the first item (logo) to the left */
    z-index: 1px;
}

nav li:first-child:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.login-button {
    background-color: #00409C;
    color: #ffffff;
    padding: 0px 40px 0px 40px;
    border-radius: 20px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.login-button:hover {
    color: white;
    background-color: #0094F9;
}

.demo {
    padding-right: 20px;
}

.sidebar {
    display: flex;
    position: fixed;
    z-index: 999;
    top: 0px;
    right: 0;
    margin: 0px;
    padding-top:20px;
    height: 100vh;
    width: 250px;
    background-color: white;
    backdrop-filter: blur(10px);
    box-shadow: -10px 0 10px rgba(0, 0, 0, 0.1);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}



.sidebar li {
    width: 100%;
}

.sidebar a {
    width: 100%;
    z-index: 1;
}

.menu-button {
    display: none;
    top: 0px;
    right: 0px;
}

@media (max-width: 800px) {
    .hideOnMobile {
        display: none;
    }
    .menu-button {
        display: block;
    }
    .login-button {
        margin-top: 10px;
        border-radius: 0;
    }
}

@media (max-width: 400px) {
    .sidebar {
        width: 100%;
    }
}


@media (max-width: 800px) {
    nav {
      z-index: 50; /* Lower than the sidebar's 999 */
    }
  }
  

/* Mobile Logo (Visible on smaller screens) */
.mobile-logo {
    display: none;
    max-height: 50px; /* Adjust based on logo size */
    position: absolute;
    top: 40px;  /* Adjust for vertical positioning */
    left: 40px;  /* Adjust for horizontal positioning */
}

/* Default Logo (Visible on larger screens) */
.default-logo {
    display: block;
    max-height: 50px; /* Adjust based on logo size */
}

/* On mobile screens, show the mobile logo (brand.svg) and hide the default logo */
@media (max-width: 1200px) {
    .default-logo {
        display: none;
    }

    .mobile-logo {
        display: block;
    }
}

/* Footer Styles */
footer a {
    color: #e9ecef;
}
footer p {
    padding-top: 10px;
}
footer {
    margin-top: 40px;
    text-align: center;
    padding: 40px;
    background-color: #00409C;
    color: #e9ecef;
    border-top: 1px solid #e9ecef;
}

.linkedin-logo {
    padding-top: 10px;
    max-width: 50px;
    max-height: 50px;
}
