/* Simple Navigation Styles */
.simple-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    min-height: 70px;
    transition: all 0.3s ease;
}

.simple-nav-container {
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    min-height: 70px;
    transition: all 0.3s ease;
}

/* Scrolled state for navbar */
.simple-navbar.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.simple-navbar.scrolled .simple-nav-container {
    padding: 0.5rem 1.5rem;
    min-height: 60px;
}

/* Logo Styles */
.simple-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 0.5rem;
    z-index: 1001;
}

.simple-logo-img {
    height: 36px;
    width: auto;
    transition: height 0.3s ease;
}

.simple-logo-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3f66 !important;
    white-space: nowrap;
    transition: font-size 0.3s ease;
}

.simple-logo-text .highlight {
    color: #497EE6 !important;
    font-weight: 700;
}

/* Scrolled state for logo */
.simple-navbar.scrolled .simple-logo-img {
    height: 32px;
}

.simple-navbar.scrolled .simple-logo-text {
    font-size: 1.1rem;
}

/* Desktop Navigation */
.simple-nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

/* Navigation Button Specific Styles */
.simple-nav .btn-accent {
    padding: 0.6rem 1.2rem !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    height: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.simple-nav-link {
    color: #1e3f66;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    white-space: nowrap;
    position: relative;
}

.simple-nav-link:hover,
.simple-nav-link:focus {
    color: #497EE6;
    background-color: rgba(73, 126, 230, 0.05);
}

.simple-nav-link.active {
    color: #497EE6;
    font-weight: 600;
}

.simple-nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background-color: #497EE6;
    border-radius: 1px;
}

/* Responsive Navigation */
@media (max-width: 1024px) {
    .simple-nav {
        gap: 1rem;
    }
    
    .simple-nav-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .simple-nav .btn-accent {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }
}

@media (max-width: 768px) {
    .simple-nav {
        display: none;
    }
    
    .simple-nav-container {
        padding: 0.75rem 1.25rem;
    }
    
    .simple-logo-img {
        height: 32px;
    }
    
    .simple-logo-text {
        font-size: 1.1rem;
    }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    .simple-nav-container {
        padding: 0.5rem 1rem;
        min-height: 60px;
    }
    
    .simple-logo-text {
        font-size: 1rem;
    }
    
    .simple-logo-text .highlight {
        display: block;
    }
}

/* CTA Button */
.simple-nav-cta {
    background-color: #1e3f66;
    color: #ffffff !important;
    padding: 0.5rem 1.25rem;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-left: 0.5rem;
}

.simple-nav-cta:hover {
    background-color: #2a5a8a;
}

/* Mobile Menu Toggle */
.simple-menu-toggle {
    display: none;
    background-color: transparent !important;
    border: none !important;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1001;
}

/* Hide the menu text visually but keep it accessible */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #1e3f66;
    position: relative;
    transition: background-color 0.2s 0.2s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background-color: #1e3f66;
    left: 0;
    transition: all 0.3s ease;
}

.menu-icon::before {
    top: -8px;
    transform-origin: 0 50%;
}

.menu-icon::after {
    bottom: -8px;
    transform-origin: 0 50%;
}

/* Active state for the menu button */
.simple-menu-toggle[aria-expanded="true"] .menu-icon {
    background-color: transparent;
}

.simple-menu-toggle[aria-expanded="true"] .menu-icon::before {
    transform: rotate(45deg) translate(0, -1px);
    width: 28px;
    background-color: #1e3f66;
}

.simple-menu-toggle[aria-expanded="true"] .menu-icon::after {
    transform: rotate(-45deg) translate(0, 1px);
    width: 28px;
    background-color: #1e3f66;
}

/* Focus and hover states */
.simple-menu-toggle:focus {
    outline: 2px solid #497EE6;
    outline-offset: 2px;
}

.simple-menu-toggle:hover .menu-icon,
.simple-menu-toggle:focus .menu-icon,
.simple-menu-toggle:hover .menu-icon::before,
.simple-menu-toggle:focus .menu-icon::before,
.simple-menu-toggle:hover .menu-icon::after,
.simple-menu-toggle:focus .menu-icon::after {
    background-color: #497EE6;
}

/* Mobile Menu */
.simple-mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    padding: 1.5rem 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    z-index: 1000;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.simple-mobile-menu[aria-hidden="false"] {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.mobile-nav-link,
.mobile-nav-cta {
    display: block;
    padding: 0.75rem 0;
    color: #1e3f66;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    border-bottom: 1px solid #f0f0f0;
    transition: all 0.2s ease;
    text-align: center;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-cta:hover,
.mobile-nav-cta:focus {
    color: #497EE6;
    background-color: rgba(73, 126, 230, 0.05);
}

.mobile-nav-cta {
    background-color: #1e3f66;
    color: white !important;
    border-radius: 4px;
    margin: 0.5rem 0;
    padding: 0.75rem 1.5rem;
    border: none;
}

.mobile-nav-cta:hover,
.mobile-nav-cta:focus {
    background-color: #497EE6;
}

.mobile-nav-link:last-child,
.mobile-nav-cta:last-child {
    border-bottom: none;
}

.mobile-nav-cta {
    color: #1e3f66 !important;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .simple-nav {
        display: none;
    }
    
    .simple-menu-toggle {
        display: block !important;
        background-color: #497EE6 !important;
    }
    
    .simple-mobile-menu.mobile-visible {
        display: flex;
    }
    
    .simple-nav-container {
        padding: 0 1.5rem;
    }
}

