body {
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Desktop Header Styles */
.desktop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8); /* Black with 80% opacity */
    position: fixed; /* Fixing header to the top */
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Set a fixed height for the navbar */
    z-index: 1000; /* High z-index to stay above other elements */
}

.desktop-header .logo {
    margin-left: 80px; /* Adjust left margin for logo */
    margin-right: 100px; /* Adjust right margin for logo */
}

.desktop-header .logo img {
    height: 40px; /* Adjust height for logo image */
}

.main-nav {
    flex-grow: 1; /* Allows the nav to grow and take up available space */
}

.main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    margin-right: 5px; /* Adjust right margin for menu bar */
}

.main-nav ul li {
    margin-left: 20px;
    position: relative; /* Required for positioning dropdown */
}

/* Dropdown Menu Styles */
.main-nav .dropdown .dropdown-menu {
    display: none; /* Hidden by default */
    position: absolute;
    top: 100%; /* Positioned below the parent */
    left: 0;
    background-color: rgba(0, 0, 0, 0.9); /* Dark background for dropdown */
    min-width: 200px; /* Minimum width */
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2); /* Dropdown shadow */
    z-index: 1;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-nav .dropdown .dropdown-menu li {
    margin: 0;
}

.main-nav .dropdown .dropdown-menu li a {
    color: #fff;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Show dropdown on hover */
.main-nav ul li:hover .dropdown-menu {
    display: block;
}

/* Optional: Add a hover effect for dropdown items */
.main-nav .dropdown .dropdown-menu li a:hover {
    background-color: #575757; /* Darker background on hover */
}

.main-nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: normal;
    position: relative; /* Required for the :after pseudo-element */
    transition: transform 0.3s ease, color 0.3s ease; /* Add transition for smooth animation */
}

.main-nav ul li a:hover {
    transform: translateY(5px); /* Bowing effect by moving down */
    color: #f1c40f; /* Change color on hover for added effect */
}

/* Underscore Line Hover Effect for Menu Items */
.main-nav ul li a:hover::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px; /* Adjust the distance from the text */
    height: 2px; /* Thickness of the line */
    background-color: #f1c40f; /* Color of the underline */
    transform: scaleX(1); /* Full width line on hover */
    transition: transform 0.3s ease;
}

.main-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px; /* Adjust the distance from the text */
    height: 2px; /* Thickness of the line */
    background-color: #f1c40f; /* Color of the underline */
    transform: scaleX(0); /* Start with no line (scaleX 0) */
    transition: transform 0.3s ease;
}

/* Style for the "English" Menu Item */
.menu-english {
    color: lightgreen; /* Light green color for the "English" menu item */
}

/* Ministry Section Styles */
.ministry-section {
    padding: 100px 0;  /* Controls the top and bottom padding of the entire section */
    background-color: #f5f5f5;
    text-align: center;
}

.ministry-section .container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;  /* Ensures wrapping on smaller screens */
    gap: 20px;        /* Controls spacing between cards (horizontal & vertical) */
    max-width: 1200px; /* Center content within max width */
    margin: 0 auto;    /* Center container */
}

.ministry-item {
    flex-basis: 30%;  /* Each card takes 30% of the row */
    background-color: #fff;
    padding: 10px;    /* Controls the inner padding of each card (content area) */
    margin: 0px;     /* Controls the outer margin of each card */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease; /* Smooth hover effect */
}

.ministry-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px; /* Controls the space below the heading */
}

.ministry-item img {
    width: 100%;
    height: auto;
    margin-bottom: 15px; /* Controls the space below the image */
    border-radius: 8px;
}

.ministry-item p {
    font-size: 1em;
    color: #333;
    margin-bottom: 10px; /* Controls the space below paragraphs */
}

