/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Tajawal', sans-serif;
    background:linear-gradient(to right, #000000, #18252b, #1a3441);
    overflow-x: hidden;
    height: 100vh;
    perspective: 1000px;
}

/* شاشة الترحيب */
.welcome-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, #000000, #18252b, #1a3441);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: all 1s ease;
    opacity: 1;
    color: white;
}

.welcome-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.logo {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.welcome-message {
    text-align: center;
    max-width: 600px;
    padding: 0 2rem;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease forwards 1s;
}

.welcome-message h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.welcome-message p {
    font-size: 2rem;
    line-height: 1.6;
}

/* شاشة الاختيار */
.selection-screen {
    display: none;
    width: 100%;
    height: 100vh;
}

.selection-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* الكروت */
.option-card {
    width: 300px;
    height: 400px;
    margin: 0 2rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
}

.option-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
}

.option-card.user {
    background: linear-gradient(45deg, #1d505c, #142846);
}

.option-card.consultant {
    background: linear-gradient(45deg, #142846, #1d505c);
}

.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 2rem;
}

.card-icon {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #e8f1f4;
}

.card-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.card-desc {
    text-align: center;
    font-size: 1rem;
    color: #f0f0f0;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes cardEntrance {
    from { opacity: 0; transform: translateY(50px) rotateY(30deg); }
    to { opacity: 1; transform: translateY(0) rotateY(0); }
}