/* Banner */
.page-banner {
    background: #8F0D06;
    padding: 90px 10px 140px 10px;
    text-align: center;
    position: relative;
    margin-top: 144px;
}

/* golden border style */
.page-banner .banner-image {
    /* content: ""; */
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    height: 60px;
    width: 100%;
}

.page-banner h2 {
    font-size: 50px;
    line-height: 50px;
    font-weight: 400;
    color: #F8C500;
}

/* Section */
.about-temple {
    padding: 100px 20px;
    background: #fff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 30px;
    align-items: start;
}

/* Headings */
.about-text h2 {
    color: #970505;
    font-size: 32px;
    line-height: 30px;
    margin-bottom: 20px;
    font-weight: 400;
}

/* Paragraph */
.about-text p {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #333;
}

.about-text p:last-child {
    margin-bottom: 0;
}

.about-text .core-objectives {
    margin-top: 50px;
}

.core-objectives p {
    margin-bottom: 16px;
}

.core-objectives ul {
    padding-left: 24px;
    margin-bottom: 20px;
}

.core-objectives ul li {
    color: #333;
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
}

/* Image */
.about-image img {
    width: 100%;
}

.temple-image {
    width: 100%;
    height: 230px;
    background: url("/images/temple.png") center/cover no-repeat;
}

.divine-section {
    position: relative;
    background-color: #f4b400;
    /* yellow base */
    padding: 100px 20px;
    text-align: center;
    overflow: hidden;
}

/* background pattern */
.divine-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/images/join_p_bg.jpg") top/cover no-repeat;
    opacity: 0.15;
    z-index: 0;
}

.divine-container {
    max-width: 900px;
    margin: auto;
    position: relative;
    z-index: 1;
}

.divine-section h2 {
    color: #970505;
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    margin-bottom: 20px;
}

.divine-section p {
    color: #333;
    font-size: 18px;
    line-height: 28px;
    font-weight: 400;
    margin-bottom: 12px;
}

.divine-center {
    border: 1px solid #970505;
    padding: 20px 42px;
    display: flex;
    align-items: center;
    border-radius: 20px;
    margin-bottom: 20px;
}

.divine-center img {
    margin-right: 20px;
}

.divine-center h5 {
    color: #970505;
    font-size: 26px;
    line-height: 28px;
    font-weight: 400;
    margin: 0;
    font-family: Arapey;
    text-align: start;
}

.services {
    padding: 60px 20px;
    background: #f5f5f5;
}

.section-title {
    text-align: center;
    color: #970505;
    font-size: 50px;
    line-height: 50px;
    margin-bottom: 40px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

/* card */
.service-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 5px 5px 15px 0px #00000033;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* orange header */
.card-head {
    background: #D26218;
    color: #fff;
    padding: 20px;
    font-weight: 400;
    font-size: 20px;
    line-height: 22px;
    height: 80px;
    display: flex;
    align-items: center;
}

/* body */
.card-body {
    padding: 20px;
    font-size: 14px;
    line-height: 20px;
    color: #333;
    font-weight: 400;
}

.card-body strong {
    display: block;
    font-weight: 700;
    margin-bottom: 14px;
}

.card-body ul {
    padding-left: 18px;
    margin: 0;
}

.card-body li {
    margin-bottom: 6px;
}

@media (min-width: 1400px) {
    .divine-container {
        max-width: 1100px;
    }
}

@media (max-width: 1200px) {

    .page-banner h2 {
        font-size: 42px;
    }

    .about-text h2,
    .divine-section h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 40px;
    }

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

@media (max-width: 992px) {

    /* banner */
    .page-banner {
        padding: 70px 10px 120px;
        margin-top: 144px;
    }

    .page-banner .banner-image {
        height: 40px;
    }

    .page-banner h2 {
        font-size: 36px;
        line-height: 42px;
    }

    /* about */
    .about-temple {
        padding: 70px 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

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

    /* divine */
    .divine-section {
        padding: 70px 20px;
    }

    .divine-center {
        padding: 18px 24px;
    }

    .divine-center h5 {
        font-size: 20px;
    }

    .divine-center img {
        height: 24px;
        width: 30px;
    }

    /* services */
    .section-title {
        font-size: 36px;
    }
}


@media (max-width: 768px) {

    /* banner */
    .page-banner {
        margin-top: 144px;
        padding: 60px 10px 100px;
    }

    .page-banner h2 {
        font-size: 28px;
        line-height: 34px;
    }

    .page-banner .banner-image {
        height: 40px;
    }

    /* about */
    .about-temple {
        padding: 50px 15px;
    }

    .about-text h2 {
        font-size: 24px;
        line-height: 30px;
    }

    .about-text p,
    .core-objectives ul li {
        font-size: 14px;
        line-height: 24px;
    }

    .about-text .core-objectives {
        margin-top: 30px;
    }

    /* temple image */
    .temple-image {
        height: 180px;
    }

    /* divine */
    .divine-section {
        padding: 60px 15px;
    }

    .divine-section p {
        font-size: 15px;
    }

    .divine-center {
        text-align: center;
        align-items: start;
        padding: 15px;
    }

    .divine-center img {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .divine-center h5 {
        font-size: 18px;
        text-align: center;
    }

    /* services */
    .section-title {
        font-size: 28px;
        line-height: 32px;
    }
}

@media (max-width: 576px) {
    .page-banner {
        margin-top: 104px;
        padding: 40px 10px 70px;
    }

    .page-banner h2 {
        font-size: 22px;
    }

    .page-banner .banner-image {
        height: 20px;
    }

    .about-text h2 {
        font-size: 20px;
    }

    .service-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .divine-section h2 {
        font-size: 22px;
        line-height: 30px;
    }

    .divine-section p {
        font-size: 14px;
        line-height: 22px;
    }

}