@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
    --bg-color: #fff;
    --text-color: #000;
    --header-bg: transparent;
    --header-text: black;
    --nav-hover: #e0e0e0;
    --dropdown-bg: #f4f4f4;
    --dropdown-border: #ddd;
    --card-bg: white;
    --card-shadow: rgba(0,0,0,0.1);
    --border-color: #ddd;
    --section-bg: #f4f4f4;
    --accent-color: #0d1b3a;
    --secondary-text: #333;
    --light-border: lightgrey;
}

body.dark-mode {
    --bg-color: #1a1a1a;
    --text-color: #e0e0e0;
    --header-bg: transparent;
    --header-text: #e0e0e0;
    --nav-hover: #2a2a2a;
    --dropdown-bg: #2a2a2a;
    --dropdown-border: #444;
    --card-bg: #252525;
    --card-shadow: rgba(0,0,0,0.3);
    --border-color: #444;
    --section-bg: #252525;
    --accent-color: #4a90e2;
    --secondary-text: #b0b0b0;
    --light-border: #444;
}

html, body, * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Geist', sans-serif !important;
}

body {
    font-family: 'Geist', sans-serif !important;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
    transition: background-color 0.3s ease, color 0.3s ease;
}

header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 1rem 0;
    box-shadow: none;
    transition: background-color 0.3s ease;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 70px;
    position: relative;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0;
    height: 56px;
    z-index: 2;
}

.logo {
    height: 56px;
    width: 56px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    padding: 0;
    margin: 0;
}

.logo-container a {
    display: flex;
    align-items: center;
    height: 56px;
    width: 56px;
    padding: 0;
    margin: 0;
    border-radius: 50%;
    overflow: hidden;
}

.logo-text {
    font-size: 2rem; /* Reduced size to match the original smaller size */
    color: var(--header-text);
    margin: 0 0 0 0.8rem;
    text-align: left;
    font-family: 'Geist', sans-serif;
    line-height: 1;
    display: flex;
    align-items: center;
    height: 56px;
    white-space: nowrap;
    transition: color 0.3s ease;
}

.nav-links {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.5rem;
    padding: 0;
    z-index: 1;
}

.nav-links a {
    color: var(--header-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: background-color 0.3s, color 0.3s ease;
    font-family: 'Geist', sans-serif;
}

.nav-links a:hover {
    background-color: var(--nav-hover);
}

/* Dropdown Menu Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--dropdown-bg);
    min-width: 200px;
    box-shadow: 0 8px 16px var(--card-shadow);
    z-index: 1000;
    list-style: none;
    padding: 0;
    margin: 0;
    transition: background-color 0.3s ease;
}

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

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid var(--dropdown-border);
    font-family: 'Geist', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--nav-hover);
}

/* Team Detail Page Styles */
.team-details {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.team-fun-facts, .team-members {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--card-shadow);
    transition: background-color 0.3s ease;
}

.team-info h2, .team-fun-facts h2, .team-members h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 0.5rem;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.team-info p {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* Team Info with Picture Layout */
.team-info-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--card-shadow);
    transition: background-color 0.3s ease;
}

.team-info {
    background: none;
    padding: 0;
    box-shadow: none;
}

