/* =========================================================
   HOPE COMMUNITIES - WEBSITE CSS
========================================================= */


/* =========================================================
   GENERAL
========================================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    color: #263238;
    background: #ffffff;
}

a {
    text-decoration: none;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-weight: 800;
    margin-bottom: 15px;
}

.section-subtitle {
    color: #6c757d;
    max-width: 720px;
    margin: auto;
    line-height: 1.8;
}

.text-main {
    color: #007c83 !important;
}


/* =========================================================
   TOP BAR
========================================================= */

.top-bar {
    background: #063f46;
    color: #ffffff;
    font-size: 14px;
    padding: 8px 0;
}

.top-bar a {
    color: #ffffff;
    margin-left: 18px;
}

.top-bar a:hover {
    color: #f5a623;
}


/* =========================================================
   NAVBAR
========================================================= */

.navbar {
    box-shadow: 0 2px 15px rgba(0,0,0,.07);
}

.navbar-brand {
    font-size: 25px;
    font-weight: 800;
    color: #007c83 !important;
}

.navbar-brand i {
    color: #f5a623;
}

.nav-link {
    font-weight: 600;
    color: #263238 !important;
    margin: 0 5px;
}

.nav-link:hover,
.nav-link.active {
    color: #007c83 !important;
}

.dropdown-item:hover {
    background: #e8f5f5;
    color: #007c83;
}


/* =========================================================
   MAIN BUTTON
========================================================= */

.btn-main {
    background: #f5a623;
    color: #ffffff;
    border: 0;
    padding: 12px 25px;
    border-radius: 7px;
    font-weight: 700;
    transition: .3s;
}

.btn-main:hover {
    background: #dc921b;
    color: #ffffff;
    transform: translateY(-2px);
}


/* =========================================================
   HERO SLIDER
========================================================= */

.hero {
    position: relative;
}

.hero .carousel-item {
    height: 650px;
    background-position: center;
    background-size: cover;
}

.hero-slide-1,
.slide-1 {
    background-image:
        linear-gradient(
            rgba(0,55,65,.72),
            rgba(0,55,65,.72)
        ),
        url("https://images.unsplash.com/photo-1469571486292-0ba58a3f068b?auto=format&fit=crop&w=1900&q=85");
}

.hero-slide-2,
.slide-2 {
    background-image:
        linear-gradient(
            rgba(0,55,65,.72),
            rgba(0,55,65,.72)
        ),
        url("https://images.unsplash.com/photo-1532629345422-7515f3d16bb6?auto=format&fit=crop&w=1900&q=85");
}

.hero-slide-3,
.slide-3 {
    background-image:
        linear-gradient(
            rgba(0,55,65,.72),
            rgba(0,55,65,.72)
        ),
        url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1900&q=85");
}

.hero-content {
    height: 650px;
    display: flex;
    align-items: center;
    color: #ffffff;
}

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.2;
    max-width: 850px;
}

.hero-content p {
    font-size: 19px;
    line-height: 1.8;
    max-width: 720px;
    margin: 20px 0 30px;
}

.hero-badge {
    display: inline-block;
    background: #f5a623;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 700;
    margin-bottom: 18px;
}

.hero .carousel-control-prev,
.hero .carousel-control-next {
    width: 7%;
}

.hero .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

@media (max-width: 767.98px) {

    .hero .carousel-item {
        height: 500px;
    }

    .hero-content {
        height: 500px;
        padding: 0 25px;
    }

    .hero-content h1 {
        font-size: 30px;
        line-height: 1.25;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
        margin: 15px 0 20px;
    }

    .hero-badge {
        font-size: 13px;
        padding: 6px 12px;
        margin-bottom: 12px;
    }

}

/* =========================================================
   QUICK INFO
========================================================= */

.quick-info {
    margin-top: -45px;
    position: relative;
    z-index: 5;
}

.quick-box {
    background: #ffffff;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,.10);
    height: 100%;
    transition: .3s;
}

.quick-box:hover {
    transform: translateY(-5px);
}

.quick-box i {
    font-size: 32px;
    color: #007c83;
}

.quick-box h6 {
    font-weight: 800;
    margin-top: 12px;
}

.quick-box p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 14px;
}


/* =========================================================
   ABOUT
========================================================= */

.about-image,
.about-img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
}

.about-list,
.check-list {
    list-style: none;
    padding: 0;
}

.about-list li,
.check-list li {
    margin-bottom: 14px;
}

.about-list i,
.check-list i {
    color: #007c83;
    margin-right: 8px;
}


/* =========================================================
   MISSION / VISION / VALUES
========================================================= */

.mission-box,
.info-card {
    background: #f4f8f8;
    padding: 35px;
    border-radius: 15px;
    height: 100%;
    transition: .3s;
}

.mission-box:hover,
.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
}

.mission-icon,
.info-card > i {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007c83;
    color: #ffffff;
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 20px;
}

