/* Clean Forms and Formats Page Styles */
.forms-formats-area-clean {
    padding: 80px 0;
    background: #f0f4f8; /* A very light, clean blue-gray background */
    position: relative;
}

.forms-formats-area-clean::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23000" opacity="0.02"/><circle cx="75" cy="75" r="1" fill="%23000" opacity="0.02"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Section Title (retained from previous versions for consistency) */
.section-title {
    margin-bottom: 60px;
}

.section-main-title h2 {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.section-main-title p {
    font-size: 1.25rem;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 400;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    margin: 0 auto;
    border-radius: 2px;
}

/* Forms and Formats Grid */
.forms-formats-grid-clean {
    display: flex;
    flex-wrap: wrap;
    gap: 30px; /* Spacing between cards */
    justify-content: center; /* Center cards in the grid */
}

.forms-formats-item-clean {
    flex: 0 0 calc(33.333% - 20px); /* 3 items per row */
    max-width: 400px; /* Max width for individual card */
    animation: fadeInUp 0.6s ease forwards; /* Staggered animation */
}

@media (max-width: 992px) {
    .forms-formats-item-clean {
        flex: 0 0 calc(50% - 15px); /* 2 items per row on medium screens */
    }
}

@media (max-width: 768px) {
    .forms-formats-item-clean {
        flex: 0 0 100%; /* 1 item per row on small screens */
    }
}

/* Forms and Formats Card */
.forms-formats-card-clean {
    background: #ffffff; /* White card background */
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* Softer, more professional shadow */
    transition: all 0.3s ease;
    height: 100%; /* Ensure cards in a row have same height */
    display: flex;
    flex-direction: column;
    overflow: hidden; /* Ensures rounded corners apply to children */
}

.forms-formats-card-clean:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12); /* Enhanced shadow on hover */
}

.forms-formats-link-clean {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.forms-formats-icon-wrapper-clean {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background-color: #f8f8f8; /* Light gray background for icon section */
    border-bottom: 1px solid #eeeeee; /* Subtle separator */
    flex-shrink: 0;
}

.pdf-badge-clean {
    background-color: #ef4444; /* Red color */
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.forms-formats-download-icon-clean {
    color: #94a3b8; /* Light gray icon color */
    font-size: 1.8rem;
    transition: color 0.2s ease;
}

.forms-formats-card-clean:hover .forms-formats-download-icon-clean {
    color: #3b82f6; /* Blue on hover */
}

.forms-formats-content-clean {
    padding: 25px;
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
}

.forms-formats-title-clean {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1a202c; /* Darker text for title */
    margin-bottom: 10px;
    line-height: 1.4;
}

.forms-formats-description-clean {
    color: #64748b; /* Slightly lighter text for description */
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0; /* No bottom margin if it's the last element */
    flex-grow: 1; /* Allow description to take available space */
}

/* Empty State */
.empty-state-clean {
    text-align: center;
    padding: 80px 20px;
    color: #64748b;
}

.empty-state-clean i {
    font-size: 4rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state-clean h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #1a202c;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
