* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(255, 255, 255);
    color: rgb(51, 51, 56);
    font-family: 'Noto Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.7;
}

h1,
h2,
h3,
h4 {
    font-family: 'Nunito', sans-serif;
    margin: 0;
    color: rgb(31, 35, 45);
}

p {
    margin: 0 0 16px 0;
}

a {
    color: rgb(199, 138, 46);
    text-decoration: none;
}

a:hover {
    color: rgb(163, 111, 32);
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
}

button {
    font-family: 'Nunito', sans-serif;
}

#siteHeader {
    background-color: rgb(255, 255, 255);
    border-bottom: solid rgb(228, 229, 233) 1px;
    position: sticky;
    top: 0;
    z-index: 500;
}

#headerInner {
    max-width: 1100px;
    margin: auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#logo {
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 21px;
    color: rgb(31, 35, 45);
    letter-spacing: 0.2px;
}

#logo span {
    font-weight: 400;
    color: rgb(199, 138, 46);
}

#logo:hover {
    color: rgb(31, 35, 45);
}

#navToggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

#navToggle span {
    display: block;
    height: 2px;
    width: 24px;
    background-color: rgb(31, 35, 45);
    border-radius: 2px;
    margin: auto;
}

#navLinks {
    display: flex;
    align-items: center;
    gap: 32px;
}

#navLinks a {
    color: rgb(65, 68, 78);
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
}

#navLinks a:hover,
#navLinks a.active {
    color: rgb(199, 138, 46);
}

.flameMark {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    color: rgb(199, 138, 46);
}

.section {
    padding: 72px 24px;
}

.sectionInner {
    max-width: 1100px;
    margin: auto;
}

.sectionNarrow {
    max-width: 760px;
    margin: auto;
}

.sectionAlt {
    background-color: rgb(247, 247, 250);
}

.sectionDark {
    background-color: rgb(27, 31, 42);
    color: rgb(220, 222, 229);
}

.sectionDark h1,
.sectionDark h2,
.sectionDark h3 {
    color: rgb(255, 255, 255);
}

.sectionDark p {
    color: rgb(196, 199, 210);
}

.sectionEyebrow {
    display: inline-block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgb(199, 138, 46);
    margin-bottom: 12px;
}

.sectionHeading {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 18px;
}

.sectionLead {
    font-size: 18px;
    color: rgb(90, 93, 104);
    max-width: 640px;
}

.sectionDark .sectionLead {
    color: rgb(196, 199, 210);
}

#hero {
    background-image: linear-gradient(160deg, rgba(27, 31, 42, 0.58), rgba(44, 50, 68, 0.58)), url('../images/PentecostalsOfRenfrew.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: rgb(255, 255, 255);
    padding: 90px 24px 80px 24px;
    text-align: center;
}

.heroInner {
    max-width: 720px;
    margin: auto;
}

.heroInner .flameMark {
    margin: 0 auto 22px auto;
    width: 44px;
    height: 44px;
}

.heroInner h1 {
    color: rgb(255, 255, 255);
    font-size: 46px;
    font-weight: 800;
    line-height: 1.15;
}

.heroTag {
    font-size: 19px;
    color: rgb(202, 205, 216);
    margin-top: 18px;
    margin-bottom: 34px;
}

.heroCtas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btnPrimary,
.btnSecondary {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 10px;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 15px;
    border: solid 2px transparent;
}

.btnPrimary {
    background-color: rgb(199, 138, 46);
    color: rgb(255, 255, 255);
}

.btnPrimary:hover {
    background-color: rgb(173, 118, 34);
    color: rgb(255, 255, 255);
}

.btnSecondary {
    background-color: transparent;
    border-color: rgb(255, 255, 255);
    color: rgb(255, 255, 255);
}

.btnSecondary:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(31, 35, 45);
}

.sectionAlt .btnSecondary {
    border-color: rgb(31, 35, 45);
    color: rgb(31, 35, 45);
}

.sectionAlt .btnSecondary:hover {
    background-color: rgb(31, 35, 45);
    color: rgb(255, 255, 255);
}

.infoCard {
    background-color: rgb(255, 255, 255);
    border: solid rgb(232, 233, 237) 1px;
    border-radius: 16px;
    padding: 28px;
}

.sectionAlt .infoCard {
    background-color: rgb(255, 255, 255);
}

.infoCard h3 {
    font-size: 19px;
    margin-bottom: 10px;
}

.infoCard .infoCardMeta {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    color: rgb(199, 138, 46);
    font-size: 14px;
    margin-bottom: 8px;
}

.infoCard p {
    color: rgb(90, 93, 104);
    margin-bottom: 0;
}

.profileLayout {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    margin-top: 36px;
}

.profileImageWrapper {
    flex: 1 1 45%;
    max-width: 500px;
}

.profileImage {
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.profileDetails {
    flex: 1 1 55%;
}

.profileTitle {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    color: rgb(31, 35, 45);
}

.profileDetails p {
    color: rgb(80, 83, 94);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 16px;
}

@media (max-width: 820px) {
    .profileLayout {
        flex-direction: column;
        gap: 28px;
    }

    .profileImageWrapper {
        max-width: 100%;
        width: 100%;
    }
}

.beliefList {
    margin-top: 32px;
    display: grid;
    gap: 18px;
}

.beliefItem {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.beliefItem .flameMark {
    width: 22px;
    height: 22px;
    margin-top: 4px;
}

.beliefItem h3 {
    font-size: 17px;
    margin-bottom: 4px;
}

.beliefItem p {
    color: rgb(90, 93, 104);
    margin-bottom: 0;
}

.carousel {
    position: relative;
    margin-top: 12px;
    border-radius: 12px;
    overflow: hidden;
}

.carouselTrack {
    display: flex;
    transition: transform 0.4s ease;
}

.carouselSlide {
    width: 100%;
    height: 600px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 12px;
}

.carouselArrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.9);
    color: rgb(31, 35, 45);
    font-size: 22px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carouselArrow:hover {
    background-color: rgb(255, 255, 255);
}

.carouselPrev {
    left: 16px;
}

.carouselNext {
    right: 16px;
}

.carouselDots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.carouselDot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background-color: rgb(210, 212, 219);
    cursor: pointer;
    padding: 0;
}

