body {
    margin: 0;
    font-family: 'Exo 2', Arial, sans-serif; /* Use Exo 2 font */
    background-color: #f4f4f4;
    color: #333;
    background-image: url('../assets/bsa-logo.png');
    background-size: cover; /* Ensures the image covers the entire background */
    background-repeat: no-repeat; /* Prevents the image from repeating */
    background-position: center; /* Centers the image */
    background-attachment: fixed; /* Fixes the background for a parallax effect */
    cursor: url('../assets/base-icon.png') 16 16, auto;
}

header {
    background: rgba(51, 51, 51, 0.8); /* Dark background with 80% opacity */
    color: white; /* White text color */
    padding: 20px 0; /* Adds vertical padding */
    text-align: center; /* Centers the header content */
}

header h1 {
    font-family: 'Exo 2', Arial, sans-serif; /* Apply Exo 2 to the header */
    font-size: 2.5em;
    margin: 0; /* Removes default margin */
}

header .social-links a img {
    width: 35px; /* Adjusts icon size */
    height: 35px;
    margin: 0 10px; /* Adds spacing between icons */
    vertical-align: middle; /* Aligns icons with text */
}

h1, h2, h3 {
    font-family: 'Exo 2', Arial, sans-serif; /* Apply Exo 2 to headings */
}

main {
    padding: 20px;
}

/* Slideshow container */
.slideshow {
    position: relative;
    max-width: 100%; /* Allow the slideshow to take full width on smaller screens */
    height: 500px; /* Increased height for better display */
    margin: auto;
    overflow: hidden; /* Hide overflowing images */
    border-radius: 8px; /* Optional: Rounded corners */
}

/* Individual slides */
.slideshow .slide {
    display: none; /* Hide all slides by default */
    position: absolute;
    width: 100%;
    height: 100%;
}

/* Images inside slides */
.slideshow .slide img {
    width: 100%; /* Ensure images fill the container */
    height: 100%; /* Adjust image height to match the container */
    object-fit: cover; /* Crop images to fit the container */
}

/* Navigation buttons */
.slideshow button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 50%;
    font-size: 18px;
    z-index: 10;
}

.slideshow .prev {
    left: 10px;
}

.slideshow .next {
    right: 10px;
}

.slideshow button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

footer {
    background: rgba(51, 51, 51, 0.8); /* Dark background with 80% opacity */
    color: white; /* White text color */
    text-align: center; /* Centers all content inside the footer */
    padding: 10px 0; /* Adds vertical padding */
    position: relative;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #007bff; /* Blue links */
    text-decoration: none; /* Removes underline */
}

footer a:hover {
    color: #6f42c1; /* Purple on hover */
}

button {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
}

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

@media (max-width: 600px) {
    h1 {
        font-size: 2em;
    }

    button {
        width: 100%;
    }
}

#about {
    background-color: white; /* Sets the background to white */
    padding: 20px; /* Adds padding for better readability */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Adds a subtle shadow for a lifted effect */
    margin: 20px auto; /* Centers the container and adds spacing */
    max-width: 800px; /* Limits the width for better readability */
}

.action-buttons {
    text-align: center; /* Centers the button horizontally */
    margin-top: 20px; /* Adds some spacing above the button */
}

.action-buttons a {
    display: inline-block; /* Ensures the button respects the text-align property */
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    text-decoration: none; /* Remove underline */
    padding: 10px 20px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    font-size: 1em; /* Font size */
    transition: background-color 0.3s ease; /* Smooth transition for hover effect */
    font-family: 'Exo 2', Arial, sans-serif; /* Apply Exo 2 to buttons */
}

.action-buttons a:hover {
    background-color: #6f42c1; /* Purple background on hover */
}

#features-roadmap {
    display: flex; /* Enables flexbox layout */
    gap: 20px; /* Adds space between the columns */
    margin: 20px auto; /* Centers the container and adds spacing */
    max-width: 1200px; /* Limits the width for better readability */
    padding: 20px; /* Adds padding inside the container */
    background-color: #f9f9f9; /* Light background for contrast */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a lifted effect */
}

#features-roadmap .column {
    flex: 1; /* Ensures both columns take equal space */
}

#features-roadmap h2 {
    margin-top: 0; /* Removes extra margin at the top of headings */
}

