.berwa-hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: #14342a;
    color: #fff;
    overflow: hidden;
}

.berwa-hero__photo {
    display: block;
    width: 100%;
    height: auto;
    min-height: 100vh;
    object-fit: cover;
    object-position: center top;
}

.berwa-hero__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    background: linear-gradient(90deg, rgba(20, 42, 36, 0.78) 0%, rgba(20, 42, 36, 0.38) 46%, rgba(20, 42, 36, 0.12) 100%);
}

.berwa-hero::before {
    display: none;
}

.berwa-hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 0 130px;
    max-width: 640px;
    animation: berwa-rise 0.85s ease both;
}

.berwa-hero h1 {
    color: #fff;
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 18px;
}

.berwa-hero p {
    color: rgba(255, 255, 255, 0.92);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 28px;
}

.berwa-hero__wave {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    z-index: 3;
    line-height: 0;
}

.berwa-hero__wave svg {
    width: 100%;
    height: 90px;
    display: block;
}

.berwa-gold-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e6d968;
    color: #1e3737 !important;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 800;
    line-height: 1;
}

.berwa-gold-btn:hover {
    background: #c4b536;
    color: #1e3737 !important;
}

.berwa-outline-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: #fff !important;
    border-radius: 999px;
    padding: 14px 28px;
    font-weight: 700;
}

.berwa-outline-btn:hover {
    background: #fff;
    color: #1e3737 !important;
}

.berwa-section {
    padding: 90px 0;
}

.berwa-section-title {
    text-align: center;
    margin-bottom: 48px;
}

.berwa-section-title h3 {
    color: #1e3737;
    margin-bottom: 10px;
}

.berwa-underline {
    width: 64px;
    height: 4px;
    background: #e6d968;
    margin: 0 auto;
    border-radius: 4px;
}

.berwa-intro {
    padding: 80px 0 30px;
}

.berwa-intro__grid {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
}

.berwa-intro__photo {
    min-height: 360px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
}

.berwa-intro__copy h3 {
    color: #16332c;
    margin: 8px 0 16px;
}

.berwa-intro__copy p {
    color: #5c6b6b;
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 22px;
}

.berwa-intro__link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1dad30;
    font-weight: 800;
}

.berwa-mv {
    padding: 40px 0 80px;
}

.berwa-mv__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.berwa-mv__card {
    border-radius: 20px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
}

.berwa-mv__card.is-mission {
    background: #16332c;
    color: #fff;
    transform: translateY(18px);
}

.berwa-mv__card.is-vision {
    background: #f7f1d4;
    color: #16332c;
}

.berwa-mv__card span {
    display: block;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}

.berwa-mv__card.is-mission span {
    color: #e6d968;
}

.berwa-mv__card.is-vision span {
    color: #1dad30;
}

.berwa-mv__card h4 {
    margin-bottom: 14px;
}

.berwa-mv__card.is-mission h4,
.berwa-mv__card.is-mission p {
    color: #fff;
}

.berwa-mv__icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    font-size: 22px;
}

.berwa-mv__card.is-mission .berwa-mv__icon {
    background: rgba(230, 217, 104, 0.18);
    color: #e6d968;
}

.berwa-mv__card.is-vision .berwa-mv__icon {
    background: rgba(29, 173, 48, 0.12);
    color: #1dad30;
}

.berwa-work-grid,
.berwa-news-grid,
.berwa-need-grid,
.berwa-impact-grid {
    display: grid;
    gap: 24px;
}

.berwa-work-grid {
    grid-template-columns: repeat(3, 1fr);
}

.berwa-work-grid .berwa-card {
    display: flex;
    flex-direction: column;
}

.berwa-work-grid .berwa-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    order: -1;
}

.berwa-news-grid,
.berwa-need-grid,
.berwa-impact-grid {
    grid-template-columns: repeat(3, 1fr);
}

.berwa-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(30, 55, 55, 0.08);
    height: 100%;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.berwa-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 48px rgba(30, 55, 55, 0.14);
}

.berwa-card img {
    width: 100%;
    height: 190px;
    object-fit: cover;
}

.berwa-card__body {
    padding: 22px;
}

.berwa-card__body h5 {
    color: #1e3737;
    margin-bottom: 8px;
}

.berwa-card__body p {
    color: #6e7a7a;
    margin-bottom: 0;
}

.berwa-card__meta {
    display: block;
    color: #1dad30;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.berwa-card__link {
    display: inline-block;
    margin-top: 12px;
    color: #1dad30;
    font-weight: 700;
}

.berwa-impact-card {
    background: #f7faf6;
    border-radius: 16px;
    padding: 28px 24px;
    text-align: center;
    border-top: 4px solid #1dad30;
}

.berwa-impact-card strong {
    display: block;
    color: #1e3737;
    font-size: 28px;
    margin-bottom: 8px;
}

.berwa-join {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    padding: 90px 20px;
}

.berwa-join__bg {
    position: absolute;
    top: -18%;
    left: 0;
    width: 100%;
    height: 136%;
    background-size: cover;
    background-position: center;
    will-change: transform;
}