.mission-box h5,
.info-card h4 {
    font-weight: 800;
}

.mission-box p,
.info-card p {
    color: #6c757d;
    line-height: 1.8;
}


/* =========================================================
   PROGRAMS
========================================================= */

.program-card {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0,0,0,.08);
    transition: .3s;
}

.program-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 35px rgba(0,0,0,.13);
}

.program-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.program-card .card-body {
    padding: 25px;
}

.program-icon {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5f5;
    color: #007c83;
    border-radius: 10px;
    font-size: 25px;
    margin-bottom: 18px;
}

.program-card h5 {
    font-weight: 800;
}

.program-card p {
    color: #6c757d;
    line-height: 1.8;
}


/* =========================================================
   IMPACT
========================================================= */

.impact {
    background: #007c83;
    color: #ffffff;
}

.impact-item {
    text-align: center;
}

.impact-item i {
    font-size: 38px;
}

.impact-item h2 {
    font-size: 42px;
    font-weight: 800;
    margin: 10px 0;
}

.impact-item p {
    margin: 0;
    opacity: .9;
}


/* =========================================================
   AREAS OF WORK
========================================================= */

.area-card,
.work-card {
    padding: 30px;
    border: 1px solid #eeeeee;
    border-radius: 15px;
    height: 100%;
    transition: .3s;
    background: #ffffff;
}

.area-card:hover,
.work-card:hover {
    transform: translateY(-5px);
    border-color: #007c83;
    box-shadow: 0 10px 25px rgba(0,0,0,.07);
}

.area-icon,
.work-icon {
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5f5;
    color: #007c83;
    border-radius: 12px;
    font-size: 28px;
    margin-bottom: 20px;
}

.area-card h5,
.work-card h5 {
    font-weight: 800;
}

.area-card p,
.work-card p {
    color: #6c757d;
    line-height: 1.8;
}


/* =========================================================
   FEATURED PROJECT
========================================================= */

.featured-project {
    background: #f5f8f9;
}

.featured-project img {
    width: 100%;
    height: 430px;
    object-fit: cover;
    border-radius: 15px;
}


/* =========================================================
   CHECK LIST
========================================================= */

.check-list {
    list-style: none;
    padding: 0;
}

.check-list li {
    margin-bottom: 15px;
}

.check-list i {
    color: #007c83;
    margin-right: 8px;
}


/* =========================================================
   EMERGENCY
========================================================= */

.emergency {
    background:
        linear-gradient(
            rgba(130,35,25,.90),
            rgba(130,35,25,.90)
        ),
        url("https://images.unsplash.com/photo-1509099836639-18ba1795216d?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: #ffffff;
}

.emergency h2 {
    font-weight: 800;
}


/* =========================================================
   HOW WE WORK
========================================================= */

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 65px;
    height: 65px;
    margin: auto;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #007c83;
    color: #ffffff;
    font-size: 23px;
    font-weight: 800;
}

.step h5 {
    margin-top: 20px;
    font-weight: 800;
}

.step p {
    color: #6c757d;
    line-height: 1.8;
}


/* =========================================================
   NEWS
========================================================= */

.news-card {
    border: 0;
    border-radius: 15px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 5px 25px rgba(0,0,0,.07);
    transition: .3s;
}

.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0,0,0,.12);
}

.news-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.news-card .card-body {
    padding: 24px;
}

.news-date {
    color: #007c83;
    font-size: 14px;
    font-weight: 600;
}

.news-card h5 {
    font-weight: 800;
    line-height: 1.5;
}

.news-card p {
    color: #6c757d;
    line-height: 1.8;
}


/* =========================================================
   REPORTS
========================================================= */

.report-card {
    border: 1px solid #eeeeee;
    border-radius: 12px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 18px;
    height: 100%;
}

.report-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f5f5;
    color: #007c83;
    border-radius: 10px;
    font-size: 25px;
}

.report-card h6 {
    font-weight: 800;
    margin-bottom: 5px;
}

.report-card small {
    color: #6c757d;
}


/* =========================================================
   PARTNERS
========================================================= */

.partner {
    height: 100px;
    background: #f7f8f8;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-weight: 800;
    font-size: 20px;
}


/* =========================================================
   CAREERS
========================================================= */

.career {
    background: #f5f8f9;
}

.career-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 15px;
    height: 100%;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    transition: .3s;
}

.career-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.10);
}

.career-card h5 {
    font-weight: 800;
}


/* =========================================================
   VOLUNTEER
========================================================= */

.volunteer {
    background:
        linear-gradient(
            rgba(0,75,85,.90),
            rgba(0,75,85,.90)
        ),
        url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: #ffffff;
}


/* =========================================================
   SUPPORT
========================================================= */

