:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #7c3aed;
    --secondary-dark: #6d28d9;
    --tech-color: #3b82f6;
    --religion-color: #8b5cf6;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 3rem 0;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.site-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 300;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
    flex: 1;
}

.intro-section {
    text-align: center;
    margin-bottom: 3rem;
}

.intro-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.intro-section p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.sections-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.learning-section {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.learning-section:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--tech-color), var(--religion-color));
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.tech-section .section-icon {
    background: linear-gradient(135deg, var(--tech-color), #60a5fa);
}

.religion-section .section-icon {
    background: #800020;
}

.cross-icon {
    width: 100%;
    height: 100%;
    color: white;
    display: block;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 600;
}

.section-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.resource-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: var(--bg-light);
    border-radius: 12px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.resource-card:hover {
    background: white;
    border-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.resource-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    flex-shrink: 0;
}

.resource-info {
    flex: 1;
}

.resource-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.resource-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.resource-arrow {
    font-size: 1.5rem;
    color: var(--text-light);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
}

.resource-card:hover .resource-arrow {
    transform: translateX(4px);
    color: var(--primary-color);
}

.empty-state {
    padding: 2rem;
    text-align: center;
    color: var(--text-light);
    font-style: italic;
}

footer {
    background: var(--text-primary);
    color: white;
    text-align: center;
    padding: 2rem;
    margin-top: auto;
}

footer p {
    opacity: 0.8;
}

/* Responsive Design */
/* Tablet */
@media (max-width: 1024px) and (min-width: 769px) {
    .sections-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    .site-title {
        font-size: 2.5rem;
    }

    .site-subtitle {
        font-size: 1rem;
    }

    .sections-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .learning-section {
        padding: 1.5rem;
    }

    .section-header h2 {
        font-size: 1.75rem;
    }

    .container {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 2rem;
    }

    .intro-section h2 {
        font-size: 2rem;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .resource-card {
        padding: 1rem;
    }
}

