/*==================================  2. Global  ========================================*/

body {
    background-color: white;
    font-family: 'Open Sans', sans-serif;;
    font-weight: 400;
    line-height: 1.45;
    color: #333;
    margin: 0;
    --maroon: 164, 52, 58;
    --red: 218, 41, 28;
    --brand-maroon: #a4343a;
    --brand-maroon-dark: #76262a;
    --brand-maroon-darker: #311011;
    --brand-red: #da291c;
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary {
    display: block
}

* {
    box-sizing: border-box;
}


/* =-=--=-=-=-=-=-==-=-=-=-  2.1 Button   =-=-=-=-==-=-==-====-==-=- */

.btn {
    border: 1px solid #000;
    border-radius: 0;
    padding: 10px 25px;
    text-transform: uppercase;
}


/* =-=--=-=-=-=-=-==-=-=-=-  2.2 Navbar   =-=-=-=-==-=-==-====-==-=- */

header h1 {
    margin: 0;
    height: 36px;
    line-height: 1;
}

/* =-=--=-=-=-=-=-==-=-=-=-  2.3 Header   =-=-=-=-==-=-==-====-==-=- */

.hero {
    align-items: center;
    background-image: url('../img/people-standing-in-line.jpg');
    color: #fff;
    display: flex;
    flex-flow: column;
    justify-content: center;
    min-height: 500px;
    text-align: center;
}

.shaded-hero-img {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    box-shadow: inset 0 0 0 1000px rgba(0, 0, 0, .4);
    width: 100vw; 
    max-width: 100%;
}

.hero-title {
    font-size: 64px;
    font-weight: 600;
    margin: 0;
    padding: 0;
}

.hero-text {
    font-size: 32px;
    color: #fff;
}

#home-page .hero {
    background-image: url(../img/people-standing-in-line.jpg);
}

.avif #home-page .hero {
    background-image: url(../img/people-standing-in-line.avif);
}

#home-page .focus-img {
    background-image: url(../img/children-looking-over-wall.jpg);
}

.avif #home-page .focus-img {
    background-image: url(../img/children-looking-over-wall.avif);
}

#about-page .hero {
    background-image: url(../img/woman-walking-on-bridge.jpg);
    background-position: center center;
}

.avif #about-page .hero {
    background-image: url(../img/woman-walking-on-bridge.avif);
    background-position: center center;
}

#about-page .focus-img {
    background: url(../img/people-talking-outside.jpg) no-repeat top center;
    background-size: cover;
}

.avif #about-page .focus-img {
    background: url(../img/people-talking-outside.avif) no-repeat top center;
    background-size: cover;
}

#about-south-asia-page .hero {
    background-image: url(../img/map-of-siliguri.jpg);
    background-position: center center;
}

.avif #about-south-asia-page .hero {
    background-image: url(../img/map-of-siliguri.avif);
    background-position: center center;
}

#about-south-asia-page .focus-img {
    background-image: url(../img/siliguri-crossroads.jpg);
    background-position: top center;
}

.avif #about-south-asia-page .focus-img {
    background-image: url(../img/siliguri-crossroads.avif);
}

#leadership-page .hero {
    background-image: url(../img/woman-at-entrance.jpg);
    background-position: center center;
}

.avif #leadership-page .hero {
    background-image: url(../img/woman-at-entrance.avif);
    background-position: center center;
}

#contact-page .hero {
    background-image: url(../img/woman-carrying-baby.jpg);
    background-position: center center;
}

.avif #contact-page .hero {
    background-image: url(../img/woman-carrying-baby.avif);
    background-position: center center;
}

#church-planting-page .hero {
    background-image: url(../img/man-in-vehicle.jpg);
    background-position: center center;
}

.avif #church-planting-page .hero {
    background-image: url(../img/man-in-vehicle.avif);
    background-position: center center;
}

#institute-page .hero {
    background-image: url(../img/marketplace-boats.jpg);
}

.avif #institute-page .hero {
    background-image: url(../img/marketplace-boats.avif);
}

