*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:'Poppins',sans-serif;
}

html{
scroll-behavior:smooth;
img{
    width:500px;
}
}


body{
background:#f5f7fa;
color:#333;
line-height:1.7;
padding-top: 70px; /* height of your navbar */
}

body{
    margin:0;
    overflow-x:hidden;
}

.navbar{
    position:absolute;
    top:0;
    left:0;

    width:100%;

    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:20px 60px;

    background:#0d013f;

    z-index:1000;
}

nav{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
}

@media (max-width:768px){

    nav{
        flex-direction:column;
        align-items:center;
    }

    nav a{
        margin:10px 0;
    }
}



.logo{
display:flex;
align-items:center;
gap:12px;
color:white;
}

.logo img{
width:60px;
height:60px;
border-radius:50%;
}

.logo h2{
font-size:22px;
}

.logo p{
font-size:14px;
}

.nav-links{
display:flex;
list-style:none;
gap:25px;
}

.nav-links a{

    color:#003DA5;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.nav-links a:hover{
color:#D4AF37;
}

.navbar.scrolled{
    background:white;
    box-shadow:0 2px 15px rgba(0,0,0,.1);
}

.announcement{
    background:#D4AF37;
    color:white;
    text-align:center;
    padding:15px;
    font-weight:bold;
}

.hero{
height:100vh;
width:100%;

background-image:
linear-gradient(
    rgba(0,0,0,0.55),
    rgba(0,0,0,0.55)
),
url("../images/church-hero.jpg");
background-size:cover;
background-position:center center;
background-repeat:no-repeat;

display:flex;
justify-content:center;
align-items:center;

position:relative;

}

.hero-overlay{
display:none;
}


.hero-content{
max-width:900px;
text-align:center;
color:white;
padding:20px;
}

.hero-content h1{
font-size:clamp(2rem,5vw,4rem);
font-weight:700;
margin-bottom:20px;
line-height:1.2;
}

.hero-content p{
font-size:1.3rem;
margin-bottom:30px;
}

.hero-buttons{
display:flex;
justify-content:center;
gap:20px;
flex-wrap:wrap;
}

/* HERO TEXT ANIMATION */

.slider-content h1{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:20px;

    opacity:0;
    transform:translateY(50px);

    animation:fadeUp 1.5s ease forwards;
}

.slider-content p{
    font-size:1.3rem;
    margin-bottom:30px;

    opacity:0;
    transform:translateY(50px);

    animation:fadeUp 1.5s ease forwards;
    animation-delay:.5s;
}

.slider-content .btn-primary{
    opacity:0;
    transform:translateY(50px);

    animation:zoomFade 1.5s ease forwards;
    animation-delay:1s;
}

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(50px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.slider-content h1{
    animation-delay:0.2s;
}

.slider-content p{
    animation-delay:0.8s;
}

.slider-content .btn-primary{
    animation-delay:1.4s;
}

@keyframes zoomFade{

    from{
        opacity:0;
        transform:scale(.8);
    }

    to{
        opacity:1;
        transform:scale(1);
    }

}

.slide{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;

    background-size:cover;
    background-position:center;

    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
}

.slide.active::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,0.45);
}

@keyframes slowZoom{

    from{
        transform:scale(1);
    }

    to{
        transform:scale(1.1);
    }

}

.slider{
    margin-bottom:0;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:70px;
    height:70px;
}

.nav-links a{
    color:white;
    text-decoration:none;
    font-weight:600;
    padding:8px 12px;
}

.nav-links a:hover{
    color:#D4AF37;
}

.btn-primary{
    display:inline-block;

    background:#D4AF37;
    color:white;

    padding:15px 35px;

    text-decoration:none;
    border-radius:50px;

    font-weight:600;
    font-size:1rem;

    transition:.3s;
}

.btn-primary:hover{
    transform:translateY(-3px);
}



@media(max-width:768px){

.hero-content h1{
    font-size:2.5rem;
}

.hero-content p{
    font-size:clamp(1rem,2rem,5vw,4rem);
}

}