.team-picture {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-photo {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
    border: 3px solid #0d1b3a;
}

.photo-caption {
    margin-top: 1rem;
    font-style: italic;
    color: #666;
    text-align: center;
    font-size: 0.9rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .team-info-section {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .team-photo {
        max-width: 250px;
    }
}

.team-fun-facts ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.team-fun-facts li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.member {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    text-align: center;
    border-left: 4px solid #0d1b3a;
}

.member h3 {
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.member p {
    color: #666;
    margin: 0;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 6rem 2rem 4rem 2rem;
    background: none;
    color: #b12a34;
    margin-bottom: 2.5rem;
    border-radius: 0;
    box-shadow: none;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #b12a34;
    font-weight: 700;
    font-family: 'Geist', sans-serif;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.3rem;
    opacity: 0.95;
    color: #b12a34;
    font-family: 'Geist', sans-serif;
}

.page-header {
    text-align: center;
    padding: 2rem 0;
    margin-bottom: 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    color: #000;
    margin-bottom: 1rem;
}

.about-content h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
}

.about-highlight {
    font-size: 1.4rem;
    font-weight: 600;
    color: #b12a34;
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Geist', sans-serif;
}

.about-content > p {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem auto;
    font-size: 1.1rem;
    line-height: 1.8;
}

.accomplishments {
    /* White, liquid glass / frosted panel */
    background: rgba(255,255,255,0.55);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(13,27,58,0.08);
    border: 1px solid rgba(255,255,255,0.6);
    backdrop-filter: blur(8px) saturate(120%);
}

.accomplishments h3 {
    color: #000;
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
}

.accomplishments-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
}

.accomplishment-item {
    background: rgba(255,255,255,0.85);
    border-radius: 12px;
    padding: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    border: 1px solid rgba(13,27,58,0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.accomplishment-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(13,27,58,0.08);
}

.accomplishment-item.highlighted {
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,250,0.95));
    border: 1px solid rgba(177,42,52,0.12);
    box-shadow: 0 8px 30px rgba(177,42,52,0.08);
}

