.phpb-home {
    --phpb-primary: #2563eb;
    --phpb-primary-dark: #1d4ed8;
    --phpb-primary-light: #eff6ff;

    --phpb-text: #172033;
    --phpb-text-secondary: #475569;
    --phpb-muted: #64748b;

    --phpb-border: #e5e7eb;
    --phpb-background: #f8fafc;

    --phpb-radius: 20px;
}

.phpb-home section {
    position: relative;
}

.phpb-home h1,
.phpb-home h2,
.phpb-home h3,
.phpb-home h4,
.phpb-home h5 {
    color: var(--phpb-text);
}

.phpb-home a {
    text-decoration: none;
}

.phpb-section-heading {
    margin-bottom: 48px;
}

.phpb-section-heading h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.7px;
}

.phpb-section-heading p {
    margin: 0;
    color: var(--phpb-muted);
    font-size: 0.95rem;
}


.phpb-section-label {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    color: var(--phpb-primary);

    font-size: 0.78rem;
    font-weight: 700;

    text-transform: uppercase;
    letter-spacing: .7px;
}

.phpb-section-label i {
    font-size: .9rem;
}

.phpb-hero-section {
    padding: 25px 0 30px;
}

.phpb-hero-carousel {
    border-radius: 24px;
    overflow: hidden;

    box-shadow:
        0 20px 60px rgba(15, 23, 42, .15);
}

.phpb-hero-image-wrapper {
    position: relative;
    height: 480px;
    overflow: hidden;
}

.phpb-hero-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;
}

.phpb-hero-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(15, 23, 42, .78) 0%,
            rgba(15, 23, 42, .52) 38%,
            rgba(15, 23, 42, .15) 72%,
            rgba(15, 23, 42, .05) 100%
        );
}

.phpb-hero-caption {
    z-index: 3;

    left: 8%;
    right: auto;

    bottom: 16%;

    max-width: 580px;

    padding: 0 !important;

    text-align: left;
}

.phpb-hero-caption h2 {
    color: #fff;

    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.12;

    font-weight: 800;

    letter-spacing: -1px;

    margin-bottom: 15px;
}

.phpb-hero-caption p {
    color: rgba(255, 255, 255, .9);

    font-size: 1rem;
    line-height: 1.7;

    margin-bottom: 22px;
}

.phpb-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    background: var(--phpb-primary);
    color: #fff;

    border: 0;

    border-radius: 12px;

    padding: 11px 19px;

    font-weight: 600;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        background .25s ease;
}

.phpb-btn-primary:hover {
    color: #fff;

    background: var(--phpb-primary-dark);

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px rgba(37, 99, 235, .25);
}

.phpb-btn-primary i {
    transition: transform .25s ease;
}

.phpb-btn-primary:hover i {
    transform: translateX(3px);
}


/* Carousel */

.phpb-hero-carousel .carousel-indicators {
    z-index: 5;

    margin-bottom: 20px;
}

.phpb-hero-carousel .carousel-indicators button {
    width: 25px;
    height: 4px;

    margin: 0 4px;

    border: 0;
    border-radius: 10px;

    opacity: .6;
}

.phpb-hero-carousel .carousel-indicators button.active {
    opacity: 1;
}

.phpb-carousel-control {
    z-index: 5;

    width: 8%;
}

.phpb-carousel-arrow {
    width: 44px;
    height: 44px;

    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #fff;

    background: rgba(255, 255, 255, .18);

    backdrop-filter: blur(10px);

    transition: all .25s ease;
}

.phpb-carousel-arrow:hover {
    background: rgba(255, 255, 255, .3);
}

.phpb-about-section {
    padding: 90px 0;

    background: #fff;
}

.phpb-about-logo-wrapper {
    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 320px;
}

.phpb-about-logo-card {
    position: relative;
    z-index: 2;

    width: 270px;
    height: 270px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #fff;

    border-radius: 50%;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .10),
        0 0 0 12px rgba(37, 99, 235, .04);
}

.phpb-about-logo {
    width: 80%;
    height: 80%;

    object-fit: contain;
}