.hero-buttons{
display:flex;
gap:20px;
justify-content:center;
flex-wrap:wrap;
}

.btn-primary{
background:#D4AF37;
color:white;
padding:15px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
}

.btn-secondary{
background:white;
color:#003DA5;
padding:15px 30px;
border-radius:50px;
text-decoration:none;
font-weight:600;
}

.stats{
    background:#003DA5;
    color:white;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
    gap:20px;
    text-align:center;
    padding:60px 10%;
}

.stat-box h3{
    font-size:3rem;
    color:#D4AF37;
}

/* SECTIONS */

section{
padding:80px 10%;
}

section h2{
text-align:center;
margin-bottom:40px;
color:#003DA5;
font-size:2.2rem;
}

/* SERVICE CARDS */

.service-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
gap:25px;
}

.service-card{
background:white;
padding:30px;
border-radius:15px;
text-align:center;
box-shadow:0 10px 30px rgba(0,0,0,.08);
transition:.3s;
}

.service-card:hover{
transform:translateY(-8px);
}

.service-card h3{
color:#003DA5;
margin-bottom:10px;
}

/* EVENTS */

.event-card{
background:white;
padding:25px;
margin-bottom:20px;
border-left:5px solid #D4AF37;
border-radius:10px;
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

/* GALLERY */

.gallery-grid{
display:grid;
grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
gap:20px;
}

.gallery-grid img{
width:100%;
height:350px;
object-fit:cover;
border-radius:15px;
transition:.3s;
}

.gallery-grid img:hover{
transform:scale(1.03);
}

/* CONTACT */

#contact{
text-align:center;
}

#contact p{
margin-bottom:10px;
}

/* FOOTER */

footer{
background:#001c4d;
color:white;
text-align:center;
padding:30px;
}

/* WHATSAPP */

.whatsapp{
position:fixed;
right:20px;
bottom:20px;
background:#25D366;
color:white;
text-decoration:none;
padding:15px 20px;
border-radius:50px;
font-weight:bold;
box-shadow:0 5px 20px rgba(0,0,0,.2);
}

/* MOBILE */

@media(max-width:768px){

.navbar{
    flex-direction:column;
    padding:20px;
}

.nav-links{
    flex-wrap:wrap;
    justify-content:center;
    margin-top:15px;
}

.hero-content h1{
    font-size:clamp(2rem,5vw,4rem);
}

.hero-content p{
    font-size:1rem;
}

section{
    padding:60px 5%;
}

.gallery-grid img{
    height:250px;
}

}

.page-banner{
    background:#003DA5;
    color:white;
    text-align:center;
    padding:80px 20px;
}

.page-banner h1{
    font-size:clamp(2rem,3rem,5vw,4rem);
}