.ministry-item a {
    display: inline-block;
    margin-top: 10px;    /* Controls the space above the "Read More" link */
    margin-bottom: 20px;
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.ministry-item a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Hover effect for ministry items */
.ministry-item:hover {
    transform: translateY(-10px); /* Slight lift on hover */
}

.welcome-section {
    padding: 10px 20px;
    background-color: #fff;
    text-align: center;
}

.welcome-section h2 {
    font-size: 2em;
    color: #333;
}

/* Responsive Design: Ensure the cards stack nicely on smaller screens */
@media (max-width: 768px) {
    .ministry-item {
        flex-basis: 100%;  /* Full width on smaller screens */
    }
    
}

@media (max-width: 1024px) {
    .ministry-item {
        flex-basis: 100%;  /* Two cards per row on medium-sized screens */
    }
}

/* Hover effect for ministry items */
.ministry-item:hover {
    transform: translateY(-10px); /* Slight lift on hover */
}

.profile-section {
    position: relative;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 40px;
    background-image: url('../images/banner.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 775px;
    overflow: hidden;
}

.profile-overlay {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(0, 0, 0, 0.6);
    width: 40%;
    padding: 40px;
    transition: transform 0.5s ease; /* Smooth transition for transform */
}

.profile-text {
    flex: 1;
    color: white;
    padding-right: 20px;
    max-width: 100%;
}

.profile-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    font-weight: bold;
}

.profile-text p {
    font-size: 18px;
    line-height: 1.5;
    margin-bottom: 20px;
}

.read-more-btn {
    display: inline-block;
    padding: 10px 20px;
    color: white;
    background-color: #000;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.read-more-btn:hover {
    background-color: #555;
}

.profile-image {
    flex: 1;
    max-width: 40%;
    text-align: right;
}

.profile-image img {
    width: 100%;
    border-radius: 8px;
    max-width: 300px;
}

.profile-overlay.turn-right {
    transform: rotateY(20deg); /* Rotate 20 degrees on Y-axis */
}

.profile-overlay.turn-left {
    transform: rotateY(-20deg); /* Rotate -20 degrees on Y-axis */
}

.profile-overlay.turn-up {
    transform: rotateX(20deg); /* Rotate 20 degrees on X-axis */
}

.profile-overlay.turn-down {
    transform: rotateX(-20deg); /* Rotate -20 degrees on X-axis */
}

.giving-section {
    position: relative;
    width: 100%;
    height: 775px; /* Adjust height as needed */
    overflow: hidden;
}

.giving-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.giving-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: none; /* Hide all slides by default */
}

.giving-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensure image covers the container */
}

.giving-section h2 {
    font-size: 2em;
    color: #faf8f8;
    margin-top: -0px;
    margin-bottom: 10px;
}

.giving-text {
    position: absolute;
    bottom: 10%;
    left: 50%;
    line-height: 1.0;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    font-size: 2em;
    background-color: rgba(0, 0, 0, 0.5); /* Background for text */
    padding: 30px;
}

.giving-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD700;
    color: black;
    text-decoration: none;
    font-weight: normal;
    margin-top: 10px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
}

.giving-btn:hover {
    background-color: #FFA500;
}

.fade {
    animation: fadeEffect 5s infinite; /* Set the duration for the fade effect */
}

.event-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 70px;
    background-color: #f0f0f0;
    min-height: 200px;
}

.event-container {
    display: flex;
    justify-content: space-between;
    width: 100%;
}

.event-list {
    width: 60%;
}

.event-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #fff;
    padding: 20px;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #d32f2f;
    padding: 30px;
    color: white;
    margin-right: 20px;
}

.event-date .day {
    font-size: 2rem;
    font-weight: bold;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    flex-grow: 1;
}

.event-share img {
    width: 20px;
    margin-left: 5px;
}

.event-timer {
    display: flex;
    justify-content: space-around;
    width: 35%;
    background-color: #263238;
    padding: 20px;
    align-items: center;
    color: white;
    border-radius: 10px;
}

.time-box {
    text-align: center;
}

.time-box span {
    display: block;
    font-size: 3rem;
    font-weight: bold;
}

.time-box p {
    margin-top: 5px;
    font-size: 1rem;
}

@keyframes fadeEffect {
    0%, 100% { opacity: 1; }
    50% { opacity: 5; }
}

