:root {
    --color-loyal-blue: #004165;
    --color-white: #ffffff;
    --color-true-maroon: #772432;
    --color-happy-yellow: #F2DF74;
    --color-cool-gray: #A9B2B1;
    --gradient-left: #004165;
    --gradient-right: #006094;
    --gradient-color: linear-gradient(to right, var(--gradient-left), var(--gradient-right));
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

a {
    color: var(--color-true-maroon);
    text-decoration: none;
}
body {
    background-color: #f0f2f5;
    background-image: url("background3.svg");
    background-size: cover;
    padding: 0px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}
.center {
    text-align: center;
}
/* Header section with logo */
.header-section {
    position: relative;
    margin: 20px 0;
}
.header-nav-gradient {
    background: var(--gradient-color) !important;
    color: initial !important;
}
.header-main[data-header="agnostic"] .header-nav.header-nav-gradient {
    background: var(--gradient-color) !important;
    color: initial !important;
}
.large {
  font-size: 96px !important;
  color:  var(--color-loyal-blue);
}
.club-name-bar {
    background-color: #002855; /* Dark blue bar */
    color: #ffffff;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    padding: 20px 20px 20px 20px; /* Extra padding on right for logo */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    position: relative;
}

.logo-container {
    position: absolute;
    right: 36px; /* Exactly 36px from right as requested */
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    /*
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    */
    width: 120px;
    height: 120px;
    padding: 8px;
}

.svetc-logo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    border-color: #000;
    border-style: solid;
    border-width: thin;
}
/* Reusable Section Styles for Subpages */
.page-section {
    margin-top: 60px;
    margin-bottom: 40px;
}

.page-section h1 {
    font-size: 2rem;
    color: var(--color-loyal-blue);
    margin-bottom: 20px;
}

.page-image {
    width: 100%;
    max-width: 900px;
    height: auto;
    margin: 20px auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.page-section p,
.page-section ul {
    margin: 0 auto 20px auto;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
}

.page-section ul {
    list-style: disc;
    padding-left: 1.5rem;
    text-align: left;
}

.custom-list {
    list-style-type: none;
    list-style: none;
    padding-left: 0 !important;
    margin: 0;
    margin-bottom: 0;
}

.custom-list > li {
    height: 40px; /* Set your desired height */
    padding: 10px 15px; /* Set your desired padding */
    margin-bottom: 8px; /* Space between items */
    line-height: 20px; /* Adjust line-height to match your height */
    display: flex;
    align-items: center; /* Vertically center content */
    /* background-color: #f5f5f5; Optional: for visual reference */
    /* border-radius: 4px; Optional: for styling */
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Contact Form */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 12px;
    border: 1px solid var(--color-cool-gray);
    border-radius: 4px;
    font-family: inherit;
    font-size: 13px;
}
.contact-form button {
    background: var(--color-loyal-blue);
    color: var(--color-white);
    padding: 12px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
.contact-form button:hover { opacity: 0.9; }

/* FAQ Page Styles */
.faq-section {
    margin-top: 60px;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h1 {
    text-align: center;
    color: var(--color-loyal-blue);
    margin-bottom: 30px;
}

.faq-section details {
    background: #f6f6f6;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 15px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-section details[open] {
    background-color: #e4eefc;
}

.faq-section summary {
    font-weight: 600;
    font-size: 1.1rem;
    outline: none;
}

.faq-section p {
    margin-top: 10px;
    font-size: 1rem;
    line-height: 1.5;
}

/* Button Primary */

.btn-primary {
    background: var(--color-happy-yellow);
    color: var(--color-loyal-blue);
    padding: 8px 16px;
    font-weight: 600;
    border-color: var(--color-loyal-blue);
    border-style: solid;
    border-width: thin;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
    margin-top: 12px;
}

.btn-primary:hover { opacity: 0.9; }
.right {
    float: right;
}
.circle {
    border-radius: 50%;
}

.contact-form button.btn-primary {
    background-color: var(--color-loyal-blue);
    color: white;
    border: none;
    padding: 12px;
    font-size: 1rem;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease-in-out;
}

.contact-form button.btn-primary:hover {
    background-color: #004080;
}

/* Minimal footer */
footer {
    background: #004165;
    color: #A9B2B1;
    margin-top: auto;
    text-align: center;
    padding: 24px 20px;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* home Section */
.home {
    margin-top: 0px; /* ensure readable below overlap */
}
.home img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}
.home-text {
    position: absolute;
    top: 225px;
}
.toastH1 {
    font-size: 3rem;
    font-family: 'Times', serif;
    padding-left: 27px;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.index-hero {
    font-size: 3rem;
    font-family: 'Times', serif;
    padding-left: 27px;
    color: #ffffff;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.6);
}
.hide{
    display:none !important
}
.flex-item {
    flex: 1 1 0;          /* Make both inputs equal width */
    min-width: 0;         /* Prevent overflow issues */
}

.about-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    box-sizing: border-box;
}

.staff-flex {
    flex: 1 1 0;
    min-width: 300px;
    max-width: 370px;
}
.about-card {
    background-color: #e2ded9;
    width:100%;
    margin: 0 auto;
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    line-height: 1.5;
}

.about-card p {
    padding-top: 12px;
}


/* Responsive stacking for phones/tablets */
@media (max-width: 855px) {
    .about-card-wrapper {
        flex-direction: column;
        gap: 20px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .about-card {
        max-width: 90%;
        margin: 0 auto;
    }
}
/* Phone-specific fixes */
@media (max-width: 600px) {
    .btn-primary.right {
        float: none;
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 16px !important;
    }
}

@media (max-width: 1100px) {
  .staff-flex {
    flex-basis: 48%;    /* Each card takes about half the row minus gap */
    max-width: 48%;
  }
}
.name-row {
    display: flex;
    gap: 16px;            /* Space between inputs */
    flex-wrap: wrap;
}

.name-row input[type="text"] {
    flex: 1 1 0;          /* Make both inputs equal width */
    min-width: 0;         /* Prevent overflow issues */
}

.required-label::after {
    content: ' *';
    color: red;
    font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 1100px) {
/* home-text was here, moved to 900px */
}
@media (max-width: 900px) {
    .club-name-bar {
        font-size: 1.7rem;
        padding: 20px 120px 20px 20px;
    }
    .logo-container {
        width: 100px;
        height: 100px;
    }
    .home img {
        min-height: 220px;
    }
    .home-text h1 {
        font-size: 2.5rem;
    }
    .index-hero {
        font-size: 2rem !important;
    }
}

/* for phones */
@media (max-width: 600px) {
    .club-name-bar {
        font-size: 1.4rem;
        padding: 70px 20px 20px 20px;
    }
    .logo-container {
        width: 80px;
        height: 80px;
        right: 50%;
        transform: translateX(50%) translateY(-50%);
        top: 40px;
    }
    .home-text {
        position: absolute;
        top: 207px;
    }
    .home img {
        min-height: 210px;
    }
    .about-card-wrapper {
        width: initial;
    }
    .about-card img {
        width: 100%;
        height: auto; /* instead of 65% */
        display: block;
        margin-bottom: 16px;
    }
    .about-card {
        overflow: hidden; /* or overflow: auto; */
        padding: 36px;
    }
    .name-row {
        flex-direction: column;
        gap: 12px;
    }

    .name-row > * {
        width: 100%;
    }
}