.pastor-section{
    background:white;
    border-radius:15px;
    padding:40px;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.event-card{
    background:white;
    padding:30px;
    margin:20px 0;
    border-left:6px solid #D4AF37;
    border-radius:12px;
    box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.event-card h3{
    color:#003DA5;
    margin-bottom:15px;
}


/* PASTOR SECTION */

.pastor-section{
    padding:90px 10%;
    background:white;
}

.pastor-container{
    display:flex;
    align-items:center;
    gap:60px;
}

.pastor-image img{
    width:350px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.pastor-content h4{
    color:#D4AF37;
    letter-spacing:2px;
    margin-bottom:10px;
}

.pastor-content h2{
    color:#003DA5;
    margin-bottom:20px;
    font-size:2.2rem;
}

.pastor-content p{
    margin-bottom:15px;
    font-size:1.05rem;
}

@media(max-width:768px){

    .pastor-container{
        flex-direction:column;
        text-align:center;
    }

    .pastor-image img{
        width:100%;
        max-width:350px;
    }

}

/* YOUTUBE SECTION */

.youtube-section{
    background:#f8fafc;
    padding:80px 10%;
    text-align:center;
}

.youtube-container{
    max-width:800px;
    margin:auto;
}

.youtube-section h2{
    color:#003DA5;
    margin-bottom:20px;
    font-size:2.2rem;
}

.youtube-section p{
    font-size:1.1rem;
    margin-bottom:30px;
}

.youtube-btn{
    display:inline-block;
    background:#ff0000;
    color:white;
    text-decoration:none;
    padding:15px 35px;
    border-radius:50px;
    font-weight:600;
    transition:.3s;
}

.youtube-btn:hover{
    transform:translateY(-3px);
}

.pastor-section{
    padding:100px 10%;
    background:white;
}

.pastor-container{
    display:flex;
    align-items:center;
    gap:50px;
}

.pastor-image img{
    width:350px;
    border-radius:20px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
}

.pastor-content span{
    color:#D4AF37;
    font-weight:600;
}

.pastor-content h2{
    color:#003DA5;
    margin:15px 0;
    font-size:2.5rem;
}

@media(max-width:768px){
    .pastor-container{
        flex-direction:column;
        text-align:center;
    }

    .pastor-image img{
        width:100%;
        max-width:350px;
    }
}

.page-banner{
    background:linear-gradient(rgba(19, 1, 85, 0.75),rgba(28, 1, 104, 0.75)),
    url("../images/church-hero.jpg");

    background-size:cover;
    background-position:center;

    color:white(238, 13, 13, 0.932);
    text-align:center;

    padding:250px 50px;
}

.page-banner h1{
    font-size:clamp(2rem,5vw,4rem,3rem);
}

.slider,
.slide{
    min-height:100vh;
}
.slider{
    position:relative;
    width:100%;
    height:92vh;
    overflow:hidden;
}

.slide{
    position:absolute;
    top:0;
    left:0;

    width:100%;
    height:100%;

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    opacity:0;
    transition:opacity 1.5s ease-in-out;
}

.slide.active{
    opacity:1;
}

.slider-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);

    z-index:10;

    text-align:center;
    color:white;

    width:90%;
    max-width:900px;
}

.slider-content{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    z-index:10;
}

.slider-content h1{
    font-size:clamp(2rem,5vw,4rem);
    margin-bottom:20px;
}

.slider-content p{
    font-size:1.3rem;
    margin-bottom:40px;
    line-height:1.8;
}

/* WATCH LIVE SECTION */

.watch-live{

    background:
    linear-gradient(
        rgba(24, 2, 102, 0.80),
        rgba(26, 0, 117, 0.80)
    ),
    url("../images/church-hero.jpg");

    background-size:cover;
    background-position:center;

    padding:120px 20px;

    text-align:center;

    color:white;
}

.watch-live-content{
    max-width:900px;
    margin:auto;
}

.watch-live span{
    color:#D4AF37;
    font-size:14px;
    font-weight:600;
    letter-spacing:3px;
}

.watch-live h2{
    color:white;
    font-size:3rem;
    margin:20px 0;
    line-height:1.3;
}

.watch-live p{
    font-size:1.1rem;
    margin-bottom:35px;
}

.watch-live-btn{

    display:inline-block;

    background:#ff0000;

    color:white;

    padding:18px 40px;

    border-radius:50px;

    text-decoration:none;

    font-weight:700;

    transition:.3s;
}

.watch-live-btn:hover{
    transform:translateY(-4px);
}

.watch-live-btn{

    animation:pulse 2s infinite;
}

@keyframes pulse{

    0%{
        box-shadow:0 0 0 0 rgba(255,0,0,.7);
    }

    70%{
        box-shadow:0 0 0 20px rgba(255,0,0,0);
    }

    100%{
        box-shadow:0 0 0 0 rgba(255,0,0,0);
    }

}


/* GIVING PREVIEW */

.giving-preview{

    background:
    linear-gradient(
        rgba(131, 1, 1, 0.95),
        rgba(121, 0, 0, 0.95)
    ),
    url("../images/gallery1.jpg");

    background-size:cover;
    background-position:center;

    padding:10px 15px;

    text-align:center;

    color:white;
}

.giving-content{
    max-width:900px;
    margin:auto;
}

.giving-content span{
    color:#D4AF37;
    font-weight:600;
    letter-spacing:3px;
}

.giving-content h2{
    color:white;
    font-size:3rem;
    margin:20px 0;
}

.giving-content p{
    font-size:1.1rem;
    margin-bottom:35px;
}

.giving-btn{

    display:inline-block;

    background:#D4AF37;

    color:white;

    text-decoration:none;

    padding:18px 40px;

    border-radius:50px;

    font-weight:700;

    transition:.3s;
}

.giving-btn:hover{
    transform:translateY(-4px);
}


.account-image img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.account-image2 img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}