.marquee-section {
    width: 100%;
    overflow: hidden; /* Hides content that goes outside of the box */
    position: relative;
    background-color: #f5f5f5;
    padding: 20px 0;
}

.marquee {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    animation: marquee-scroll 20s linear infinite;
}

.marquee-content {
    display: flex;
    flex: none; /* Ensure that the content doesn't shrink */
}

.marquee-content img {
    width: 200px; /* Adjust the size of the images */
    height: auto;
    margin-right: 20px;
    border-radius: 10px; /* Optional: to make the images rounded */
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Optional: add shadow to images */
}

.iphone-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        linear-gradient(135deg, rgba(44, 145, 217, 0.8), rgba(27, 69, 143, 0.8)), /* Gradient with transparency */
        url('../images/imageChView.JPG'); /* Add your image */
    background-size: cover; /* Ensure the background image covers the section */
    background-position: center;
    padding: 50px 0;
    min-height: 600px;
    color: #fff;
    text-align: right;
    position: relative;
}


.iphone-container {
    display: flex;
    align-items: center;
    background: transparent;

    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
    padding: 0 20px;
}

.text-content {
    flex: 1;
    max-width: 50%;
}

.text-content a {
    display: inline-block;
    padding: 10px 20px;
    background-color: #fff;
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.text-content a:hover {
    background-color: #bb8955; /* Change to a different color on hover */
    transform: scale(1.05); /* Slightly enlarge the button */
    color: #fff; /* Ensure the text stays white */
}

.text-content h1 {
    font-size: 3rem;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
}

.text-content p {
    font-size: 1.5rem;
    background-color: #fff;
    color: #000;
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    width: fit-content;
    margin-top: 20px;
    align-items: right;
}

.image-content {
    flex: 1;
    display: flex;
    /* justify-content: flex-end; */

}


.image-content img {
    max-width: 100%;
    height: 100%;
    background: transparent;
    border-radius: 20px; /* Optional: Rounded edges */
    /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);  */
    /* Shadow for phones */
    /* display: block;  */
    /* width: 100%;  */
    /* height: auto;  */
    /* transition: transform 0.2s ease;  */
    transform-style: preserve-3d;
}

.image-content img:hover {
    transition: transform 0.2s ease;
}


/* Define the keyframe for smooth continuous scrolling */
@keyframes marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}




/* Responsive Design: Ensure the cards stack nicely on smaller screens */
@media (max-width: 768px) {
    .ministry-item {
        flex-basis: 100%;  /* Full width on smaller screens */
        margin-bottom: 20px; /* Adds margin between stacked items */
    }
}

@media (max-width: 1024px) {
    .ministry-item {
        flex-basis: 100%;  /* Two cards per row on medium-sized screens */
        margin-bottom: 20px; /* Adds margin between items on two-card rows */
    }
    .profile-overlay {
        width: 100%;
        padding: 20px;
    }
    .profile-text {
        padding: 8px;
        max-width: 100%;
    }
    .profile-text h2 {
        font-size: 32px;
    }

    .profile-text p {
        font-size: 16px;
    }
    .profile-section {
    background-size: cover;
    background-position: right;
    min-height: 75px;
    }
    .event-container, .event-item {
        flex-direction: column;
    }
    
    .event-list {
        width: fit-content;
    }
    
    .event-timer {
        width: 91%;
        font-size: 0.3rem !important;
        justify-items: center;
    }
    .event-section {
        padding: 45px;
    }
    .text-content h1 {
        font-size: 2rem;
    }
    .text-content a {
        padding: 5px 10px;
        font-size: 12px;
    }
    .time-box{
        padding: 8px 12px;
    }
    .time-box p {
        font-size: 0.6rem;
    }
    .time-box span {
        font-size: 2rem;
    }
    .iphone-section {
        min-height: 230px;
    }
    .image-content img  {
        width: 90%;
    }
    
    
}

/* Blog Section Styles */
.blog-section {
    padding: 100px 20px;
    background-color: #fff;
    text-align: center;
}

.blog-section h2 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 40px;
}

