/* General Styles */
* {
    font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji";
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.Donate-container {
    max-width: 785px;
    justify-content: center;
    font-family: SF Pro Text, SF Pro Icons, Helvetica Neue, Helvetica, Arial, sans-serif;
    flex-direction: column;
    display: flex;
    color: #1d1d1f;
    align-items: center;
    padding: 20px;
    margin: 0 auto;
}

.donate-header {
    margin-bottom: 40px;
    text-align: left;
    flex-direction: column;
    display: flex;
    align-items: flex-start;
}

.support-header {
    max-width: 600px;
    margin-bottom: 14px;
    line-height: 1.1;
    font-weight: 600;
    font-size: 36px;
    color: #1d1d1f;
    margin: 0;
}

.support-disclaimer {
    padding-top: 2%;
    font-weight: 400;
    font-size: 18px;
    color: #666;
    margin: 0;
}

.list {
    width: 100%;
    margin-top: 20px;
    margin-bottom: 100px;
}

.donate-list {
    list-style: none;
    padding: 0;
}

.donate-liList {
    margin-bottom: 20px;
    font-size: 23px;
    flex-direction: row;
    display: flex;
    align-items: center;
}

.paypal-link .privacypolicy-link .terms-link{
    font-weight: 500;
    display: inline-flex;
    color: #0070f3;
    align-items: center;
    transition: color .2s ease;
    text-decoration: none;
}

.main-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 10px;
    text-align: center;
}

/* Header adjustments */
.header-container {
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 10px 20px;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Subtle shadow */
}

/* Left section: Logo and Title */
.left-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.app-logo {
    height: 50px;
    margin-right: 10px;
    transition: transform 0.3s ease;
}

.app-logo:hover {
    transform: scale(1.1);
}

h1 {
    font-size: 1.8rem;
    color: #000000;
    margin: 0;
    font-weight: 700;
}

/* Right section: Social link and Join button */
.right-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

#join-btn {
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    background-color: #007bff;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

#join-btn:hover {
    background-color: #0056b3;
}

.social-link img {
    height: 40px;
    width: 40px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.social-link img:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Main container for download section */
#download-section {
    text-align: center;
    padding: 20px;
    margin-top: 0px;
    border-radius: 12px;
    animation: fadeIn 1.5s ease-in-out;
}

/* Banner text */
#banner {
    font-weight: 700;
    font-size: 2rem;
    color: #1d1d1f;
    margin-bottom: 15px;
    text-align: center;
}

/* Description text */
#download-description {
    color: #555;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

#link-download-description{
    color: #555;
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9rem;
    margin-top: 10px;
    text-align: center;
}

/* Buttons container */
#download-btn-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

/* Buttons */
#join-btn {
    text-align: center;
    width: 150px;
    height: 38px;
    line-height: 38px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #fff;
    background: #6d6d6d;
    border-radius: 8px;
    padding: 0 16px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.15s ease;
}

#join-btn:hover {
    background: #5a5a5a;
    transform: scale(1.05);
}

#download-btn {
    text-align: center;
    width: 240px;
    height: 42px;
    line-height: 42px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
    background: #0070f3;
    border-radius: 10px;
    padding: 0 24px;
    text-decoration: none;
    transition: transform 0.3s ease, background 0.15s ease;
}

#download-btn:hover {
    background: #005bb5;
    transform: scale(1.05);
}

/* Main carousel container */
.carousel {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Inner carousel with smooth scrolling */
.carousel-inner {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    animation: fadeIn 1.5s ease-in-out;
    /* Fade-in effect */
}

/* Images with hover and load animation */
.carousel-inner img {
    width: 30%;
    height: auto;
    margin: 0 auto;
    border-radius: 10px;
    opacity: 0;
    transform: scale(0.95);
    animation: slideIn 1s ease forwards;
    /* Slide-in on load */
    transition: transform 0.3s ease, opacity 0.3s ease;
    /* Smooth hover */
}

/* Hover effect for images */
.carousel-inner img:hover {
    transform: scale(1.05);
}

/* Scrollbar styling */
.carousel-inner::-webkit-scrollbar {
    height: 6px;
    background: #f0f0f0;
}

.carousel-inner::-webkit-scrollbar-thumb {
    background: #0070f3;
    border-radius: 3px;
}

/* How It Works Section */
.how-it-works-section {
    text-align: center;
    background: #f9f9f9;
    padding: 40px 20px;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 900px;
    animation: fadeIn 1s ease-in-out;
    /* Apply fade-in animation */
}

.how-it-works-section h2 {
    font-size: 2rem;
    color: #0070f3;
    margin-bottom: 20px;
    font-weight: bold;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Default 3 columns for larger screens */
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    align-items: stretch;
    animation: slideIn 1s ease-out;
    /* Apply slide-in animation */
}

.step {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #ececec;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    /* Stack icon and text */
    align-items: center;
    justify-content: space-between;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 10px 0 0;
    text-align: center;
}

.step .step-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    border-radius: 50%;
    background: #e0f0ff;
    padding: 10px;
    object-fit: contain;
}

