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

:root {
    --primary: #009933;
    --secondary: #66fcf1;
    --background: #005d1f;
    --background-secondary: #003712;
    --background-tertiary: #002a0d;
    --foreground: #ffffff;
    --body-text: #f7f7f7;
    --border: #47b2ab;
    --tertiary: #c3d9e7;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, "Segoe UI", Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--body-text);
    background-color: var(--background);
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: var(--background-secondary);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid var(--primary)
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px
}

.nav-toggle {
    display: none
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 101
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--foreground);
    border-radius: 3px;
    transition: 0.3s
}

.nav-toggle:checked ~ .nav-menu {
    display: flex
}

.nav-toggle:checked ~ .hamburger span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px)
}

.nav-toggle:checked ~ .hamburger span:nth-child(2) {
    opacity: 0;
}

.nav-toggle:checked ~ .hamburger span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px)
}

.logo {
    height: 80px;
    width: auto;
    filter: invert(1)
}

.header-text h1 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--foreground);
    font-weight: 700;
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 30px;
    margin-left: auto
}

.nav-menu a {
    color: var(--foreground);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    transition: color 0.3s ease
}

.nav-menu a:hover {
    color: var(--secondary)
}

.instagram-link {
    display: flex;
    align-items: center;
    justify-content: center
}

.instagram-link:hover svg {
    color: var(--secondary)
}

#container {
    scroll-behavior: smooth
}

section {
    padding: 4rem 0
}

section:not(:first-of-type):nth-of-type(3n+2) {
    background-color: var(--background-secondary)
}

section:not(:first-of-type):nth-of-type(3n+3) {
    background-color: var(--background)
}

section:not(:first-of-type):nth-of-type(3n+4) {
    background-color: var(--background-tertiary)
}

#hero {
    position: relative;
    background-image: url('../img/training-hero.png');
    background-size: cover;
    background-position: center;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 20px
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0,93,31,0.8) 0%, rgba(0,55,18,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px
}

#hero h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2
}

#hero h2 .beim {
    font-size: 0.8em;
    font-weight: 400
}

#hero p {
    font-size: 1.25rem
}

#features .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem
}

.feature-card {
    background-color: rgba(0,153,51,0.1);
    border: 1px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    text-align: center
}

.feature-card h3 {
    font-family: 'Oswald', sans-serif;
    color: var(--foreground);
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.feature-card p {
    color: var(--body-text)
}

#team h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem
}

#leadership h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem
}

#psg h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem
}

#training h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 2rem
}

.schedule {
    max-width: 600px;
    margin: 0 auto 3rem
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: rgba(0,153,51,0.1);
    border: 1px solid var(--border);
    border-radius: 4px;
    margin-bottom: 0.5rem
}

.day {
    font-weight: 600;
    font-size: 1.1rem
}

.time {
    font-size: 1.1rem
}

.requirements {
    max-width: 600px;
    margin: 0 auto 2rem;
    text-align: center
}

.requirements h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 1rem
}

.requirements ul {
    list-style: none;
    text-align: left;
    display: inline-block
}

.requirements li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative
}

.requirements li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary)
}

.cta-button {
    text-align: center;
    max-width: 600px;
    margin: 2rem auto
}

.cta-button button {
    font-size: 1.25rem;
    font-weight: 600;
    background-color: var(--primary);
    color: var(--foreground);
    border: none;
    padding: 1.5rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    transition: background-color 0.3s ease
}

.cta-button button:hover {
    background-color: var(--secondary);
    color: var(--background)
}

#probetraining-modal {
    background-color: var(--background-secondary);
    color: var(--body-text);
    border: 2px solid var(--primary);
    border-radius: 8px;
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    margin: auto
}

#probetraining-modal::backdrop {
    background: rgba(0,0,0,0.7)
}

.modal-content h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.2rem);
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground)
}

.modal-section {
    background-color: rgba(0,153,51,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem
}

.modal-section h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: var(--secondary);
    margin-bottom: 0.75rem
}

.modal-section ul {
    list-style: none
}

.modal-section li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative
}

.modal-section li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--secondary)
}

.modal-section p {
    margin-bottom: 0.5rem
}

