/* ==========================================================================
   home-index.css — UWM-style Homepage Sections
   Prefix: .uwm-home-* to avoid conflicts with existing custom.css
   ========================================================================== */

/* -----------------------------------------------------------------------
   SECTION 1: HERO BANNER
   The UWM hero uses geometric colored shapes (navy/yellow/red) overlapping
   over a community photo on the right half, with bold uppercase headline.
   ----------------------------------------------------------------------- */

.uwm-home-hero {
    position: relative;
    overflow: hidden;
    min-height: 88vh;
    display: flex;
    align-items: center;
    background: #f4f6f9;
}

/* Shapes container */
.uwm-home-hero-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

/* Navy blue large shape — bottom-left triangle */
.uwm-home-shape-navy {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 55%;
    height: 100%;
    background: #1a3a7a;
    clip-path: polygon(0 0, 85% 0, 60% 100%, 0 100%);
}

/* Yellow/gold shape — top-center wedge */
.uwm-home-shape-yellow {
    position: absolute;
    top: 0;
    left: 30%;
    width: 38%;
    height: 100%;
    background: #f0a500;
    clip-path: polygon(20% 0, 100% 0, 80% 100%, 0 100%);
    z-index: 1;
}

/* Red/coral accent shape — bottom-center */
.uwm-home-shape-red {
    position: absolute;
    bottom: 0;
    left: 28%;
    width: 32%;
    height: 60%;
    background: #c0392b;
    clip-path: polygon(10% 0, 90% 0, 100% 100%, 0 100%);
    z-index: 2;
}

/* Photo — right side of the hero */
.uwm-home-hero-photo {
    position: absolute;
    right: 0;
    top: 0;
    width: 55%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.uwm-home-hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* Text content — left overlay */
.uwm-home-hero-content {
    position: relative;
    z-index: 10;
    padding: 160px 0 80px;
    max-width: 620px;
}

.uwm-home-hero-content h1 {
    font-size: 68px;
    font-weight: 900;
    line-height: 1.0;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: -1px;
    margin-bottom: 28px;
    font-family: 'Antonio', sans-serif;
}

.uwm-home-hero-content p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
    max-width: 520px;
    margin-bottom: 0;
}

/* -----------------------------------------------------------------------
   SECTION 2: OUR IMPACT (STATISTICS)
   Light grey background, large bold numbers centered, 4 columns.
   ----------------------------------------------------------------------- */

.uwm-home-impact {
    background: #ffffff;
    padding: 70px 0 60px;
    text-align: center;
}

.uwm-home-impact-title {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 40px;
    display: block;
}

.uwm-home-impact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
}

.uwm-home-impact-item {
    padding: 30px 20px;
    /* border-right: 1px solid #d8dde9; */
    text-align: center;
}

.uwm-home-impact-item:last-child {
    border-right: none;
}

.uwm-home-impact-number {
    display: block;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
    line-height: 1.0;
    margin-bottom: 12px;
    font-family: 'Antonio', sans-serif;
}

.uwm-home-impact-label {
    display: block;
    font-size: 14px;
    color: #000000;
    line-height: 1.4;
    font-weight: 500;
}

/* -----------------------------------------------------------------------
   SECTION 3: OUR WORK (FOCUS AREAS)
   5 bordered cards in a row, each with a different color border + title.
   ----------------------------------------------------------------------- */

.uwm-home-ourwork {
    /* background: #f4f6f9; */
    padding: 70px 0;
}

.uwm-home-section-heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.uwm-home-ourwork-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.uwm-home-work-card {
    border-radius: 16px;
    border: 2.5px solid #1a3a7a;
    padding: 30px 22px;
    background: #ffffff;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.uwm-home-work-card:hover {
    box-shadow: 0 10px 30px rgba(26, 46, 90, 0.12);
    transform: translateY(-4px);
}

.uwm-home-work-card--blue {
    border-color: #1a3a7a;
}

.uwm-home-work-card--red {
    border-color: #c0392b;
}