.blog-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0px;
    max-width: 1200px;
    margin: 0 auto;
}

.blog-item {
    flex-basis: 30%;
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.blog-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 15px;
}

.blog-item h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
}

.blog-item p {
    font-size: 1em;
    color: #666;
    margin-bottom: 15px;
}

.blog-item a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.blog-item a:hover {
    text-decoration: underline;
    color: #0056b3;
}

/* Hover effect for blog items */
.blog-item:hover {
    transform: translateY(-10px);
}

/* Responsive Design: Ensure the blog items stack nicely on smaller screens */
@media (max-width: 768px) {
    .blog-item {
        flex-basis: 100%;
        margin-bottom: 20px;
    }
}

.community-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 230px;
    background-color: #f4f4f4;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
}

.video-container {
    width: 100%;
    max-width: 900px;
    padding: 10px;
}

.video-container iframe {
    width: 100%;
    height: calc(100vw * 0.5625); /* 16:9 aspect ratio */
    max-height: 506px;
    border: none;
}

.site-footer {
    background-color: #f4f4f4;
    padding: 20px 20px;
    font-family: Arial, sans-serif;
    color: #333;
}

.subscribe-section {
    background-color: #1f1f1f;
    color: #fff;
    text-align: center;
    padding: 40px;
    margin-bottom: 40px;
    border-radius: 10px;
}

.subscribe-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.subscribe-section p {
    margin-bottom: 20px;
    font-size: 1rem;
}

.subscribe-section form {
    display: flex;
    justify-content: center;
    align-items: center;
}

.subscribe-section input[type="email"] {
    padding: 10px;
    font-size: 1rem;
    border: none;
    border-radius: 5px;
    margin-right: 10px;
    width: 250px;
    max-width: 100%;
}

.subscribe-section button {
    padding: 10px 20px;
    font-size: 1rem;
    color: #fff;
    background-color: #f9b233;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-left: 40px;
}

.footer-column {
    flex: 1;
    min-width: 180px;
    margin-right: 10px;
}

.footer-column h3 {
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 5px;
}

.footer-column ul li a {
    text-decoration: none;
    color: #333;
    font-size: 0.9rem;
}

.footer-column .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-column .social-icons a img {
    width: 50px;
    height: 40px;
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    font-weight: bold;

}

/* Mobile Header Styles */
.mobile-header {
    display: none; /* Hidden on desktop */
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000;
}


/* Mobile Header Styles */
.mobile-header {
    display: none; /* Hidden on desktop by default */
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent background */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 1000; /* Ensure it's above other content */
}

/* Mobile Header Navbar */
.mobile-header .navbar {
    display: flex;
    justify-content: space-between; /* Space between logo and toggle button */
    align-items: center;
    width: 100%;
}

/* Site Logo Control */
.mobile-header .logo {
    display: flex;
    align-items: center;
    margin-left: 10px; /* Adjust left margin for the logo */
}

.mobile-header .logo img {
    height: 40px; /* Adjusted logo height for mobile */
    width: auto; /* Keep the logo's width auto-adjusting */
}

/* Toggle Button Control */
.menu-toggle {
    font-size: 24px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    margin-right: 50px; /* Adjust right margin for the toggle button */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Navigation Sliding Menu */
.mobile-nav {
    display: none; /* Hidden initially */
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 25px;
    z-index: 2000;
    max-height: 95%; /* Limit height to 95% of the screen */
    overflow-y: auto;
    transform: translateY(100%); /* Initially off-screen */
    transition: transform 0.3s ease-in-out; /* Smooth sliding effect */
}

.mobile-nav.active {
    transform: translateY(0%); /* Slide into view */
    display: block;
}

/* Mobile Menu Links */
.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin: 10px 0;
}

.mobile-nav ul li a {
    color: #fff;
    text-decoration: none;
    display: block;
    padding: 10px;
    text-align: center;
    position: relative; /* Required for positioning the underline */
    transition: transform 0.3s ease, color 0.3s ease; /* Smooth transition */
}