.phpb-about-decoration {
    position: absolute;

    border-radius: 50%;
}

.phpb-decoration-one {
    width: 170px;
    height: 170px;

    background: rgba(37, 99, 235, .06);

    top: 5px;
    left: 18%;
}

.phpb-decoration-two {
    width: 90px;
    height: 90px;

    background: rgba(37, 99, 235, .08);

    right: 16%;
    bottom: 15px;
}

.phpb-about-title {
    margin: 8px 0 10px;

    font-size: clamp(2rem, 4vw, 2.8rem);

    font-weight: 800;

    letter-spacing: -1px;
}

.phpb-about-name {
    color: var(--phpb-primary);

    font-size: 1.05rem;

    font-weight: 600;

    margin-bottom: 18px;
}

.phpb-about-line {
    width: 50px;
    height: 4px;

    background: var(--phpb-primary);

    border-radius: 10px;

    margin-bottom: 20px;
}

.phpb-about-description {
    color: var(--phpb-text-secondary);

    font-size: 1rem;

    line-height: 1.8;

    margin-bottom: 25px;
}

.phpb-stats-section {
    padding: 80px 0;

    background: var(--phpb-background);
}

.phpb-stat-card {
    position: relative;

    height: 100%;

    padding: 30px 18px;

    background: #fff;

    border: 1px solid #eef0f4;

    border-radius: 18px;

    text-align: center;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.phpb-stat-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 10px;

    background: var(--stat-color);
}

.phpb-stat-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .08);
}

.phpb-stat-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: color-mix(
        in srgb,
        var(--stat-color) 9%,
        transparent
    );

    color: var(--stat-color);

    font-size: 2.00rem;
}

.phpb-stat-number {
    color: var(--stat-color);

    font-size: 2.1rem;

    line-height: 1;

    font-weight: 800;

    margin-bottom: 8px;
}

.phpb-stat-label {
    color: var(--phpb-muted);

    font-size: 1.4rem;

    font-weight: 600;
}

.phpb-family-section {
    padding: 90px 0;

    background: #fff;
}

.phpb-family-card {
    position: relative;

    height: 100%;

    display: flex;
    flex-direction: column;

    padding: 26px;

    background: #fff;

    border: 1px solid var(--phpb-border);

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.phpb-family-card::after {
    content: "";

    position: absolute;

    width: 120px;
    height: 120px;

    right: -50px;
    bottom: -55px;

    border-radius: 50%;

    background: rgba(37, 99, 235, .04);
}

.phpb-family-card:hover {
    transform: translateY(-7px);

    border-color: rgba(37, 99, 235, .2);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .08);
}

.phpb-family-icon {
    width: 50px;
    height: 50px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 20px;

    border-radius: 14px;

    background: var(--phpb-primary-light);

    color: var(--phpb-primary);

    font-size: 1.2rem;
}

.phpb-family-content {
    flex: 1;
}

.phpb-family-content h5 {
    margin-bottom: 9px;

    font-size: 1.50rem;

    font-weight: 700;
}

.phpb-family-content p {
    color: var(--phpb-muted);

    font-size: 1.40rem;

    line-height: 1.6;

    margin-bottom: 20px;
}

.phpb-family-footer {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 16px;

    border-top: 1px solid #f1f5f9;

    color: var(--phpb-muted);

    font-size: 1.2rem;

    font-weight: 600;
}

.phpb-family-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.phpb-family-footer span i {
    color: var(--phpb-primary);
}

.phpb-family-footer > i {
    color: var(--phpb-primary);

    transition: transform .25s ease;
}

.phpb-family-card:hover .phpb-family-footer > i {
    transform: translate(3px, -3px);
}

.phpb-management-section {
    padding: 90px 0;

    background: var(--phpb-background);
}

.phpb-management-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid var(--phpb-border);

    border-radius: 22px;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, .06);
}

.phpb-management-header {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 23px 28px;

    color: #fff;

    background:
        linear-gradient(
            135deg,
            var(--phpb-primary),
            var(--phpb-primary-dark)
        );
}

