/* =========================================================
   BASE 
   ========================================================= */
.resources-page {
    font-family: 'Lora', serif;
    color: #111;
    line-height: 1.7;
    font-size: 18px;
}

/* =========================================================
   HERO 
   ========================================================= */
.resources-hero {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #0a1a3c, #0f2a5c);
    color: #fff;
}

.resources-hero-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.resources-hero h1 {
    font-size: 44px;
    font-weight: 700;
    margin-bottom: 12px;
}

.resources-hero p {
    font-size: 20px;
    max-width: 700px;
    opacity: 0.9;
}

/* =========================================================
   GENERIC SECTIONS 
   ========================================================= */
.section {
    padding: 80px 0;
}

.section-inner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.resources-page h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 50px;
    text-align: center;
    color: #1D2E5C;
}

.resources-page h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1D2E5C;
}

.resources-page p {
    font-size: 20px;
    margin-bottom: 16px;
}

/* =========================================================
   GRID SYSTEM 
   ========================================================= */
.resources-page .services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.resources-page .service-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    transition: 0.3s ease;
}

.resources-page .service-card:hover {
    transform: translateY(-10px);
    border-color: #1D2E5C;
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.white { background: #ffffff; }
.grey { background: #f5f5f5; }
.navy { background: #0a1a3c; color: #ffffff; }

/* =========================================================
   CHECKLIST GRID (Isolated from other grids)
   ========================================================= */
.checklist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.checklist-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 2px solid #e5e5e5;
    transition: 0.3s ease;
    cursor: pointer;
    position: relative;
}

/* Hover effect */
.checklist-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.15);
    border-color: #2e8b57;
}

/* ACTIVE STATE — GREEN + TICK */
.checklist-card.active {
    background: #e8f9e8;
    border-color: #2e8b57;
    box-shadow: 0 12px 28px rgba(46, 139, 87, 0.25);
}

/* Tickmark */
.checklist-card.active::after {
    content: "✔";
    font-size: 26px;
    font-weight: 700;
    color: #2e8b57;
    position: absolute;
    top: 16px;
    right: 20px;
}

/* =========================================================
   FOOTER
   ========================================================= */
.resources-page .footer {
    background: #1D2E5C;
    color: white;
    padding: 40px 60px;
}

.resources-page .disclaimer {
    font-size: 12px;
    line-height: 1.6;
}

/* =========================================================
   MOBILE RESPONSIVE FIX – RESOURCES PAGE
   ========================================================= */
@media (max-width: 900px) {

    /* Base font scale */
    .resources-page {
        font-size: 16px;
    }

    /* Hero */
    .resources-hero {
        padding: 100px 0 40px;
        text-align: center;
    }

    .resources-hero-inner {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .resources-hero h1 {
        font-size: 30px;
    }

    .resources-hero p {
        font-size: 16px;
        max-width: 100%;
    }

    /* Section spacing */
    .section {
        padding: 60px 0;
    }

    /* Headings */
    .resources-page h2 {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .resources-page h3 {
        font-size: 18px;
    }

    .resources-page p {
        font-size: 16px;
    }

    /* Force single-column layout for stability */
    .resources-page .services-grid,
    .checklist-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .resources-page .service-card,
    .checklist-card {
        padding: 20px;
    }

    /* Footer */
    .resources-page .footer {
        padding: 30px 24px;
    }

}