.welcome-page {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    width: 100vw;
    height: 100vh;
}

.welcome-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.welcome-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(85, 130, 139, 0.8) 0%, rgba(58, 90, 99, 0.8) 100%);
    z-index: 2;
}

.welcome-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
    z-index: 3;
}

.welcome-content {
    position: relative;
    z-index: 4;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.welcome-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 2.5rem;
    width: 100%;
    max-width: 340px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.welcome-logo {
    width: 100px;
    height: 90px;
    margin: 0 auto 1.5rem;
    display: block;
    transition: transform 0.3s ease;
}

.welcome-logo:hover {
    transform: scale(1.05);
}

.welcome-title {
    font-size: 2rem;
    font-weight: 800;
    color: #55828B;
    text-align: center;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.welcome-subtitle {
    font-size: 0.95rem;
    color: #666;
    text-align: center;
    margin-bottom: 2rem;
}

.welcome-btn {
    width: 85%;
    padding: 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    margin: 0 auto 1rem;
    text-align: center;
    display: block;
    cursor: pointer;
    text-decoration: none;
    box-sizing: border-box;
}

.welcome-btn-primary,
.welcome-btn-secondary {
    width: 85%;
    display: block;
    margin: 0 auto 1rem;
}

.welcome-btn-primary {
    background: #55828B;
    color: white;
    border: none;
}

.welcome-btn-primary:hover {
    background: #3a5a63;
    transform: translateY(-2px);
}

.welcome-btn-secondary {
    background: white;
    color: #55828B;
    border: 2px solid #55828B;
}

.welcome-btn-secondary:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

.welcome-footer {
    margin-top: 2rem;
    text-align: center;
    color: #666;
    font-size: 0.875rem;
}

@media (max-width: 640px) {
    .welcome-card {
        padding: 2rem 1.5rem;
        margin: 1rem;
    }
    .welcome-title {
        font-size: 2rem;
    }
    .welcome-logo {
        width: 100px;
        height: 90px;
    }
}

/* Arabic mode adjustments */
body.arabic .welcome-page {
    direction: rtl;
}

body.arabic .welcome-card {
    text-align: right;
}

body.arabic .welcome-title,
body.arabic .welcome-subtitle,
body.arabic .welcome-footer {
    text-align: center;
}

body.arabic .welcome-btn {
    text-align: center;
}