.uwm-home-work-card--dkblue {
    border-color: #1a3a7a;
}

.uwm-home-work-card--green {
    border-color: #27ae60;
}

.uwm-home-work-card--orange {
    border-color: #e67e22;
}

.uwm-home-work-card h3 {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 12px;
}

.uwm-home-work-card--blue h3 {
    color: #1a3a7a;
}

.uwm-home-work-card--red h3 {
    color: #c0392b;
}

.uwm-home-work-card--dkblue h3 {
    color: #1a3a7a;
}

.uwm-home-work-card--green h3 {
    color: #27ae60;
}

.uwm-home-work-card--orange h3 {
    color: #e67e22;
}

.uwm-home-work-card p {
    font-size: 13px;
    color: #555a66;
    line-height: 1.6;
    margin: 0;
}

/* -----------------------------------------------------------------------
   SECTION 4: FEATURED PROGRAMMES
   3-column photo cards, image on top, bold uppercase title + desc below.
   ----------------------------------------------------------------------- */

.uwm-home-programmes {
    background: #ffffff;
    padding: 70px 0;
}

.uwm-home-prog-heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.uwm-home-prog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    /* border: 1px solid #000000; */
    border-radius: 4px;
    overflow: hidden;
}

.uwm-home-prog-card {
    /* background: #ffffff; */
    border-right: 20px solid #FFFFFF;
    border-bottom: 20px solid #FFFFFF;
    transition: all 0.3s ease;
    overflow: hidden;
}

.uwm-home-prog-card:hover {
    background: #1a3a7a;
}

.uwm-home-prog-card:hover .uwm-home-prog-card-title,
.uwm-home-prog-card:hover .uwm-home-prog-card-desc {
    color: #ffffff;
}

.uwm-home-prog-card-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.uwm-home-prog-card:hover .uwm-home-prog-card-img {
    transform: scale(1.04);
}

.uwm-home-prog-card--active {
    border-top: 4px solid #1abc9c;
}

.uwm-home-prog-card--active .uwm-home-prog-card-body {
    background: #1abc9c;
}

.uwm-home-prog-card--active .uwm-home-prog-card-title,
.uwm-home-prog-card--active .uwm-home-prog-card-desc {
    color: #ffffff;
}

.uwm-home-prog-card-body {
    padding: 20px 22px 24px;
    border: 1px solid #000000;
}

.uwm-home-prog-card-title {
    display: block;
    font-size: 15px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2e5a;
    margin-bottom: 8px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.uwm-home-prog-card-desc {
    font-size: 13px;
    color: #555a66;
    line-height: 1.6;
    margin: 0;
    transition: color 0.3s ease;
}

.uwm-home-prog-viewall {
    text-align: center;
    margin-top: 36px;
}

.uwm-home-prog-viewall-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid #1a3a7a;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #1a3a7a;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uwm-home-prog-viewall-btn:hover {
    background: #1a3a7a;
    color: #ffffff;
}

/* -----------------------------------------------------------------------
   SECTION 5: INVESTING IN SOCIAL IMPACT
   2x2 grid — each card has a square image on the left and text on right.
   ----------------------------------------------------------------------- */

.uwm-home-investing {
    /* background: #f4f6f9; */
    padding: 70px 0;
}

.uwm-home-investing-heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    display: block;
    margin-bottom: 50px;
}

.uwm-home-investing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.uwm-home-invest-card {
    display: flex;
    align-items: stretch;
    background: #ffffff;
    border-radius: 4px;
    border: 1px solid #d8dde9;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.uwm-home-invest-card:hover {
    box-shadow: 0 8px 28px rgba(26, 46, 90, 0.10);
}

.uwm-home-invest-card-img {
    width: 200px;
    flex-shrink: 0;
    object-fit: cover;
    display: block;
}

