/* --- Extracted & Consolidated Variables --- */
:root {
    --primary: #7B2F18;    /* brand brown */
    --accent: #FCE6C8;     /* pale peach */
    --bg: #ffffff;
    --ink: #1a1a1a;
    --radius: 14px;
    --shadow: 0 10px 30px rgba(0,0,0,.08);
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;
}

/* --- Base Styles --- */
body {
    margin: 0;
    background: var(--accent);
    color: var(--ink);
    font-family: var(--font-body);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    /* Full-width settings for desktop */
    width: 90%; 
    margin: 0 auto;
    padding: 60px; /* Increased padding for better full-width appearance */
    background: var(--bg);
    border-radius: var(--radius);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

/* --- Typography --- */
.forms-page{
    margin: 50px 0px;
}
.forms-header {
    text-align: center;
    margin-bottom: 50px;
}
.forms-header h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}
.forms-header p {
    font-size: 1.1rem;
    color: #555;
    max-width: 600px; /* Keeps the introductory text readable */
    margin: 0 auto;
}

/* --- Forms Grid (New Layout) --- */
.forms-grid {
    display: grid;
    /* Allow three columns if there is room */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.form-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    background: #fff;
    border: 2px solid var(--accent);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-height: 250px; /* Ensure equal height */
}

.form-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--primary);
}

.icon-wrap {
    background-color: var(--primary);
    color: #fff;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 2rem;
    margin-bottom: 15px;
    transition: transform 0.3s ease;
}
.form-card:hover .icon-wrap {
    transform: rotate(5deg) scale(1.05);
}

.form-content h3 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-size: 1.5rem;
    margin: 0 0 8px 0;
}

.form-content p {
    font-size: 0.95rem;
    color: #777;
    margin: 0;
    margin-bottom: 15px;
}

.download-link {
    display: inline-flex;
    align-items: center;
    font-weight: 700;
    color: var(--primary);
    padding: 8px 15px;
    border: 2px solid var(--primary);
    border-radius: 999px;
    gap: 8px;
    transition: all 0.3s;
}

.form-card:hover .download-link {
    background: var(--primary);
    color: var(--bg);
    box-shadow: 0 4px 10px rgba(123, 47, 24, 0.3);
}

/* --- Footer CTA --- */
.forms-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px dashed var(--accent);
}

.cta-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary);
    color: var(--bg);
    border-radius: 999px;
    font-family: var(--font-heading);
    font-weight: 700;
    transition: background 0.3s;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-top: 15px;
}
.cta-btn:hover {
    background: #5c220f; 
    text-decoration: none;
}


/* --- Responsive Adjustments --- */
@media (max-width: 1024px) {
    .container {
        width: 95%;
        padding: 40px;
    }
}
@media (max-width: 600px) {
    body { padding: 0; }
    .container {
        width: 100%;
        padding: 30px 15px;
        border-radius: 0;
    }
    .forms-header h1 {
        font-size: 2rem;
    }
}

/* --- Simple Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.in {
    opacity: 1;
    transform: translateY(0);
}