@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 */
    background-color: #ffffff;
}
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: 0 auto;

    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);
}
.faq-section {
    padding: 20px 0px 60px 0px;
    background-color: #f9f9f9;
    text-align: center;
}

#faq-search {
    margin: 40px auto;
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
    max-width: 400px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
}

.faq-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-card {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    padding: 30px 20px;
    width: 450px;
    box-sizing: border-box;
}

.faq-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

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

footer {
    margin-top: 0;
    padding: 20px;
    background-color: #003366;
    color: white;
    text-align: center;
}
@media (max-width: 1000px) {
    .faq-card {
        width: 100%;
        max-width: 90%;
    }
}

/* 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;
    }
}
