.main-header {
    padding: 12px 0;
    background: white;
    box-shadow: 0 1px 4px rgba(10, 53, 86, 0.1);
    display: flex;
    align-items: center;
    z-index: 100;
    margin: 0;
}

.header-logo {
    display: block;
    height: 50px;
    flex-shrink: 0;
}

.header-logo img {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav-link {
    color: #62737b;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: color 0.3s ease;
    padding: 4px 8px;
}

.nav-link:hover {
    color: #045881;
}

.nav-link.active {
    color: #045881;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.btn-primary {
    background-color: #23567D;
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background-color: #1a4562;
    text-decoration: none;
    color: white;
}

.btn-primary:active {
    background-color: #143751;
}

.btn-secondary {
    background-color: transparent;
    color: #045881;
    padding: 8px 16px;
    border: 1px solid #045881;
    border-radius: 24px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #f5f5f5;
    text-decoration: none;
    color: #045881;
}

.btn-secondary:active {
    background-color: #e8e8e8;
}

.btn-register {
    background-color: #045881;
    color: white;
    padding: 8px 16px;
    border: none;
    border-radius: 24px;
    text-decoration: none;
    font-family: 'Cairo', sans-serif;
    font-size: 14px;
    font-weight: 700;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.btn-register:hover {
    background-color: #034668;
    text-decoration: none;
    color: white;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
    z-index: 1001;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 150px;

}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #045881;
    margin: 5px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translateY(12px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-12px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 70px;
    right: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 4px 12px rgba(10, 53, 86, 0.2);
    z-index: 1000;
    overflow-y: auto;
    max-height: calc(100vh - 70px);
}

.mobile-menu.active {
    display: flex;
    flex-direction: column;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    border-right: 3px solid transparent;
}

.sidebar-nav-link:hover {
    background-color: #f8f9fa;
    color: #19BBB7;
    border-right-color: #19BBB7;
}

.sidebar-nav-link.active {
    background-color: rgba(25, 187, 183, 0.1);
    color: #19BBB7;
    border-right-color: #19BBB7;
}

.sidebar-nav-link ion-icon {
    font-size: 22px;
}

.mobile-nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: white;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    flex: none;
    width: 100%;
}

.mobile-nav-menu .nav-link {
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    white-space: normal;
    display: block;
}

.mobile-nav-menu .nav-link:hover,
.mobile-nav-menu .nav-link.active {
    background-color: #f8f9fa;
    color: #045881;
}

@media (max-width: 992px) {

.mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

.header-logo {
        height: 40px;
    }

    .header-logo img {
        height: 40px;
    }

    .header-actions {
        gap: 8px;
        flex-shrink: 0;
    }

}

@media (max-width: 992px) {

.mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

.nav-link {
        font-size: 11px;
        padding: 2px 3px;
    }

.btn-secondary {
        padding: 6px 12px;
    }

.mobile-menu.active {
        top: 50px;
    }

    .mobile-nav-menu .nav-link {
        padding: 12px 14px;
        font-size: 13px;
    }

}

.nav-link:focus {
    outline: 2px solid #045881;
    outline-offset: 2px;
}

.mobile-menu-toggle.sticky-burger {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 150px;
}

.btn-primary {
    background-color: #23567D;
    color: white;
    padding: 8px 16px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}
.btn-white {
    background-color: rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 8px 24px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    text-decoration: none;
}
.btn-white:hover {
    background-color: rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
}
.btn-primary:hover {
    background-color: #1a4562;
}
.btn-transparent {
    background-color: transparent;
    color: #23567D;
    padding: 8px 16px;
    height: 44px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

.stat-icon {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    color: #19BBB7;
}

.stat-content {
    text-align: right;
}

.stat-number {
    font-family: 'Tajawal', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #23567d;
    margin: 0;
    line-height: 1;
}

.stat-label {
    font-family: 'Tajawal', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #23567d;
    margin: 2px 0 0 0;
}

@media (max-width: 1024px) {

.stat-number {
        font-size: 20px;
    }
    .stat-label {
        font-size: 12px;
    }
}

@media (max-width: 768px) {

.stat-icon {
        width: 24px;
        height: 24px;
    }

    .stat-number {
        font-size: 18px;
    }
    .stat-label {
        font-size: 11px;
    }

}

@media (max-width: 480px) {

.stat-icon {
        width: 20px;
        height: 20px;
    }

    .stat-number {
        font-size: 16px;
    }
    .stat-label {
        font-size: 10px;
    }

}