.uwm-home-invest-card-body {
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.uwm-home-invest-card-title {
    font-size: 16px;
    font-weight: 800;
    text-transform: uppercase;
    color: #1a2e5a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.uwm-home-invest-card-desc {
    font-size: 14px;
    color: #555a66;
    line-height: 1.6;
    margin-bottom: 16px;
}

.uwm-home-invest-learn-more {
    font-size: 14px;
    font-weight: 700;
    color: #1a2e5a;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.3s ease;
    display: inline-block;
}

.uwm-home-invest-learn-more:hover {
    color: #e8761a;
}

/* -----------------------------------------------------------------------
   SECTION 6: ANNUAL REPORTS + VIDEO
   2-col: left grey box, right YouTube embed.
   ----------------------------------------------------------------------- */

.uwm-home-reports {
    /* background: #f4f6f9; */
    padding: 60px 0;
}

.uwm-home-reports-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0px;
    align-items: center;
}

.uwm-home-reports-box {
    background: #e8eaed;
    border-radius: 6px;
    padding: 83px 44px;
}

.uwm-home-reports-box h2 {
    font-size: 28px;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a2e5a;
    margin-bottom: 20px;
    line-height: 1.2;
}

.uwm-home-reports-box p {
    font-size: 15px;
    color: #555a66;
    line-height: 1.7;
    margin-bottom: 28px;
}

.uwm-home-reports-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid #1a3a7a;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3a7a;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uwm-home-reports-btn:hover {
    background: #1a3a7a;
    color: #ffffff;
}

.uwm-home-video-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #1a2e5a;
}

.uwm-home-video-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #1a3a7a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s ease;
    padding: 30px;
}

.uwm-home-video-placeholder:hover {
    background: #152f6a;
}

.uwm-home-video-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
}

.uwm-home-video-header-text strong {
    display: block;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.uwm-home-video-header-text span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13px;
}

.uwm-home-video-play-btn {
    width: 64px;
    height: 64px;
    background: #ff0000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.uwm-home-video-placeholder:hover .uwm-home-video-play-btn {
    transform: scale(1.1);
}

.uwm-home-video-play-btn i {
    color: #ffffff;
    font-size: 22px;
    margin-left: 4px;
}

.uwm-home-video-tagline {
    color: #ffffff;
    font-size: 20px;
    font-weight: 900;
    text-align: center;
    text-transform: uppercase;
    line-height: 1.2;
}

.uwm-home-video-watch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 30px;
    margin-top: 8px;
}

/* -----------------------------------------------------------------------
   SECTION 7: MEDIA MENTIONS
   3-col photo cards.
   ----------------------------------------------------------------------- */

.uwm-home-media {
    background: #ffffff;
    padding: 70px 0;
}

.uwm-home-media-heading {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #000000;
    text-align: center;
    display: block;
    margin-bottom: 40px;
}

.uwm-home-media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border: 1px solid #d8dde9;
    border-radius: 4px;
    overflow: hidden;
}

.uwm-home-media-card {
    background: #ffffff;
    border-right: 1px solid #d8dde9;
    overflow: hidden;
    transition: all 0.3s ease;
}

.uwm-home-media-card:last-child {
    border-right: none;
}

.uwm-home-media-card:hover {
    box-shadow: 0 6px 20px rgba(26, 46, 90, 0.10);
}

.uwm-home-media-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.uwm-home-media-card-body {
    padding: 20px 22px 24px;
}

.uwm-home-media-source {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #e8761a;
    margin-bottom: 10px;
}

.uwm-home-media-card h3 {
    font-size: 15px;
    font-weight: 700;
    color: #1a2e5a;
    line-height: 1.4;
    margin-bottom: 10px;
}

.uwm-home-media-card h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.uwm-home-media-card h3 a:hover {
    color: #e8761a;
}

.uwm-home-media-date {
    font-size: 12px;
    color: #888;
    display: flex;
    align-items: center;
    gap: 6px;
}

.uwm-home-media-viewall {
    text-align: center;
    margin-top: 36px;
}

.uwm-home-media-viewall-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid #1a3a7a;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3a7a;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uwm-home-media-viewall-btn:hover {
    background: #1a3a7a;
    color: #ffffff;
}

