* {
    margin: 0;
    padding: 0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}



.home-page main {
    width: 100%;
    background-image: url("../images/Church.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 80vh;
    min-height: 80svh;
    background-attachment: scroll;
}

.home-page main {
    position: relative;
}

.home-page main::before {
    content: "";              
    position: absolute;       
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);  
    z-index: 1;
    will-change: transform;
}

.home-page main {
    overflow: hidden;
}


.home-page .navbar {
    width: 100%; 
    height: 75px; 
    margin: auto;
    text-align: center;
    padding: 5px;
    padding-top: 25px;
    position: relative;
    z-index: 2;
}

.home-page .logo {
    display: inline-block;
    vertical-align: middle;
}

.logo img {
    width: 130px; 
    height: auto; 
    margin-top: 2px;
    vertical-align: middle;
    filter: drop-shadow(2px 2px 4px black) brightness(1.2)
}

.home-page .name {
    color: white; 
    font-size: 2.5rem; 
    font-family: Arial; 
    display: inline-block;
    vertical-align: middle;
    margin-top: 2px;
}

.home-page .footer {
    background-color: purple;
    color: white;
    text-align: center;
    font-size: 2.0rem;
    font-family: Arial;
    padding: 20px;
}


.home-page .bible-verse {
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 40px 20px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    color: #333; 
}

.bible-verse .reference {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: purple;
}

.home-page .welcome-message {
    background-color: purple; 
    padding: 40px 20px;
    padding-top: 2px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    color: white; 
}

.menu {
    text-align: center;
    background-color: white;
    padding: 25px 0;
}

.menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu ul li {
    display: inline-block;
    margin: 0 10px;
}

.menu ul li a {
    display: inline-block;
    padding: 12px 20px;
    background-color: purple;           
    color: white;                        
    font-size: 1.2rem;
    font-family: Arial, sans-serif;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;                  
    transition: 0.3s ease;            
}

.menu ul li a:hover {
    background-color: darkmagenta;
    transform: translateY(-2px)
}

.pastor-bio-page {
   background-color: #f4f0f7;
}

.pastor-bio-page main {
    width: 100%;
    min-height: 0;
    background: none;
    padding: 40px 20px;
}

.pastor-headshot img {
    width: 220px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.15);
}

.pastor-headshot {
    display: inline-block;
    vertical-align: top;
}

