* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
}

.home-page {
    background-color: #f5f2e8;
    color: #244f35;
    font-family: "Roboto", sans-serif;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page strong {
    font-family: "Playfair Display", serif;
}

.home-header {
    height: 78px;
    padding: 0 7%;
    background-color: #f5f2e8;
    border-bottom: 1px solid #dedace;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.home-logo {
    display: flex;
    align-items: center;
    gap: 13px;

    color: #214c31;
    text-decoration: none;
    font-family: "Playfair Display", serif;
    font-size: 22px;
    font-weight: bold;
}

.home-logo-symbol {
    width: 29px;
    height: 36px;
    background-color: #28592e;
    color: white;
    border-radius: 15px 15px 18px 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    font-family: "Roboto", sans-serif;
    font-size: 17px;
}

.home-navigation a {
    color: #59665c;
    text-decoration: none;
    font-size: 15px;
}

.home-navigation a:hover {
    color: #28592e;
}

.home-hero {
    min-height: 650px;
    padding: 70px 7%;
    background-color: #f5f2e8;

    display: flex;
    align-items: center;
    gap: 75px;
}

.hero-text {
    width: 47%;
}

.eyebrow {
    margin: 0 0 22px;
    color: #b8924a;
    font-size: 12px;
    font-weight: bold;
    letter-spacing: 3px;
}

.hero-text h1 {
    margin: 0 0 28px;
    color: #173f2c;
    font-size: 60px;
    font-weight: bold;
    line-height: 1.08;
}

.hero-text h1 span {
    font-weight: normal;
}

.hero-description {
    max-width: 560px;
    margin: 0 0 34px;
    color: #667066;
    font-size: 17px;
    line-height: 1.7;
}

.home-search {
    width: 100%;
    max-width: 620px;

    display: flex;
    gap: 12px;
}

.home-search input {
    flex: 1;
    min-width: 0;
    padding: 16px 18px;

    background-color: white;
    border: 1px solid #dadfd8;
    border-radius: 7px;

    color: #344438;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
}

.home-search input:focus {
    outline: 2px solid #8eaa95;
    border-color: #28592e;
}

.home-search button {
    padding: 0 28px;
    background-color: #28592e;
    border: none;
    border-radius: 7px;

    color: white;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
}

.home-search button:hover {
    background-color: #3e7252;
}

.use-location {
    margin-top: 18px;

    display: flex;
    align-items: center;
    gap: 9px;

    color: #28592e;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.use-location span {
    color: #3e7252;
    font-size: 17px;
}

.hero-image {
    position: relative;
    width: 53%;
    overflow: hidden;
    border-radius: 15px;
}

.hero-image img {
    display: block;
    width: 100%;
    height: 510px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 18px 30px rgba(28, 54, 37, 0.14);
}
.hero-image::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    background-image:
        linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);

    background-size: 55px 55px;
    border-radius: 15px;
    pointer-events: none;
}

.photo-marker {
    position: absolute;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 7px;
}

.marker-pin {
    width: 34px;
    height: 40px;
    background-color: #28592e;
    border: 2px solid white;
    border-radius: 18px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-size: 14px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
}

.catholic-pin {
    background-color: #b8924a;
}

.marker-name {
    padding: 6px 10px;
    background-color: #214c31;
    border-radius: 5px;

    color: white;
    font-size: 10px;
    font-weight: bold;
}

.marker-furong {
    top: 30%;
    right: 24%;
}

.marker-tianxin {
    top: 62%;
    left: 42%;
}

.marker-kaifu {
    right: 22%;
    bottom: 13%;
}
.category-section {
    padding: 70px 7% 80px;
    background-color: white;
}

.home-section-heading {
    margin-bottom: 34px;
}

.home-section-heading h2 {
    margin: 0 0 10px;
    color: #173f2c;
    font-size: 34px;
}

.home-section-heading > p {
    margin: 0;
    color: #667066;
    font-size: 14px;
}

.category-list {
    display: flex;
    gap: 22px;
}

.category-card {
    flex: 1;
    min-height: 170px;
    padding: 25px 22px;

    background-color: #f5f2e8;
    border: 1px solid #e2ded2;
    border-radius: 12px;

    color: #244f35;
    text-decoration: none;
}

.category-card:hover {
    border-color: #b8924a;
    transform: translateY(-3px);
}

.category-icon {
    display: block;
    margin-bottom: 18px;

    color: #28592e;
    font-size: 22px;
    font-weight: bold;
}

.category-card h3 {
    margin: 0 0 9px;
    color: #173f2c;
    font-family: "Roboto", sans-serif;
    font-size: 15px;
}

.category-card p {
    margin: 0;
    color: #6c736c;
    font-size: 12px;
    line-height: 1.5;
}

.services-section {
    padding: 70px 7% 80px;
    background-color: #f5f2e8;
}

.services-note {
    color: #b8924a !important;
    font-size: 11px !important;
    letter-spacing: 0.5px;
}

.service-list {
    display: flex;
    gap: 24px;
}

.service-card {
    flex: 1;
    min-height: 165px;
    padding: 23px;

    background-color: white;
    border: 1px solid #dedfd9;
    border-radius: 12px;
}