/* Hover effect for mobile menu links */
.mobile-nav ul li a:hover {
    color: #f1c40f; /* Change color on hover */
    transform: translateY(5px); /* Bowing effect by moving down */
}

/* Underscore line effect for mobile menu links */
.mobile-nav ul li a::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -5px; /* Distance of the line from the text */
    height: 2px; /* Thickness of the line */
    background-color: #f1c40f; /* Color of the underline */
    transform: scaleX(0); /* Start with no line (scaleX 0) */
    transition: transform 0.3s ease;
}

/* Full width underscore line on hover */
.mobile-nav ul li a:hover::after {
    transform: scaleX(1); /* Full width line on hover */
}

/* Dropdown Menu in Mobile */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    list-style: none;
    padding: 0;
    margin: 0;
    background-color: rgba(0, 0, 0, 0.8); /* Dark background for dropdown */
}

.dropdown-menu li {
    padding: 10px 0;
    text-align: center;
}

.dropdown-menu li a {
    color: #fff;
    padding: 10px;
    text-decoration: none;
    display: block;
}

/* Show the dropdown when the dropdown toggle is clicked */
.dropdown-menu.active {
    display: block;
}

/* Responsive Design: Adjust text size for mobile */
@media (max-width: 768px) {
    .hero-content-text h1 {
        font-size: 4rem; /* Smaller font size for h1 */
    }
    .hero-content-text h2 {
        font-size: 1.5rem; /* Adjust h2 size */
    }
    .hero-content-text h3 {
        font-size: 1.2rem; /* Adjust "Statement Of Faith" size */
    }
}

/* Media Query for Mobile */
@media (max-width: 768px) {
    .desktop-header {
        display: none; /* Hide desktop header on mobile */
    }

    .mobile-header {
        display: flex; /* Show mobile header */
    }

    .hero-content-text h1 {
        font-size: 1em; /* Reduce the font size on smaller screens */
    }
    .hero-content-text h1 {
        font-size: 0.5em; /* Adjust h2 size for smaller devices */
    }

    .mobile-nav.active {
        z-index: 2000;
    }

    .hero-content-text h1 {
        font-size: 0.2em;
        margin: 0;
    }
    
    /* Hide content when the mobile menu is open */
    body.menu-open .hero-section, 
    body.menu-open .welcome-section {
        display: none;
    }
    
}

/* No changes to hero video section */
.hero-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden;
    padding-top: 60px; /* Offset for fixed navbar height */
    z-index: 1; /* Lower z-index so it stays behind the mobile-nav */
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* Ensure video is behind content */
}

.hero-content-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 1; /* Ensure content is above video but below mobile-nav */
    padding: 20px;
}

.hero-content-text h1 {
    font-size: 3em;
    margin: 0;
}

.hero-content p {
    font-size: 1.5em;
    margin: 0;
}

/* Styles for Hero Image Section */
.hero-section {
    position: relative;
    width: 100%;
    height: 80vh; /* Full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    padding-top: 30px; /* Reduced Offset for fixed navbar height */
}

/* Other Hero Section Styles (Unchanged) */
.hero-image-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -5; /* Ensure image is behind the overlay and text */
}

.hero-image {
    width: 100%;
    height: 80%;
    object-fit: cover; /* Ensures the image covers the entire section without distortion */
}

.hero-image-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.4); /* Tint color and transparency */
    z-index: -1; /* Ensure tint is above the image but behind the text */
}

/* Style for the "Statement Of Faith" */
.hero-content h1 {
    margin-top: 20px;
    font-size: 7.5rem; /* Adjust size */
    font-weight: bold;
    color: #fff; /* White text */
}

/* Responsive Design: Adjust text size for mobile */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 4rem; /* Smaller font size for h1 */
    }
    .hero-content h2 {
        font-size: 1.5rem; /* Adjust h2 size */
    }
    .hero-content h3 {
        font-size: 1.2rem; /* Adjust "Statement Of Faith" size */
    }
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: white;
    z-index: 1; /* Ensure content is above the tint and image */
}

