/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #f4f7fb;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #1e3a8a;
    color: white;
    padding: 50px 0;
    text-align: center;
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

header .tagline {
    font-size: 1.25rem;
    margin-top: 10px;
}

header .cta-button {
    background-color: #facc15;
    color: #1e3a8a;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 1.125rem;
    border-radius: 5px;
    margin-top: 20px;
    display: inline-block;
}

header .cta-button:hover {
    background-color: #e4b10e;
}

/* Sections */
section {
    padding: 60px 0;
}

.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

p {
    font-size: 1.125rem;
    margin-bottom: 20px;
}

ul {
    list-style-type: none;
    padding-left: 0;
}

ul li {
    font-size: 1.125rem;
    margin-bottom: 10px;
}

/* How It Works */
#how-it-works .steps {
    display: flex;
    flex-direction: column; /* This ensures the images are stacked vertically */
    align-items: center; /* Center the images */
    gap: 30px; /* Space between each image */
    margin-top: 40px;
}

#how-it-works .step {
    width: 100%; /* Take full width of the container */
    max-width: 600px; /* Limit max width to prevent stretching too much */
    text-align: center;
}

#how-it-works img {
    width: 100%; /* Make the images take full width of the container */
    max-width: 600px; /* Adjust max-width to make images larger */
    height: auto; /* Maintain aspect ratio */
    border-radius: 8px;
    margin-bottom: 15px;
}

/* New Section for How to Run */
#run-instructions {
    background-color: #fff;
    padding: 60px 0;
    text-align: center;
}

#run-instructions .run-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

#run-instructions .method {
    max-width: 400px;
    text-align: center;
}

#run-instructions .method code {
    font-family: 'Courier New', Courier, monospace;
    background-color: #f4f4f4;
    padding: 10px;
    border-radius: 4px;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 10px;
}

#run-instructions .method p {
    font-size: 1rem;
    color: #555;
}

/* Footer */
footer {
    background-color: #1e3a8a;
    color: white;
    padding: 20px 0;
    text-align: center;
}

footer a {
    color: #facc15;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Media Queries */
@media (max-width: 1200px) {
    header h1 {
        font-size: 2.2rem;
    }

    header .tagline {
        font-size: 1.125rem;
    }

    header .cta-button {
        font-size: 1rem;
        padding: 8px 16px;
    }

    h2 {
        font-size: 1.75rem;
    }

    p, ul li {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 1.8rem;
    }

    header .tagline {
        font-size: 1rem;
    }

    header .cta-button {
        font-size: 0.9rem;
        padding: 8px 14px;
    }

    h2 {
        font-size: 1.5rem;
    }

    p, ul li {
        font-size: 0.9rem;
    }

    .container {
        width: 90%;
    }

    #how-it-works .steps {
        flex-direction: column;
        align-items: center;
    }

    #how-it-works .step {
        margin-bottom: 30px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.6rem;
    }

    header .tagline {
        font-size: 0.875rem;
    }

    header .cta-button {
        font-size: 0.85rem;
        padding: 6px 12px;
    }

    h2 {
        font-size: 1.3rem;
    }

    p, ul li {
        font-size: 0.875rem;
    }

    .container {
        width: 95%;
    }

    #how-it-works .steps {
        flex-direction: column;
        align-items: center;
    }

    #how-it-works .step {
        margin-bottom: 20px;
    }

    footer {
        font-size: 0.9rem;
    }
}