.location-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin-top: 1rem;
    border-radius: 4px
}

.close-button {
    display: block;
    width: 100%;
    background-color: var(--primary);
    color: var(--foreground);
    border: none;
    padding: 1rem;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Roboto', sans-serif;
    margin-top: 1rem;
    transition: background-color 0.3s ease
}

.close-button:hover {
    background-color: var(--secondary);
    color: var(--background)
}

#membership h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 1.5rem
}

.membership-info {
    max-width: 700px;
    margin: 0 auto 1.5rem;
    text-align: center
}

.membership-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    color: var(--foreground);
    margin-bottom: 0.75rem
}

.membership-info p {
    margin-bottom: 0.5rem
}

.fee-table {
    display: flex;
    flex-direction: column;
    gap: 0.25rem
}

.fee-row-headers {
    display: flex;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--tertiary)
}

.fee-row-headers span:first-child {
    flex: 1;
    text-align: left
}

.fee-row-headers span:nth-child(2) {
    flex: 1;
    text-align: center
}

.fee-row-headers span:nth-child(3) {
    flex: 1;
    text-align: right
}

.fee-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(103,252,241,0.2)
}

.fee-row:last-child {
    border-bottom: none
}

.fee-row-three {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(103,252,241,0.2)
}

.fee-row-three:last-child {
    border-bottom: none
}

.fee-category {
    font-weight: 500;
    font-size: 1rem;
    flex: 1;
    text-align: left
}

.fee-amount {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
    text-align: center;
    flex: 1
}

.fee-amount-yearly {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
    text-align: right;
    flex: 1
}

.justified-text {
    text-align: justify;
    text-justify: inter-word
}

.membership-list {
    list-style: none;
    text-align: left;
    margin-bottom: 0.5rem
}

.membership-list li {
    padding: 0.25rem 0;
    padding-left: 1.25rem;
    position: relative;
    font-size: 0.95rem
}

.membership-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: 700
}

.membership-list a,
.membership-info a {
    color: var(--secondary);
    text-decoration: underline
}

.membership-list a:visited,
.membership-info a:visited {
    color: #4ad9cf
}

.membership-list a:hover,
.membership-info a:hover {
    color: var(--foreground)
}

#team h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    justify-content: center
}

.team-member {
    background-color: rgba(0,153,51,0.1);
    border: 2px solid var(--primary);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column
}

.team-member img {
    width: 100%;
    height: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center top
}

.member-info {
    padding: 1.5rem;
    text-align: center
}

.member-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 0.5rem
}

.role {
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem
}

.quote {
    font-style: italic;
    font-size: 0.95rem
}

.contact {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem
}

#contact h2 {
    font-family: 'Oswald', sans-serif;
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto
}

.contact-item {
    background-color: rgba(0,153,51,0.1);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center
}

.contact-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--secondary)
}

.contact-item p {
    margin-bottom: 0.5rem
}

.contact-item a {
    color: var(--secondary);
    text-decoration: underline
}

.contact-item a:visited {
    color: #4ad9cf
}

.contact-item a:hover {
    color: var(--foreground)
}

.modal-section a {
    color: var(--secondary);
    text-decoration: underline
}

.modal-section a:visited {
    color: #4ad9cf
}

.modal-section a:hover {
    color: var(--foreground)
}

.note {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--tertiary)
}

h2, h3 {
    color: var(--foreground)
}

@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        margin-left: 0;
        background-color: var(--background-secondary);
        padding: 1rem 0;
        border-bottom: 2px solid var(--primary);
        z-index: 150;
        box-shadow: 0 4px 10px rgba(0,0,0,0.3)
    }

    .nav-menu a {
        padding: 0.75rem 20px;
        text-align: center;
        border-bottom: 1px solid rgba(255,255,255,0.05)
    }

    .nav-menu a:last-child {
        border-bottom: none
    }

    .hamburger {
        display: flex
    }

    #probetraining-modal {
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        border: none;
        margin: 0;
        padding: 1.5rem
    }
}

footer {
    padding: 1rem 0;
    text-align: center;
    color: var(--tertiary)
}

footer p {
    font-family: 'Courier New', monospace;
    font-size: 8pt
}
