/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

/* Header */
header {
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    padding: 60px 40px;
    text-align: center;
}

header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Main Content */
main {
    padding: 40px;
}

.resource-section {
    margin-bottom: 50px;
}

.resource-section:last-child {
    margin-bottom: 0;
}

.resource-section h2 {
    font-size: 1.8rem;
    color: #0ea5e9;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 3px solid #0ea5e9;
}

/* Cards */
.card {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e9ecef;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
    border-color: #0ea5e9;
}

.card-icon {
    font-size: 3rem;
    flex-shrink: 0;
}

.card-content {
    flex: 1;
}

.card-content h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.card-content p {
    color: #666;
    margin-bottom: 15px;
}

/* PDF Grid */
.pdf-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.pdf-grid .card {
    flex-direction: column;
    text-align: center;
    padding: 25px;
}

.pdf-grid .card-content {
    width: 100%;
}

/* Buttons */
.button {
    display: inline-block;
    background: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.4);
}

.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.6);
}

.button-secondary {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    box-shadow: 0 4px 15px rgba(245, 87, 108, 0.4);
}

.button-secondary:hover {
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.6);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
    font-style: italic;
}

/* Footer */
footer {
    background: #f8f9fa;
    padding: 30px;
    text-align: center;
    color: #666;
    border-top: 1px solid #e9ecef;
}

/* Responsive Design */
@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    main {
        padding: 20px;
    }

    .card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }

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

    .resource-section h2 {
        font-size: 1.5rem;
    }
}