/* JOIN DEPARTMENT BUTTON */

.join-department{

    position:fixed;

    right:20px;

    bottom:90px;

    background:#003DA5;

    color:white;

    text-decoration:none;

    padding:15px 20px;

    border-radius:50px;

    font-weight:bold;

    box-shadow:0 5px 20px rgba(0,0,0,.2);

    z-index:999;

    transition:.3s;
}

.join-department:hover{

    transform:translateY(-3px);

    background:#D4AF37;
}


.prayer-image img{
    max-width: 100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.prayer-image2 img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}


.praise-image3 img{
    max-width:100%;
    height:auto;
    border-radius:10px;
    box-shadow:0 15px 40px rgba(0,0,0,.15);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.video-container {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000000;
  
  /* Apply the spacing to the outer wrapper */
  margin-top: 40px;    /* Space above */
  margin-bottom: 50px; /* Forces space below the entire video container */
}



video {
  /* Shorthand order: TOP | RIGHT | BOTTOM | LEFT */
  margin: 40px auto 40px auto; 
  
  display: block;
  width: 60%;            
  max-width: 500px;      
  background-color: #000000; 
  aspect-ratio: auto;    
  object-fit: contain;   
}

.email-btn {
  display: flex;              /* Enforces alignment alignment tools */
  align-items: center;        /* Vertically squares the icon and text */
  gap: 10px;                  /* Creates a crisp 10px gap between icon and text */
  
  width: fit-content;         
  margin: 30px auto 50px auto;/* Maintains your established outer block spacing */
  background-color: #EA4335;  /* Gmail theme red */
  color: #FFFFFF;             
  text-decoration: none;      
  font-family: sans-serif;
  font-weight: bold;
  padding: 12px 24px;         
  border-radius: 6px;         
  transition: background 0.2s;
}

/* Controls the exact size of the envelope graphic */
.gmail-icon {
  width: 20px;
  height: 20px;
}

.email-btn:hover {
  background-color: #d13426;  
}


.phone-btn {
  display: flex;              /* Aligns icon and text horizontally */
  align-items: center;        /* Centers them vertically */
  gap: 10px;                  /* Gap between phone icon and text */
  
  width: fit-content;         
  margin: 20px auto 50px auto;/* Centers button; adds top and bottom spacing */
  background-color: #25D366;  /* Phone/WhatsApp Green color theme */
  color: #FFFFFF;             
  text-decoration: none;      
  font-family: sans-serif;
  font-weight: bold;
  padding: 12px 24px;         
  border-radius: 6px;         
  transition: background 0.2s;
}

/* Controls the size of the phone receiver graphic */
.phone-icon {
  width: 20px;
  height: 20px;
}

/* Hover Effect */
.phone-btn:hover {
  background-color: #1ebd57;  /* Slightly darkens green on hover */
}


#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff; /* Change background color as needed */
    z-index: 9999; /* Ensures it stays on top of all content */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#loader {
    text-align: center;
}

#loader img {
    width: 150px; /* Adjust the size of your logo */
    margin-bottom: 20px;
}

/* Optional: CSS Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #3498db; /* Spinner color */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


#skip-loader-btn {
    cursor: pointer;
    display: block;
}
#skip-loader-btn:hover {
    transform: scale(1.02); /* Slight zoom effect when hovered */
    transition: transform 0.2s ease;
}