#orphanage-page .hero {
    background-image: url(../img/girls-gathering.jpg);
    background-position: center center;
}

.avif #orphanage-page .hero {
    background-image: url(../img/girls-gathering.avif);
    background-position: center center;
}

#orphanage-page .focus-img {
    background-image: url(../img/widow-and-orphan.jpg);
    background-position: center center;
}

.avif #orphanage-page .focus-img {
    background-image: url(../img/widow-and-orphan.avif);
    background-position: center center;
}

#thank-you-page .hero {
    background-image: url(../img/stmt-with-children.jpg);
}

.avif #thank-you-page .hero {
    background-image: url(../img/stmt-with-children.avif);
}

/* =-=--=-=-=-=-=-==-=-=-=-  2.4 Form   =-=-=-=-==-=-==-====-==-=- */

::-webkit-input-placeholder {
    color: #969595;
}

::-moz-placeholder { /* Firefox 19+ */
    color: #969595;
}

:-ms-input-placeholder {
    color: #969595;
}

/*====================================== 2.5 pagination  ====================================*/

/* =-=--=-=-=-=-=-==-=-=-=-  2.6 Typography   =-=-=-=-==-=-==-====-==-=- */

h1, h2, h3, h4 {
    font-weight: inherit;
    line-height: 1.2;
    margin: 20px 0 10px;
}

h2 {
    font-size: 2.369em;
    font-weight: 300;
}

h3 {
    font-size: 1.777em;
}

h4 {
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 0 0 #fff;
    line-height: 35px;
}

p {
    color: #000;
    line-height: 1.62em;
    margin-bottom: 1.3em;
}

/* =-=-=-=--=-=-==-=-=-=-=-  2.7 Other common properties    =-=-=-=-=-=-=-=-==-=-=-=-=-=-=*/

a {
    color: #000;
}

a:hover {
    text-decoration: none;
    color: #333;
}

.bg-light-gray {
    background-color: #f9f9f9;
}

/* =-=--=-=-=-=-=-==-=-=-=- 2.8  Footer   =-=-=-=-==-=-==-====-==-=- */

footer {
    background-color: #313131;
    color: #fff;
    display: flex;
    flex-direction: column;
    padding: 1em;
}

