/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts & Colors */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f8f8;
}

/* Header */
header {
    background-color: #071320;
    color: white;
    padding: 1rem;
    # position: sticky;
    # top: 0;
    z-index: 1000;
}

header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

header .logo img {
    height: 200px;
    width: auto;
}

nav {
    text-align: center;
}

nav a {
    color: white;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: bold;
}

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

/* Sections */
section {
    padding: 2rem;
    text-align: center;
    background-color: white;
    margin: 1rem auto;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Contact Form */
form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

input, textarea {
    padding: 0.5rem;
    font-size: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.cta-buttons {
    margin-top: 20px;
}

    .cta-buttons .btn {
        display: inline-block;
        background-color: #071320; /* dark background */
        color: #fff; /* white text */
        padding: 10px 20px; /* space inside */
        margin: 5px; /* space between buttons */
        text-decoration: none; /* remove underline */
        border-radius: 5px; /* rounded corners */
        font-weight: bold;
        transition: background-color 0.3s ease;
    }

        .cta-buttons .btn:hover {
            background-color: #333; /* lighter when hovered */
        }


/* Footer */
footer {
    background-color: #071320;
    color: white;
    padding: 1rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    header .logo {
        flex-direction: column;
    }

    nav a {
        display: block;
        margin: 0.5rem 0;
    }

    section {
        margin: 1rem;
        padding: 1rem;
    }
}

#membership ul,
#about ul {
    list-style-position: inside; /* moves bullets into the text block */
    text-align: left; /* aligns list text left */
    margin: 0 auto; /* keeps the list centered in the page */
    padding: 0; /* removes extra padding */
    max-width: 600px; /* optional: prevents list from stretching too wide */
}

#programs h2 {
    text-align: center; /* keep main header centered */
    margin-bottom: 20px; /* optional spacing below header */
}

#programs {
    text-align: left; /* left-align all paragraphs and program cards */
    max-width: 800px; /* optional: keeps content from stretching too wide */
    margin: 0 auto; /* centers the section itself on the page */
}

.program-list .program {
    text-align: left; /* ensure each program card is left-aligned */
}
#progress-photos {
    text-align: center;
    padding: 40px 20px;
}

.photo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.photo {
    flex: 1 1 300px; /* min width */
    max-width: 400px;
}

    .photo img {
        width: 100%; /* scale to container width */
        height: auto; /* preserve aspect ratio */
        display: block; /* removes extra space under image */
        border-radius: 8px;
        box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    }


/* Contact Page */
#contact-page {
    padding: 40px 20px;
}

.contact-container {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}



/* Left column: form */
.contact-left {
    flex: 1 1 400px;
    max-width: 500px;
}

    .contact-left h2 {
        font-size: 2rem;
        margin-bottom: 10px;
    }

    .contact-left p {
        margin-bottom: 10px;
        font-size: 1rem;
    }

    /* Updated compact form styles */
    .contact-left form {
        display: flex;
        flex-direction: column;
        gap: 8px; /* tighter spacing */
    }

    .contact-left label {
        font-weight: bold;
        text-align: left;
        margin-bottom: 2px;
        font-size: 0.95rem;
    }

    .contact-left input,
    .contact-left select,
    .contact-left textarea {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 6px;
        font-size: 0.95rem;
        width: 100%;
        text-align: left;
        box-sizing: border-box;
    }

    .contact-left textarea {
        resize: vertical;
        min-height: 100px;
    }

    .contact-left button {
        align-self: flex-start;
        padding: 10px 18px;
        font-size: 0.95rem;
        background-color: #071320; /* logo color */
        color: white;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s;
    }

        .contact-left button:hover {
            background-color: #333; /* hover shade */
        }


/* Right column: map and address */
.contact-right {
    flex: 1 1 300px;
    max-width: 400px;
}

    .contact-right h3 {
        margin-bottom: 10px;
    }

    .contact-right p {
        margin-bottom: 15px;
    }

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    border-radius: 8px;
}

/* Responsive */
@media (max-width: 800px) {
    .contact-container {
        flex-direction: column;
    }
}
