 /* Hero Section with Video */

 .hero {
     position: relative;
     height: 100vh;
     overflow: hidden;

 }

 .hero-video {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .hero-overlay-jnag {
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.5));
 }

 .hero-content-jnag {
     position: relative;
     z-index: 2;
     height: 100%;
     display: flex;
     align-items: center;
     justify-content: center;
     text-align: center;
     color: white;
     padding: 2rem;
 }

 .hero-content-jnag h1 {
     font-size: 4rem;
     margin-bottom: 1rem;
     font-family: monospace;
     text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
 }
.hero-content-jnag h1 span{
    font-family: "Lobster", sans-serif;
  font-weight: 400;
  font-style: normal;
   
 }
 .hero-content-jnag p {
     font-size: 1.5rem;
     margin-bottom: 2rem;
     text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
 }

 .cta-button {
     display: inline-block;
     padding: 15px 40px;
     background: #e67e3c;
     color: white;
     text-decoration: none;
     border-radius: 50px;
     font-weight: bold;
     transition: transform 0.3s, box-shadow 0.3s;
 }

 .cta-button:hover {
     transform: translateY(-3px);
     box-shadow: 0 10px 25px rgba(230, 126, 60, 0.4);
 }

 /* Services Section */
 .services {
     padding: 5rem 5%;
     background: #f8f8f8;
 }

 .services-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
     gap: 3rem;
     max-width: 1400px;
     margin: 0 auto;
 }

 .service-card {
     background: white;
     padding: 3rem 2rem;
     border-radius: 15px;
     box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
     text-align: center;
     transition: transform 0.3s;
 }

 .service-card:hover {
     transform: translateY(-10px);
 }

 .service-card h3 {
     color: #2a4750;
     margin-bottom: 1rem;
     font-size: 1.5rem;
     text-transform: uppercase;
 }

 .service-card .time {
     font-size: 1.2rem;
     margin: 1rem 0;
     color: #666;
 }

 .service-buttons {
     display: flex;
     gap: 1rem;
     justify-content: center;
     margin-top: 2rem;
 }

 .btn {
     padding: 10px 25px;
     border: none;
     border-radius: 5px;
     cursor: pointer;
     font-weight: bold;
     transition: all 0.3s;
     text-decoration: none;
     display: inline-block;
 }

 .btn-primary {
     background: #e67e3c;
     color: white;
 }

 .btn-secondary {
     background: #2a4750;
     color: white;
 }

 .btn:hover {
     opacity: 0.9;
     transform: scale(1.05);
 }

 /* welcome */
/* 
 .JNAGwelcome {
     position: relative;
     width: 100%;
     height: 50vh;
 }

 .welcome-imagejnag {
     position: absolute;
     right: 0;
     top: auto;
     bottom: auto;
    object-fit: cover;

 }

 .welcome-imagejnag img {

 
     object-fit: cover;


 }
.welcome-jnag-overly{
    width: 100%;
    position: relative;
    display: flex;
}
 .welcome-paster {
    position: absolute;
    right: 0;
}
 .welcome-textjnag {
     width: 50%;
     position: relative;
     left: 0;
     right: 0;

     top: auto;
     bottom: auto;
display: flex;
     align-items: center;
     justify-content: center;
     text-align: justify;
 }
 */
 .JNAGwelcome {
    position: relative;
    min-height: 500px; /* Adjust height as needed for content */
    display: flex;
    justify-content: center;
    align-items: center;
   
    overflow: hidden; /* To handle elements that might slightly overflow */
}

/* Background Image Container */
.welcome-imagejnag {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Keep it in the back */
}

.welcome-imagejnag img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the background SVG covers the area */
    opacity: 0.8; /* Slight transparency for a lighter feel */
}
/* --- Overlap Layout (Flexbox) --- */
.welcome-jnag-overly {
    display: flex;
    justify-content: space-between; /* Pushes text to the left, image to the right */
    align-items: center; /* Vertically align items */
    gap: 20px;
    padding: 3px 0;
}