.support {
    background:
        linear-gradient(
            rgba(0,70,80,.88),
            rgba(0,70,80,.88)
        ),
        url("https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: #ffffff;
}

.support h2 {
    font-weight: 800;
}


/* =========================================================
   CONTACT
========================================================= */

.contact-box {
    padding: 30px;
    background: #f7f9fa;
    border-radius: 15px;
    height: 100%;
}

.contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-item i {
    color: #007c83;
    font-size: 25px;
}

.form-control {
    padding: 12px 15px;
}

.form-control:focus {
    border-color: #007c83;
    box-shadow: 0 0 0 .2rem rgba(0,124,131,.12);
}


/* =========================================================
   NEWSLETTER
========================================================= */

.newsletter {
    background: #eef7f7;
}

.newsletter .form-control {
    border: 0;
    height: 50px;
}


/* =========================================================
   PAGE HEADER
========================================================= */

.page-header {
    padding: 90px 0;
    background:
        linear-gradient(
            rgba(0,63,70,.92),
            rgba(0,63,70,.92)
        ),
        url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1800&q=85")
        center/cover;
    color: #ffffff;
}

.page-header h1 {
    font-size: 46px;
    font-weight: 800;
    margin: 10px 0 15px;
}

.page-header p {
    max-width: 700px;
    margin: auto;
    line-height: 1.8;
    opacity: .9;
}


/* =========================================================
   FOOTER
========================================================= */

footer {
    background: #172a2d;
    color: #cfd8dc;
    padding: 60px 0 20px;
}

footer h5 {
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 20px;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer li {
    margin-bottom: 12px;
}

footer a {
    color: #cfd8dc;
}

footer a:hover {
    color: #ffffff;
}

.social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #263f43;
    border-radius: 50%;
    margin-right: 6px;
    transition: .3s;
}

.social a:hover {
    background: #007c83;
    transform: translateY(-3px);
}

.copyright {
    border-top: 1px solid rgba(255,255,255,.1);
    margin-top: 40px;
    padding-top: 20px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 991px) {

    .navbar-nav {
        padding: 15px 0;
    }

    .navbar .btn-main {
        display: inline-block;
        margin-bottom: 15px;
    }

    .hero-content h1 {
        font-size: 44px;
    }

}


@media (max-width: 768px) {

    .top-bar {
        display: none;
    }

    .hero .carousel-item,
    .hero-content {
        height: 570px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .hero-content p {
        font-size: 16px;
    }

    .quick-info {
        margin-top: 20px;
    }

    .section {
        padding: 55px 0;
    }

    .about-image,
    .about-img,
    .featured-project img {
        height: 280px;
    }

    .impact-item {
        margin-bottom: 30px;
    }

    .impact-item h2 {
        font-size: 32px;
    }

    .page-header {
        padding: 65px 0;
    }

    .page-header h1 {
        font-size: 36px;
    }

}


@media (max-width: 576px) {

    .hero .carousel-item,
    .hero-content {
        height: 520px;
    }

    .hero-content h1 {
        font-size: 30px;
    }

    .hero-content p {
        font-size: 15px;
        line-height: 1.6;
    }

    .hero-badge {
        font-size: 13px;
    }

    .btn-main {
        padding: 10px 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .work-card,
    .area-card,
    .mission-box,
    .info-card,
    .career-card,
    .contact-box {
        padding: 25px;
    }

}
/* =========================================================
   NEWS SECTION
========================================================= */

.news-section {
    background: #ffffff;
}

.section-heading {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    color: #007c83;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.news-card {
    background: #ffffff;
    border: 1px solid #e8eeee;
    border-radius: 16px;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .06);
    transition: transform .35s ease,
                box-shadow .35s ease,
                border-color .35s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
    border-color: #d4e7e7;
}


/* Image */

.news-image {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.08);
}


/* Image overlay */

.news-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, .35),
        transparent 55%
    );
    pointer-events: none;
}


/* Category */

.news-category {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 2;

    background: #f5a623;
    color: #ffffff;

    padding: 7px 13px;
    border-radius: 30px;

    font-size: 12px;
    font-weight: 800;
}


/* Content */

.news-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
}


/* Date */

.news-date {
    color: #007c83;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.news-date i {
    margin-right: 5px;
}


/* Title */

.news-content h3 {
    font-size: 21px;
    line-height: 1.4;
    font-weight: 800;
    color: #263238;
    margin-bottom: 12px;
}


/* Description */

.news-content p {
    color: #6c757d;
    line-height: 1.7;
    margin-bottom: 20px;
}


/* Read More */

.news-link {
    margin-top: auto;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: #007c83;
    font-weight: 800;

    transition: .3s;
}

.news-link i {
    transition: transform .3s;
}

.news-link:hover {
    color: #005c61;
}

.news-link:hover i {
    transform: translateX(5px);
}


/* Mobile */

@media (max-width: 767px) {

    .news-image {
        height: 220px;
    }

    .news-content {
        padding: 22px;
    }

    .news-content h3 {
        font-size: 19px;
    }

}