:root {
    --primary-color: #085709;
    --primary-light: #16a34a;
    --primary-dark: #064006;
    --accent-color: #D4AF37;
    --text-main: #2d3436;
    --text-muted: #636e72;
    --bg-gradient: linear-gradient(135deg, #f0f7f0 0%, #e8f0e8 100%);
    --card-bg: rgba(255, 255, 255, 0.95);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 15px 45px rgba(8, 87, 9, 0.1);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Tajawal', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-main);
    line-height: 1.8;
    overflow-x: hidden;
    min-height: 100vh;
}

.glass-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgba(8, 87, 9, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.05) 0%, transparent 40%);
    z-index: -1;
}

.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

/* Header Styling */
header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    color: white;
    box-shadow: var(--shadow-medium);
    margin-bottom: -40px;
    position: relative;
    z-index: 10;
    border-bottom: 4px solid var(--accent-color);
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
    z-index: 0;
}

.header-content {
    position: relative;
    z-index: 1;
}

.app-logo {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    border: 3px solid var(--accent-color);
}

.app-logo img {
    width: 60px;
    height: 60px;
}

header h1 {
    font-family: 'Amiri', serif;
    font-size: 3rem;
    margin-bottom: 5px;
    letter-spacing: -1px;
}

.app-name {
    font-size: 1.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.last-updated {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(0, 0, 0, 0.2);
    display: inline-block;
    padding: 4px 16px;
    border-radius: 20px;
}

/* Main Content */
main {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-lg);
    padding: 80px 50px 50px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 5;
}

.intro-card {
    background: rgba(8, 87, 9, 0.04);
    border-right: 4px solid var(--primary-color);
    padding: 25px;
    border-radius: var(--radius-sm);
    margin-bottom: 40px;
    font-size: 1.1rem;
    font-weight: 500;
}

section {
    margin-bottom: 50px;
}

h2 {
    font-family: 'Amiri', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to left, rgba(8, 87, 9, 0.1), transparent);
}

p {
    margin-bottom: 15px;
    color: var(--text-main);
}

main a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed var(--primary-color);
    transition: all 0.3s ease;
}

main a:hover {
    color: var(--primary-light);
    border-bottom-style: solid;
}

ul {
    list-style: none;
    margin-right: 15px;
}

li {
    position: relative;
    padding-right: 25px;
    margin-bottom: 12px;
}

li::before {
    content: '•';
    position: absolute;
    right: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
    line-height: 1;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 25px;
}

.info-item {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(8, 87, 9, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(8, 87, 9, 0.08);
}

.info-item .icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.info-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-item p {
    font-size: 0.95rem;
    margin-bottom: 0;
    color: var(--text-muted);
}

/* Action Card */
.action-card {
    background: #fff9f0;
    padding: 30px;
    border-radius: var(--radius-md);
    border: 1px solid #ffeaa7;
}

.action-card h3 {
    color: #d35400;
    margin-bottom: 15px;
}

.notice {
    background: white;
    padding: 15px;
    border-radius: var(--radius-sm);
    margin-top: 20px;
    font-size: 0.95rem;
    border: 1px dashed #d35400;
}

/* Contact Card */
.contact-card {
    margin-top: 20px;
}

.email-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 15px 30px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(8, 87, 9, 0.2);
}

.email-link:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
    box-shadow: 0 8px 20px rgba(8, 87, 9, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeIn 0.8s ease-out forwards;
}

/* Footer */
footer {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header {
        padding: 40px 20px;
    }

    header h1 {
        font-size: 2.2rem;
    }

    main {
        padding: 60px 25px 30px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Custom Selection */
::selection {
    background: var(--primary-color);
    color: white;
}