.hero-content h1, 
.hero-content h2, 
.hero-content h3 {
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7); /* Shadow for better readability */
}

/* Declaration Section */
.declaration-section {
    position: relative;
    width: 100%;
    padding: 40px 0; /* Reduced the top and bottom padding */
    background-image: url('./images/bible4.jfif'); /* Background image path */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Makes the background stay fixed as you scroll */
}

.declaration-content {
    background-color: rgba(0, 0, 0, 0.6);
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
    color: #fff;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
}

.declaration-content h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: #fff;
}

.declaration-content p {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 20px;
    margin-left: 40px;
    margin-right: 40px;
    color: #f1f1f1;
    text-align: justify;
}

/* Responsive Design Adjustments */
@media (max-width: 768px) {
    .declaration-content {
        padding: 20px;
    }

    .declaration-content h2 {
        font-size: 2rem;
    }

    .declaration-content p {
        font-size: 1rem;
    }

    .declaration-content p {
        font-size: 1.2rem;
        line-height: 1.8;
        margin-bottom: 20px;
        margin-left: 20px;
        margin-right: 20px;
        color: #f1f1f1;
        text-align: justify;
    }
}

/* Biography Section */
.biography-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%; /* Ensure container takes full height */
    overflow: hidden;
}

/* Fading Slides */
.fade-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.fade-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image covers the entire section */
    object-position: center; /* Center the image within the section */
}

.bio-caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 10px;
    font-size: 1.5rem;
    border-radius: 5px;
}

/* Add animation to fade slides */
@keyframes fade {
    0% { opacity: 0; }
    25% { opacity: 1; }
    50% { opacity: 1; }
    75% { opacity: 0; }
    100% { opacity: 0; }
}

/* Applying fade effect to each slide */
.fade-slide:nth-child(1) {
    animation: fade 9s infinite;
}

.fade-slide:nth-child(2) {
    animation: fade 9s infinite 3s; /* Starts after 3 seconds */
}

.fade-slide:nth-child(3) {
    animation: fade 9s infinite 6s; /* Starts after 6 seconds */
}

/* CLSOTWW Section */
.clsotww-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('./images/clsotww.jpg'); /* Path to your image */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Optional: Parallax effect if you want the background to stay fixed on scroll */
}

.clsotww-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2); /* Dark overlay to make text readable */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.clsotww-content {
    color: white;
    padding: 20px;
    max-width: 800px; /* Limit the width of the text */
}

.clsotww-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clsotww-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .clsotww-content h2 {
        font-size: 2rem;
    }

    .clsotww-content p {
        font-size: 1.2rem;
    }
}

/* TV Section */
.tv-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    overflow: hidden; /* Ensure no content overflows */
    background-image: url('../images/tv-background.jpg'); /* Path to your image */
    background-size: cover; /* Ensures the image covers the entire section */
    background-position: center; /* Default centering for larger screens */
    animation: scaleIn 10s ease-in-out infinite; /* Add the scale animation */
}

/* Animation to scale in the background image */
@keyframes scaleIn {
    0% {
        transform: scale(1); /* Normal scale */
    }
    50% {
        transform: scale(1.1); /* Scaled up slightly */
    }
    100% {
        transform: scale(1); /* Back to normal */
    }
}

.tv-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay for better text visibility */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.tv-content {
    color: white;
    padding: 20px;
    max-width: 800px; /* Controls the width of the content */
}

.tv-content h2 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.tv-content p {
    font-size: 1.5rem;
    line-height: 1.8;
    color: #f1f1f1;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tv-content h2 {
        font-size: 2rem;
    }

    .tv-content p {
        font-size: 1.2rem;
    }

    /* Adjust background image position to make the man visible */
    .tv-section {
        background-position: right center; /* Shift the background image to the left */
        animation: scaleIn 10s ease-in-out infinite; /* Keep the animation in mobile view */
    }
}

/* Article TV Section - Card Style */
.article-tv-section {
    position: relative;
    width: 100%;
    padding: 60px 20px;
    background-color: #f5f5f5; /* Light background color */
    text-align: center;
}