.phpb-management-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: rgba(255, 255, 255, .15);

    font-size: 1.50rem;
}

.phpb-management-header span {
    display: block;

    font-size: 1.20rem;

    font-weight: 700;
}

.phpb-management-header small {
    display: block;

    margin-top: 3px;

    color: rgba(255, 255, 255, .75);

    font-size: 1.0rem;
}

.phpb-management-body {
    padding: 30px;

    color: var(--phpb-text-secondary);

    line-height: 1.9;

    font-size: 1.0rem;
}

.phpb-activity-section {
    padding: 90px 0;

    background: #fff;
}

.phpb-list-header {
    display: flex;

    align-items: flex-end;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 38px;
}

.phpb-list-header h2 {
    margin: 6px 0;

    font-size: clamp(1.7rem, 4vw, 2.3rem);

    font-weight: 800;

    letter-spacing: -.7px;
}

.phpb-list-header p {
    margin: 0;

    color: var(--phpb-muted);

    font-size: 1.15rem;
}

.phpb-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    white-space: nowrap;

    padding: 9px 15px;

    color: var(--phpb-primary);

    background: transparent;

    border: 1px solid rgba(37, 99, 235, .3);

    border-radius: 10px;

    font-size: .82rem;

    font-weight: 600;

    transition: all .25s ease;
}

.phpb-btn-outline:hover {
    color: #fff;

    background: var(--phpb-primary);

    border-color: var(--phpb-primary);

    transform: translateY(-2px);
}

.phpb-activity-card {
    height: 100%;

    display: flex;
    flex-direction: column;

    background: #fff;

    border: 1px solid var(--phpb-border);

    border-radius: 20px;

    overflow: hidden;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.phpb-activity-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .08);
}

.phpb-activity-card-body {
    flex: 1;

    padding: 25px;
}

.phpb-date-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    padding: 6px 10px;

    color: var(--phpb-primary);

    background: var(--phpb-primary-light);

    border-radius: 8px;

    font-size: .74rem;

    font-weight: 700;

    margin-bottom: 15px;
}

.phpb-activity-card h5 {
    font-size: 1.05rem;

    line-height: 1.45;

    margin-bottom: 13px;
}

.phpb-location {
    display: flex;
    align-items: flex-start;
    gap: 7px;

    color: var(--phpb-muted);

    font-size: .8rem;

    margin-bottom: 15px;
}

.phpb-location i {
    color: var(--phpb-primary);

    margin-top: 2px;
}

.phpb-activity-card-body p {
    color: var(--phpb-muted);

    font-size: .85rem;

    line-height: 1.65;

    margin: 0;
}

.phpb-card-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 14px 25px;

    color: var(--phpb-primary);

    background: #fafafa;

    border-top: 1px solid #f1f5f9;

    font-size: .76rem;

    font-weight: 600;
}

.phpb-card-bottom i {
    transition: transform .25s ease;
}

.phpb-activity-card:hover .phpb-card-bottom i {
    transform: translate(3px, -3px);
}

.phpb-news-section {
    padding: 90px 0;

    background: var(--phpb-background);
}

.phpb-news-card {
    height: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid var(--phpb-border);

    border-radius: 20px;

    transition:
        transform .25s ease,
        box-shadow .25s ease;
}

.phpb-news-card:hover {
    transform: translateY(-7px);

    box-shadow:
        0 18px 40px rgba(15, 23, 42, .09);
}

.phpb-news-image-wrapper {
    height: 215px;

    overflow: hidden;

    background: #e2e8f0;
}

.phpb-news-image {
    width: 100%;
    height: 100%;

    object-fit: cover;

    display: block;

    transition: transform .45s ease;
}

.phpb-news-card:hover .phpb-news-image {
    transform: scale(1.05);
}

.phpb-news-body {
    padding: 24px;
}

.phpb-news-body h5 {
    margin-bottom: 12px;

    font-size: 1.05rem;

    line-height: 1.45;
}

