@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Open Sans", sans-serif;
    overflow-x: hidden;
    background: #f8f9fa;
    color: #333;
}

/* Professional Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 0px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(15px);
    border-bottom: 3px solid #226ecc;
    box-shadow: 0 2px 20px rgba(34, 110, 204, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 0px 0;
    box-shadow: 0 5px 30px rgba(34, 110, 204, 0.15);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.logo img {
    width: 400px;
    height: 80px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-item a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    bottom: 0;
    left: 50%;
    background: #226ecc;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-item a:hover::before {
    width: 100%;
}

.nav-item a:hover {
    color: #226ecc;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

@media (max-width: 1200px) {
    .logo img {
        width: 300px;
        height: 60px;
    }
    .nav-menu{
        gap: 13px;
    }
    .nav-container {
        max-width: 100%;
    }
    .nav-item a {
        font-size: 14px;
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 25px;
    }

    .logo img {
        width: 300px;
        height: 60px;
    }
}

@media (max-width: 800px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 30px 30px 30px;
        gap: 10px;
        transition: right 0.3s ease;
        border-left: 3px solid #226ecc;
        box-shadow: -5px 0 20px rgba(34, 110, 204, 0.1);
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-item {
        width: 100%;
    }

    .nav-item a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid rgba(34, 110, 204, 0.1);
    }

    .nav-item a::before {
        left: 0;
        transform: none;
        width: 0;
        height: 3px;
    }

    .nav-item a:hover::before {
        width: 50px;
    }

    .logo img {
        width: 300px;
        height: 60px;
    }

    .nav-container {
        padding: 0 20px;
    }

}

@media (max-width: 500px) {
    .nav-menu {
        width: 280px;
        padding: 20px 20px 20px;
    }

    .logo img {
        width: 250px;
        height: 60px;
    }

    .nav-container {
        padding: 0 15px;
    }
}