.pastor-bio {
    text-align: center;
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.pastor-bio h1 {
    color: purple;
    font-size: 2.5rem;
    margin-bottom: 40px;
}


.pastor-info {
    text-align: center;
    margin-top: 30px;
}

.pastor-text {
    display: inline-block;
    vertical-align: top;
    margin-left: 50px;   
    max-width: 550px;
    text-align: left;

}

.pastor-name {
    margin-top: 0;
    white-space: nowrap;
    font-size: 1.9rem;
    color: purple;
}

@media (max-width: 768px) {
    .pastor-headshot,
    .pastor-text {
        display: block;
        margin: 0 auto;
        text-align: center;
    }

    .pastor-text {
        margin-left: 0;
        max-width: 100%;
    }

    .pastor-name {
        white-space: normal;
    }
}

.about-pastor {
    font-size: 1.4rem;
    margin-top: 10px;
    margin-bottom: 25px;
    text-align: center;
    color: purple;
}

.pastor-bio-text {
    text-align: left;
    margin-top: 20px;
    font-size: 1.1rem;
    line-height: 1.7;
    color: #333;

}

.pastor-bio-text p {
    margin-bottom: 20px;
}

.pastor-bio-page .footer {
    background-color: purple;
    color: white;
    text-align: center;
    font-size: 2.0rem;
    font-family: Arial;
    padding: 20px;
}

.about-us-page {
    background-color: #f4f0f7;
}

.about-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.What-we-believe {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.what-we-believe p {
    margin-bottom: 20px;
}

.about-us-page h1,
.about-us-page h2, .about-us-page h3 {
    color: purple;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.Mission-Vision-Values {
    margin-top: 80px;
}

.Mission-Vision-Values p {
    margin-bottom: 20px;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.Mission-Vision-Values,
.values-section {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
}

.Mission-Vision-Values p,
.values-intro,
.values-closing {
    margin-bottom: 20px;
}

.values-list {
    margin-left: 20px;
    margin-bottom: 30px;
    padding-left: 20px;
}

.values-list li {
    margin-bottom: 15px;
}

.values-list strong {
    color: purple;
}

.Church-Overview {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 1.2rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.Church-Overview p {
    margin-bottom: 20px;
}

.about-us-page .footer {
    background-color: purple;
    color: white;
    text-align: center;
    font-size: 2.0rem;
    font-family: Arial;
    padding: 20px;
}

.weekly-services-page {
    background-color: #f4f0f7;
}

.weekly-services-content h1 {
    color: purple;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 30px;
}

.weekly-services-content {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 2.0rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.weekly-services-content p {
    margin-bottom: 20px;
}

.weekly-services-page .footer {
    background-color: purple;
    color: white;
    text-align: center;
    font-size: 2.0rem;
    font-family: Arial;
    padding: 20px;
}

.give-page {
    background-color: #f4f0f7;
}

.give-content h1 {
    color: purple;
    font-size: 2.5rem;
    text-align: center;
    margin: 40px 0;
    margin-bottom: 30px;
}

.give-content {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    font-size: 1.5rem;
    line-height: 1.7;
    color: #333;
    text-align: left;
}

.give-content p {
    margin-bottom: 20px;
}

.giving-methods {
    margin-left: 20px;
    padding-left: 20px;
    margin-bottom: 30px;
}

.give-page .bible-verse {
    background-color: rgba(255, 255, 255, 0.8); 
    padding: 40px 20px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1.6;
    font-weight: 500;
    color: #333; 
}

.give-page .bible-verse .reference {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    color: purple;
}

.give-page .footer {
    background-color: purple;
    color: white;
    text-align: center;
    font-size: 2.0rem;
    font-family: Arial;
    padding: 20px;
}

.home-page .footer-social {
    margin: 12px 0;
}
    
.home-page .footer-social a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.home-page.footer-social a:hover {
    transform: scale(1.2);
    color: #1877f2;
}

.home-page .footer-social i.fa-facebook {
    color: #1877f2 !important;
    font-size: 2.2rem;
}

.home-page .footer-social i.fa-facebook:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.about-us-page .footer-social {
    margin: 12px 0;
}

.about-us-page .footer-social a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.about-us-page .footer-social a:hover {
    transform: scale(1.2);
    color: #1877f2;
}

.about-us-page .footer-social i.fa-facebook {
    color: #1877f2 !important;
    font-size: 2.2rem;
}

.about-us-page .footer-social i.fa-facebook:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.pastor-bio-page .footer-social {
    margin: 12px 0;
}
    
.pastor-bio-page .footer-social a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.pastor-bio-page .footer-social a:hover {
    transform: scale(1.2);
    color: #1877f2;
}

.pastor-bio-page .footer-social i.fa-facebook {
    color: #1877f2 !important;
    font-size: 2.2rem;
}

.pastor-bio-page .footer-social i.fa-facebook:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.weekly-services-page .footer-social {
    margin: 12px 0;
}
    
.weekly-services-page .footer-social a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.weekly-services-page .footer-social a:hover {
    transform: scale(1.2);
    color: #1877f2;
}

.weekly-services-page .footer-social i.fa-facebook {
    color: #1877f2 !important;
    font-size: 2.2rem;
}

.weekly-services-page .footer-social i.fa-facebook:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

.give-page .footer-social {
    margin: 12px 0;
}
    
.give-page .footer-social a {
    color: white;
    font-size: 2rem;
    text-decoration: none;
    transition: transform 0.2s ease, color 0.2s ease;
}

.give-page .footer-social a:hover {
    transform: scale(1.2);
    color: #1877f2;
}

.give-page .footer-social i.fa-facebook {
    color: #1877f2 !important;
    font-size: 2.2rem;
}

.give-page .footer-social i.fa-facebook:hover {
    color: #ffffff;
    transform: scale(1.2);
    transition: transform 0.2s ease, color 0.2s ease;
}

@media (max-width: 768px) {

    body {
        font-size: 16px;
    }

    h1 {
        font-size: 1.5rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.5rem !important;
    }

    p {
        font-size: 1rem;
        line-height: 1.6;
    }

    .menu ul li {
        display: block;
        margin: 10px 0;
    }

    .menu ul li a {
        width: 90%;
        font-size: 1rem;
        padding: 14px;
    }

    .about-content,
    .What-we-believe,
    .Mission-Vision-Values,
    .Church-Overview,
    .weekly-services-content,
    .give-content {
        padding: 0 15px;
    }

    .weekly-services-content,
    .give-content {
        font-size: 1.1rem;
    }

    .footer {
        font-size: 1.1rem;
        padding: 20px 15px;
    }

    .footer-social i {
        font-size: 1.8rem;
    }

    .home-page .welcome-message,
    .home-page .bible-verse {
        font-size: 1.1rem;
        padding: 25px 15px;
    }
}

@media (max-width: 768px) {
    .home-page .navbar {
        height: auto;
        padding-top: 15px;
    }

    .home-page .logo {
        display: block;
        margin-bottom: 10px;
    }

    .home-page .logo img {
        width: 90px;
        margin: 0 auto;
        margin-bottom: 10px;
        display: block;
    }

    .home-page .name {
        display: block;
        font-size: 1.2rem;
        line-height: 1.3;
        text-align: center;
        margin-top: 5px;
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .values-list {
        margin-left: 0;
        padding-left: 1.2rem;
        list-style-position: outside;
    }

    .values-list li {
        text-align: left;
        margin-bottom: 20px;
        line-height: 1.6;
    }
}

@media (max-width: 768px) {
    .about-content,
    .weekly-services-content,
    .give-content,
    .Church-Overview {
        padding: 0 16px;
    }
}

@media (max-width: 768px) {
    .home-page main {
        background-image: url("../images/Church-Mobile.png");
        background-position: center top;
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .home-page main::before {
        background: rgba(0,0,0,0.5);
    }
}

@media (max-width: 768px) {

    .values-section {
        max-width: 1000px;
        margin: 0 auto;
        padding: 0 20px;
    }
}

@media (max-width: 768px) {

    .Mission-Vision-Values p {
        text-align: left;
        font-size: 1.1rem;
    }

    .values-intro,
    .values-closing {
        text-align: left;
        font-size: 1.1rem;
        margin-bottom: 20px;
    }
}
















