/* General Styling */
body, html {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0; /* Ensure no extra padding on the body or HTML */
    overflow-x: hidden; /* Prevent horizontal scrolling caused by content overflow */
    box-sizing: border-box; /* Standardize box model for all elements */
}

p {
    font-size: 20px;
    line-height: 1.6;
    margin: 10px 0;
}

/* Main Container */
.main-container {
    width: 100%;
    flex-grow: 1; /* Ensures the main container grows to fill available space */
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 20px; /* Added some space at the bottom */
}

/* Content Container */
.content-container {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    box-sizing: border-box; /* Ensure padding doesn't affect the width */
}

/* Video Background */
video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the video covers the screen while maintaining aspect ratio */
    z-index: -1; /* Keeps the video behind the text */
}

/* Default color for desktop and larger screens */
h1.index-heading, h2.index-heading {
    color: white;
}

/* Headings Styling */
h1.index-heading, h2.index-heading {
    color: white; /* Set text color to white */
    text-align: center;
    position: relative;
    z-index: 1; /* Ensure text appears above the video */
}

/* Footer Styling */
footer {
    position: relative;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 10px;
    text-align: center;
    margin-top: auto; /* Push footer to the bottom */
}

/* Copyright Text */
footer p {
    margin: 0;
    font-size: 14px;
}

/* Container */
.container {
    min-height: 100vh; /* Ensures full height on mobile */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Ensures space is distributed */
    align-items: center;
    text-align: center;
}

/* Navbar */
.navbar {
    width: 100%;
    display: flex;
    justify-content: flex-start; /* Align to the left */
}

/* Navbar Links */
.navbar-nav .nav-link {
    color: #000; /* Set a visible color for menu items */
    visibility: visible; /* Ensure links are always visible */
    opacity: 1; /* Remove any transparency */
}

.navbar-nav .nav-link:hover {
    color: #007bff; /* Optional: Change color on hover */
    text-decoration: none; /* Ensure no underline on hover */
}

/* Menu Links */
.menu a {
    text-decoration: none;
    color: inherit;
    padding: 10px 15px;
    display: inline-block;
}

/* Ensure text color is black on mobile */
@media (max-width: 768px) {
    body h1.index-heading, body h2.index-heading {
         
    }
    
       .navbar {
        flex-direction: column; /* Stack navbar items vertically */
        align-items: center; /* Center align the items */
    }

    .navbar-nav .nav-link {
        margin-bottom: 10px; /* Add spacing between navbar items */
    }
    
        video {
        max-height: 100vh; /* Limit video height on mobile for better content visibility */
    }
    
    footer {
        text-align: center;
        padding: 15px; /* Adjust padding for mobile */
        margin-top: 20px; /* Add space between footer and content */
    }
    
.copy-text {
        width: 90%; /* Keep it compact and centered */
        padding: 10px 15px; /* Compact padding */
        margin: 0 auto; /* Center the container */
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); /* Add subtle shadow */
        border-radius: 6px; /* Slightly rounded corners */
        position: relative;
        top: 400px; /* Keep the box at your desired height */
        background-color: white; /* Ensure text readability */
        text-align: center;
        overflow: hidden; /* Prevent overflow issues */
        height: auto; /* Dynamically adjust height */
        max-height: 120px; /* Limit the height to lift the bottom up */
    }

.copy-text p {
        font-size: 14px; /* Maintain readability */
        line-height: 1.4; /* Adjust spacing for the text */
        margin: 0; /* Remove default margins */
    }
    
    .play-pause-button {
        font-size: 20px; /* Make the button slightly smaller on mobile */
        top: 70%; /* Adjust its position further down on smaller screens */
        left: 50%;
        transform: translateX(-50%);
    }
    
    /* Ensure play button remains visible and doesn't interfere with text color */
    .play-pause-button {
        visibility: visible !important; /* Force visibility */
        opacity: 1 !important; /* Ensure it's not transparent */
    }

    /* Optionally, add some margin if text is overlapping */
    .index-heading {
        margin-top: 20px;
    }

    /* Align footer text in a way that matches content on mobile */
    footer {
        text-align: center;
    }
}

/* Donate Button */
.donate-button {
    display: inline-block;
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.donate-button:hover {
    background-color: #45a049;
}

/* Play/Pause button styling */
.play-pause-button {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 10px;
    font-weight: bold;
    transition: color 0.3s;
    position: absolute; /* Ensures it's positioned correctly */
    z-index: 1; /* Ensures it's on top of other content */
    top: 50%; /* Adjust as needed */
    left: 50%; /* Adjust as needed */
    transform: translate(-50%, -50%); /* Centers the button */
}

.play-pause-button:hover {
    color: #007bff; /* Change color on hover */
}

.play-pause-button.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Supported By Banner */
.supported-by-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    padding: 15px;
    background-color: inherit;
    color: inherit;
    text-align: center;
}

.supported-by-banner p {
    font-size: 18px;
    font-weight: bold;
    color: #333;
    margin: 0;
}

.supported-by-banner .logo {
    max-width: 150px;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    background-color: rgba(0, 0, 0, 0.8);
    padding: 10px;
    border-radius: 8px;
}

/* Shop Page Styling */
.shop-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 20px;
}

.item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    padding: 15px;
    max-width: 220px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.item-image {
    width: 100%;
    height: 160px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 10px;
}

.item h2 {
    font-size: 18px;
    margin: 10px 0 5px;
}

.item p {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.item button {
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.item button:hover {
    background-color: #218838;
}