.accomplishment-item .trophy { font-size: 1.6rem; color: #000; }
.accomplishment-text { font-weight: 600; color: #000; }

.accomplishment-item .trophy {
    font-size: 2rem;
}

.accomplishment-item .accomplishment-text {
    color: #000;
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Geist', sans-serif;
}

/* Dark mode styles for accomplishments */
body.dark-mode .accomplishments {
    background: rgba(60, 60, 60, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

body.dark-mode .accomplishments h3 {
    color: #fff;
}

body.dark-mode .accomplishment-item {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .accomplishment-item:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .accomplishment-item .accomplishment-text {
    color: #fff;
}

body.dark-mode .accomplishment-item .trophy {
    color: #fff;
}

/* Dark mode for page headers */
body.dark-mode .page-header h1 {
    color: #fff !important;
}

body.dark-mode .page-header p {
    color: #e0e0e0 !important;
}

/* Dark mode for team cards */
body.dark-mode .team-card {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .team-card h3 {
    color: #fff !important;
}

body.dark-mode .team-card p {
    color: #fff !important;
}

body.dark-mode .team-card strong {
    color: #fff !important;
}

/* Dark mode for event cards */
body.dark-mode .event-card {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 4px solid #4a90e2;
}

body.dark-mode .event-card h3 {
    color: #fff !important;
}

body.dark-mode .event-card p {
    color: #e0e0e0 !important;
}

/* Dark mode for competition schedule */
body.dark-mode .competition-schedule {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

/* Dark mode for tables */
body.dark-mode th {
    background: rgba(60, 60, 60, 0.6);
    color: #fff;
}

body.dark-mode td {
    color: #e0e0e0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode th {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* Dark mode for team members compact */
body.dark-mode .team-members-compact {
    background: rgba(60, 60, 60, 0.95);
    color: #fff;
}

body.dark-mode .team-members-compact li {
    color: #e0e0e0;
}

/* Dark mode for all headings */
body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #fff !important;
}

/* Dark mode for all paragraphs and text */
body.dark-mode p,
body.dark-mode li,
body.dark-mode span {
    color: #e0e0e0 !important;
}

body.dark-mode strong {
    color: #fff !important;
}

/* Dark mode for links */
body.dark-mode a {
    color: #4a90e2;
}

body.dark-mode a:hover {
    color: #6ba3e8;
}

/* Dark mode for member boxes */
body.dark-mode .member {
    background: rgba(80, 80, 80, 0.5);
    border-left: 4px solid #4a90e2;
}

body.dark-mode .member h3 {
    color: #fff !important;
}

body.dark-mode .member p {
    color: #e0e0e0 !important;
}

/* Dark mode for hero section */
body.dark-mode .hero {
    color: #fff;
}

body.dark-mode .hero h1 {
    color: #fff !important;
}

body.dark-mode .hero p {
    color: #e0e0e0 !important;
}

/* Dark mode for about content */
body.dark-mode .about-content h2 {
    color: #fff !important;
}

body.dark-mode .about-highlight {
    color: #6ba3e8 !important;
}

body.dark-mode .about-content > p {
    color: #e0e0e0 !important;
}

/* Dark mode for team details sections */
body.dark-mode .team-fun-facts,
body.dark-mode .team-members {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .team-info-section {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .team-fun-facts ul,
body.dark-mode .team-members ul {
    color: #e0e0e0;
}

body.dark-mode .team-fun-facts li,
body.dark-mode .team-members li {
    color: #e0e0e0 !important;
}

body.dark-mode .photo-caption {
    color: #b0b0b0 !important;
}

/* Dark mode for staff textbox */
body.dark-mode .staff-textbox {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .staff-textbox p {
    color: #e0e0e0 !important;
}

/* Dark mode for contact section */
body.dark-mode .contact-section {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .contact-info {
    color: #e0e0e0;
}

body.dark-mode .contact-info p {
    color: #e0e0e0 !important;
}

/* Dark mode for team officers and about sections */
body.dark-mode .team-officers {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .about-section {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .officer {
    color: #e0e0e0 !important;
}

/* Dark mode for contact section */
body.dark-mode .contact-section {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .contact-section h1 {
    color: #6ba3e8 !important;
}

body.dark-mode .contact-section p {
    color: #e0e0e0 !important;
}

body.dark-mode .contact-info {
    background: rgba(60, 60, 60, 0.6);
}

body.dark-mode .contact-info h2 {
    color: #fff !important;
}

body.dark-mode .contact-info p {
    color: #e0e0e0 !important;
}

body.dark-mode .contact-info a {
    color: #6ba3e8 !important;
}

body.dark-mode .contact-form label {
    color: #fff !important;
}

body.dark-mode .contact-form input,
body.dark-mode .contact-form textarea {
    background: rgba(60, 60, 60, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #e0e0e0;
}

body.dark-mode .contact-form button {
    background: #4a90e2;
}

body.dark-mode .contact-form button:hover {
    background: #3a7bc8;
}

/* Dark mode for sponsors page */
body.dark-mode .sponsor-hero .hero-text {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .sponsor-hero .hero-text h2 {
    color: #fff !important;
}

body.dark-mode .sponsor-hero .hero-text p {
    color: #e0e0e0 !important;
}

body.dark-mode .impact-list li {
    color: #e0e0e0 !important;
}

body.dark-mode .sponsor-level {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .sponsor-level.platinum {
    border-left: 4px solid #e74c3c;
}

body.dark-mode .sponsor-level.gold {
    border-left: 4px solid #f39c12;
}

body.dark-mode .sponsor-level.silver {
    border-left: 4px solid #95a5a6;
}

body.dark-mode .sponsor-level h2 {
    color: #fff !important;
}

body.dark-mode .sponsor-logo {
    background: rgba(60, 60, 60, 0.6);
}

body.dark-mode .sponsor-logo h3 {
    color: #fff !important;
}

body.dark-mode .sponsor-logo p {
    color: #e0e0e0 !important;
}

body.dark-mode .become-sponsor {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .become-sponsor h2,
body.dark-mode .become-sponsor h3 {
    color: #fff !important;
}

body.dark-mode .become-sponsor p {
    color: #e0e0e0 !important;
}

body.dark-mode .become-sponsor li {
    color: #e0e0e0 !important;
}

body.dark-mode .tier {
    background: rgba(60, 60, 60, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

body.dark-mode .tier h3 {
    color: #fff !important;
}

body.dark-mode .tier p {
    color: #e0e0e0 !important;
}

body.dark-mode .tier ul {
    color: #e0e0e0;
}

body.dark-mode .tier li {
    color: #e0e0e0 !important;
}

body.dark-mode .secondary-button {
    background: transparent;
    color: #6ba3e8;
    border: 1px solid #6ba3e8;
}

body.dark-mode .secondary-button:hover {
    background: #6ba3e8;
    color: #fff;
}

/* Dark mode for donation info section */
body.dark-mode .donation-info {
    background: rgba(80, 80, 80, 0.5) !important;
    border-left: 4px solid #4a90e2 !important;
}

body.dark-mode .donation-info h3,
body.dark-mode .donation-info h4 {
    color: #fff !important;
}

body.dark-mode .donation-info p {
    color: #e0e0e0 !important;
}

body.dark-mode .donation-info h4 {
    color: #6ba3e8 !important;
}

body.dark-mode .primary-cta {
    background: #b12a34;
}

body.dark-mode .primary-cta:hover {
    background: #a01f2b;
}

body.dark-mode .secondary-cta {
    background: #4a90e2;
}

body.dark-mode .secondary-cta:hover {
    background: #3a7bc8;
}

/* Dark mode for awards section */
body.dark-mode .awards-list h2 {
    color: #6ba3e8 !important;
}

body.dark-mode .awards-list table {
    background: rgba(80, 80, 80, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

body.dark-mode .awards-list thead tr {
    background: rgba(60, 60, 60, 0.6) !important;
}

body.dark-mode .awards-list th {
    color: #fff !important;
    border-bottom: 2px solid #4a90e2 !important;
}

body.dark-mode .awards-list td {
    color: #e0e0e0 !important;
}

body.dark-mode .awards-list li {
    color: #e0e0e0 !important;
}

body.dark-mode .awards-list tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.program-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.highlight {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
}

.highlight h3 {
    color: #0d1b3a;
    margin-bottom: 1rem;
}

.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.team-card {
    background: #ffffff; /* Remove purple color */
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none; /* Ensure no underline for links */
    display: block; /* Make the entire widget clickable */
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.team-card h3 {
    font-size: 1.25rem;
    color: #000; /* Neutral color for text */
    margin-bottom: 0.5rem;
}

.team-card p {
    font-size: 1rem;
    color: #333;
    margin: 0.25rem 0;
}

.staff-image {
    display: block;
    max-width: 80%; /* Reduce size to 80% of the container */
    height: auto;
    margin: 1rem auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .teams-grid {
        grid-template-columns: 1fr;
    }
}

/* Join Team Section */
.join-team {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    text-align: center;
    margin-top: 2rem;
}

/* Sponsor Section */
.sponsor-levels {
    margin: 2rem 0;
}

.sponsor-level {
    margin-bottom: 2rem;
    padding: 2rem;
    border-radius: 8px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.platinum {
    border-left: 4px solid #e74c3c;
}

.gold {
    border-left: 4px solid #f39c12;
}

.silver {
    border-left: 4px solid #95a5a6;
}

.sponsor-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sponsor-logo {
    padding: 1rem;
    text-align: center;
    background: #f8f9fa;
    border-radius: 4px;
}

.become-sponsor {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.sponsor-benefits {
    margin: 1.5rem 0;
}

.sponsor-benefits ul {
    list-style-position: inside;
    margin-left: 1rem;
}

.events-content {
    display: grid;
    gap: 2rem;
}

.upcoming-events, .past-events {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.event-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 6px;
    margin: 1rem 0;
    border-left: 4px solid #0d1b3a;
}

.competition-schedule {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
}

th, td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f8f9fa;
    font-weight: bold;
    color: #2c3e50;
}

.cta-button {
    background: #004aad;
    color: white;
    border: none;
    padding: 1.25rem 2.25rem;
    border-radius: 12px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(13, 27, 58, 0.14);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(13, 27, 58, 0.18);
}

.cta-button:focus {
    outline: 3px solid #0d1b3a;
    outline-offset: 3px;
}

.donation-cta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.primary-cta {
    background: #b12a34;
    min-width: 220px;
}

.primary-cta:hover {
    background: #a01f2b;
}

.secondary-cta {
    background: #0d1b3a;
    min-width: 220px;
}

.secondary-cta:hover {
    background: #1a2d54;
}

.secondary-cta:focus {
    outline: 3px solid #0d1b3a;
    outline-offset: 3px;
}

footer {
    background: #2c3e50;
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
}

/* Contact Page Styles */
.contact-main {
    max-width: 700px;
    margin: 0 auto;
    padding: 3rem 1rem 2rem 1rem;
}

.contact-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    padding: 2.5rem 2rem;
    margin-top: 2rem;
}

.contact-section h1 {
    color: #b12a34;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    text-align: center;
    font-family: 'Geist', sans-serif;
}

.contact-section p {
    text-align: center;
    margin-bottom: 2rem;
    color: #333;
    font-size: 1.1rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
}

.contact-form label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.3rem;
    font-family: 'Geist', sans-serif;
}

.contact-form input,
.contact-form textarea {
    padding: 0.7rem 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    font-family: 'Geist', sans-serif;
    background: #f8f9fa;
    resize: vertical;
}

.contact-form button {
    background: #b12a34;
    color: white;
    border: none;
    padding: 0.9rem 0;
    border-radius: 6px;
    font-size: 1.1rem;
    font-family: 'Geist', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.contact-form button:hover {
    background: #a01f2b;
}

.contact-info {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem 1rem;
    margin-top: 1.5rem;
    text-align: center;
}

.contact-info h2 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 0.7rem;
}

.contact-info a {
    color: #b12a34;
    text-decoration: underline;
    word-break: break-all;
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    main {
        padding: 1rem;
    }
}

@media (max-width: 600px) {
    .contact-section {
        padding: 1.2rem 0.5rem;
    }
    .contact-main {
        padding: 1rem 0.2rem;
    }
}

/* Team officers display */
.team-officers {
    background: #f4f6f8;
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin-top: 1rem;
    border-left: 4px solid #b12a34;
}
.team-officers h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    color: #2c3e50;
}
.team-officers .officer {
    margin: 0.25rem 0;
    font-size: 1rem;
    color: #333;
}

.team-info-section .team-info h2 + .team-officers {
    margin-top: 0.5rem;
}

/* Small tweaks for officer labels */
.team-officers .officer strong {
    color: #0d1b3a;
    display: inline-block;
    width: 48px;
}

/* New team page layout */
.team-header {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.team-meta {
    flex: 1 1 480px;
}
.team-meta h1 {
    font-size: 1.6rem;
    margin-bottom: 0.4rem;
    color: #0d1b3a;
}
.team-robot {
    width: 100%;
    max-width: 420px;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(13,27,58,0.12);
    object-fit: cover;
}
.about-section {
    margin-top: 1.25rem;
    background: white;
    padding: 1.25rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.06);
}
.practice-photo {
    display: block;
    margin: 1.25rem auto;
    max-width: 720px;
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}
.team-members-list {
    margin-top: 1rem;
    background: #f8fafb;
    padding: 1rem;
    border-radius: 8px;
}
.team-members-list ol {
    padding-left: 1.2rem;
}
.team-members-list li {
    margin: 0.35rem 0;
    font-size: 1rem;
    color: #000;
}

@media (max-width: 900px) {
    .team-header {
        flex-direction: column-reverse;
        gap: 1rem;
    }
    .team-robot {
        max-width: 100%;
        align-self: center;
    }
}

/* Teams page staff styling */
.teams-staff {
    text-align: center;
    padding: 0.75rem 1rem;
}
.teams-staff .head-coach {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0.25rem 0 0.6rem 0;
}
.teams-staff .staff-list {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-items: center;
}
.teams-staff .staff-list p {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

/* Card layout for teams grid: rectangular cards with number badge */
.teams-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1rem;
}
.team-card {
    background: #ffffff; /* Remove purple color */
    padding: 1rem;
    border-radius: 10px;
    min-height: 160px;
    position: relative;
    box-shadow: 0 6px 18px rgba(13,27,58,0.06);
    overflow: hidden;
    text-decoration: none; /* Ensure no underline for links */
    display: block; /* Make the entire widget clickable */
}
.team-card h3 {
    margin: 0 0 0.4rem 0;
    color: #000; /* Neutral color for text */
}
.team-number {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #b12a34;
    color: white;
    padding: 6px 10px;
    border-radius: 6px;
    font-weight: 700;
}
.team-members-compact {
    position: absolute;
    left: 12px;
    bottom: 12px;
    background: rgba(248,250,251,0.95);
    padding: 8px 10px;
    border-radius: 6px;
    max-width: 60%;
}
.team-members-compact ol { margin: 0; padding-left: 1.05rem; }
.team-members-compact li { font-size: 0.95rem; margin: 0.15rem 0; }

@media (max-width: 600px) {
    .team-members-compact { max-width: 100%; }
}

/* Sponsors page enhancements */
.sponsor-hero {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 2rem;
    align-items: center;
    margin: 1.5rem 0 2.5rem 0;
}
.sponsor-hero .hero-text {
    background: rgba(13,27,58,0.03);
    padding: 1.5rem;
    border-radius: 10px;
}
.sponsor-hero .hero-text h2 {
    margin-top: 0;
    color: #0d1b3a;
}

.sponsor-hero .hero-text p {
    margin: 1.05rem 0;
    line-height: 1.75;
}
.sponsor-hero .hero-image img {
    width: 100%;
    max-width: 420px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(13,27,58,0.08);
    object-fit: cover;
}
.impact-list { margin: 1rem 0 1.25rem 1rem; }
.impact-list li { margin: 0.6rem 0; font-size: 1.05rem; color: #222; }
.donation-cta {
    display: flex;
    justify-content: center;
    gap: 1.25rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}
.secondary-button {
    display:inline-block;
    background: transparent;
    color: #0d1b3a;
    border: 1px solid #0d1b3a;
    padding: 0.9rem 1.2rem;
    border-radius: 6px;
    text-decoration: none;
}
.secondary-button:hover { background: #0d1b3a; color: #fff; }
.donation-tiers { display:grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap:1rem; margin-top:1rem; }
.tier { background:#f8fafb; padding:1.5rem; border-radius:8px; border:1px solid rgba(13,27,58,0.04); }
.tier h3 { margin:0 0 0.8rem 0; font-size: 1.3rem; }
.tier ul { margin: 0; padding-left: 1.5rem; list-style: disc; }
.tier li { margin: 0.5rem 0; color: #333; font-size: 0.95rem; }
.platinum-tier { border-left:4px solid #e74c3c; }
.gold-tier { border-left:4px solid #f39c12; }
.silver-tier { border-left:4px solid #95a5a6; }
.friend-tier { border-left:4px solid #7f8c8d; }
.bottom-cta { margin-top: 1.5rem; }

@media (max-width: 900px) {
    .sponsor-hero { grid-template-columns: 1fr; }
    .sponsor-hero .hero-image { order: -1; }
}

/* Revamped events page styles */
.events-section {
    margin-bottom: 2rem;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.event-card {
    background: #ffffff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 1.5rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.event-card h3 {
    font-size: 1.25rem;
    color: #0d1b3a;
    margin-bottom: 0.5rem;
}

.event-card p {
    font-size: 1rem;
    color: var(--secondary-text);
    margin: 0.25rem 0;
    transition: color 0.3s ease;
}

/* Gallery Styles */
.gallery-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.gallery-section:last-child {
    border-bottom: none;
}

.gallery-section h3 {
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.photo-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.photo-gallery img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--card-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.photo-gallery img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px var(--card-shadow);
}

.photo-credit {
    font-size: 0.9rem;
    color: var(--secondary-text);
    font-style: italic;
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .photo-gallery {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .photo-gallery img {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .photo-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Lightbox Styles */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
    z-index: 10001;
}

.lightbox-close:hover {
    color: #ccc;
    transform: scale(1.1);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    padding: 16px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background-color: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 1.1rem;
    text-align: center;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 8px;
    max-width: 80%;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: #fff;
    font-size: 0.9rem;
    padding: 5px 15px;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .lightbox-prev,
    .lightbox-next {
        font-size: 30px;
        padding: 12px 16px;
    }
    
    .lightbox-prev {
        left: 10px;
    }
    
    .lightbox-next {
        right: 10px;
    }
    
    .lightbox-close {
        top: 15px;
        right: 20px;
        font-size: 30px;
    }
    
    .lightbox-caption {
        font-size: 0.9rem;
        bottom: 50px;
    }
}

/* Dark Mode Toggle Button */
.dark-mode-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--card-bg);
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px var(--card-shadow);
    transition: all 0.3s ease;
    z-index: 9999;
}

.dark-mode-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px var(--card-shadow);
}

.dark-mode-toggle:active {
    transform: scale(0.95);
}