/* -----------------------------------------------------------------------
   SECTION 8: INSTAGRAM FEED
   Profile block + 3-col photo grid.
   ----------------------------------------------------------------------- */

.uwm-home-instagram {
    /* background: #f4f6f9; */
    padding: 60px 0;
}

.uwm-home-insta-profile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.uwm-home-insta-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #e8761a;
    overflow: hidden;
    flex-shrink: 0;
}

.uwm-home-insta-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.uwm-home-insta-info h3 {
    font-size: 18px;
    font-weight: 800;
    color: #1a2e5a;
    margin-bottom: 2px;
}

.uwm-home-insta-info span {
    font-size: 13px;
    color: #888;
}

.uwm-home-insta-stats {
    display: flex;
    gap: 28px;
    align-items: center;
}

.uwm-home-insta-stat {
    text-align: center;
}

.uwm-home-insta-stat strong {
    display: block;
    font-size: 17px;
    font-weight: 800;
    color: #1a2e5a;
}

.uwm-home-insta-stat span {
    font-size: 12px;
    color: #888;
}

.uwm-home-insta-follow-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e8761a;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.uwm-home-insta-follow-btn:hover {
    background: #cf6415;
    color: #ffffff;
}

.uwm-home-insta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.uwm-home-insta-photo {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: #eee;
}

.uwm-home-insta-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.uwm-home-insta-photo:hover img {
    transform: scale(1.06);
}

.uwm-home-insta-viewall {
    text-align: center;
    margin-top: 30px;
}

.uwm-home-insta-viewall-btn {
    display: inline-block;
    padding: 13px 36px;
    border: 2px solid #1a3a7a;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #1a3a7a;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
}

.uwm-home-insta-viewall-btn:hover {
    background: #1a3a7a;
    color: #ffffff;
}

/* ==========================================================================
   RESPONSIVE — home-index.css
   ========================================================================== */

@media (max-width: 1200px) {
    .uwm-home-hero-content h1 {
        font-size: 52px;
    }

    .uwm-home-ourwork-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .uwm-home-hero {
        min-height: auto;
    }

    .uwm-home-hero-photo {
        display: none;
    }

    .uwm-home-shape-navy {
        width: 100%;
        clip-path: none;
    }

    .uwm-home-shape-yellow,
    .uwm-home-shape-red {
        display: none;
    }

    .uwm-home-hero-content {
        padding: 120px 0 60px;
        max-width: 100%;
    }

    .uwm-home-hero-content h1 {
        font-size: 42px;
    }

    .uwm-home-impact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uwm-home-impact-item:nth-child(2) {
        border-right: none;
    }

    .uwm-home-ourwork-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uwm-home-prog-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .uwm-home-investing-grid {
        grid-template-columns: 1fr;
    }

    .uwm-home-reports-inner {
        grid-template-columns: 1fr;
    }

    .uwm-home-media-grid {
        grid-template-columns: 1fr;
    }

    .uwm-home-insta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .uwm-home-impact-number {
        font-size: 42px;
    }

    .uwm-home-ourwork-grid {
        grid-template-columns: 1fr 1fr;
    }

    .uwm-home-prog-grid {
        grid-template-columns: 1fr;
    }

    .uwm-home-invest-card {
        flex-direction: column;
    }

    .uwm-home-invest-card-img {
        width: 100%;
        height: 200px;
    }

    .uwm-home-reports-box {
        padding: 36px 28px;
    }

    .uwm-home-insta-profile {
        flex-direction: column;
        text-align: center;
    }

    .uwm-home-insta-stats {
        justify-content: center;
    }
}

@media (max-width: 575px) {
    .uwm-home-hero-content h1 {
        font-size: 34px;
    }

    .uwm-home-impact-grid {
        grid-template-columns: 1fr 1fr;
    }

    .uwm-home-ourwork-grid {
        grid-template-columns: 1fr;
    }

    .uwm-home-insta-grid {
        grid-template-columns: 1fr 1fr;
    }
}