/* ==========================
   General Reset
========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333; /* Neutral text color */
    background-color: #f9f9f9; /* Light background color */
    scroll-behavior: smooth;
    width: 100%;
    
}

a {
    text-decoration: none;
    color: inherit;
}
/* Full-Screen Video Header */
.video-header {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Video Background */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-object-fit: cover; /* Safari compatibility */
    z-index: -1;
}

/* Overlay Text Left-Aligned */
.overlay {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    color: white;
    z-index: 1;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
}

/* Individual Styles for Each Text */
#typed-first {
    font-size: 3.5rem;
    font-weight: bold;
    color: #ffcc00;
    margin-bottom: 15px;
    display: block;
    white-space: normal;
    word-break: break-word;
    line-height: 1.5;
    max-width: 300px;
}

#typed-second {
    font-size: 1.8rem;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 10px;
    display: block;
}

#typed-third {
    font-size: 1.5rem;
    font-weight: 400;
    color: #cccccc;
    display: block;
    margin-top: 5px;
}

/* Top Left YouTube Button */
.top-left-button {
    position: absolute;
    top: 50px;
    left: 20px;
    z-index: 2;
}

.watch-live-button {
    display: inline-block;
    padding: 12px 25px;
    background-color: #ffcc00;
    color: #000;
    font-weight: bold;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, transform 0.3s;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.watch-live-button:hover {
    background-color: #e6b800;
    transform: translateY(-3px);
}

/* Reset Global Margins */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Menu */
.navbar {
    background-color: rgba(0, 0, 0, 0.8);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%; /* Full-width */
    z-index: 1000; /* Ensure proper stacking */
    padding: 10px 20px;
    display: flex;
    justify-content: space-between; /* Align logo and menu */
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Prevents padding overflow */
}

/* Navbar List */
.navbar ul {
    list-style: none;
    display: flex;
    gap: 20px; /* Space between menu items */
    padding: 0;
    margin: 0;
    width: auto; /* Prevents list from stretching unnecessarily */
}

/* Navbar List Items */
.navbar ul li {
    flex: none;
}

/* Navbar Links */
.navbar ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 1.2rem;
    padding: 8px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
    white-space: nowrap; /* Prevents text wrapping */
}

.navbar ul li a:hover {
    background-color: #ffcc00;
    color: #000;
}

/* Navbar Toggle Button for Mobile */
.navbar-toggle {
    display: none; /* Hidden on desktop */
    font-size: 1.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 101;
}

/* Mobile Navigation Menu */
@media (max-width: 768px) {
    .navbar ul {
        display: none; /* Hidden by default on mobile */
        flex-direction: column;
        background-color: rgba(0, 0, 0, 0.9);
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%; /* Full-width dropdown */
        gap: 10px;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    }

    .navbar ul.active {
        display: flex; /* Show menu when active */
    }

    .navbar ul li a {
        font-size: 1rem; /* Adjust font size for mobile */
        padding: 10px 15px;
    }

    .navbar-toggle {
        display: block; /* Show toggle button on mobile */
    }
}

/* Welcome Section */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

#welcome h1 {
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 20px;
}

#welcome p {
    font-size: 1.2rem;
    color: #4b2e2e;
}

/* About Section */
.about-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1rem;
    background-color: #f9f9f9;
}

.about-image {
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}