.tv-content-container {
    max-width: 800px;
    margin: 0 auto; /* Center content */
    padding: 20px;
    background-color: white;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    border-radius: 10px;
}

.article-tv-section h2 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
}

.article-tv-section p {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.8;
    margin-bottom: 20px;
}

.article-tv-section h3 {
    font-size: 2rem;
    color: #2980b9;
    margin-bottom: 10px;
}

.tv-frequencies {
    list-style-type: none;
    padding: 0;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.tv-frequencies li {
    margin-bottom: 10px;
}

.tv-frequencies strong {
    color: #2980b9; /* Make the label stand out */
}

/* Unique Button Design */
.tv-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.2rem;
    text-transform: uppercase;
    font-weight: bold;
    color: #fff;
    background-color: #e74c3c; /* Bold red color */
    border: none;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); /* Depth shadow */
    text-decoration: none;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.tv-button:hover {
    background-color: #c0392b; /* Slightly darker on hover */
    transform: scale(1.1); /* Slight enlargement on hover */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Responsive Design for Article TV Section */
@media (max-width: 768px) {
    .article-tv-section h2 {
        font-size: 2rem;
    }

    .article-tv-section p,
    .article-tv-section h3,
    .tv-frequencies li {
        font-size: 1rem;
    }

    .tv-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Prevent Horizontal Scroll */
* {
    box-sizing: border-box; /* Ensures padding and borders don't cause overflow */
}

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    width: 100%;
}

/* Ensure sections and containers don't overflow */
section {
    width: 100%;
    overflow-x: hidden; /* Ensure no overflow in any section */
    margin: 0;
    padding: 0;
}

/* Default Image Style (for desktop) */
.image-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto; /* Centered by default */
}

/* Move the image to the right for mobile view */
@media (max-width: 768px) {
    .image-content {
        display: flex;
        justify-content: flex-end; /* Align content (image) to the right */
    }

    .image-content img {
        width: 60%; /* Adjust width if necessary */
        margin-right: 0;
        margin-left: auto; /* Ensure it stays on the right */
    }
}

/* Give Section */
.give-section {
    position: relative;
    width: 100%;
    height: 100vh; /* Full viewport height */
    background-image: url('../images/support1.jpg'); /* Replace with your image path */
    background-size: cover; /* Ensure the image covers the entire section */
    background-position: center; /* Center the background image */
    background-repeat: no-repeat;
    background-attachment: fixed; /* Fixed background effect */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Overlay to darken the background for better readability */
.give-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay with 50% opacity */
    z-index: 1; /* Ensure the overlay is above the image but below the caption */
}

/* Container for the caption */
.give-container {
    position: relative;
    z-index: 2; /* Make sure the caption is above the overlay */
    text-align: center;
}

/* Caption Styling */
.give-caption {
    font-size: 5rem;
    color: white;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7); /* Text shadow for better readability */
    margin: 0;
    padding: 20px;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .give-caption {
        font-size: 3rem; /* Reduce caption size for smaller screens */
    }
}

/* Donation Section */
.donation-section {
    padding: 50px;
    background-color: #f5f5f5;
    font-family: Arial, sans-serif;
}

/* Donation Text */
.donation-text p {
    font-size: 1.0rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 20px;
}

/* Donation Options - Boxes */
.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 40px;
}

.donation-box {
    flex-basis: 25%; /* Adjusts the width of the boxes */
    background-color: #fafafa;
    border: 1px solid #e5e5e5;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

.donation-box h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.donation-box p {
    font-size: 1rem;
    color: #555;
}

.donation-box a {
    color: #007bff;
    text-decoration: none;
    font-weight: bold;
}

.donation-box a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .donation-box {
        flex-basis: 100%; /* Full width on smaller screens */
    }
}