.berwa-join__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(22, 51, 44, 0.62) 0%, rgba(22, 51, 44, 0.84) 100%);
}

.berwa-join__content {
    position: relative;
    z-index: 2;
    max-width: 760px;
}

.berwa-join__content h3 {
    color: #fff;
    font-size: 48px;
    line-height: 1.15;
    margin: 12px 0 16px;
}

.berwa-join__content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 28px;
}

.berwa-join__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.berwa-header {
    background: #fff;
    border-bottom: 1px solid #eef2f1;
}

.berwa-header__inner {
    display: flex;
    align-items: center;
    min-height: 84px;
}

.berwa-header__logo {
    display: flex;
    flex-direction: column;
    justify-content: center;
    line-height: 1.05;
    flex-shrink: 0;
    color: #16332c;
    margin-right: 56px;
}

.berwa-header__logo span {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.02em;
}

.berwa-header__logo small {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #1dad30;
}

.berwa-header__logo img {
    max-height: 52px;
    width: auto;
}

.berwa-header__nav {
    flex: 0 1 auto;
    display: flex;
    justify-content: flex-start;
}

.berwa-header__nav .tp-header-3__main-menu > nav > ul,
.berwa-header .tp-header-3__main-menu > nav > ul {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 2px;
}

.berwa-header .tp-header-3__main-menu > nav > ul > li {
    padding-right: 0;
}

.berwa-header .tp-header-3__main-menu > nav > ul > li > a {
    font-size: 15px;
    font-weight: 600;
    color: #3d4f4f;
    padding: 10px 10px;
}

.berwa-header .tp-header-3__main-menu > nav > ul > li:hover > a,
.berwa-header .tp-header-3__main-menu > nav > ul > li > a:hover {
    color: #1dad30;
}

.berwa-header__actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
}

.berwa-header__donate {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1dad30;
    color: #fff !important;
    border-radius: 999px;
    padding: 11px 22px;
    font-weight: 700;
    white-space: nowrap;
}

.berwa-header__donate:hover {
    background: #178a26;
    color: #fff !important;
}

@media (max-width: 1199px) {
    .berwa-work-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .berwa-hero h1 {
        font-size: 40px;
    }

    .berwa-intro__grid,
    .berwa-mv__grid,
    .berwa-work-grid,
    .berwa-news-grid,
    .berwa-need-grid,
    .berwa-impact-grid {
        grid-template-columns: 1fr;
    }

    .berwa-staff-grid {
        grid-template-columns: 1fr 1fr;
    }

    .berwa-mv__card.is-mission {
        transform: none;
    }

    .berwa-join {
        min-height: 100svh;
        padding: 80px 16px;
    }

    .berwa-join__content h3 {
        font-size: 32px;
    }
}

.berwa-update-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 28px;
}

.berwa-update-gallery img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    object-position: center;
    background: #e8eeea;
    border-radius: 10px;
}

@media (max-width: 767px) {
    .berwa-update-gallery {
        grid-template-columns: 1fr 1fr;
    }
}

.berwa-director {
    padding: 70px 0;
    background: #f4f7f6;
}

.berwa-director__stack {
    display: grid;
    gap: 24px;
}

.berwa-director__card {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 36px;
    align-items: start;
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 12px 32px rgba(20, 42, 36, 0.08);
}

.berwa-director__card.is-bishop {
    border-top: 4px solid #c9a227;
}

.berwa-director__card.is-director {
    border-top: 4px solid #1dad30;
}

.berwa-director__photo {
    background: #eef3f1;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.berwa-director__photo img {
    width: 100%;
    height: auto;
    max-height: 460px;
    object-fit: contain;
    object-position: center top;
    display: block;
}

.berwa-director__copy h3 {
    color: #1e3737;
    margin-bottom: 6px;
}

.berwa-director__role {
    color: #1dad30;
    font-weight: 700;
    margin-bottom: 14px;
}

.berwa-director__copy p {
    color: #4b5c5c;
    max-width: 640px;
}

.berwa-director__link {
    display: inline-block;
    margin-top: 8px;
    color: #1a5c3a;
    font-weight: 700;
}

.berwa-team-page {
    padding: 80px 0 40px;
}

.berwa-staff-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.berwa-staff-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(20, 42, 36, 0.08);
}

.berwa-staff-card img {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center top;
    background: #eef3f1;
    display: block;
}

.berwa-staff-card__body {
    padding: 20px 18px 24px;
    text-align: center;
}

.berwa-staff-card__body h4 {
    color: #1e3737;
    margin-bottom: 4px;
}

.berwa-staff-card__body span {
    display: block;
    color: #1dad30;
    font-weight: 700;
    margin-bottom: 10px;
}

.berwa-staff-card__body p {
    color: #4b5c5c;
    margin: 0;
    font-size: 15px;
}

@media (max-width: 767px) {
    .berwa-director__card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .berwa-director__photo img {
        max-height: 520px;
    }

    .berwa-director__copy p {
        margin-left: auto;
        margin-right: auto;
    }

    .berwa-staff-grid {
        grid-template-columns: 1fr;
    }
}

.berwa-prose {
    color: #3d4f4f;
    line-height: 1.75;
    font-size: 17px;
}