.about-image img {
    max-width: 90%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.about-text {
    flex: 1;
    padding-left: 2rem;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.abouterer {
    color:rgb(51, 4, 4);
}


.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
}

.about-text p {
    font-size: 1.2rem;
    color: #4b2e2e;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Leadership Blogs */
.blog-cardo {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    background-color: #f1f1f1;
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.blog-image1 img {
    max-width: 350px; /* Keep this or adjust */
    border-radius: 0px; /* <-- Make corners sharp */
    margin-right: 1.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    flex: 1;
    max-width: 50%;
    display: flex;
    justify-content: flex-end;
}


.blog-contento {
    flex: 1;
    text-align: left;
}

/* Final Video Section */
.video-containerh {
    width: 100%;
    height: 90vh;
    max-height: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    background: #eeaaaa;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-containerh video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    -webkit-object-fit: contain; /* Safari compatibility */
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Adjust video header */
    .video-header {
        height: 60vh;
    }

    .background-video {
        object-fit: cover;
    }

    .overlay {
        width: 90%;
        font-size: 1rem;
    }

    #typed-first {
        font-size: 5vw;
    }

    #typed-second, #typed-third {
        font-size: 3vw;
    }

    /* Final Video Section */
    .video-containerh {
        height: auto;
    }

    /* About Section */
    .about-content {
        flex-direction: column;
    }

    .about-image img {
        max-width: 80%;
        margin: 0 auto;
    }

    /* Blog Adjustments */
    .blog-cardo {
        flex-direction: column;
    }

    .blog-image1 img {
        max-width: 100%;
        margin-bottom: 15px;
    }
}

/* About Page Header */
.about-header {
    position: relative;
    height: 60vh;
    background-image: url('images/leaderheader-image.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    color: #805959;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.about-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.about-header p {
    font-size: 1.5rem;
}

/* About Section */

/* About Us Section */
.open-book {
    max-width: 1200px;
    margin: 40px auto;
    text-align: center;
}

.open-book h2 {
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 20px;
}

.open-book p {
    font-size: 1.2rem;
    color: #444;
    margin-bottom: 20px;
}

/* Book Container */
.book-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding: 40px 20px; /* Increased padding for better spacing */
    background-color: #cfb2b2;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Spine of the Book */
.book-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 100%;
    background: linear-gradient(to bottom, #ccc, #aaa);
    z-index: 1;
}

/* Left Page */
.book-left-page {
    flex: 1;
    padding: 30px; /* Increased padding to avoid content touching the edges */
    background: linear-gradient(to right, #f9f9f9, #ffffff 80%);
    border-right: 5px solid #ddd;
    clip-path: polygon(0% 0%, 98% 5%, 98% 95%, 0% 100%); /* Adjusted clip-path for more space */
    text-align: justify;
    z-index: 2;
    overflow: hidden; /* Ensures no overflow of text */
}

/* Right Page */
.book-right-page {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px; /* Increased padding for spacing */
    background: linear-gradient(to left, #f9f9f9, #ffffff 80%);
    clip-path: polygon(2% 5%, 100% 0%, 100% 100%, 2% 95%); /* Adjusted clip-path for more space */
    z-index: 2;
    overflow: hidden; /* Prevents overflow of content */
}

.book-right-page img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .book-container {
        flex-direction: column;
        clip-path: none;
    }

    .book-left-page, .book-right-page {
        clip-path: none;
        border-right: none;
    }

    .book-right-page {
        margin-top: 20px;
    }

    .book-right-page img {
        max-width: 100%;
    }
}


/* Ministries Section */
.ministries-section {
    padding: 60px 20px;
    background-color: #ffffff;
    max-width: 1200px;
    margin: 20px auto;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.ministry {
    flex: 1 1 calc(50% - 20px); /* Two columns side-by-side */
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.ministry h4 {
    font-size: 2rem;
    color: #800000;
    margin-bottom: 15px;
}

.ministry p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 20px;
}

.ministry ul {
    list-style-type: disc;
    margin: 20px 0;
    padding-left: 20px;
    text-align: left;
}

.ministry ul li {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}



/* Vision & Mission Section */
.vision-mission-section {
    padding: 40px 20px;
    background-color: #f9f9f9;
}

.vision-mission-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px; /* Adjust spacing between sections */
}

.vision-text, 
.mission-text {
    flex: 1; /* Equal width for both */
    max-width: 50%;
    text-align: left;
}

.vision-text h2, 
.mission-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.vision-text p, 
.mission-text p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .vision-content,
    .mission-content {
        flex-direction: column; /* Stacks logo and text vertically */
        text-align: center;
    }

    .vision-mission-logo {
        margin-bottom: 15px;
    }

    .vision-text,
    .mission-text {
        text-align: center;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .about-section, .ministries-section {
        flex-direction: column;
    }

    .about-details, .ministry {
        flex: 1 1 100%; /* Full width for smaller screens */
    }

    .about-image img, .ministry img {
        max-width: 100%;
        height: auto;
    }

    .about-section h2, .vision-mission-section h2 {
        font-size: 2rem;
    }

    .ministry h4 {
        font-size: 1.8rem;
    }

    .ministry p, .ministry ul li {
        font-size: 1rem;
    }
}

/* ministry */
/* Header */
.ministries-headerm {
    background-image: url('images/leaderheader-image.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 70vh; /* Extended height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.headerm-content h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.headerm-content p {
    font-size: 1.5rem;
}

/* Services Section */
.services-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.service-card {
    background-color: #ffe6cc; /* Updated to match color scheme */
    padding: 20px;
    flex: 1;
    min-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

/* Ministries Blogs Section */
.ministries-blogs {
    padding: 40px 20px;
    background-color: #ffffff;
}

.ministries-blogs h2 {
    text-align: center;
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 20px;
}

.blog-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Two blogs per row */
    gap: 20px;
}

.blog-card {
    background-color: #f9f9f9;
    display: flex;
    align-items: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
}

.blog-card img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px 0 0 10px;
}

.blog-content {
    padding: 15px;
}

.blog-content h3 {
    font-size: 1.5rem;
    color: #4b2e2e;
    margin-bottom: 10px;
}

.blog-content p {
    font-size: 1rem;
    color: #555;
}

/* Responsive Design */
@media (max-width: 768px) {
    .blog-wrapper {
        grid-template-columns: 1fr; /* One blog per row on smaller screens */
    }
}

/* Header Section */

/* Header Section */
.gallery-header {
    position: relative;
    height: 50vh; /* Adjust height for desired view */
    background-image: url('images/leaderheader-image.jpg'); /* Replace with your header image */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.gallery-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.gallery-header p {
    font-size: 1.5rem;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Gallery Container */
.gallery-container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 90%; /* Adjusted to avoid potential overflow issues */
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

/* Gallery Items */
.gallery-item {
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.gallery-item img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #eaeaea;
}

.gallery-item .caption {
    padding: 10px;
    font-size: 1rem;
    color: #555;
    font-style: italic;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .gallery-header h1 {
        font-size: 2.5rem;
    }

    .gallery-header p {
        font-size: 1.2rem;
    }

    .gallery-item .caption {
        font-size: 0.9rem;
    }
}
/* ==========================
   Header
========================== */
.resources-header {
    background-image: url('images/leaderheader-image.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    height: 70vh;
    color: white;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.resources-header h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.resources-header p {
    font-size: 1.5rem;
    margin: 0;
}

/* ==========================
   Beliefs Section
========================== */
.resources-beliefs {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.resources-beliefs h2 {
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 20px;
}

.beliefs-content p {
    font-size: 1.2rem;
    color: #4b2e2e;
    margin-bottom: 20px;
}

.beliefs-list {
    list-style: disc;
    padding-left: 40px;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    color: #333;
}

.beliefs-list li {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* ==========================
   Sermons Section
========================== */
.resources-sermons {
    padding: 50px 20px;
    background-color: #ffffff;
    text-align: center;
}

.resources-sermons h2 {
    font-size: 2.5rem;
    color: #800000;
    margin-bottom: 30px;
}

.sermons-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.sermon-item {
    background: #f9f9f9;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    flex: 1;
    max-width: 300px;
    transition: transform 0.3s ease;
}

.sermon-item:hover {
    transform: translateY(-5px);
}

.sermon-image {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.sermon-item p {
    font-size: 1rem;
    color: #4b2e2e;
}

/* ==========================
   Additional Resources Section
========================== */
.additional-resources {
    padding: 50px 20px;
    background-color: #f9f9f9;
}

.additional-resources h2 {
    text-align: center;
    color: #800000;
    margin-bottom: 40px;
    font-size: 2.5rem;
}

.resources-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.resource-item {
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.resource-item img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.resource-item:hover {
    transform: translateY(-5px);
}

.resource-item h3 {
    color: #800000;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.resource-item p {
    color: #4b2e2e;
    font-size: 1rem;
    line-height: 1.6;
}

/* See More Button */
.sermons-button-container {
    margin-top: 20px;
}

.see-more-button {
    display: inline-block;
    background-color: #800000; /* Maroon color */
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.see-more-button:hover {
    background-color: #660000; /* Darker maroon for hover effect */
}

/* ==========================
   Footer
========================== */
.resources-footer {
    background-color: #4b2e2e;
    color: white;
    text-align: center;
    padding: 15px 0;
    font-size: 1rem;
    border-top: 4px solid #ffcc00;
}

/* ==========================
   Responsive Design
========================== */
@media (max-width: 768px) {
    .resources-gallery {
        grid-template-columns: 1fr; /* Single column on smaller screens */
    }

    .sermons-gallery {
        flex-direction: column;
    }

    .sermon-item {
        max-width: 100%;
    }

    .beliefs-list {
        padding-left: 20px;
    }
}

/* Header Section */
.contact-header {
    position: relative;
    height: 70vh;
    background-image: url('images/leaderheader-image.jpg'); /* Replace with your image */
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.contact-header h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.contact-header p {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}


/* Containers */
.container {
    max-width: 1200px;
    margin: 30px auto;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #800000;
    text-align: center;
}

/* Map Section Container */
.mmcontainer {
    width: 100%; /* Full width of the viewport */
    max-width: 1200px; /* Restrict to 1200px on larger screens */
    margin: 0 auto; /* Center the section horizontally */
    padding: 20px; /* Add padding for spacing */
    box-sizing: border-box; /* Ensure padding is included in the width */
    text-align: center; /* Center-align text and content */
}

/* Map Wrapper */
.map-wrapper {
    position: relative;
    width: 100%; /* Full width of the container */
    padding-top: 56.25%; /* Maintain a 16:9 aspect ratio */
    overflow: hidden; /* Hide any overflowing content */
    border-radius: 10px; /* Optional: Add rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add shadow */
}

/* Responsive Iframe */
.map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%; /* Fill the wrapper's width */
    height: 100%; /* Fill the wrapper's height */
    border: 0; /* Remove default iframe border */
}

/* Responsive Design for Smaller Screens */
@media (max-width: 768px) {
    .mmcontainer {
        padding: 10px; /* Reduce padding for smaller screens */
    }

    .map-wrapper {
        border-radius: 5px; /* Smaller corner rounding */
    }
}


/* Contact Form */
#message-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #4b2e2e;
}

.form-group input,
.form-group textarea {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f7f4;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: #800000;
    outline: none;
}

button {
    padding: 10px 20px;
    font-size: 1.2rem;
    background-color: #800000;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #ffcc00;
    color: black;
}

/* Chatbox */
.chatbox-section {
    padding: 40px;
    background-color: #ffffff;
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.chatbox {
    background-color: #f5f5f5;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
}

#chat-output {
    height: 150px;
    border: 1px solid #ccc;
    margin-bottom: 20px;
    padding: 10px;
    overflow-y: auto;
}

#user-message {
    padding: 10px;
    width: 80%;
    border-radius: 5px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

/* Header Styling */
.image-header {
    position: relative;
    height: 50vh;
     background: url('images/leaderheader-image.jpg') no-repeat center center/cover;
    background-size: cover;
    background-position: center;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-header h1 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.image-header p {
    font-size: 1.2rem;
}


/* Leadership Blogs Section */
#leadership-blogs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 30px;
}

.blog {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.blog img {
    width: 100%;
    height: auto;
    display: block;
}

.blog-info {
    padding: 20px;
    text-align: center;
}

.blog-info h3 {
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.blog-info p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 15px;
}

/* Header Section */
.header-section {
    background: url('images/leaderheader-image.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
    padding: 60px 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    height: 60vh;
}

.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.header-subtitle {
    font-size: 1.2rem;
}

/* Video Section */
.video-section {
    padding: 40px 20px;
}

.video-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Three columns per row */
    gap: 20px;
    max-width: 95%; /* Cover 3/4 of the page */
    margin: 0 auto;
}

.video-item {
    background: #f9f9f9;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 10px;
}

.video-item iframe {
    width: 100%;
    border: none;
    border-bottom: 3px solid #ffcc00;
    border-radius: 10px 10px 0 0;
}

.video-title {
    font-size: 1.1rem;
    color: #333;
    margin: 10px 0;
    font-weight: bold;
    text-transform: capitalize;
}

/* Responsive Design */
@media (max-width: 992px) {
    .video-container {
        grid-template-columns: repeat(2, 1fr); /* Two columns per row */
    }

    .header-title {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .video-container {
        grid-template-columns: 1fr; /* Single column */
    }

    .navbar ul {
        flex-direction: column;
        gap: 10px;
    }
}

.footer-section {
    background:#800000;
    color: #ECF0F1;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer-logo {
    flex: 1 1 100%;
    text-align: center;
    margin-bottom: 20px;
}

.footer-logo-img {
    max-width: 150px;
    height: auto;
    border-radius: 190px;
}

.footer-welcome,
.footer-links,
.footer-connect,
.footer-contact {
    flex: 1 1 300px;
    margin-bottom: 20px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li a,
.footer-connect a,
.footer-contact a {
    color: #ECF0F1;
    text-decoration: none;
}

.footer-links ul li a:hover,
.footer-connect a:hover,
.footer-contact a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #ECF0F1;
    padding-top: 15px;
}

/* Floating WhatsApp Icon */
.whatsapp-float {
    position: fixed;
    bottom: 20px; /* Distance from bottom */
    right: 20px; /* Distance from right */
    background: #25D366; /* WhatsApp Green */
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
    z-index: 1000; /* Ensure it appears above everything */
}

/* Hover Effect */
.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Tooltip Styling */
.whatsapp-tooltip {
    visibility: hidden;
    background-color: black;
    color: white;
    text-align: center;
    padding: 5px 10px;
    border-radius: 5px;
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
    font-size: 14px;
    white-space: nowrap;
}

/* Show Tooltip on Hover */
.whatsapp-float:hover .whatsapp-tooltip {
    visibility: visible;
    opacity: 1;
}



/* =======================
      ZEVOXIA EVENTS STYLES
========================== */

.zevexia-hold {
    margin-top: 120px;
    padding: 40px 20px;
    background-color: #fff;
}

.lumino-title {
    text-align: center;
    font-size: 2.8rem;
    color: #800000;
    margin-bottom: 20px;
}

.lumino-para {
    text-align: center;
    font-size: 1.2rem;
    color: #4b2e2e;
    margin: 0 auto 40px auto;
    max-width: 700px;
}

.orbixa-net {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.novex-card {
    background: #ffffff;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    flex: 0 1 320px;
    text-align: center;
}

.novex-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.novex-top {
    font-size: 1.8rem;
    color: #800000;
    margin-bottom: 10px;
}

.novex-time {
    font-weight: bold;
    color: #555;
    margin-bottom: 15px;
}

.novex-story {
    color: #4b2e2e;
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .orbixa-net {
        flex-direction: column;
        align-items: center;
    }
}


/* Modal Styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Full-screen overlay */
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background */
}

/* Modal Content (PDF Viewer) */
.modal-content {
  margin: 5% auto;
  padding: 20px;
  border-radius: 10px;
  background-color: #fff;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Close Button */
.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  position: absolute;
  top: 10px;
  right: 20px;
}

.close-btn:hover {
  color: #fff;
}