.alternative-section {
    padding: 50px 0;
    text-align: center;
    background-color: #f9f9f9;
  }
  
  .alternative-section h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .payment-methods {
    display: flex;
    justify-content: center;
    gap: 30px;
    align-items: center;
  }
  
  .payment-methods a img {
    width: 100px;
    height: auto;
    transition: transform 0.3s ease;
  }
  
  .payment-methods a img:hover {
    transform: scale(1.1);
  }

  .partner-section {
    padding: 60px 0;
    text-align: center;
    background-color: #fff;
  }
  
  .partner-section h2 {
    font-size: 30px;
    margin-bottom: 20px;
    color: #333;
  }
  
  .partner-section p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #555;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .partner-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #007bff;
    color: #fff;
    font-size: 18px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
  }
  
  .partner-btn:hover {
    background-color: #0056b3;
  }

/* Partner Head Section Styling */
.partner-head-section {
    padding: 40px 0;
    padding-top: var(--partner-head-padding-top, 150px); /* Control for padding-top */
    margin-top: var(--partner-head-margin-top, 0);      /* Control for margin-top */
    background-color: #f8f9fa;
    text-align: center;
}
  
.partner-head-section h2 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 15px;
}
  
  /* Subheading text in partner head section */
  .partner-head-section .subheading-text {
    font-size: 18px;
    color: #555;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .partner-head-section .subheading-text strong {
    color: #d9534f;
    font-weight: bold;
  }

  /* Partners Form Section Styling */
.partners-form-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .partners-form-section .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-card {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }
  
  .form-group {
    margin-bottom: 20px;
    text-align: left;
  }
  
  .form-group label {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
    display: block;
    font-weight: 600;
  }
  
  .form-group input,
  .form-group select {
    width: 100%;
    padding: 12px 15px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 8px;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
  }
  
  .form-group input:focus,
  .form-group select:focus {
    border-color: #007bff;
    background-color: #fff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }
  
  .submit-btn {
    width: 100%;
    padding: 15px;
    font-size: 18px;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
  }
  
  .submit-btn:hover {
    background-color: #0056b3;
    transform: scale(1.02);
  }
  
  .submit-btn:active {
    transform: scale(1.01);
  }
  
  /* Responsive design adjustments */
  @media (max-width: 768px) {
    .partners-form-section {
      padding: 40px 0;
    }
  
    .form-card {
      padding: 30px;
    }
  
    .submit-btn {
      font-size: 16px;
    }
  }

  ---------------

  /* Unique account card styling */
  .account-details {
    margin-top: 40px;
  }
  
  .account-details h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
  }
  
  .account-cards.unique {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .account-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: left;
  }
  
  .account-card h4 {
    font-size: 18px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .account-card p {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
  }
  
  .account-card.large {
    width: 100%;
    max-width: 640px;
  }
  
  @media (max-width: 768px) {
    .account-cards.unique {
      flex-direction: column;
      align-items: center;
    }
  
    .account-card {
      width: 100%;
      max-width: 350px;
    }
  
    .account-card.large {
      max-width: 100%;
    }
  }
  
  /* Partners Form Section Styling */
.partners-form-section {
    padding: 10px 0;
    background-color: #f9f9f9;
    text-align: center;
  }
  
  .partners-form-section .container {
    max-width: 800px;
    margin: 0 auto;
  }
  
  .form-card {
    background-color: #fff;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
  }
  
  /* Bank Details Section Styling */
  .bank-details-section {
    margin-top: 40px;
    text-align: center;
  }
  
  .bank-details-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
  }
  
  /* Account Cards Styling */
  .account-cards.unique {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }
  
  .account-card {
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 300px;
    text-align: left;
  }
  
  .account-card h4 {
    font-size: 18px;
    color: #007bff;
    margin-bottom: 10px;
  }
  
  .account-card p {
    font-size: 14px;
    color: #333;
    margin: 5px 0;
  }
  
  .account-card.large {
    width: 100%;
    max-width: 640px;
  }
  
  /* Responsive Design Adjustments */
  @media (max-width: 768px) {
    .account-cards.unique {
      flex-direction: column;
    }
  
    .account-card {
      width: 100%;
      max-width: 350px;
    }
  
    .account-card.large {
      max-width: 100%;
    }
  }
  