.berwa-prose p {
    margin-bottom: 1em;
}

.berwa-prose p:last-child {
    margin-bottom: 0;
}

.berwa-prose ul,
.berwa-prose ol {
    margin: 0 0 1em 1.25em;
}

.berwa-prose li {
    margin-bottom: 0.35em;
}

.berwa-prose h1,
.berwa-prose h2,
.berwa-prose h3,
.berwa-prose h4 {
    color: #1e3737;
    margin: 0.9em 0 0.4em;
}

.berwa-prose img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.berwa-prose a {
    color: #1a5c3a;
    font-weight: 600;
}

.berwa-gallery {
    padding: 90px 0 100px;
    background: #f4f7f6;
}

.berwa-gallery--embedded {
    padding: 28px 0 8px;
    background: transparent;
}

.berwa-gallery__heading {
    font-size: 22px;
    margin: 0 0 4px;
    color: #123f28;
}

.berwa-gallery__more {
    margin: 18px 0 0;
    text-align: center;
}

.berwa-gallery__more a {
    color: #1a5c3a;
    font-weight: 700;
}

.berwa-gallery .berwa-section-title p {
    max-width: 520px;
    margin: 14px auto 0;
    color: #4b5c5c;
}

.berwa-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 40px;
}

.berwa-gallery__grid--embedded {
    margin-top: 16px;
    gap: 12px;
}

.berwa-gallery__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 14px;
    aspect-ratio: 4 / 3;
    background: #e8eeea;
    box-shadow: 0 10px 24px rgba(20, 42, 36, 0.08);
}

.berwa-gallery__item.is-featured {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: auto;
    min-height: 100%;
}

.berwa-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

.berwa-gallery__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(180deg, rgba(20, 42, 36, 0.05) 0%, rgba(20, 42, 36, 0.72) 100%);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 18px;
    text-align: center;
}

.berwa-gallery__overlay i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.berwa-gallery__overlay em {
    font-style: normal;
    font-size: 14px;
    font-weight: 600;
    max-width: 90%;
}

.berwa-gallery__item:hover .berwa-gallery__overlay {
    opacity: 1;
}

.berwa-pagination {
    display: flex;
    justify-content: center;
    margin-top: 42px;
}

.berwa-pagination ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.berwa-pagination a,
.berwa-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border-radius: 50%;
    background: #fff;
    color: #1a5c3a;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 6px 16px rgba(20, 42, 36, 0.08);
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.berwa-pagination a:hover,
.berwa-pagination .is-active span {
    background: #1a5c3a;
    color: #fff;
}

.berwa-pagination .is-disabled span {
    opacity: 0.4;
    box-shadow: none;
}

@media (max-width: 991px) {
    .berwa-gallery__grid {
        grid-template-columns: 1fr 1fr;
    }

    .berwa-gallery__item.is-featured {
        grid-column: span 2;
        grid-row: span 1;
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 767px) {
    .berwa-gallery__grid {
        grid-template-columns: 1fr;
    }

    .berwa-gallery__item.is-featured {
        grid-column: span 1;
        aspect-ratio: 4 / 3;
    }
}

#preloader,
.preloader {
    display: none !important;
}

@keyframes berwa-rise {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.berwa-card,
.berwa-need-card,
.berwa-gallery__item,
.berwa-mv__card,
.berwa-use-card,
.berwa-director__card,
.berwa-staff-card,
.berwa-intro__photo,
.berwa-intro__copy,
.berwa-join__content,
.berwa-section-title,
.berwa-form-shell,
.berwa-why .row.justify-content-center,
.sidebar__widget,
.postbox__item,
.tp-contact__item,
.berwa-reveal {
    opacity: 0;
    transform: translate3d(0, 28px, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.berwa-reveal.is-in,
.berwa-card.is-in,
.berwa-need-card.is-in,
.berwa-gallery__item.is-in,
.berwa-mv__card.is-in,
.berwa-use-card.is-in,
.berwa-director__card.is-in,
.berwa-staff-card.is-in,
.berwa-intro__photo.is-in,
.berwa-intro__copy.is-in,
.berwa-join__content.is-in,
.berwa-section-title.is-in,
.berwa-form-shell.is-in,
.sidebar__widget.is-in,
.postbox__item.is-in,
.tp-contact__item.is-in,
.berwa-why .row.justify-content-center.is-in {
    opacity: 1;
    transform: none;
}

.berwa-card.is-in {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.berwa-card.is-in:hover {
    transform: translateY(-6px);
}

@media (prefers-reduced-motion: reduce) {
    .berwa-hero__inner {
        animation: none;
    }

    .berwa-card,
    .berwa-need-card,
    .berwa-gallery__item,
    .berwa-mv__card,
    .berwa-use-card,
    .berwa-director__card,
    .berwa-staff-card,
    .berwa-intro__photo,
    .berwa-intro__copy,
    .berwa-join__content,
    .berwa-section-title,
    .berwa-form-shell,
    .berwa-why .row.justify-content-center,
    .sidebar__widget,
    .postbox__item,
    .tp-contact__item,
    .berwa-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}
