/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navbar Styles */
.navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.navbar-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .navbar-container {
        padding: 0 1.5rem;
    }
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 4rem;
}

/* Logo Styles */
.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-img {
    height: 2.5rem;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text h1 {
    color: #194f94;
}

.logo-text p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

.navbar.scrolled .logo-text p {
    color: #6b7280;
}

/* Desktop Navigation */
.desktop-nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    font-weight: 700;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
}

.nav-link:hover {
    color: #ffffff;
    background-color: rgba(0, 144, 208, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 144, 208, 0.3);
}

.navbar.scrolled .nav-link {
    color: #194f94;
}
.navbar.scrolled .nav-link:hover {
    color: white;
}

.btn-primary {
    background-color: #0090d0;
    color: white;
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary:hover {
    background-color: #0077b6;
    transform: translateY(-1px);
}

.btn-primary.full-width {
    width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    color: white;
}

.mobile-menu-btn:hover {
    color: #0090d0;
}

.mobile-menu-btn:focus {
    outline: 2px solid #0090d0;
    outline-offset: 2px;
}

.navbar.scrolled .mobile-menu-btn {
    color: #194f94;
}

@media (min-width: 1024px) {
    .mobile-menu-btn {
        display: none;
    }
    .mobile-nav {
        display: none !important;
    }
    .desktop-nav {
        display: flex;
    }
    .navbar-img {
        height: 3rem;
        max-width: 180px;
    }
    .navbar-container {
        padding: 0 2rem;
    }
    .navbar-content {
        height: 5rem;
    }
}

.menu-icon {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
}

.mobile-nav.open {
    display: block;
}

.mobile-nav-content {
    padding: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    border-radius: 0 0 0.5rem 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
        0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mobile-nav-link {
    display: block;
    padding: 0.5rem 0.75rem;
    color: #194f94;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    margin-bottom: 0.25rem;
}

.mobile-nav-link:hover {
    color: #0090d0;
    background-color: #f9fafb;
}

.mobile-btn-container {
    padding: 0.5rem 0.75rem;
}
