/* resources/css/welcome.css */
@font-face {
    font-family: "Bahij Halvetica";
    src: url("/fonts/Bahijlight.ttf") format('truetype');
    font-weight: lighter;
}

/* ===== Base Styles ===== */
body {
    font-family: 'Bahij Halvetica';
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #f8fafc 0%, #edf2f7 100%);
    color: #2d3748;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ===== Main Container ===== */
.container {
    max-width: 100%;
    margin: 0 auto;
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* ===== Language Selector ===== */
.language-selection {
    position: absolute;
    top: 2rem;
    right: 2rem;
    z-index: 10;
}

.lan {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
    border: none;
    border-radius: 20px;
    background-color: rgba(255,255,255,0.9);
    color: #4a5568;
    cursor: pointer;
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    font-family: 'Bahij Halvetica';
}

.lan:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    background-color: #2b6cb0;
    color: white;
}

/* ===== Header ===== */
.header h1 {
    font-size: 1.8rem;
    font-weight: 500;
    color: #1a365d;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    max-width: 800px;
}

/* ===== Logo ===== */
.logo {
    margin: 1.5rem 0;
}

.logo img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* ===== Navigation Cards ===== */
.navigation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    width: 100%;
    max-width: 100%;
    margin: 2rem 0;
}

.nav-card {
    background: white;
    border-radius: 12px;
    padding: 1rem; 
    box-shadow: 0 20px 10px rgba(0, 0, 0, 0.08); 
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 200px;
    max-height: 100px;
    font-size: 14px; 
}

.nav-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.nav-card i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2b6cb0;
}

.nav-card .link {
    font-size: 1.1rem;
    color: #2d3748;
    font-weight: 400;
    margin-bottom: 0.5rem;
}

.nav-card .desc {
    font-size: 0.9rem;
    color: #718096;
    text-align: center;
}

.primary-card {
    background: linear-gradient(135deg, #2b6cb0 0%, #2c5282 100%);
    color: white;
}

.primary-card i,
.primary-card .link,
.primary-card .desc {
    color: white;
}

/* ===== Footer ===== */
.footer {
    padding: 1.2rem;
    background-color: #1a365d;
    color: white;
    text-align: center;
    font-size: 0.85rem;
    margin-top: auto;
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }
    
    .header h1 {
        font-size: 1.8rem;
    }
    
    .navigation {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .language-selection {
        top: 1rem;
        right: 1rem;
    }
}