.phpb-news-body p {
    color: var(--phpb-muted);

    font-size: .85rem;

    line-height: 1.65;

    margin: 0;
}

@media (max-width: 991.98px) {

    .phpb-hero-image-wrapper {
        height: 400px;
    }

    .phpb-hero-caption {
        bottom: 13%;
        max-width: 500px;
    }

    .phpb-about-section,
    .phpb-family-section,
    .phpb-management-section,
    .phpb-activity-section,
    .phpb-news-section {
        padding: 70px 0;
    }

    .phpb-stats-section {
        padding: 65px 0;
    }

    .phpb-about-logo-wrapper {
        min-height: 280px;
    }

}

@media (max-width: 767.98px) {

    .phpb-hero-section {
        padding: 12px 0 20px;
    }

    .phpb-hero-carousel {
        border-radius: 16px;
    }

    .phpb-hero-image-wrapper {
        height: 300px;
    }

    .phpb-hero-overlay {
        background:
            linear-gradient(
                180deg,
                rgba(15, 23, 42, .15),
                rgba(15, 23, 42, .78)
            );
    }

    .phpb-hero-caption {
        left: 7%;
        right: 7%;

        bottom: 15%;

        max-width: none;
    }

    .phpb-hero-caption h2 {
        font-size: 1.5rem;

        margin-bottom: 8px;
    }

    .phpb-hero-caption p {
        font-size: .8rem;

        line-height: 1.5;

        margin-bottom: 13px;
    }

    .phpb-hero-caption .phpb-btn-primary {
        padding: 8px 13px;

        font-size: .78rem;
    }

    .phpb-carousel-arrow {
        width: 34px;
        height: 34px;

        font-size: .8rem;
    }

    .phpb-about-section,
    .phpb-family-section,
    .phpb-management-section,
    .phpb-activity-section,
    .phpb-news-section {
        padding: 60px 0;
    }

    .phpb-stats-section {
        padding: 55px 0;
    }

    .phpb-section-heading {
        margin-bottom: 30px;
    }

    .phpb-section-heading h2 {
        font-size: 1.7rem;
    }

    .phpb-section-heading p {
        font-size: .85rem;
    }

    .phpb-about-logo-wrapper {
        min-height: 230px;

        margin-bottom: 15px;
    }

    .phpb-about-logo-card {
        width: 200px;
        height: 200px;
    }

    .phpb-decoration-one {
        width: 120px;
        height: 120px;
    }

    .phpb-decoration-two {
        width: 65px;
        height: 65px;
    }

    .phpb-about-title {
        font-size: 2rem;
    }

    .phpb-about-description {
        font-size: .9rem;

        line-height: 1.7;
    }

    .phpb-stat-card {
        padding: 22px 10px;
    }

    .phpb-stat-icon {
        width: 44px;
        height: 44px;

        margin-bottom: 13px;

        font-size: 1rem;
    }

    .phpb-stat-number {
        font-size: 1.55rem;
    }

    .phpb-stat-label {
        font-size: .78rem;
    }

    .phpb-family-card {
        padding: 22px;
    }

    .phpb-management-header {
        padding: 18px 20px;
    }

    .phpb-management-body {
        padding: 22px;

        font-size: .87rem;
    }

    .phpb-list-header {
        align-items: flex-start;

        flex-direction: column;

        margin-bottom: 28px;
    }

    .phpb-list-header h2 {
        font-size: 1.7rem;
    }

    .phpb-list-header p {
        font-size: .82rem;
    }

    .phpb-btn-outline {
        padding: 8px 12px;

        font-size: .75rem;
    }

    .phpb-news-image-wrapper {
        height: 190px;
    }

}

@media (max-width: 420px) {

    .phpb-hero-image-wrapper {
        height: 270px;
    }

    .phpb-hero-caption h2 {
        font-size: 1.3rem;
    }

    .phpb-hero-caption p {
        display: none;
    }

    .phpb-about-title {
        font-size: 1.8rem;
    }

    .phpb-stat-number {
        font-size: 1.4rem;
    }

    .phpb-stat-card {
        padding: 20px 8px;
    }

}