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: 40px; /* 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 */
}


.site-footer {
    background-color: #f4f4f4;
    padding: 50px 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;
}

/* Faith Tools Section */
.faith-tools-section {
    margin-top: 60px; /* Adjust based on header height */
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

/* Slideshow Container */
.slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Tint Overlay */
.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

/* Each slide image */
.faith-tools-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 2s ease, transform 2s ease;
}

.faith-tools-slide img {
    width: 100%;
    height: auto; /* Default for desktop - maintain aspect ratio */
    object-fit: cover;
}

/* Active slide */
.active {
    opacity: 1;
    transform: scale(1.05); /* Slight zoom */
}

/* Fade-out effect */
.fade-out {
    opacity: 0;
    transform: scale(0.95);
}

/* Mobile full-screen images */
@media (max-width: 768px) {
    .faith-tools-slide img {
        height: 100vh; /* Make the image fill the entire screen height */
        object-fit: cover; /* Ensures the image covers the container fully */
        width: 100%; /* Ensure full width is covered */
    }
}

/* Mobile Header */
.mobile-header {
    display: none; /* Hidden on larger screens */
}

.menu-toggle {
    font-size: 24px;
    color: white;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.9);
    padding: 25px;
    max-height: 90%;
    overflow-y: auto;
    display: none;
    transform: translateY(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-nav.active {
    transform: translateY(0%);
}

.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;
    text-align: center;
}

/* Media Queries */
@media (max-width: 768px) {
    .desktop-header {
        display: none; /* Hide desktop header on mobile */
    }

    .mobile-header {
        display: flex; /* Show mobile header */
    }
}

.faith-article-section {
    background: linear-gradient(to right, #f7f7f7, #fefefe);
    padding: 50px 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
    text-align: center;
}

.article-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background-color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.faith-article-section h2 {
    font-size: 2.5rem;
    color: #007bff;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.intro-text {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.6;
    color: #555;
}

.scripture-examples {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.example-item {
    background-color: #f0f8ff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.example-item h3 {
    font-size: 1.4rem;
    color: #007bff;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.example-item p {
    font-size: 1.1rem;
    color: #555;
}

.example-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.faith-tools-section {
    margin-top: 40px;
}

.faith-tools-section h2 {
    font-size: 2rem;
    color: #d35400;
    margin-bottom: 20px;
}

.faith-tools-section p {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
}

.faith-tools-section blockquote {
    font-style: italic;
    background-color: #f9f9f9;
    border-left: 5px solid #007bff;
    margin: 20px auto;
    padding: 20px;
    border-radius: 8px;
    font-size: 1.2rem;
    color: #444;
    text-align: left;
}

.note-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 30px;
}

.note, .warning {
    background-color: #fef9e7;
    border-left: 4px solid #f39c12;
    padding: 15px;
    font-size: 1.1rem;
    border-radius: 5px;
    text-align: left;
}

.warning {
    background-color: #ffe4e1;
    border-left-color: #e74c3c;
}

.warning em {
    font-style: italic;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .scripture-examples {
        grid-template-columns: 1fr;
    }

    .faith-article-section h2 {
        font-size: 2rem;
    }

    .example-item {
        padding: 15px;
    }

    .faith-tools-section h2 {
        font-size: 1.8rem;
    }

    .faith-tools-section blockquote {
        font-size: 1.1rem;
    }
}