footer h4 {
    font-weight: lighter;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.footer-links a:hover {
    color: #ccc;
}

@media (min-width: 768px) {
    .footer-links {
        flex-direction: row;
        justify-content: space-evenly;
        flex-wrap: wrap;
        margin: 24px 0;
    }
}

.connect {
    display: flex;
    flex-direction: column;
}

.connect img, .connect picture {
    align-self: center;
    width: 100px;
}

.connect-icons {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.footer-icon {
    color: white;
    font-size: 32px;
    text-decoration: none;
}

footer form {
    text-align: center;
    margin-bottom: 12px;
}

footer .form-control {
    background-color: inherit;
    border: inherit;
}

footer .form-control label {
    color: white;
}

footer form button {
    background-color: inherit;
    border: 1px solid white;
    border-radius: 4px;
    color: #fff;
    padding: 0.25em 1em;
}

footer h4 {
    margin-top: 0;
    margin-bottom: 8px;
    text-align: center;
}

.footer-links ul {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}

.footer-links a:not(.footer-icon) {
    font-size: 16px;
    text-decoration: underline;
}

.footer-links li {
    line-height: 2;
}

@media (min-width: 768px) {
    .footer-links ul {
        text-align: left;
    }

    .footer-links li a:before {
        color: #fff;
        font-family: 'FontAwesome', sans-serif;
        content: "\f101";
        margin-right: 10px;
    }

    .footer-links a {
        text-decoration: none;
    }
}

.footer-links li a {
    color: #A6A5A5;
}

.footer-links li:hover a {
    color: #ffffff;
}


/* =-=--=-=-=-=-=-==-=-=-=-  2.9 Section-spacing   =-=-=-=-==-=-==-====-==-=- */

section {
    /* padding: 1.7129em 0; */
}

/*================================================================
							Home
==================================================================*/

/*--------------------------  feature  ----------------------------------*/

.feature-content {
    margin-bottom: 2.714em;
}

.feature-icon {
    background-color: #000000;
    border: 1px solid #000000;
    border-radius: 50%;
    color: #ffffff;
    font-size: 45px;
    height: 90px;
    padding: 10px 0 15px 3px;
    width: 90px;
}

.feature-content:hover .feature-icon {
    background-color: #ffffff;
    border: 1px solid #313131;
    color: #313131;
}

.feature-heading {
    font-size: 18px;
    margin-bottom: 0;
    margin-top: 20px;
}

.feature-heading a, .feature-heading a:visited {
    color: #fff;
}

.feature-heading a:hover, .feature-heading a:focus {
    color: #ccc;
}

.feature-description {
    padding: 10px;
    margin-bottom: 0;
    font-size: 16px;
}

/*================================================================
						11. Contact page
==================================================================*/

/*----------------------------  11.2  quick contact  ------------------------*/
.contact-address {
    margin: 0;
}

.contact-address .address-info {
    border: 1px solid #f1f1f1;
    margin-bottom: 20px;
    padding: 0;
}

.contact-address .address-info .address-info-icon {
    background-color: #f9f9f9;
    border-right: 1px solid #f1f1f1;
}

.contact-address .address-info:hover .address-info-icon {
    background-color: #000;
    border-right: 1px solid #000;
}

.contact-address .address-info:hover .address-info-icon i {
    color: #fff;
}

.contact-address .address-info .address-info-icon i {
    position: relative;
    padding: 62px 0;
    font-size: 30px;
    color: #dadada;
}

.contact-address .address-info .address-info-desc {
    padding: 0 0 16px 20px;
}

.contact-address .address-info .address-info-desc p {
    font-size: 13px;
}

/*-------------------------------  11.3 contact form ---------------------------*/

.contact-form {
    margin: 25px 0 90px 0;
}

.contact-form .btn-black {
    float: right;
    margin-top: 20px;
}

.menubr {
    border-bottom-width: 5px;
    border-bottom-style: solid;
    border-bottom-color: var(--brand-maroon);
}

.bg1 {
    background-color: var(--brand-maroon);
    height: auto;
    margin: 0 0 60px;
    padding: 10px;
    width: 100%;
}

@media (min-width: 700px) {
    .bg1 {
        margin: 10px;
        padding: 10px;
    }
}

.feature-icon-box {
    margin-top: -50px;
}

.feature-heading {
    font-weight: bold;
}

.feature-description {
    color: #fff;
}

.people-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.people-list__person {
    background: #F4F4F4;
    margin: 16px;
    padding: 16px;
}

.people-list__person p {
    display: flex;
    justify-content: space-between;
    margin: 1em;
}

.people-list__person img {
    width: 100%;
}

@media(min-width: 500px) {
    .people-list {
        flex-direction: row;
        justify-content: center;
        margin: 0 auto;
        max-width: 1080px;
    }

    .people-list__person img {
        max-width: 288px;
    }
}

a.donate, a.donate:visited {
    background-color: var(--brand-maroon);
    border-radius: 28px;
    color: #ffffff;
    font-size: 15px;
    padding: 4px 14px 4px 13px;
    text-decoration: none;
}

a.donate:hover, a.donate:focus {
    background-color: var(--brand-maroon-dark);
    text-decoration: none;
}

.what-we-do {
    background-color: darkgray;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    padding: 80px 16px;
    text-align: center;
}

.center-block {
    margin: 0 auto;
}

.center-block > a {
    color: inherit;
}

@media (min-width: 48em) {
    .what-we-do {
        flex-direction: row;
    }
}

.mission-vision {
    display: flex;
    flex-direction: column;
    padding: 6em 1em;
}

.mission-vision.small-btm-padding {
    padding: 6em 1em 2em;
}

.mission-vision h2 {
    color: var(--brand-maroon);
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.mission-vision p {
    font-size: 16px;
    text-align: center;
    max-width: 768px;
    margin: 0 auto;
}

.mission-vision .team-members img {
    display: block;
}

.mission-vision .team-members h4 {
    text-align: center;
}

.mission-vision .team-members p {
    text-align: left;
}

.split-img-desc {
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
}

@media (min-width: 768px) {
    .split-img-desc {
        flex: 1 1 50%;
        flex-direction: row;
        min-height: 500px;
    }

    .split-img-desc.right-img .split-img {
        order: 2;
    }

    .split-img-desc.right-img .split-desc {
        order: 1;
    }
}

.split-img-desc .split-desc, .split-img-desc, .split-img {
    width: 100%;
}

.split-img {
    display: flex;
}

.split-img img {
    object-fit: cover;
    object-position: center center;
    width: 100%;
}

.split-desc {
    align-items: center;
    display: flex;
    font-size: 16px;
    flex-direction: column;
    justify-content: center;
    padding: 1.5em 0;
}

.split-desc p {
    padding-left: 1em;
    padding-right: 1em;
}

.split-desc p:not(:last-of-type) {
    margin-bottom: 0.5em;
}

.split-desc p:not(:first-of-type) {
    margin-top: 0.5em;
}

.focus-img {
    background: url('../img/children-looking-over-wall.jpg') center center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.focus-img p {
    color: white;
    font-size: 32px;
    text-align: center;
    margin: 0 auto;
    max-width: 768px;
    padding: 1em;
}

.focus-img p.long-verse {
    font-size: 24px;
}

.focus-img p span {
    font-size: 24px;
}

.focus-img p.long-verse span {
    font-size: 18px;
}

header {
    align-items: center;
    display: flex;
    height: 80px;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 960px;
    padding: 0.5em;
}

.header-logo, .header-logo img {
    aspect-ratio: 3.875;
    height: 36px;
}

@media (min-width: 500px) {
    header h1 {
        height: 48px;
    }

    .header-logo, .header-logo img {
        height: 48px;
    }
}

.menu-toggle {
    align-items: center;
    background-color: #fff;
    border: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-toggle:hover {
    cursor: pointer;
}

@media (min-width: 768px) {
    .menu-toggle {
        flex-direction: row;
        gap: 4px;
    }
}

.menu-toggle span {
    font-size: 12px;
}

.nav-layer {
    background-color: var(--brand-maroon-darker);
    height: 100vh;
    padding: 1em;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(90vw);
    transition: transform 0.5s ease-in-out;
    width: 90vw;
}

@media (min-width: 500px) {
    .nav-layer {
        transform: translateX(480px);
        width: 480px;
    }
}

.nav-layer.active-menu {
    transform: translateX(0px);
}

.nav-layer-1 {
    z-index: 2;
}

.nav-layer-2 {
    z-index: 3;
}

.nav-layer-3 {
    z-index: 4;
}

.close-ham-nav {
    align-items: center;
    background-color: var(--brand-maroon-darker);
    border: 0;
    display: flex;
}

.close-ham-nav:hover {
    cursor: pointer;
}

.close-ham-nav span {
    color: #fff;
    font-size: 12px;
}

.header-donate {
    background-color: var(--brand-maroon);
    color: #fff;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    padding: 0.5em 1.75em;
    text-decoration: none;
    transition: background-color 0.25s ease-in-out;
}

.header-donate:hover {
    background-color: var(--brand-maroon-dark);
    color: #fff;
}

.header-donate:hover, .header-donate:visited, .header-donate:active, .header-donate:focus {
    text-decoration: none;
}

.menu-right-side {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1em;
}

@media (min-width: 48em) {
    .menu-right-side {
        gap: 4em;
    }
}

.nav-layer ul, .nav-layer ul a {
    color: #fff;
    list-style-type: none;
}

.nav-layer > ul li {
    border-bottom: solid #fff 1px;
    font-size: 24px;
    padding: 1.5em;
}

.nav-layer .bck-btn {
    aspect-ratio: 1;
    width: 18px;
}

.nav-layer .flip-img {
    transform: scaleX(-1);
}

.menu-overlay {
    background-color: transparent;
    height: 100vh;
    left: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    z-index: 1;
}

.menu-overlay.hidden {
    display: none;
}

#about-page .mission-vision {
    margin: 0 auto;
    max-width: 1080px;
}

.explanation {
    /* padding: 6em 1em; */
    text-align: left;
}

.explanation h3, .split-img-desc h3 {
    color: var(--brand-maroon);
    text-align: center;
}

.split-img-desc h3 {
    font-size: 48px;
    font-weight: bold;
}

.explanation p {
    font-size: 16px;
    margin-bottom: 1.5em;
}

.explanation.callout p {
    color: var(--brand-maroon);
    font-size: 24px;
    font-weight: bold;
    margin: 0 auto;
    max-width: 920px;
    text-align: center;
}

.graph {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    grid-template-rows: 1fr 0.25fr 1fr;
    margin-bottom: 48px;
}

@media (min-width: 768px) {
    .graph {
        grid-template-rows: 1fr 0.5fr 1fr;
    }
}

p.graph-callout {
    color: var(--brand-maroon);
    font-size: 24px;
    line-height: 1.3;
}

.graph-box {
    border: 2px solid #000;
    border-bottom: none;
    grid-row: 2 / span 1;
}

.graph-box1 {
    grid-column: 2 / span 2;
}

.graph-box2 {
    border-left: none;
    grid-column: 4 / span 2;
}

.graph-stat {
    color: #707070;
    display: flex;
    flex-direction: column;
    grid-row: 3 / span 1;
}

.graph-stat span:first-of-type {
    color: var(--brand-maroon);
    font-size: 18px;
    font-weight: bold;
}

.graph-stat span:last-of-type {
    font-size: 12px;
    letter-spacing: 2px;
}

@media (min-width: 768px) {
    .graph-stat span:first-of-type {
        font-size: 28px;
    }
}

@media (min-width: 920px) {
    .graph-stat span:last-of-type {
        font-size: 14px;
    }
}

.graph-stat1 {
    grid-column: 1 / span 2;
}

.graph-stat2 {
    grid-column: 3 / span 2;
}

.graph-stat3 {
    grid-column: 5 / span 2;
}

.explanation.with-container {
    margin: 0 auto;
    max-width: 1080px;
}

.explanation.smaller-container {
    max-width: 768px;
}

.explanation ol > li::marker {
    font-weight: bold;
}

.explanation ol > li {
    font-size: 16px;
    line-height: 2;
}

.explanation ol > li strong {
    text-transform: uppercase;
}

.team-members {
    justify-content: space-evenly;
    display: flex;
    flex: 0 0 1;
    flex-wrap: wrap;
    padding: 16px;
    margin: 0 auto;
    max-width: 960px;
}

.team-members .team-member-box {
    max-width: 400px;
}

.contact-address {
    display: grid;
    gap: 1em;
    grid-template-areas: "po" "phone" "web";
    margin: 0 auto;
    max-width: 960px;
    padding: 16px;
}

.address-info {
    display: flex;
}

.address-info-icon {
    min-width: 48px;
    text-align: center;
}

.address-info.po-box {
    grid-area: po
}

.address-info.phone-address {
    grid-area: phone;
}

.address-info.web-address {
    grid-area: web;
}

@media (min-width: 768px) {
    .contact-address {
        grid-template-areas: "po phone web";
    }
}

.headline {
    text-align: center;
}

.interaction-form {
    margin: 0 auto;
    max-width: 276px;
}

.interaction-form .btn.btn-submit {
    display: block;
    margin: 0 auto;
}

#church-planting-page .donate, #orphanage-page .donate {
    font-family: inherit;
}

.people-list-title {
    color: var(--brand-maroon);
    font-size: 48px;
    font-weight: bold;
    text-align: center;
}

.disclosures-container {
    background-color: #313131;
}

.non-profit-disclosure {
    border-bottom: 1px solid white;
    color: white;
    font-size: 14px;
    margin: 0 auto;
    max-width: 1080px;
    padding: 2em 1em;
}

.section-title, .section-sub-title {
    text-align: center;
}