/* =========================================
   SDIT AL-KAHFI - Ekstrakurikuler
   Tema: Biru Navy & Putih - Nuansa Islami
   Versi: Final (Revisi Lengkap)
   ========================================= */

:root {
    --navy: #0a2552;
    --navy-dark: #061a3d;
    --navy-light: #1a3a6e;
    --gold: #d4af37;
    --gold-light: #f0d878;
    --white: #ffffff;
    --cream: #f8f9fc;
    --gray: #6c757d;
    --gray-light: #e9ecef;
    --success: #28a745;
    --danger: #dc3545;
    --warning: #ffc107;
    --info: #17a2b8;
    --shadow: 0 4px 20px rgba(10, 37, 82, 0.1);
    --shadow-lg: 0 10px 40px rgba(10, 37, 82, 0.15);
    --radius: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    color: #333;
    min-height: 100vh;
    line-height: 1.6;
}

.arabic, .footer-quote {
    font-family: 'Amiri', serif;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* ============ HEADER ============ */
.main-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: var(--white);
    padding: 15px 20px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.logo-image {
    width: 45px;
    height: 45px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.logo-image:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .logo-image {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 480px) {
    .logo-image {
        width: 35px;
        height: 35px;
    }
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    font-weight: bold;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.logo-text h1 {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text p {
    font-size: 0.75rem;
    opacity: 0.85;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--white);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
    display: inline-block;
}

.main-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-logout {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600;
}

.nav-toggle {
    display: none;
    background: var(--gold);
    color: var(--navy);
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

/* ============ MAIN CONTENT ============ */
.main-content {
    flex: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 25px 20px;
}

/* ============ FOOTER ============ */
.main-footer {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 25px 20px;
    margin-top: auto;
}

.footer-inner .arabic {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.footer-inner p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin: 4px 0;
}

.footer-quote {
    font-size: 1rem !important;
    color: var(--gold-light) !important;
    margin-top: 8px !important;
}

/* ============ FLASH MESSAGE ============ */
.flash {
    max-width: 1200px;
    margin: 15px auto 0;
    padding: 12px 20px;
    border-radius: var(--radius);
    font-weight: 500;
    text-align: center;
    animation: slideDown 0.4s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.flash-success { background: #d4edda; color: #155724; border-left: 4px solid var(--success); }
.flash-error { background: #f8d7da; color: #721c24; border-left: 4px solid var(--danger); }
.flash-warning { background: #fff3cd; color: #856404; border-left: 4px solid var(--warning); }
.flash-info { background: #d1ecf1; color: #0c5460; border-left: 4px solid var(--info); }

/* ============ LOGIN PAGE ============ */
.login-wrapper {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 40px 30px;
    width: 100%;
    max-width: 420px;
    border-top: 5px solid var(--gold);
    position: relative;
    overflow: hidden;
}

/* REVISI: Background biru diperpanjang agar "Login Administrator" tidak terpotong */
.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 160px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    z-index: 0;
}

.login-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: var(--gold);
    opacity: 0.3;
    z-index: 1;
}

.login-header {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
    margin-bottom: 30px;
    padding-bottom: 15px;
}

.login-header .arabic {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 8px;
}

.login-header h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 10px;
    position: relative;
    z-index: 3;
}

.login-header p {
    font-size: 0.85rem;
    opacity: 0.85;
    margin-top: 4px;
}

.login-body {
    position: relative;
    z-index: 2;
}

/* ============ FORM ============ */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
    color: var(--navy);
    font-size: 0.9rem;
}

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--gray-light);
    border-radius: 10px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--navy);
    box-shadow: 0 0 0 3px rgba(10, 37, 82, 0.1);
}

select.form-control {
    cursor: pointer;
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

/* ============ BUTTONS ============ */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    width: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 37, 82, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-warning { background: var(--warning); color: #333; }
.btn-sm { padding: 6px 12px; font-size: 0.8rem; }

.btn:hover { opacity: 0.92; }

/* ============ CARD ============ */
.card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 25px;
    margin-bottom: 20px;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-light);
}

/* REVISI: Judul card satu baris di HP */
.card-header h2 {
    color: var(--navy);
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
}

.card-header h2::before {
    content: '';
    width: 5px;
    height: 24px;
    background: var(--gold);
    border-radius: 3px;
    flex-shrink: 0;
}

/* ============ DASHBOARD GREETING ============ */
/* REVISI: Assalamu'alaikum satu baris di HP */
.dashboard-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    width: 100%;
}

.dashboard-greeting h2 {
    font-size: 1.2rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    flex: 1;
    margin: 0;
}

.dashboard-greeting h2::before {
    content: '';
    width: 5px;
    height: 24px;
    background: var(--gold);
    border-radius: 3px;
    flex-shrink: 0;
}

/* ============ DASHBOARD STATS ============ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border-left: 5px solid var(--navy);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card.gold { border-left-color: var(--gold); }
.stat-card.success { border-left-color: var(--success); }
.stat-card.info { border-left-color: var(--info); }

.stat-card::after {
    content: '☪';
    position: absolute;
    right: -10px;
    bottom: -20px;
    font-size: 5rem;
    color: var(--navy);
    opacity: 0.05;
}

/* REVISI: Stat card yang bisa diklik */
.stat-card.clickable {
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
}

.stat-card.clickable::after {
    content: '→';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    opacity: 0.5;
    color: var(--navy);
}

.stat-card.clickable:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-card.clickable:hover::after {
    opacity: 1;
    right: 10px;
}

.stat-label {
    color: var(--gray);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--navy);
}