/* --- Text Box Styling (div.welcome-textjnag) --- */
.welcome-textjnag {
    /* Approximate dimensions from the image screenshot */
    width: 580px; 
    min-height: 183.5px;
    
    /* Blue overlay color */
    
    padding: 30px;
    box-sizing: border-box;
    flex-shrink: 0; /* Prevents text box from shrinking */
    
    /* Styling for the text */
    color: #333;
}

.welcome-textjnag h6 {
    font-size: 0.8em;
    margin: 0 0 5px 0;
    text-transform: uppercase;
    font-weight: normal;
}

.welcome-textjnag h2 {
    font-size: 1.8em;
    color: #000;
    margin: 0 0 15px 0;
    text-transform: uppercase;
}

.welcome-textjnag p {
    font-size: 1em;
    line-height: 1.6;
    margin: 0;
}

/* --- Pastor Image Styling --- */
.welcome-paster {
    /* Image size and positioning */
   
    height: auto;
    margin-top: 50px; /* Adjust vertical positioning */
    flex-shrink: 0;
}

.welcome-paster img {
    display: block;
    max-width: 100%;
    height: auto;
    /* This styling is crucial for blending the image into the background */
    /* If the image isn't a transparent PNG with clouds, you might need graphic edits */
    object-fit: contain; 
}

/* --- Responsive Adjustments (Optional but Recommended) --- */
@media (max-width: 1024px) {
    .welcome-jnag-overly {
        flex-direction: column; /* Stack elements vertically on smaller screens */
        align-items: center;
    }
    
    .welcome-textjnag {
        width: 90%; /* Allow text box to take more width */
        min-height: auto;
        order: 2; /* Put text below the image */
        margin-top: 20px;
    }
    
    .welcome-paster {
        order: 1; /* Put image above the text */
        width: 300px;
    }
}

.bar{
    background-color: #612929;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    display: flex;
    flex-direction: row;
  

}

.btn-whatsapp{
    background-color: #c5b1b1;
  
    
}
.btn-yt{
    background-color: #c5b1b1;
    
}


/* sermon-carousal */

.sermon-carousal{
    margin-top: 5%;
}
.sermon-carousal h2{
    text-align: center;
}

.fancy-title {
    position: relative;
    margin-bottom: 30px;
}
.title-center

 {
    text-align: center;
}
.fancy-title.title-dotted-border {
    background: url(/jnagimage/dotted.png) 
    repeat-x center;
}

.ti
/* carousel */
.truncate {
  display: inline-block; /* or block */
  max-width: 100%;       /* set a width or use max-width of parent */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.truncate-2 {
     display: -webkit-box;          /* required */
  -webkit-box-orient: vertical;  /* required */
  overflow: hidden;
  -webkit-line-clamp: 2;         /* Chrome, Safari, Edge */
  line-clamp: 2;   
}

.carousel-container-video {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
   
    padding: 2rem;
}
.carousel-container {
    position: relative;
    margin-bottom: 4rem;
}
.carousel-wrapper {
    overflow: hidden;
    border-radius: 20px;
   /*  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3); */
}

.carousel {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.video-card {
    min-width: 350px;
    margin: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.video-thumbnail {
    position: relative;
    height: 200px;
    
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.play-button {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.play-button:hover {
    transform: scale(1.1);
    background: white;
}

.play-button::after {
    content: '';
    width: 0;
    height: 0;
    border-left: 20px solid #333;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    margin-left: 4px;
}

.video-info {
    padding: 1.5rem;
}

.video-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
     color: #0a0808;
  
}

.video-description {
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.4;
      color: #080505;
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

/* Navigation Buttons */
.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.nav-button.prev {
    left: 20px;
}

.nav-button.next {
    right: 20px;
}

.nav-button::after {
    content: '';
    width: 0;
    height: 0;
    position: absolute;
    top: 50%;
    left: 50%;
}

.nav-button.prev::after {
    border-right: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translate(-40%, -50%);
}

.nav-button.next::after {
    border-left: 15px solid white;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    transform: translate(-60%, -50%);
}

/* Nested Carousel Indicators */
.carousel-indicators {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(37, 34, 34, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: #4ecdc4;
    transform: scale(1.2);
}



