/* =========================================================
   CHILDREN MINISTRIES PAGE
========================================================= */


/* =========================================================
   CHILDREN HERO
========================================================= */

.children-hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #fff;
    background: #062d56;
}

.children-hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(3, 30, 58, .92) 0%,
            rgba(3, 48, 91, .70) 48%,
            rgba(3, 48, 91, .28) 100%
        ),
        url("https://images.unsplash.com/photo-1504159506876-f8338247a14a?auto=format&fit=crop&w=1800&q=85")
        center / cover no-repeat;

    transform: scale(1.03);
}

.children-hero-content {
    position: relative;
    z-index: 2;

    padding-top: 80px;
    padding-bottom: 80px;
}

.children-hero-tag {
    display: inline-block;
    margin-bottom: 15px;
    backdrop-filter: blur(4px);
    background: rgba(255, 255, 255, .1);
    border-radius: 15px;
    color: #fff;
    padding: 6px 18px;
    border: 1px solid rgba(255, 255, 255, .2);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.children-hero h1 {
    max-width: 800px;
    margin-bottom: 22px;

    color: #fff;

    font-size: clamp(44px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.04;
}

.children-hero h1 span {
    display: block;
    color: #9ed2ff;
}

.children-hero p {
    max-width: 650px;
    margin-bottom: 32px;

    color: rgba(255, 255, 255, .88);

    font-size: 18px;
    line-height: 1.75;
}

.children-hero-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}


/* =========================================================
   INTRODUCTION
========================================================= */

.children-intro {
    padding: 105px 0;
    background: #fff;
}

.children-intro-grid {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
    gap: 75px;
}

.children-intro-image {
    position: relative;

    min-height: 560px;

    overflow: hidden;

    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.children-intro-image::before {
    content: "";

    position: absolute;
    z-index: 2;

    width: 90px;
    height: 90px;

    top: 25px;
    left: 25px;

    border-top: 5px solid #9ed2ff;
    border-left: 5px solid #9ed2ff;

    border-radius: 8px 0 0 0;

    pointer-events: none;
}

.children-intro-image::after {
    content: "";

    position: absolute;
    z-index: 2;

    inset: 0;

    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: inherit;

    pointer-events: none;
}

.children-intro-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;

    object-fit: cover;

    transition: transform .8s ease;
}

.children-intro-image:hover img {
    transform: scale(1.05);
}


/* =========================================================
   INTRO CONTENT
========================================================= */

.children-intro-content {
    max-width: 620px;
}

.children-intro-content .section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.children-intro-content h2 {
    margin-bottom: 23px;

    color: var(--dark);

    font-size: clamp(36px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
}

.children-intro-content h2 span {
    display: block;
    color: var(--primary);
}

.children-intro-content > p {
    margin-bottom: 18px;

    color: var(--muted);

    font-size: 16px;
    line-height: 1.85;
}


/* =========================================================
   CHILDREN VALUES
========================================================= */

.children-values {
    display: grid;
    gap: 20px;

    margin-top: 32px;
}

.children-value {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    padding: 20px;

    background: var(--light);

    border: 1px solid var(--border);
    border-radius: var(--radius);

    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

.children-value:hover {
    transform: translateY(-3px);
    border-color: rgba(7, 86, 163, .2);
    box-shadow: var(--shadow-sm);
}

.children-value-icon {
    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--primary);
    background: var(--primary-light);

    border-radius: 12px;

    font-size: 19px;
}

.children-value h3 {
    margin-bottom: 3px;

    color: var(--dark);

    font-size: 16px;
    font-weight: 800;
}

.children-value p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   PROGRAMMES / ACTIVITIES
========================================================= */

.children-programmes {
    padding: 105px 0;

    background: var(--light);
}

.children-heading {
    max-width: 720px;

    margin: 0 auto 65px;

    text-align: center;
}

.children-heading .section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: var(--primary);

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.children-heading h2 {
    margin-bottom: 18px;

    color: var(--dark);

    font-size: clamp(36px, 4vw, 50px);
    font-weight: 800;
    line-height: 1.12;
}

.children-heading h2 span {
    color: var(--primary);
}

.children-heading p {
    color: var(--muted);

    font-size: 16px;
    line-height: 1.75;
}


/* =========================================================
   ACTIVITIES GRID
========================================================= */

.children-activities {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

.children-activity {
    position: relative;

    padding: 38px 28px 35px;

    background: #fff;

    border: 1px solid var(--border);
    border-radius: var(--radius-lg);

    box-shadow: var(--shadow-sm);

    transition:
        transform .35s ease,
        box-shadow .35s ease,
        border-color .35s ease;
}

.children-activity::before {
    content: "";

    position: absolute;

    top: 0;
    left: 28px;

    width: 42px;
    height: 3px;

    background: var(--primary);

    border-radius: 0 0 5px 5px;
}

.children-activity:hover {
    transform: translateY(-7px);

    border-color: rgba(7, 86, 163, .18);

    box-shadow: var(--shadow);
}

.children-activity-icon {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    color: var(--primary);

    background: var(--primary-light);

    border-radius: 15px;

    font-size: 22px;
}

.children-activity h3 {
    margin-bottom: 12px;

    color: var(--dark);

    font-size: 20px;
    font-weight: 800;
}

.children-activity p {
    color: var(--muted);

    font-size: 14px;
    line-height: 1.75;
}


/* =========================================================
   SCRIPTURE SECTION
========================================================= */

.children-scripture {
    position: relative;

    padding: 100px 0;

    overflow: hidden;

    color: #fff;

    background:
        linear-gradient(
            110deg,
            #062d56,
            #0756a3
        );
}

.children-scripture::before {
    content: "“";

    position: absolute;

    top: -80px;
    left: 5%;

    color: rgba(255, 255, 255, .06);

    font-family: Georgia, serif;

    font-size: 320px;
    line-height: 1;
}

.children-scripture-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;
}

.children-scripture-content > i {
    margin-bottom: 22px;

    color: #9ed2ff;

    font-size: 32px;
}

.children-scripture blockquote {
    margin-bottom: 20px;

    color: #fff;

    font-family: Georgia, serif;

    font-size: clamp(24px, 3vw, 36px);
    font-style: italic;
    line-height: 1.5;
}

.children-scripture-content span {
    color: #9ed2ff;

    font-size: 15px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* =========================================================
   CALL TO ACTION
========================================================= */

.children-cta {
    position: relative;

    padding: 105px 0;

    overflow: hidden;

    color: #fff;

    background: #fff;
}

.children-cta::before {
    content: "";

    position: absolute;

    width: 450px;
    height: 450px;

    top: -250px;
    right: -150px;

    border: 75px solid rgba(7, 86, 163, .05);

    border-radius: 50%;
}

.children-cta::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    bottom: -190px;
    left: -120px;

    border: 55px solid rgba(7, 86, 163, .04);

    border-radius: 50%;
}

.children-cta .container {
    position: relative;
    z-index: 2;
}

.children-cta-content {
    max-width: 850px;

    padding: 65px 70px;

    border-radius: var(--radius-lg);

    background:
        linear-gradient(
            110deg,
            #062d56,
            #0756a3
        );

    box-shadow: var(--shadow-lg);
}

.children-cta .section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: #9ed2ff;

    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.children-cta h2 {
    margin-bottom: 20px;

    color: #fff;

    font-size: clamp(34px, 4vw, 52px);
    font-weight: 800;
    line-height: 1.1;
}

.children-cta h2 span {
    display: block;
    color: #9ed2ff;
}

.children-cta p {
    max-width: 680px;

    margin-bottom: 30px;

    color: rgba(255, 255, 255, .86);

    font-size: 16px;
    line-height: 1.8;
}

.children-cta-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.children-cta-buttons .btn-outline-light {
    color: #fff;

    background: transparent;

    border: 2px solid rgba(255, 255, 255, .65);
}

.children-cta-buttons .btn-outline-light:hover {
    color: var(--primary);

    background: #fff;

    border-color: #fff;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1000px) {

    .children-intro-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }

    .children-intro-image,
    .children-intro-image img {
        min-height: 480px;
    }

    .children-activities {
        grid-template-columns: repeat(2, 1fr);
    }

    .children-cta-content {
        padding: 55px 50px;
    }

}


/* =========================================================
   TABLET / SMALL LAPTOP
========================================================= */

@media (max-width: 800px) {

    .children-hero {
        min-height: 500px;
    }

    .children-intro-grid {
        grid-template-columns: 1fr;
    }

    .children-intro-content {
        max-width: 750px;
    }

    .children-intro-image,
    .children-intro-image img {
        min-height: 450px;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    /* ---------- HERO ---------- */

    .children-hero {
        min-height: 500px;
    }

    .children-hero-content {
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .children-hero h1 {
        font-size: 42px;
    }

    .children-hero p {
        font-size: 15px;
    }

    .children-hero-buttons {
        width: 100%;
    }

    .children-hero-buttons .btn {
        width: 100%;
    }


    /* ---------- INTRO ---------- */

    .children-intro {
        padding: 75px 0;
    }

    .children-intro-image,
    .children-intro-image img {
        min-height: 340px;
    }

    .children-intro-image {
        border-radius: var(--radius);
    }

    .children-intro-content h2 {
        font-size: 34px;
    }

    .children-intro-content > p {
        font-size: 15px;
    }


    /* ---------- VALUES ---------- */

    .children-value {
        padding: 17px;
    }

    .children-value-icon {
        flex-basis: 44px;

        width: 44px;
        height: 44px;

        font-size: 17px;
    }


    /* ---------- ACTIVITIES ---------- */

    .children-programmes {
        padding: 75px 0;
    }

    .children-heading {
        margin-bottom: 45px;
    }

    .children-heading h2 {
        font-size: 34px;
    }

    .children-heading p {
        font-size: 15px;
    }

    .children-activities {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .children-activity {
        padding: 32px 25px;
    }


    /* ---------- SCRIPTURE ---------- */

    .children-scripture {
        padding: 75px 0;
    }

    .children-scripture blockquote {
        font-size: 24px;
    }


    /* ---------- CTA ---------- */

    .children-cta {
        padding: 70px 0;
    }

    .children-cta-content {
        padding: 42px 28px;

        border-radius: var(--radius);
    }

    .children-cta h2 {
        font-size: 34px;
    }

    .children-cta p {
        font-size: 15px;
    }

    .children-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .children-cta-buttons .btn {
        width: 100%;
    }

}


/* =========================================================
   VERY SMALL SCREENS
========================================================= */

@media (max-width: 400px) {

    .children-hero h1 {
        font-size: 36px;
    }

    .children-hero p {
        font-size: 14px;
    }

    .children-intro-content h2 {
        font-size: 30px;
    }

    .children-activity {
        padding: 28px 21px;
    }

    .children-scripture blockquote {
        font-size: 21px;
    }

    .children-cta-content {
        padding: 35px 22px;
    }

    .children-cta h2 {
        font-size: 30px;
    }

}