/* Forms Page Styles */
.forms-content {
    padding: 8rem 0 5rem;
    position: relative;
    min-height: 100vh;
    background: var(--bg-color);
}

/* Background styles */
.forms-content::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('../images/background.jpeg') center/cover;
    z-index: -1;
}

[data-theme="light"] .forms-content::before {
    background: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('../images/background.jpeg') center/cover;
}

/* Title Styles */
.forms-title {
    color: var(--text-color);
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 1.5rem;
}

.forms-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--accent-color);
    border-radius: 2px;
}

.forms-subtitle {
    color: var(--text-color);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Categories */
.forms-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-color);
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Forms Grid */
.forms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.form-card {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.form-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.form-icon i {
    font-size: 1.8rem;
    color: white;
}

.form-content {
    flex: 1;
}

.form-content h3 {
    font-size: 1.3rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.form-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.download-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

/* Forms Notice */
.forms-notice {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
    border: 1px solid var(--border-color);
}

.forms-notice i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.forms-notice p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

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

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

    .forms-categories {
        gap: 0.5rem;
    }

    .category-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .form-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }

    .form-icon {
        margin: 0 auto;
    }

    .form-meta {
        justify-content: center;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Animation */
.form-card {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.5s ease forwards;
}

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

/* Delay animation for each card */
.form-card:nth-child(1) { animation-delay: 0.1s; }
.form-card:nth-child(2) { animation-delay: 0.2s; }
.form-card:nth-child(3) { animation-delay: 0.3s; }
.form-card:nth-child(4) { animation-delay: 0.4s; }
.form-card:nth-child(5) { animation-delay: 0.5s; }
.form-card:nth-child(6) { animation-delay: 0.6s; } 