/* ============ DETAIL SECTION (REVISI) ============ */
.detail-section {
    margin-top: 20px;
    animation: slideDown 0.4s ease;
}

.detail-section h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
    display: flex;
    align-items: center;
    gap: 8px;
}

.ekskul-detail-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 12px;
}

.ekskul-detail-item {
    background: var(--cream);
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid var(--navy);
    transition: var(--transition);
}

.ekskul-detail-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.ekskul-detail-item.full {
    border-left-color: var(--danger);
    background: #fff5f5;
}

.ekskul-detail-item h4 {
    color: var(--navy);
    font-size: 1rem;
    margin-bottom: 6px;
}

.ekskul-detail-item p {
    font-size: 0.82rem;
    color: var(--gray);
    margin: 3px 0;
}

.ekskul-detail-item .quota-tag {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.ekskul-detail-item .quota-tag.available {
    background: #d4edda;
    color: #155724;
}

.ekskul-detail-item .quota-tag.full {
    background: #f8d7da;
    color: #721c24;
}

/* ============ TABLE ============ */
.table-wrapper {
    overflow-x: auto;
    border-radius: var(--radius);
    background: var(--white);
}

table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

table thead {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
}

table th {
    padding: 14px 12px;
    text-align: left;
    font-weight: 600;
    font-size: 0.88rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

table td {
    padding: 12px;
    border-bottom: 1px solid var(--gray-light);
    font-size: 0.9rem;
}

table tbody tr:hover {
    background: var(--cream);
}

table tbody tr:last-child td {
    border-bottom: none;
}

/* REVISI: Group header untuk tabel grouped by ekskul */
.group-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%) !important;
    color: var(--white) !important;
}

.group-header td {
    padding: 12px !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    border: none !important;
}

.group-header td .group-badge {
    display: inline-block;
    background: var(--gold);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    margin-left: 10px;
    font-weight: 600;
}

