@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@400;500;600;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Raleway', sans-serif;
}


.mlk-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mlk-header-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mlk-logo-link {
    display: flex;
    align-items: center;
}

.mlk-logo {
    height: 60px;
    width: auto;
}

.mlk-nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.mlk-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e3c96;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem;
    transition: color 0.3s;
}

.mlk-nav-link:hover {
    color: #152a69;
}

.mlk-nav-link i {
    font-size: 1.1rem;
    color: #1e3c96;
}

/* Dropdown styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 250px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    padding: 0.5rem 0;
    display: none;
    z-index: 1000;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #1e3c96;
    text-decoration: none;
    transition: background-color 0.3s;
}

.dropdown-item:hover {
    background-color: #f5f5f5;
    color: #152a69;
}

.dropdown-item i {
    width: 20px;
    color: #1e3c96;
}

/* CTA Button styles */
.mlk-header-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.mlk-cta-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.mlk-cta-note {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e3c96;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-left: 12px;
}

.mlk-cta-note::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: #CA1385;
    border-radius: 50%;
}

.mlk-cta-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: #1e3c96;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(30, 60, 150, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mlk-cta-button::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: 0.5s;
}

.mlk-cta-button:hover {
    background: #152a69;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 60, 150, 0.3);
}

.mlk-cta-button:hover::before {
    left: 100%;
}

.mlk-cta-button i {
    font-size: 1.2rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.4rem;
    border-radius: 50%;
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.mlk-cta-button:hover i {
    transform: rotate(-12deg);
}

@media (max-width: 1024px) {
    .mlk-cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 1rem;
    }
    
    .mlk-cta-button i {
        font-size: 1rem;
        width: 1.8rem;
        height: 1.8rem;
    }
}

@media (max-width: 768px) {
    .mlk-cta-note {
        display: none;
    }
    
    .mlk-cta-button {
        padding: 0.5rem 1rem;
    }
}

.mlk-burger-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile menu styles */
.mlk-mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mlk-mobile-menu.active {
    opacity: 1;
}

.mlk-mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid #eee;
}

.mlk-mobile-logo-link img {
    height: 40px;
    width: auto;
}

.mlk-close-menu-btn {
    color: #1e3c96;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

.mlk-mobile-nav {
    padding: 1rem;
    overflow-y: auto;
    height: calc(100% - 70px);
}

.mlk-mobile-nav-group {
    margin-bottom: 1.5rem;
}

.mlk-mobile-nav-title {
    font-weight: 600;
    color: #1e3c96;
    margin-bottom: 0.5rem;
    padding: 0.5rem 0;
}

.mlk-mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #1e3c96;
    text-decoration: none;
    transition: background-color 0.3s;
}

.mlk-mobile-nav-item:hover {
    background-color: #f5f5f5;
    color: #152a69;
}

.mlk-mobile-nav-item i {
    width: 20px;
    color: #1e3c96;
}

/* Responsive styles */
@media (max-width: 1024px) {
    .mlk-nav-menu {
        display: none;
    }

    .mlk-burger-button {
        display: block;
    }

    .mlk-header-container {
        padding: 0.5rem 1rem;
    }

    .mlk-logo {
        height: 40px;
    }

    .mlk-cta-wrapper {
        display: none;
    }
}

/* Burger icon */
.mlk-burger-icon {
    width: 24px;
    height: 18px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
}

.mlk-burger-icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #1e3c96;
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}

.mlk-burger-icon span:nth-child(1) {
    top: 0px;
}

.mlk-burger-icon span:nth-child(2) {
    top: 8px;
}

.mlk-burger-icon span:nth-child(3) {
    top: 16px;
}

.mlk-burger-button.active .mlk-burger-icon span:nth-child(1) {
    top: 8px;
    transform: rotate(135deg);
}

.mlk-burger-button.active .mlk-burger-icon span:nth-child(2) {
    opacity: 0;
    left: -60px;
}

.mlk-burger-button.active .mlk-burger-icon span:nth-child(3) {
    top: 8px;
    transform: rotate(-135deg);
}

/* Accessibility improvements */
.mlk-nav-link:focus-visible,
.mlk-dropdown-item:focus-visible {
    outline: 2px solid #CA1385;
    outline-offset: 2px;
}

.mlk-nav-link,
.mlk-dropdown-item {
    position: relative;
}

.mlk-burger-button:focus-visible {
    outline: 2px solid #CA1385;
    outline-offset: 2px;
}

/* Skip navigation for screen readers */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.skip-to-content:focus {
    position: fixed;
    left: 50%;
    top: 5px;
    transform: translateX(-50%);
    width: auto;
    height: auto;
    padding: 10px 20px;
    background: #fff;
    color: #1e3c96;
    font-weight: 700;
    border: 2px solid #1e3c96;
    border-radius: 4px;
    z-index: 2000;
    outline: none;
}