.carouselDot.active {
    background-color: rgb(199, 138, 46);
}

.buildingPhoto {
    width: 100%;
    height: 450px;
    object-fit: cover;
    border-radius: 12px;
    display: block;
    margin-top: 12px;
}

.visitGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 28px;
    align-items: stretch;
}

.visitGrid .infoCard {
    height: max-content;
}

.visitTextColumn {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.visitImageWrapper {
    width: 100%;
    height: 100%;
    min-height: 240px;
}

.visitImage {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    display: block;
}

@media (max-width: 820px) {
    .visitGrid {
        grid-template-columns: 1fr;
    }
}

.contactGrid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-top: 36px;
    align-items: start;
}

.contactDetail {
    margin-bottom: 22px;
}

.contactDetail .contactLabel {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgb(199, 138, 46);
    margin-bottom: 6px;
}

#contactForm {
    background-color: rgb(255, 255, 255);
    border: solid rgb(232, 233, 237) 1px;
    border-radius: 16px;
    padding: 32px;
}

.formGroup {
    margin-bottom: 20px;
}

.formLabel {
    display: block;
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 8px;
    color: rgb(31, 35, 45);
}

.formInput,
.formTextarea {
    width: 100%;
    padding: 12px 14px;
    border: solid rgb(210, 212, 219) 1px;
    border-radius: 8px;
    font-family: 'Noto Sans', sans-serif;
    font-size: 15px;
    color: rgb(51, 51, 56);
}

.formTextarea {
    resize: vertical;
    min-height: 130px;
}

.formInput:focus,
.formTextarea:focus {
    outline: none;
    border-color: rgb(199, 138, 46);
}

.formSubmit {
    background-color: rgb(199, 138, 46);
    color: rgb(255, 255, 255);
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    font-weight: 700;
    font-size: 15px;
    cursor: pointer;
}

.formSubmit:hover {
    background-color: rgb(173, 118, 34);
}

.successBanner {
    background-color: rgb(232, 245, 236);
    border: solid rgb(170, 213, 184) 1px;
    color: rgb(38, 105, 63);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-weight: 600;
}

.errorBanner {
    background-color: rgb(250, 235, 233);
    border: solid rgb(224, 168, 160) 1px;
    color: rgb(150, 58, 44);
    border-radius: 10px;
    padding: 16px 20px;
    margin-bottom: 28px;
    font-weight: 600;
}

.return {
    display: inline-block;
    text-decoration: none;
    color: rgb(31, 35, 45);
    margin-top: 20px;
    padding: 10px 16px;
    border: solid rgb(31, 35, 45) 1px;
    border-radius: 10px;
    background-color: rgb(247, 247, 250);
}

.return:hover {
    background-color: rgb(240, 241, 245);
    color: rgb(31, 35, 45);
}

#pageFooter {
    background-color: rgb(27, 31, 42);
    color: rgb(196, 199, 210);
    padding: 64px 24px 28px 24px;
}

#footerInner {
    max-width: 1100px;
    margin: auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
}

.footerBrand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Nunito', sans-serif;
    font-weight: 800;
    font-size: 19px;
    color: rgb(255, 255, 255);
    margin-bottom: 14px;
}

.footerBrand .flameMark {
    width: 26px;
    height: 26px;
}

#footerInner h4 {
    color: rgb(255, 255, 255);
    font-size: 15px;
    margin-bottom: 16px;
}

.footerLinks a,
.footerContact p {
    display: block;
    color: rgb(196, 199, 210);
    font-size: 15px;
    margin-bottom: 10px;
}

.footerLinks a:hover {
    color: rgb(199, 138, 46);
}

.footerContact p {
    margin-bottom: 10px;
}

#footerBottom {
    max-width: 1100px;
    margin: 48px auto 0 auto;
    padding-top: 24px;
    border-top: solid rgb(53, 58, 74) 1px;
    font-size: 13px;
    color: rgb(150, 153, 166);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
}

#footerBottom a {
    color: rgb(196, 199, 210);
}

#footerBottom a:hover {
    color: rgb(199, 138, 46);
}

@media (max-width: 820px) {
    .sectionHeading {
        font-size: 26px;
    }

    .heroInner h1 {
        font-size: 34px;
    }

    .contactGrid {
        grid-template-columns: 1fr;
    }

    #footerInner {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    #navToggle {
        display: flex;
    }

    #navLinks {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgb(255, 255, 255);
        border-bottom: solid rgb(228, 229, 233) 1px;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 8px 24px 20px 24px;
    }

    #navLinks.open {
        display: flex;
    }

    #navLinks a {
        width: 100%;
        padding: 14px 0;
        border-bottom: solid rgb(240, 241, 245) 1px;
    }
}

.serviceDetailText {
    color: rgb(90, 93, 104);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 0;
}