*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Arial, Helvetica, sans-serif;
}

body{
background:#f7fdf8;
color:#333;
}

/* NAVBAR */

.navbar{
display:flex;
justify-content:space-between;
align-items:center;
padding:20px 10%;
background:white;
box-shadow:0 2px 10px rgba(0,0,0,0.05);
}

.logo{
color:#1a8f3c;
font-size:24px;
font-weight:bold;
}

.nav-links{
list-style:none;
display:flex;
gap:25px;
}


.nav-links a{
text-decoration:none;
color:#333;
font-weight:500;
padding:0 15px;
}

.nav-links a:hover{
color:#1a8f3c;
}

.btn{
background:#1a8f3c;
color:white;
padding:10px 18px;
border-radius:6px;
text-decoration:none;
transition:0.3s;
}

.btn:hover{
	background:#146c2e;
}

.nav-buttons{
	display:flex;
	gap:10px;
	padding:0 15px; 
}

/* HERO */

.hero{
position:relative;
height:80vh;
overflow:hidden;
display:flex;
align-items:center;
justify-content:center;
text-align:center;
color:white;
}

/* SLIDER */
.slider{
position:absolute;
width:100%;
height:100%;
overflow:hidden;
z-index:1;
}

/* SLIDES WRAPPER */
.slides{
display:flex;
width:100%;
height:100%;
transition:transform 0.8s ease-in-out;
}

/* EACH SLIDE */
.slide{
width:100%;
height:100%;
object-fit:cover;
flex-shrink:0;
}

/* DARK OVERLAY */
.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
z-index:2;
}

/* CONTENT */
.hero-content{
position:relative;
z-index:3;
}

/* BUTTONS */
.prev, .next{
position:absolute;
top:50%;
transform:translateY(-50%);
background:rgba(0,0,0,0.5);
color:white;
border:none;
padding:15px;
cursor:pointer;
font-size:20px;
border-radius:50%;
z-index:5; /* 🔥 increase this */
}

.slider{
position:absolute;
width:100%;
height:100%;
overflow:hidden;
z-index:1;
pointer-events:auto; /* make sure it's interactive */
}

.hero::after{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
z-index:2;
pointer-events:none; /* 🔥 THIS FIXES EVERYTHING */
}

.prev{ left:20px; }
.next{ right:20px; }

.prev:hover, .next:hover{
background:#1a8f3c;
}


/* SEARCH BOX */

.search-box{
display:flex;
justify-content:center;
gap:10px;
}

.search-box input{
padding:14px;
width:300px;
border:none;
border-radius:6px;
font-size:16px;
}

.search-box button{
padding:14px 20px;
border:none;
background:#1a8f3c;
color:white;
font-size:16px;
border-radius:6px;
cursor:pointer;
}

/* FEATURES */

.features{
display:flex;
justify-content:center;
gap:40px;
padding:80px 10%;
background:white;
text-align:center;
}

.feature{
max-width:300px;
}

.feature h3{
color:#1a8f3c;
margin-bottom:10px;
}

/* FOOTER */

footer{
text-align:center;
padding:25px;
background:#1a8f3c;
color:white;
}

/* FORM PAGES */

.form-container{
display:flex;
justify-content:center;
align-items:center;
height:100vh;
background:#f7fdf8;
}

.form-box{
background:white;
padding:40px;
border-radius:10px;
box-shadow:0 5px 20px rgba(0,0,0,0.1);
width:300px;
text-align:center;
}

.form-box h2{
margin-bottom:20px;
color:#1a8f3c;
}

.form-box input{
width:100%;
padding:12px;
margin:10px 0;
border:1px solid #ccc;
border-radius:6px;
}

.form-box button{
width:100%;
margin-top:10px;
}

.form-box p{
margin-top:15px;
font-size:14px;
}


/*hero*/
.hero{
    height: 90vh;
    background-image: url("images/background2.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain; 
    background-color: #0a3d1a; /* dark green background */
    
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-overlay{
    background: rgba(0,0,0,0);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content{
    color: white;
    text-align: center;
    max-width: 700px;
}

.church-slider-section{
    padding:60px 10%;
    text-align:center;
}

.church-slider-section h2{
    margin-bottom:30px;
}

.small-slider{
    max-width:900px;
    margin:auto;
    height:350px;
    overflow:hidden;
    position:relative;
}

.small-slider .slides{
    display:flex;
    transition: transform 0.5s ease;
}

.small-slider .slide{
    min-width:100%;
    height:350px;
    object-fit:contain;
}
