/* =========================================================
   RESOURCES PAGE
========================================================= */


/* =========================================================
   HERO
========================================================= */

.resources-hero {

    position: relative;

    min-height: 500px;

    display: flex;

    align-items: center;

    background:
        linear-gradient(
            90deg,
            rgba(18, 39, 71, .96),
            rgba(18, 39, 71, .82),
            rgba(18, 39, 71, .55)
        ),
        url("../images/resources-hero.jpg")
        center center / cover no-repeat;

    overflow: hidden;

}


.resources-hero-overlay {

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            135deg,
            rgba(24, 50, 91, .25),
            rgba(0, 166, 81, .08)
        );

}


.resources-hero .container {

    position: relative;

    z-index: 2;

}


.resources-hero-content {

    max-width: 850px;

    padding: 80px 0;

}


.resources-breadcrumb {

    display: flex;

    align-items: center;

    gap: 12px;

    margin-bottom: 32px;

    font-size: 14px;

}


.resources-breadcrumb a {

    color: rgba(255,255,255,.72);

    text-decoration: none;

    transition: .3s ease;

}


.resources-breadcrumb a:hover {

    color: #ffffff;

}


.resources-breadcrumb i {

    font-size: 10px;

    color: #00A651;

}


.resources-breadcrumb span {

    color: #ffffff;

    font-weight: 600;

}


.resources-hero-label {

    display: inline-block;

    margin-bottom: 18px;

    color: #00A651;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;

}


.resources-hero h1 {

    margin: 0 0 24px;

    max-width: 820px;

    color: #ffffff;

    font-size: clamp(40px, 5vw, 68px);

    line-height: 1.08;

    font-weight: 700;

    letter-spacing: -1.5px;

}


.resources-hero h1 strong {

    display: block;

    color: #ffffff;

    font-weight: 700;

}


.resources-hero p {

    max-width: 720px;

    margin: 0;

    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

}



/* =========================================================
   INTRO
========================================================= */

.resources-intro {

    background: #ffffff;

}


.resources-intro .section-heading {

    max-width: 780px;

    margin-left: auto;

    margin-right: auto;

}


.resources-intro .section-heading p {

    color: #687385;

    line-height: 1.8;

}



/* =========================================================
   RESOURCE CATEGORIES
========================================================= */

.resources-category-grid {

    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 24px;

    margin-top: 55px;

}


.resource-category-card {

    position: relative;

    display: grid;

    grid-template-columns: 70px 1fr 30px;

    align-items: start;

    gap: 22px;

    padding: 34px;

    background: #ffffff;

    border: 1px solid #e7ebf0;

    text-decoration: none;

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;

}


.resource-category-card:hover {

    transform: translateY(-6px);

    border-color: rgba(0,166,81,.35);

    box-shadow:
        0 18px 45px rgba(18,39,71,.10);

}


.resource-category-icon {

    width: 68px;

    height: 68px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 14px;

    background: rgba(0,166,81,.10);

    color: #00A651;

    font-size: 25px;

}


.resource-category-card span {

    display: block;

    margin-bottom: 7px;

    color: #00A651;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 1px;

}


.resource-category-card h3 {

    margin: 0 0 10px;

    color: #18325B;

    font-size: 22px;

}


.resource-category-card p {

    margin: 0;

    color: #687385;

    line-height: 1.7;

    font-size: 15px;

}


.resource-arrow {

    color: #18325B;

    margin-top: 8px;

    transition: .3s ease;

}


.resource-category-card:hover .resource-arrow {

    color: #00A651;

    transform: translateX(5px);

}



/* =========================================================
   FINANCIAL GUIDES
========================================================= */

.financial-guides {

    background: #f5f7fa;

}


.resources-section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 40px;

    margin-bottom: 50px;

}


.resources-section-heading > p {

    max-width: 480px;

    margin: 0;

    color: #687385;

    line-height: 1.8;

}


.resources-section-heading h2 {

    margin: 10px 0 0;

    color: #18325B;

    font-size: clamp(30px,4vw,44px);

}


.guide-grid {

    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 24px;

}


.guide-card {

    padding: 32px;

    background: #ffffff;

    border: 1px solid #e7ebf0;

    transition: .3s ease;

}


.guide-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(18,39,71,.09);

}


.guide-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    background: #18325B;

    color: #ffffff;

    border-radius: 12px;

    font-size: 22px;

}


.guide-content span {

    color: #00A651;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.guide-content h3 {

    margin: 10px 0 14px;

    color: #18325B;

    font-size: 22px;

}


.guide-content p {

    margin: 0 0 22px;

    color: #687385;

    line-height: 1.7;

}


.guide-content a {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color: #18325B;

    text-decoration: none;

    font-size: 14px;

    font-weight: 700;

}


.guide-content a i {

    transition: .3s ease;

}


.guide-content a:hover {

    color: #00A651;

}


.guide-content a:hover i {

    transform: translateX(5px);

}



/* =========================================================
   DOWNLOADS
========================================================= */

.downloads-section {

    background: #ffffff;

}


.download-list {

    max-width: 1000px;

    margin: 50px auto 0;

    display: flex;

    flex-direction: column;

    gap: 16px;

}


.download-item {

    display: grid;

    grid-template-columns: 65px 1fr auto;

    align-items: center;

    gap: 24px;

    padding: 25px 28px;

    border: 1px solid #e5e9ef;

    background: #ffffff;

    transition: .3s ease;

}


.download-item:hover {

    border-color: rgba(0,166,81,.35);

    box-shadow:
        0 12px 30px rgba(18,39,71,.07);

}


.download-file-icon {

    width: 58px;

    height: 58px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 10px;

    background: rgba(24,50,91,.08);

    color: #18325B;

    font-size: 23px;

}