/* Tutorial Section */
.tutorial {
    position: relative;
    background: #f8f9fa;
    border-radius: 15px;
    overflow: hidden;
    padding: 30px;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.tutorial h2 {
    font-size: 2rem;
    color: #0070f3;
    text-align: center;
    font-weight: bold;
    margin-bottom: 20px;
}

.tutorial-slider-container {
    overflow: hidden;
    /* Prevent extra slides from showing */
    width: 100%;
    position: relative;
}

.tutorial-slider {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.tutorial-slide {
    display: none;
    transition: opacity 0.5s ease;
    min-width: 100%;
    text-align: center;
    display: flex;
    flex-direction: column;
    /* Stack image and description */
    align-items: center;
    /* Center align content */
    padding: 0;
    /* Remove extra padding */
    margin: 0;
    /* Remove extra margin */
}

/* Show the first slide initially */
.tutorial-slide.active-slide {
    display: flex;
    flex-direction: column;
}

.tutorial-slide img {
    width: 30%;
    /* Increase width on smaller screens */
    max-width: 300px;
    height: auto;
    margin: 0 auto 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Container for each tutorial step */
.tutorial-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 15px;
    padding: 10px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 100%;
    margin: auto;
    transition: all 0.3s ease;
}

.tutorial-step img {
    width: 26%;
    /* Increase image size for better visibility */
    max-width: 300px;
    height: auto;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.tutorial-step .tutorial-description {
    font-size: 1rem;
    color: #333;
    background: #ffffff;
    padding: 10px 10px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    text-align: left;
    max-width: 100%;
}

.tutorial-step img-container {
    display: flex;
    justify-content: center;
    gap: 15px; /* Add gap between images */
    flex-wrap: wrap; /* Allows wrapping if needed for smaller screens */
}

/* Navigation Buttons */
.nav-btn {
    position: absolute;
    top: 50%;
    width: 38px;
    transform: translateY(-50%);
    background-color: #0070f3;
    color: white;
    border: none;
    padding: 12px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

.nav-btn:hover {
    background-color: #005bb5;
}

.prev-btn {
    left: 15px;
}

.next-btn {
    right: 15px;
}

/* Add a subtle hover effect for slides */
.tutorial-slide img:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease-in-out;
}

/* Features section */
.features {
    margin: 20px 0;
    text-align: center;
}

.features h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: #0070f3;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 columns for larger screens */
    gap: 16px;
    margin-top: 20px;
}

.feature-item {
    background-color: #f9f9f9;
    border: 2px solid #ececec;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    /* Subtle lift effect on hover */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.feature-item .icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #0070f3;
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #333;
}

.feature-item p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
}

/* Footer */
footer {
    margin-top: 200px;
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

footer p {
    color: #555;
    font-size: 14px;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 15px;
    /* Adds space between links */
}

.footer-links a {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #0056b3;
}

.donate-link {
    text-decoration: none;
    color: #007bff;
    font-weight: bold;
    font-size: 14px;
    transition: color 0.3s ease;
}

.donate-link:hover {
    color: #0056b3;
}

/* Media Queries for Responsive Design */
@media (max-width: 768px) {
    .header-container {
        align-items: center;
        text-align: center;
    }

    h1 {
        font-size: 1.4rem;
        /* Adjust font size for smaller screens */
    }

    #banner {
        font-size: 1.6rem;
    }

    #download-btn-container {
        flex-direction: column;
        gap: 10px;
    }

    #join-btn {
        width: 120px;
    }

    #download-btn {
        width: 200px;
    }

    #join-btn,
    #download-btn {
        width: 90%;
        /* Buttons span almost full width */
    }

    .carousel-inner img {
        width: 40%;
    }

    .steps-container {
        grid-template-columns: 1fr;
        /* Single column layout for smaller screens */
        gap: 20px;
    }

    .step {
        flex-direction: column;
        align-items: center;
    }

    .step p {
        font-size: 0.95rem;
        /* Adjust text size for readability */
    }

    .tutorial-slide img {
        width: 42%;
        /* Increase image size for visibility on small screens */
    }

    .nav-btn {
        top: 45%;
        /* Adjust position closer to the middle */
        padding: 10px;
        /* Adjust padding for smaller buttons */
    }

    .prev-btn {
        left: 30px;
        /* Move closer to the image */
    }

    .next-btn {
        right: 30px;
        /* Move closer to the image */
    }

    .tutorial-step .tutorial-description {
        font-size: 0.9rem;
        /* Reduce text size for smaller screens */
    }

    .feature-list {
        grid-template-columns: 1fr;
        /* Stack items on smaller screens */
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}