/* ============ BADGE ============ */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-success { background: #d4edda; color: #155724; }
.badge-danger { background: #f8d7da; color: #721c24; }
.badge-warning { background: #fff3cd; color: #856404; }
.badge-info { background: #d1ecf1; color: #0c5460; }
.badge-navy { background: var(--navy); color: var(--white); }

/* ============ WHATSAPP LINK (REVISI) ============ */
.wa-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #25d366;
    text-decoration: none;
    font-weight: 500;
    padding: 4px 8px;
    border-radius: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

.wa-link:hover {
    background: #e8f5e9;
    transform: scale(1.05);
}

.wa-link::before {
    content: '📱';
    font-size: 0.9rem;
}

/* ============ EKSUL CARDS (Public) ============ */
.ekskul-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.ekskul-card {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    border-top: 4px solid var(--navy);
}

.ekskul-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.ekskul-card.full {
    border-top-color: var(--danger);
    opacity: 0.85;
}

.ekskul-card-header {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 18px;
    text-align: center;
}

.ekskul-card.full .ekskul-card-header {
    background: linear-gradient(135deg, #721c24 0%, #dc3545 100%);
}

.ekskul-card-header h3 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.ekskul-card-header small {
    opacity: 0.85;
    font-size: 0.8rem;
}

.ekskul-card-body {
    padding: 18px;
}

.ekskul-info {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    font-size: 0.88rem;
    border-bottom: 1px dashed var(--gray-light);
}

.ekskul-info:last-of-type {
    border-bottom: none;
}

.ekskul-info-icon {
    width: 30px;
    height: 30px;
    background: var(--cream);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.quota-bar {
    margin-top: 15px;
}

.quota-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    margin-bottom: 6px;
    color: var(--gray);
}

.quota-bar-track {
    height: 8px;
    background: var(--gray-light);
    border-radius: 10px;
    overflow: hidden;
}

.quota-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--navy) 0%, var(--gold) 100%);
    transition: width 0.5s ease;
}

.quota-bar-fill.full {
    background: var(--danger);
}

/* ============ CAPTCHA ============ */
.captcha-box {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.captcha-box img {
    height: 45px;
    border-radius: 8px;
    border: 2px solid var(--gray-light);
}

.captcha-refresh {
    background: var(--navy);
    color: var(--white);
    border: none;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
}

/* ============ EMPTY STATE ============ */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: var(--gray);
}

.empty-state-icon {
    font-size: 4rem;
    color: var(--navy);
    opacity: 0.2;
    margin-bottom: 15px;
}

/* ============ ALERT BOX ============ */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    border-left: 4px solid;
    font-size: 0.9rem;
}

.alert-info {
    background: #d1ecf1;
    color: #0c5460;
    border-color: var(--info);
}

.alert-warning {
    background: #fff3cd;
    color: #856404;
    border-color: var(--warning);
}

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-block;
    }

    .nav-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        margin-top: 10px;
    }

    .nav-menu.active {
        display: flex;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
    }

    .main-nav a {
        display: block;
        padding: 10px 14px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }

    .logo-text p {
        font-size: 0.7rem;
    }

    .main-content {
        padding: 15px 12px;
    }

    .card {
        padding: 18px 15px;
    }

    .card-header h2 {
        font-size: 1rem;
        white-space: nowrap;
    }

    .dashboard-greeting h2 {
        font-size: 1rem;
    }

    .stat-value {
        font-size: 1.8rem;
    }

    table th, table td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }

    .login-card {
        padding: 30px 20px;
    }

    /* REVISI: Background login di HP */
    .login-card::before {
        height: 150px;
    }

    .login-header h2 {
        font-size: 1.3rem;
    }

    .ekskul-grid {
        grid-template-columns: 1fr;
    }

    .ekskul-detail-list {
        grid-template-columns: 1fr;
    }

    .wa-link {
        font-size: 0.82rem;
        padding: 3px 6px;
    }

    .group-header td .group-badge {
        display: block;
        margin-left: 0;
        margin-top: 6px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .logo-icon {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .logo-text h1 {
        font-size: 1rem;
    }

    .btn {
        padding: 11px 18px;
        font-size: 0.9rem;
    }

    .form-control {
        padding: 10px 12px;
        font-size: 0.9rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    /* REVISI: Background login di HP kecil */
    .login-card::before {
        height: 140px;
    }

    .login-header h2 {
        font-size: 1.15rem;
    }

    .card-header h2 {
        font-size: 0.92rem;
    }

    .dashboard-greeting h2 {
        font-size: 0.92rem;
    }

    .stat-card.clickable::after {
        font-size: 1.2rem;
        right: 10px;
    }

    .stat-card::after {
        font-size: 3.5rem;
        right: -5px;
        bottom: -15px;
    }
}

@media (min-width: 1200px) {
    .main-content {
        padding: 35px 20px;
    }
}

/* ============ PRINT STYLES ============ */
@media print {
    .main-header, .main-footer, .btn, .nav-toggle, .flash {
        display: none !important;
    }
    
    .main-content {
        padding: 0;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
    
    .stat-card, .ekskul-card {
        break-inside: avoid;
    }
}

/* =========================================
   LANDING PAGE STYLES
   ========================================= */

.landing-page {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf5 100%);
    min-height: 100vh;
}

.landing-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Landing Header */
.landing-header {
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.landing-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.landing-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.landing-logo .logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gold);
    color: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: bold;
}

.landing-logo .logo-text h1 {
    font-size: 1.2rem;
    color: var(--navy);
    font-weight: 700;
    margin: 0;
}

.landing-logo .logo-text p {
    font-size: 0.75rem;
    color: var(--gray);
    margin: 0;
}

.btn-login-admin {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--navy);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.btn-login-admin:hover {
    background: var(--navy-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Landing Main */
.landing-main {
    flex: 1;
    padding: 40px 20px;
}

.landing-content {
    max-width: 1200px;
    margin: 0 auto;
}

.landing-title {
    text-align: center;
    margin-bottom: 40px;
}

.landing-title h1 {
    font-size: 2.2rem;
    color: var(--navy);
    margin-bottom: 10px;
    font-weight: 700;
}

.landing-title p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Landing Cards */
.landing-cards {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.landing-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    padding: 40px 30px;
    max-width: 450px;
    width: 100%;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
    border: 3px solid transparent;
    cursor: pointer;
}

.landing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(10, 37, 82, 0.2);
    border-color: var(--gold);
}

.card-image {
    text-align: center;
    margin-bottom: 25px;
}

.card-image img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.card-image-fallback {
    width: 120px;
    height: 120px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
    background: var(--cream);
    border-radius: 50%;
    padding: 20px;
}

.card-content h2 {
    color: var(--navy);
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.card-content p {
    color: var(--gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.landing-card:hover .card-button {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
    color: var(--navy);
}

.card-button svg {
    transition: transform 0.3s ease;
}

.landing-card:hover .card-button svg {
    transform: translateX(5px);
}

/* Landing Info */
.landing-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.info-card {
    background: var(--white);
    border-radius: 15px;
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.info-card h3 {
    color: var(--navy);
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.info-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Landing Footer */
.landing-footer {
    background: var(--navy-dark);
    color: var(--white);
    text-align: center;
    padding: 30px 20px;
}

.footer-content .arabic {
    font-size: 1.4rem;
    color: var(--gold);
    margin-bottom: 10px;
    font-family: 'Amiri', serif;
}

.footer-content p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 5px 0;
}

.footer-quote {
    font-size: 1.1rem !important;
    color: var(--gold-light) !important;
    margin-top: 10px !important;
    font-family: 'Amiri', serif;
}

/* Responsive Landing Page */
@media (max-width: 768px) {
    .landing-title h1 {
        font-size: 1.6rem;
    }

    .landing-title p {
        font-size: 0.95rem;
    }

    .landing-card {
        padding: 30px 20px;
    }

    .card-image img {
        max-width: 140px;
    }

    .card-content h2 {
        font-size: 1.3rem;
    }

    .landing-info {
        grid-template-columns: 1fr;
    }

    .landing-header-inner {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .landing-logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .landing-title h1 {
        font-size: 1.4rem;
    }

    .landing-card {
        padding: 25px 15px;
    }

    .card-content h2 {
        font-size: 1.15rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    .card-button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .info-icon {
        font-size: 2rem;
    }

    .info-card h3 {
        font-size: 1rem;
    }
}