.download-info span {

    color: #00A651;

    font-size: 10px;

    font-weight: 800;

    letter-spacing: 1.4px;

}


.download-info h3 {

    margin: 7px 0 6px;

    color: #18325B;

    font-size: 19px;

}


.download-info p {

    margin: 0;

    color: #718096;

    font-size: 14px;

    line-height: 1.6;

}


.download-button {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    padding: 12px 18px;

    background: #18325B;

    color: #ffffff;

    text-decoration: none;

    font-size: 13px;

    font-weight: 700;

    transition: .3s ease;

}


.download-button:hover {

    background: #00A651;

}



/* =========================================================
   FAQ
========================================================= */

.resources-faq {

    background: #f5f7fa;

}


.resources-faq-grid {

    display: grid;

    grid-template-columns:
        minmax(280px,.8fr)
        minmax(0,1.2fr);

    gap: 80px;

    align-items: start;

}


.faq-intro {

    position: sticky;

    top: 120px;

}


.faq-intro h2 {

    margin: 12px 0 18px;

    color: #18325B;

    font-size: clamp(32px,4vw,46px);

    line-height: 1.15;

}


.faq-intro p {

    margin: 0 0 28px;

    color: #687385;

    line-height: 1.8;

}


.faq-list {

    display: flex;

    flex-direction: column;

    gap: 12px;

}


.faq-list details {

    background: #ffffff;

    border: 1px solid #e4e8ee;

}


.faq-list summary {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding: 22px 24px;

    cursor: pointer;

    list-style: none;

    color: #18325B;

    font-size: 16px;

    font-weight: 700;

}


.faq-list summary::-webkit-details-marker {

    display: none;

}


.faq-list summary i {

    color: #00A651;

    transition: transform .3s ease;

}


.faq-list details[open] summary i {

    transform: rotate(45deg);

}


.faq-list details p {

    margin: 0;

    padding: 0 24px 24px;

    color: #687385;

    font-size: 14px;

    line-height: 1.8;

}



/* =========================================================
   IMPORTANT INFORMATION
========================================================= */

.resource-information {

    background: #ffffff;

}


.information-box {

    display: grid;

    grid-template-columns: 70px 1fr;

    gap: 25px;

    padding: 40px;

    background: #f5f7fa;

    border-left: 4px solid #00A651;

}


.information-icon {

    width: 60px;

    height: 60px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: rgba(0,166,81,.12);

    color: #00A651;

    font-size: 23px;

}


.information-box span {

    color: #00A651;

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.5px;

}


.information-box h2 {

    max-width: 750px;

    margin: 10px 0 14px;

    color: #18325B;

    font-size: 28px;

    line-height: 1.3;

}


.information-box p {

    max-width: 900px;

    margin: 0;

    color: #687385;

    line-height: 1.8;

}



/* =========================================================
   CTA
========================================================= */

.resources-cta {

    padding: 90px 0;

    background:
        linear-gradient(
            110deg,
            #18325B,
            #122747
        );

}


.resources-cta-inner {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 50px;

}


.resources-cta-inner > div:first-child {

    max-width: 750px;

}


.resources-cta-inner span {

    color: #00A651;

    font-size: 12px;

    font-weight: 800;

    letter-spacing: 2px;

}


.resources-cta-inner h2 {

    margin: 12px 0 15px;

    color: #ffffff;

    font-size: clamp(32px,4vw,48px);

    line-height: 1.15;

}


.resources-cta-inner p {

    max-width: 650px;

    margin: 0;

    color: rgba(255,255,255,.75);

    line-height: 1.8;

}


.resources-cta-buttons {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    flex-shrink: 0;

}


.resources-phone {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color: #ffffff;

    text-decoration: none;

    font-size: 15px;

    font-weight: 700;

}


.resources-phone i {

    color: #00A651;

}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {


    .resources-category-grid {

        grid-template-columns: 1fr;

    }


    .guide-grid {

        grid-template-columns:
            repeat(2, minmax(0,1fr));

    }


    .resources-faq-grid {

        grid-template-columns: 1fr;

        gap: 45px;

    }


    .faq-intro {

        position: static;

    }


    .resources-cta-inner {

        flex-direction: column;

        align-items: flex-start;

    }

}


@media (max-width: 768px) {


    .resources-hero {

        min-height: 440px;

    }


    .resources-hero-content {

        padding: 60px 0;

    }


    .resources-hero h1 {

        font-size: 40px;

    }


    .resources-hero p {

        font-size: 16px;

    }


    .resources-section-heading {

        display: block;

    }


    .resources-section-heading > p {

        margin-top: 20px;

    }


    .guide-grid {

        grid-template-columns: 1fr;

    }


    .download-item {

        grid-template-columns: 55px 1fr;

    }


    .download-button {

        grid-column: 2;

        justify-self: start;

    }


    .information-box {

        grid-template-columns: 1fr;

        padding: 30px;

    }


    .resources-cta {

        padding: 70px 0;

    }

}


@media (max-width: 576px) {


    .resources-category-card {

        grid-template-columns: 55px 1fr;

        padding: 25px;

    }


    .resource-category-icon {

        width: 52px;

        height: 52px;

        font-size: 20px;

    }


    .resource-arrow {

        display: none;

    }


    .resources-hero h1 {

        font-size: 34px;

    }


    .download-item {

        padding: 20px;

    }


    .download-file-icon {

        width: 48px;

        height: 48px;

        font-size: 19px;

    }


    .faq-list summary {

        padding: 18px;

        font-size: 15px;

    }


    .faq-list details p {

        padding: 0 18px 20px;

    }

}