#slideshow-container {
    background-color: white; /* White background for the slideshow section */
    padding: 20px; /* Adds padding inside the container */
    border-radius: 8px; /* Adds rounded corners */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Subtle shadow for a lifted effect */
    margin: 20px auto; /* Centers the container and adds spacing */
    max-width: 800px; /* Limits the width for better readability */
    text-align: center; /* Centers the content */
}

.scott-gif {
    display: flex;
    justify-content: center; /* Centers the GIF horizontally */
    align-items: center; /* Centers the GIF vertically if needed */
    margin: 20px 0; /* Adds spacing above and below the GIF */
}

.scott-gif img {
    border: 3px solid black; /* Adds a black border */
    border-radius: 15px; /* Rounds the edges of the border */
    padding: 5px; /* Adds some spacing between the image and the border */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Optional: Adds a subtle shadow for a lifted effect */
}

/* Responsive styles for tablets and mobile devices */
@media (max-width: 1024px) {
    header h1 {
        font-size: 2em; /* Adjust header font size for tablets */
    }

    .slideshow {
        max-width: 100%; /* Make the slideshow responsive */
        height: auto; /* Allow height to adjust automatically */
    }

    .slideshow .slide img {
        height: auto; /* Maintain aspect ratio */
    }

    #about, #features-roadmap, #slideshow-container {
        max-width: 90%; /* Reduce container width for smaller screens */
        padding: 15px; /* Adjust padding */
    }

    #features-roadmap {
        flex-direction: column; /* Stack columns vertically on smaller screens */
    }

    #features-roadmap .column {
        margin-bottom: 20px; /* Add spacing between stacked columns */
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 1.5em; /* Further reduce header font size for mobile */
    }

    header .social-links a img {
        width: 25px; /* Reduce icon size for mobile */
        height: 25px;
    }

    .action-buttons a {
        font-size: 0.9em; /* Adjust button font size */
        padding: 8px 15px; /* Adjust button padding */
    }

    footer {
        font-size: 0.8em; /* Reduce footer font size */
    }

    .slideshow {
        max-width: 100%; /* Ensure the slideshow takes full width on mobile */
        height: 300px; /* Adjust height for smaller screens */
    }

    .slideshow .slide img {
        height: 100%; /* Maintain aspect ratio */
    }

    .slideshow button {
        padding: 8px 15px; /* Reduce button size for smaller screens */
        font-size: 14px; /* Adjust font size */
    }
}

/* Overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

/* Payment Window */
.popup-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    width: 300px;
    text-align: center;
}

/* Iframe Popup */
.iframe-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 80%;
    max-width: 800px;
    text-align: center;
}

.iframe-popup iframe {
    width: 100%;
    height: 400px;
    border: none;
}

.iframe-popup .close-iframe {
    margin-top: 10px;
    padding: 10px 20px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup-window h2 {
    margin-bottom: 15px;
}

.popup-window button {
    margin: 5px;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.popup-window .pay-full {
    background-color: #4caf50;
    color: white;
}

.popup-window .pay-deposit {
    background-color: #2196f3;
    color: white;
}

.popup-window .cancel-payment {
    background-color: #f44336;
    color: white;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.popup-window {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    text-align: center;
}

.popup-window p {
    margin-bottom: 15px;
    font-size: 16px;
    color: #333;
}

.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

.popup-buttons button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
}

.popup-buttons .continue-button {
    background-color: #28a745;
    color: white;
}

.popup-buttons .return-button {
    background-color: #dc3545;
    color: white;
}

.popup-buttons button:hover {
    opacity: 0.9;
}

.donate {
    background-color: purple;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

.donate:hover {
    background-color: darkviolet;
}

.payment-button {
    background-color: #d80000; /* Red background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 10px 20px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
}

.payment-button:hover {
    background-color: #45a049; /* Darker green on hover */
}

.launch-marketing {
    background-color: gold; /* Gold background */
    color: black; /* Black text */
    border: none; /* Remove border */
    padding: 10px 20px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Font size */
    text-align: center; /* Center text */
    text-decoration: none; /* Remove underline */
}

.launch-marketing:hover {
    background-color: goldenrod; /* Darker gold on hover */
}

/* Styling for the image gallery */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.grid img:hover {
    transform: scale(1.05);
}
