@font-face {
  font-family: Nunito;
  src: url(/Nunito/Nunito-VariableFont_wght.ttf)
}
@font-face {
  font-family: Quicksand;
  src: url(/Quicksand/Quicksand-VariableFont_wght.ttf)
}
* {
  font-size: 100%;
  font-family: Nunito;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.page-wrapper {
    flex: 1; /* takes up all available space above footer */
}
header {
    display: flex;
    align-items: center;
    background-color: white;
    color: black;
    padding: 20px 20px;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}
header a {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none; /* removes underline */
    color: inherit;         /* keeps text color consistent */
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    box-sizing: border-box;
}
.sticky{
    position: sticky;
    top: 0;
    z-index: 1000;
}
.logo {
    width: 80px;
    height: 99px;
}
.title-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.club-name {
    margin: 0px;
    font-size: 24px;
}   
.club-slogan {
    margin: 0px;
    font-size: 14px;
    color: #555;
}
.menu {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
}
.menu > li > a {
    font-weight: bold;
}
.menu li {
    position: relative;
}
.menu a {
    text-decoration: none;
    color: #000000;
    background-color: #ffffff;
    padding: 8px 12px;
    display: block;
    transition: background-color 0.2s;
}
.menu a:hover {
    background-color: #f0f0f0;
}
.menu a.selected {
    background-color: #f0f0f0;
}
.dropdown-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.16)
}
.dropdown-menu li a {
    padding: 8px 16px;
    white-space: nowrap;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.nav-box {
    display: flex;
    margin-left: auto;
}
nav {
    background-color: #ffffff;
}
nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}
nav ul li {
    display: inline;
}
nav a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}
.section1 {
    align-items: center;
    background-color: #f0f0f0;
}
.section1text {
    max-width: 100%;
    margin: 0px;
    padding: 10px;
    text-align: center;
}
.title-section {
    width: 100%;
    margin-bottom: 40px;
    height: 400px; /* adjust as needed */
    background-image: url('/banner.png'); /* replace with your image */
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 20px;
}

.title-section h1 {
    font-size: 60px;
    margin: 0;
    margin-left: 5px;
    margin-right: 5px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.4);
}

.title-section p {
    font-size: 20px;
    margin-top: 10px;
    margin-left: 5px;
    margin-right: 5px;
    max-width: 600px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}
.two-card-row {
    display: flex;
    column-gap: 40px; /* space between the two cards */
    justify-content: center;
    flex-wrap: wrap; /* optional: allows wrapping on small screens */
}
.two-card-row .card-section {
    flex: 1 1 400px; /* grow/shrink, with a base width of 400px */
    max-width: 1000px; /* optional: limit max width */
}
.tcr-container{
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}
.card-section {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    max-width: 1000px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    gap: 40px;
}

.card-text {
    flex: 1;
    text-align: left;
}

.card-text h1 {
    margin-top: 0;
    font-size: 24px;
    margin-bottom: 12px;
}

.card-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.card-image {
    flex: 1;
    text-align: right;
}

.card-image img {
    max-width: 100%;
    border-radius: 8px;
    width: 400px;
    height: 250px;
    object-fit: cover;
}
.volunteer-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0055aa;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background-color 0.2s ease;
}
.volunteer-btn:hover {
    background-color: #0065aa;
}
footer {
    margin-top: 0;
    padding: 20px;
    background-color: #003366;
    color: white;
    text-align: center;
}
@media (max-width: 768px) {
.card-section {
    flex-direction: column;
    text-align: center;
}
.card-text {
    text-align: center;
}
.card-image {
    text-align: center;
}
}
/* Hamburger button hidden by default */
.hamburger {
    display: none;
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #000000
}

/* Responsive menu for small screens */
@media (max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
    }

    .menu {
        display: none;           /* Hide menu initially */
        flex-direction: column;
        gap: 0;
        background-color: #ffffff;
        position: absolute;
        top: 80px;              /* Adjust to header height */
        right: 0;
        width: 200px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        padding: 10px 0;
        z-index: 1000;
    }

    .menu.show {
        display: flex;          /* Show menu when toggled */
    }

    .menu li {
        padding: 5px 10px;
    }

    .menu li a {
        display: block;
    }

    /* Make dropdowns work in mobile */
    .dropdown-menu {
        position: static;
        display: none;
        box-shadow: none;
    }

    .dropdown:hover .dropdown-menu {
        display: none; /* disable hover on mobile */
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }
}