.service-card-top {
    margin-bottom: 18px;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.service-label {
    padding: 5px 9px;
    border-radius: 4px;

    font-size: 9px;
    font-weight: bold;
    letter-spacing: 1px;
}

.protestant-label {
    background-color: #e7eee8;
    color: #28592e;
}

.catholic-label {
    background-color: #f5ecd8;
    color: #a57928;
}

.service-district {
    color: #8a918a;
    font-size: 10px;
}

.service-card h3 {
    margin: 0 0 7px;
    color: #173f2c;
    font-size: 18px;
}

.service-church {
    margin: 0 0 19px;
    color: #4e5c52;
    font-size: 12px;
}

.service-details {
    display: flex;
    gap: 18px;

    color: #6d776e;
    font-size: 11px;
}

.about-section {
    min-height: 530px;
    padding: 75px 7%;
    background-color: #163f2d;
    color: white;

    display: flex;
    align-items: center;
    gap: 80px;
}

.about-text {
    width: 55%;
}

.about-eyebrow {
    margin: 0 0 18px;
    color: #d2aa54;
    font-size: 11px;
    font-weight: bold;
    letter-spacing: 2px;
}

.about-text h2 {
    margin: 0 0 20px;
    color: #f5f2e8;
    font-size: 38px;
}

.about-description {
    max-width: 580px;
    margin: 0 0 28px;
    color: #c1cec5;
    font-size: 15px;
    line-height: 1.7;
}

.about-list {
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}

.about-list li {
    margin-bottom: 14px;

    display: flex;
    align-items: center;
    gap: 14px;

    color: #d8e0da;
    font-size: 14px;
}

.about-list li span {
    width: 25px;
    height: 25px;
    border: 1px solid #557261;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    color: #d2aa54;
    font-size: 12px;
}

.explore-map-button {
    display: inline-flex;
    align-items: center;
    gap: 13px;

    padding: 13px 19px;
    background-color: #f5f2e8;
    border-radius: 6px;

    color: #214c31;
    text-decoration: none;
    font-size: 13px;
    font-weight: bold;
}

.explore-map-button:hover {
    background-color: white;
}

.about-graphic {
    width: 45%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.about-ring {
    border: 1px solid #42624f;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ring-large {
    width: 270px;
    height: 270px;
}

.ring-middle {
    width: 205px;
    height: 205px;
}

.ring-small {
    width: 135px;
    height: 135px;
}

.about-map-symbol {
    width: 38px;
    height: 45px;

    background-color: #28592e;
    border: 1px solid #e9efe9;
    border-radius: 20px;

    display: flex;
    justify-content: center;
    align-items: center;

    color: white;
    font-size: 19px;
}

.home-footer {
    padding: 35px 7% 22px;
    background-color: #163f2d;
    color: white;
}

.footer-top {
    padding-bottom: 28px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-brand strong {
    color: #f5f2e8;
    font-size: 16px;
}

.footer-brand p {
    margin: 8px 0 0;
    color: #8ea397;
    font-size: 12px;
}

.footer-navigation {
    display: flex;
    gap: 28px;
}

.footer-navigation a {
    color: #b8c7be;
    text-decoration: none;
    font-size: 12px;
}

.footer-navigation a:hover {
    color: white;
}

.footer-copyright {
    margin: 0;
    padding-top: 20px;
    border-top: 1px solid #315744;

    color: #758e80;
    font-size: 10px;
}

@media (max-width: 1000px) {
    .home-hero {
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 46px;
    }

    .hero-image img {
        height: 430px;
    }

    .category-list {
        flex-wrap: wrap;
    }

    .category-card {
        flex: none;
        width: calc(50% - 11px);
    }

    .service-list {
        flex-wrap: wrap;
    }

    .service-card {
        flex: none;
        width: calc(50% - 12px);
    }
}

@media (max-width: 768px) {
    .home-header {
        height: 66px;
        padding: 0 20px;
    }

    .home-logo {
        font-size: 17px;
    }

    .home-logo-symbol {
        width: 25px;
        height: 31px;
        font-size: 14px;
    }

    .home-navigation a {
        font-size: 13px;
    }

    .home-hero {
        min-height: auto;
        padding: 45px 20px 55px;

        flex-direction: column;
        gap: 35px;
    }

    .hero-text,
    .hero-image {
        width: 100%;
    }

    .eyebrow {
        font-size: 10px;
        letter-spacing: 2px;
    }

    .hero-text h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 14px;
    }

    .home-search input {
        padding: 13px;
        font-size: 12px;
    }

    .home-search button {
        padding: 0 18px;
        font-size: 13px;
    }

    .use-location {
        font-size: 12px;
    }

    .hero-image img {
        height: 300px;
    }

    .category-section,
    .services-section {
        padding: 50px 20px;
    }

    .home-section-heading h2 {
        font-size: 27px;
    }

    .category-list,
    .service-list {
        flex-direction: column;
    }

    .category-card,
    .service-card {
        width: 100%;
    }

    .category-card {
        min-height: auto;
    }

    .service-card {
        min-height: auto;
    }

    .service-details {
        flex-wrap: wrap;
    }

    .about-section {
        min-height: auto;
        padding: 55px 20px;

        flex-direction: column;
        gap: 45px;
    }

    .about-text,
    .about-graphic {
        width: 100%;
    }

    .about-text h2 {
        font-size: 30px;
    }

    .about-description {
        font-size: 13px;
    }

    .ring-large {
        width: 220px;
        height: 220px;
    }

    .ring-middle {
        width: 165px;
        height: 165px;
    }

    .ring-small {
        width: 105px;
        height: 105px;
    }

    .home-footer {
        padding: 32px 20px 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 25px;
    }

    .footer-navigation {
        flex-wrap: wrap;
        gap: 18px;
    }
    .marker-pin {
    width: 27px;
    height: 32px;
    font-size: 11px;
}

.marker-name {
    padding: 4px 7px;
    font-size: 8px;
}

.marker-furong {
    right: 12%;
}

.marker-tianxin {
    left: 35%;
}
}