*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}
.navbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
    height: 70px;
    background: #2c3e50;
    position: relative;
    
    z-index: 1000;
}
.logo img{
    height: 50px;
}
.nav-links{
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;

}
.nav-link a{
    color: rgb(255, 255, 255);
    text-decoration: none;
    font-weight: medium;
    /* font-size: 2rem; */
    color: rgb(248, 9, 9);
    cursor: pointer;
}
.hero{
    height: 90vh;
    background: url(img/new\ pastor.jpg) center/ cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}
.hero-content{
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
}
.featured{
    padding: 60px 20px;
    text-align: center;

}
.featured-container{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
.featured-container img{
    width: 250px;
    height: 250px;
    object-fit: cover;
}
.page-content{
    padding: 80px 20px;
    text-align: center;
}
form{
    max-width: 400px;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
input, textarea{
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;

}
button{
    padding: 10px;
    background: #2c3e50;
    color: white;
    border: none;
    cursor: pointer;
}
button:hover{
    background: #34495e;
    padding: 1rem;
    width: 200px;
}
nav-links.active{
    display: flex;


}
.nav-links a{
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 1rem;
    transition: color 0.3s;
}
.nav-link{
    display: flex;
    list-style: none;
    gap: 2rem;
    margin-left: auto;
}

.nav-links a:hover{
    color:#f39c12
}
@media (max-width:768px){
    .navlinks{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        background: #34495e;
        padding: 1rem;
        width: 200px;
        gap: 1rem;
    }
}


.mobile-menu{
    display: block;
    z-index: 100;
    flex-direction: column;
    position: absolute;
    top: 70px;
    right: 0;
    background: #34495e;
    padding: 1rem;
    width: auto;
    text-align: right;
    font-size: 2rem;
    color:white
    
}
footer{
    text-align: center;
    font-weight: bold;
    font-weight: 300;
}
.about{
    max-width: 700px;
    margin: 4rem auto;
    padding: 2 rem;
    background-color: #f9f9f9;
    border-radius: 12px;
    text-align: justify;
    color: #333;

}
.about h1{
    text-align: center;
    margin-bottom: 2rem;
   color: #2c3e50;
}
.about p{
    margin-bottom: 10rem;
    line-height: 25;
    font-size: 1.1rem;
    font-size: medium;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    align-content: center;
}
.contact{
    max-width: 700px;
    margin: 4rem auto;
    padding: 2rem;
    background-color: #f9f9f9;
    border-radius: 10px;
    color: #333;
}
.contact form{
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;

}
.contain input,
.contact textarea{
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}
.contact button:hover{
    background-color: #34495e;

}
.contact-intro{
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
    color: #333;
}
.contact-info p{
    margin-bottom: 0.8rem;
    font-size: 1rem;
    color: #2c3e50;
    text-align: center;
}
@media(max-width:768px){
    .contact{
        padding: 1.5rem;
        margin: 2rem auto;
    }
}
.contact input,
.contact textarea{
    font-size: 0.95rem;
}
p{
    text-align: center;
}
#success-message{
    display: none;
    color: green;
    font-weight: bold;
    margin-top: 20px;
}