html {
    height: 100%;
}
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main, .container, .content {
    flex: 1 0 auto;
}
.footer {
    margin-top: auto;
}
/* Under Review button distinct style */
.staff-ban-table .btn-under-review {
    background: #FFB020;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 4px;
    min-width: 110px;
    transition: background 0.18s;
}
.staff-ban-table .btn-under-review:hover, .staff-ban-table .btn-under-review:focus {
    background: #e09a00;
}
.staff-ban-table .btn-primary {
    background: #00703C;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 4px;
    min-width: 90px;
    transition: background 0.18s;
}
.staff-ban-table .btn-primary:hover, .staff-ban-table .btn-primary:focus {
    background: #005a2c;
}
.staff-ban-table .btn-secondary {
    background: #e5e7eb;
    color: #0B58A4;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    margin-right: 4px;
    min-width: 90px;
    transition: background 0.18s;
}
.staff-ban-table .btn-secondary:hover, .staff-ban-table .btn-secondary:focus {
    background: #cfd8e3;
}
.staff-ban-table .btn-danger {
    background: #D4351C;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    min-width: 90px;
    transition: background 0.18s;
}
.staff-ban-table .btn-danger:hover, .staff-ban-table .btn-danger:focus {
    background: #a41c0f;
}
.staff-ban-table .action-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: flex-start;
}
.staff-ban-table textarea {
    min-width: 160px;
    min-height: 36px;
    font-size: 0.98rem;
    margin-bottom: 6px;
    margin-right: 8px;
}
.staff-ban-table td.status-Under\ Review { color: #0B58A4; font-weight: 700; }
/* Staff Ban Appeals Table Enhancements */
.staff-ban-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(11,88,164,0.07);
    margin-bottom: 2.5rem;
    overflow: hidden;
    font-size: 1.04rem;
}
.staff-ban-table th, .staff-ban-table td {
    padding: 14px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
    vertical-align: top;
}
.staff-ban-table th {
    background: #f4f6fa;
    color: #0B58A4;
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.01em;
}
.staff-ban-table tr:last-child td {
    border-bottom: none;
}
.staff-ban-table td {
    background: #fff;
}
.staff-ban-table .btn, .staff-ban-table button {
    margin-bottom: 4px;
    margin-right: 4px;
    min-width: 90px;
}
.staff-ban-table textarea {
    min-width: 160px;
    min-height: 36px;
    font-size: 0.98rem;
    margin-bottom: 6px;
}
.staff-ban-table .btn-primary {
    background: #0B58A4;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.18s;
}
.staff-ban-table .btn-primary:hover, .staff-ban-table .btn-primary:focus {
    background: #07396b;
}
.staff-ban-table .btn-secondary {
    background: #e5e7eb;
    color: #0B58A4;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    transition: background 0.18s;
}
.staff-ban-table .btn-secondary:hover, .staff-ban-table .btn-secondary:focus {
    background: #cfd8e3;
}
/* Status color tags */
.staff-ban-table td.status-approved { color: #00703C; font-weight: 600; }
.staff-ban-table td.status-rejected { color: #D4351C; font-weight: 600; }
.staff-ban-table td.status-pending { color: #FFB020; font-weight: 600; }
.staff-ban-table td.status-Under\ Review { color: #0B58A4; font-weight: 600; }
@media (max-width: 800px) {
  .staff-ban-table th, .staff-ban-table td { font-size: 0.97rem; padding: 10px 6px; }
  .staff-ban-table textarea { min-width: 100px; }
}
/* Ban Appeal Submit Button */
.appeal-submit-btn {
    background: var(--gov-blue);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.75rem 2.5rem;
    box-shadow: 0 2px 6px rgba(11,88,164,0.08);
    cursor: pointer;
    transition: background 0.18s, box-shadow 0.18s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    letter-spacing: 0.01em;
}
.appeal-submit-btn:hover, .appeal-submit-btn:focus {
    background: var(--gov-blue-dark);
    color: #fff;
    box-shadow: 0 4px 16px rgba(11,88,164,0.13);
    outline: none;
}
.btn-manage-ban-appeals {
    font-size: 1.1rem;
    padding: 0.7rem 2.2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    min-width: unset;
    width: auto;
    background: var(--gov-blue);
    color: #fff !important;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
    transition: background 0.2s;
    margin-top: 0.75rem;
    cursor: pointer;
    text-decoration: none !important;
}
.btn-manage-ban-appeals:hover, .btn-manage-ban-appeals:focus {
    background: var(--gov-blue-dark);
    color: #fff !important;
    text-decoration: none !important;
}

/* Ban Appeal Form Improvements */
.modal-box label, .form-row label {
    color: var(--gov-blue);
    font-weight: 600;
    margin-bottom: 0.3rem;
    display: block;
}
.modal-box input[type="text"], .modal-box textarea, .form-row input[type="text"], .form-row textarea, .modal-box select, .form-row select {
    background: #fff;
    color: var(--text-dark);
    border: 1px solid #BFC1C3;
    border-radius: 4px;
    padding: 9px 12px;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    width: 100%;
    box-sizing: border-box;
}
.modal-box textarea, .form-row textarea {
    min-height: 90px;
    resize: vertical;
}
.modal-box select, .form-row select {
    min-width: 120px;
}
.modal-box .form-row, .form-row {
    margin-bottom: 1.1rem;
}
.staff-ban-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--gov-white);
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    margin-bottom: 2rem;
    overflow: hidden;
}
.staff-ban-table th, .staff-ban-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #F3F2F1;
    text-align: left;
    vertical-align: top;
    font-size: 1rem;
}
.staff-ban-table th {
    background: var(--gov-light-grey);
    color: var(--gov-blue);
    font-weight: 700;
    font-size: 1.05rem;
}
.staff-ban-table tr:last-child td {
    border-bottom: none;
}
.staff-ban-table td {
    background: var(--gov-white);
}
.staff-ban-table .btn {
    font-size: 0.95rem;
    padding: 0.4rem 1.1rem;
    margin-bottom: 2px;
}
.staff-ban-table .btn-primary { background: var(--gov-success); border-color: var(--gov-success); }
.staff-ban-table .btn-secondary { background: var(--gov-error); border-color: var(--gov-error); color: #fff; }
.staff-ban-table .btn-secondary:hover { background: #a00; border-color: #a00; }

@media (max-width: 900px) {
    .staff-ban-table th, .staff-ban-table td { font-size: 0.92rem; padding: 8px 4px; }
}
@media (max-width: 600px) {
    .staff-ban-table, .staff-ban-table thead, .staff-ban-table tbody, .staff-ban-table tr, .staff-ban-table th, .staff-ban-table td {
        display: block;
        width: 100%;
    }
    .staff-ban-table tr { margin-bottom: 1.2rem; border-bottom: 2px solid #eee; }
    .staff-ban-table th { background: var(--gov-light-grey); font-size: 1rem; }
    .staff-ban-table td { border: none; font-size: 0.98rem; }
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gov-blue: #0B58A4;
    --gov-blue-dark: #003078;
    --gov-grey: #626A6D;
    --gov-light-grey: #F3F2F1;
    --gov-white: #FFFFFF;
    --gov-error: #D4351C;
    --gov-success: #00703C;
    --text-dark: #0B0C0C;
    --link-color: #0B58A4;
    --link-hover: #003078;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--text-dark);
    background: var(--gov-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Gov Header */
.header {
    background: var(--gov-blue);
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    align-items: center;
}

.header-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
    color: var(--gov-white);
    font-size: 1.5rem;
    margin: 0;
}

.header-title i {
    color: var(--gov-white);
    font-size: 2rem;
}

.header-title h1 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gov-white);
}

/* Navigation */
.navbar {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 20px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.nav-menu a:hover {
    color: var(--link-hover);
    border-bottom-color: var(--link-hover);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--gov-blue);
    transition: 0.3s;
}

/* Navigation Server Stats and User Menu */
.navbar .stats {
    font-size: 0.95rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: transparent;
    padding: 0.15rem 0.5rem;
    border-radius: 6px;
}

.navbar .status-pill {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
    color: #fff;
    background: #9EA3A6;
    box-shadow: none;
    border: 1px solid rgba(0,0,0,0.06);
}

.navbar .status-pill.online { background: var(--gov-success); }
.navbar .status-pill.restarting { background: #FFB020; }
.navbar .status-pill.offline { background: var(--gov-error); }

.players-toggle {
    cursor: pointer;
    color: var(--link-color);
    user-select: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.players-toggle .caret {
    font-size: 0.85rem;
    color: var(--gov-blue-dark);
}

.sep { color: #bfc1c3; margin: 0 6px; }

/* hide nav stats on small screens to avoid clutter */
@media (max-width: 768px) {
    .navbar .stats { display: none; }
}

.players-dropdown {
    position: absolute;
    right: 20px;
    top: calc(100% + 8px);
    width: 320px;
    background: var(--gov-white);
    border: 1px solid #E1E1E1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    z-index: 1100;
    padding: 0.5rem;
}

/* Hide the players dropdown entirely - only show the player count */
#playersDropdown { display: none !important; }
.players-toggle { cursor: default; }
.players-toggle .caret { display: none; }

.players-dropdown table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.players-dropdown th,
.players-dropdown td {
    padding: 6px 8px;
    text-align: left;
    border-bottom: 1px solid #F3F2F1;
}

.players-dropdown th { font-weight: 700; color: var(--gov-blue); }

.user-area {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.discord-login {
    background: #5865F2;
    color: #fff;
    padding: 6px 10px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
}

.user-dropdown { position: relative; }

.user-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.user-trigger img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-menu {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    background: var(--gov-white);
    border: 1px solid #E1E1E1;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
    padding: 0.5rem;
    min-width: 160px;
    z-index: 1100;
}

.user-menu a {
    display: block;
    padding: 8px 10px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 3px;
}

.user-menu a:hover { background: #F3F2F1; }

/* Ensure nav stats don't conflict with page .stats section */
section.stats { /* existing large stats block kept */ }

/* Hero Section */
.hero {
    background: linear-gradient(120deg, #f3f2f1 0%, #e9eaf0 100%);
    padding: 5rem 0 4rem 0;
    border-bottom: 1px solid #BFC1C3;
    box-shadow: 0 2px 16px rgba(11,88,164,0.04);
}

.hero-content {
    animation: slideInUp 0.6s ease;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1.1rem;
    color: var(--gov-blue);
    line-height: 1.15;
    letter-spacing: -1px;
    text-shadow: 0 2px 8px rgba(11,88,164,0.07);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 0.7rem;
    color: #3a3d40;
    font-weight: 600;
    opacity: 0.92;
}

.hero-description {
    font-size: 1.08rem;
    margin-bottom: 2.2rem;
    color: #444;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
    opacity: 0.96;
}

/* Forms */
.form-row { margin-bottom: 1rem; }
.form-row label { display: block; margin-bottom: 0.5rem; font-weight: 700; color: var(--gov-blue); }
.form-row input[type="text"], .form-row textarea { width: 100%; padding: 10px; border: 1px solid #D1D5D8; border-radius: 4px; font-size: 1rem; }
.form-row textarea { min-height: 140px; resize: vertical; }
.notice { padding: 12px 16px; border-radius: 4px; margin-bottom: 1rem; }
.notice.success { background: #E6F4EA; border-left: 4px solid var(--gov-success); color: #08341B; }

/* Small page header variant */
.page-header { padding: 1.25rem 0; border-bottom: 1px solid #E6E6E6; margin-bottom: 1rem; }

/* Modal (popup) */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    padding: 20px;
}
.modal-overlay.active { display: flex; }
.modal-box {
    background: var(--gov-white);
    max-width: 760px;
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 12px 40px rgba(2,6,23,0.4);
    padding: 20px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
    overscroll-behavior: contain;
}
.modal-close {
    position: absolute;
    right: 12px;
    top: 12px;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    color: #666;
}
.modal-title { margin: 0 0 8px 0; color: var(--gov-blue); }


.hero-buttons {
    display: flex;
    gap: 1.2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border: 2px solid transparent;
    border-radius: 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: inherit;
}

.btn-primary {
    background: var(--gov-blue);
    color: var(--gov-white);
    border-color: var(--gov-blue);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
    background: var(--gov-blue-dark);
    border-color: var(--gov-blue-dark);
}

.btn-primary:active {
    top: 2px;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0.15);
}

.btn-secondary {
    background: transparent;
    color: var(--link-color);
    border-color: var(--link-color);
    border-width: 2px;
}

.btn-secondary:hover {
    background: var(--gov-blue);
    color: var(--gov-white);
    border-color: var(--gov-blue);
}

/* Sections */
section {
    padding: 3rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--gov-blue);
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: none;
}

.section-intro {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 2rem;
    max-width: 700px;
}

/* About Section */
.about {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.about-card {
    background: var(--gov-light-grey);
    padding: 2rem;
    border-left: 4px solid var(--gov-blue);
}

.card-icon {
    font-size: 0;
    display: none;
}

.about-card h3 {
    margin-bottom: 1rem;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gov-blue);
}

.about-card p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Features Section */
.features {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    background: var(--gov-light-grey);
    padding: 2rem;
    border-top: 4px solid var(--gov-blue);
    transition: all 0.2s ease;
}

.feature-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.feature-item h3 {
    margin-bottom: 0.5rem;
    color: var(--gov-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.feature-item p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Rules Section */
.rules {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}

.rules-list {
    margin-top: 2rem;
}

.rule-item {
    background: var(--gov-light-grey);
    padding: 2rem;
    margin-bottom: 1rem;
    border-left: 4px solid var(--gov-blue);
}

.rule-item h3 {
    margin-bottom: 0.5rem;
    color: var(--gov-blue);
    font-size: 1.2rem;
    font-weight: 700;
}

.rule-item p {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Statistics Section */
.stats {
    background: linear-gradient(120deg, #0B58A4 60%, #003078 100%);
    color: var(--gov-white);
    border-bottom: 1px solid #003078;
    box-shadow: 0 2px 16px rgba(11,88,164,0.08);
}

.stats .section-title {
    color: var(--gov-white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.2rem;
    margin-top: 2.2rem;
}

.stat-item {
    text-align: center;
    padding: 2.2rem 1.2rem 1.6rem 1.2rem;
    background: rgba(255, 255, 255, 0.10);
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.18s, transform 0.12s;
}
.stat-item:hover {
    box-shadow: 0 8px 32px rgba(11,88,164,0.10);
    transform: translateY(-3px) scale(1.03);
}

.stat-number {
    font-size: 2.7rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    display: block;
    color: #fff;
    text-shadow: 0 2px 8px rgba(11,88,164,0.13);
}

.stat-item p {
    color: var(--gov-white);
    font-size: 1rem;
}

/* Join Section */
.join {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}

.join-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step {
    background: var(--gov-light-grey);
    padding: 2rem;
    border-left: 4px solid var(--gov-blue);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gov-blue);
    color: var(--gov-white);
    border-radius: 50%;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    margin-bottom: 0.5rem;
    color: var(--gov-blue);
    font-size: 1.1rem;
    font-weight: 700;
}

.step p {
    color: var(--text-dark);
    font-size: 0.95rem;
}

.join-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Applications Section */
.applications {
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}

.application-form {
    max-width: 700px;
    background: var(--gov-light-grey);
    padding: 2rem;
    border-left: 4px solid var(--gov-blue);
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
}

.required {
    color: var(--gov-error);
}

.form-group small {
    display: block;
    margin-top: 0.3rem;
    color: var(--gov-grey);
    font-size: 0.85rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: var(--gov-white);
    border: 2px solid #BFC1C3;
    color: var(--text-dark);
    border-radius: 0;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: 3px solid var(--gov-blue);
    outline-offset: 0;
    border-color: var(--text-dark);
}

.form-group textarea {
    resize: vertical;
}

/* Contact Section */
.contact {
    background: #f7f8fa;
    border-bottom: 1px solid #BFC1C3;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2.2rem;
    margin-top: 2.2rem;
}

.contact-item {
    background: var(--gov-white);
    padding: 2.1rem 1.2rem 1.5rem 1.2rem;
    border-left: 4px solid var(--gov-blue);
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(11,88,164,0.06);
    text-align: center;
    transition: box-shadow 0.18s, transform 0.12s;
}
.contact-item:hover {
    box-shadow: 0 8px 32px rgba(11,88,164,0.10);
    transform: translateY(-3px) scale(1.03);
}

.contact-item h3 {
    margin-bottom: 0.5rem;
    color: var(--gov-blue);
    font-weight: 700;
    font-size: 1.15rem;
}

.contact-item a {
    color: var(--link-color);
    text-decoration: underline;
    transition: color 0.2s ease;
    font-weight: 600;
    word-break: break-all;
}

.contact-item a:hover {
    color: var(--link-hover);
}

/* Footer */
.footer {
    background: linear-gradient(120deg, #0B58A4 60%, #003078 100%);
    color: var(--gov-white);
    padding: 2.5rem 0 1.5rem 0;
    border-top: 1px solid #003078;
    box-shadow: 0 -2px 16px rgba(11,88,164,0.08);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2.2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.08rem;
    font-weight: 700;
    margin-bottom: 1.1rem;
    color: var(--gov-white);
    letter-spacing: 0.5px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.6rem;
}

.footer-section a {
    color: #F3F2F1;
    text-decoration: underline;
    transition: color 0.2s ease;
    font-weight: 600;
}

.footer-section a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.98rem;
    opacity: 0.93;
}

.footer-bottom p {
    color: #F3F2F1;
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

/* GOV.UK Cookie Banner */
#cookie-banner {
    width: 100%;
    background: #f3f2f1;
    border-bottom: 2px solid #b1b4b6;
    z-index: 9999;
}
.govuk-cookie-banner {
    max-width: 960px;
    margin: 0 auto;
    padding: 2rem 1rem 1.5rem 1rem;
    display: flex;
    justify-content: center;
}
.govuk-cookie-banner__message {
    background: #f3f2f1;
    border: 1px solid #b1b4b6;
    border-radius: 0;
    padding: 1.5rem 2rem;
    max-width: 700px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.govuk-cookie-banner__message h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: #0b0c0c;
}
.govuk-cookie-banner__message p {
    margin: 0 0 0.7rem 0;
    color: #0b0c0c;
    font-size: 1.1rem;
}
.govuk-cookie-banner__buttons {
    margin-top: 1.2rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.govuk-btn {
    background: #00703c;
    color: #fff;
    border: none;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.7rem 1.5rem;
    border-radius: 0;
    cursor: pointer;
    transition: background 0.18s;
}
.govuk-btn--accept {
    background: #00703c;
}
.govuk-btn--accept:hover, .govuk-btn--accept:focus {
    background: #005a30;
}
.govuk-btn--reject {
    background: #00703c;
    border: 2px solid #00703c;
    background: #fff;
    color: #00703c;
}
.govuk-btn--reject:hover, .govuk-btn--reject:focus {
    background: #e6f4ea;
    color: #005a30;
}
.govuk-link {
    color: #1d70b8;
    text-decoration: underline;
    font-size: 1rem;
    font-weight: 400;
}
.govuk-link:hover, .govuk-link:focus {
    color: #003078;
}
@media (max-width: 600px) {
    .govuk-cookie-banner__message { padding: 1rem 0.5rem; }
    .govuk-cookie-banner { padding: 1rem 0.2rem; }
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--gov-white);
        gap: 0;
        padding: 1rem 20px;
        border-bottom: 1px solid #BFC1C3;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu a {
        padding: 0.75rem 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .header .container {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .header-title {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .join-buttons {
        flex-direction: column;
    }

    .join-buttons .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .header-title i {
        font-size: 1.5rem;
    }

    .header-title h1 {
        font-size: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    section {
        padding: 2rem 0;
    }

    .section-title {
        font-size: 1.3rem;
    }

    .about-grid,
    .features-grid,
    .stats-grid,
    .join-steps {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        gap: 0;
    }
}

/* Team page cards */
.team-wrapper {
    padding: 2rem 0;
    background: var(--gov-white);
    border-bottom: 1px solid #BFC1C3;
}
.team-category {
    font-size: 1.5rem;
    color: var(--gov-blue);
    margin: 1.5rem 0 0.75rem 0;
    font-weight: 700;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.team-card {
    background: var(--gov-light-grey);
    padding: 1.25rem;
    border-left: 4px solid var(--gov-blue);
    text-align: center;
    transition: box-shadow 0.18s ease, transform 0.12s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.team-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 0.5rem;
}
.team-card h3 { margin: 0.25rem 0; font-size: 1rem; color: var(--text-dark); font-weight:700; }
.team-card p { margin: 0; color: var(--gov-grey); font-size:0.95rem; }

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

/* Make team sections align with main container spacing */
.team-wrapper .container { padding-top: 1rem; padding-bottom: 1rem; }
