* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Navigation */
.navbar {
    background: linear-gradient(135deg, #ffb703 0%, #fb8500 100%);
    padding: 0.4rem 0;
    position: sticky;
    top: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.logo-image {
    width: 75px;
    height: 75px;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: opacity 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
    opacity: 0.8;
    border-bottom: 2px solid white;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #023e8a 0%, #0077b6 50%, #0096c7 100%);
    color: white;
    padding: 30px 20px;
    text-align: center;
    min-height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-hero {
    background-image: linear-gradient(135deg, rgba(2, 62, 138, 0.92) 0%, rgba(0, 119, 182, 0.92) 50%, rgba(0, 150, 199, 0.92) 100%),
        url('images/2025-04-28%20-%20SIlver%20Hornets%20Logo.png');
    background-size: cover, 350px;
    background-position: center, center;
    background-repeat: no-repeat;
}

.hero-content h1 {
    font-size: 2.2rem;
    margin-bottom: 0.3rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1rem;
    margin-bottom: 0.3rem;
}

.tagline {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-style: italic;
}

/* CTA Button */
.cta-button {
    background: #ffb703;
    color: #023e8a;
    border: none;
    padding: 8px 20px;
    font-size: 0.95rem;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #fb8500;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.cta-button.outline {
    background: transparent;
    color: #023e8a;
    border: 2px solid #023e8a;
}

.cta-button.outline:hover {
    background: #023e8a;
    color: white;
}

.link-button {
    background: none;
    border: none;
    color: #0077b6;
    cursor: pointer;
    font-weight: 600;
    text-decoration: underline;
    padding: 0;
}

.link-button:hover {
    color: #023e8a;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
    color: white;
    padding: 12px 20px;
    text-align: center;
    margin-bottom: 0.4rem;
}

.page-header h1 {
    font-size: 1.6rem;
}

.page-subtitle {
    font-size: 1rem;
    margin-top: 0.4rem;
    opacity: 0.9;
}

.hero-actions {
    margin-top: 0.75rem;
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    background: white;
    padding: 12px 20px;
    margin-bottom: 0.4rem;
}

.section h2 {
    color: #023e8a;
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    border-bottom: 3px solid #ffb703;
    padding-bottom: 0.25rem;
    display: inline-block;
}

.section h3 {
    color: #0077b6;
    margin-top: 0.4rem;
    margin-bottom: 0.3rem;
}

.section p {
    margin-bottom: 0.3rem;
    line-height: 1.4;
}

.section ul {
    margin-left: 1.25rem;
    margin-bottom: 0.3rem;
}

.section li {
    margin-bottom: 0.2rem;
}

.muted {
    color: #6c757d;
    font-size: 0.9rem;
}

.notice {
    margin-bottom: 0.75rem;
    padding: 0.6rem 0.85rem;
    border-radius: 8px;
    background: #f0f3ff;
    color: #023e8a;
    font-weight: 600;
    font-size: 0.9rem;
    display: none;
    border-left: 4px solid #0066cc;
    animation: slideIn 0.3s ease-out;
}

.notice.error {
    background: #ffe5e5;
    color: #b42318;
    border-left-color: #dc2626;
}

.notice.success {
    background: #d1fae5;
    color: #065f46;
    border-left-color: #10b981;
}

.notice:not(:empty) {
    display: block;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Highlights Grid */
.highlights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.highlight-card {
    background: linear-gradient(135deg, #f0f3ff 0%, #e0e7ff 100%);
    padding: 0.6rem;
    border-radius: 10px;
    text-align: center;
    border-left: 5px solid #ffb703;
    transition: transform 0.3s ease;
}

.highlight-card:hover {
    transform: translateY(-5px);
}

.highlight-card .icon {
    font-size: 1.75rem;
    margin-bottom: 0.3rem;
}

.highlight-card h3 {
    color: #023e8a;
}

/* Auth & Hours */
.auth-card,
.hours-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    margin-bottom: 0.5rem;
}

.auth-card {
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

.auth-card h2 {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
    margin-top: 0;
    text-align: center;
}

.auth-card .muted {
    text-align: center;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
}

.stacked-form h3 {
    color: #023e8a;
    margin-bottom: 0.5rem;
}

.stacked-form {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hours-card h3,
.auth-card h3 {
    color: #023e8a;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    margin-top: 0;
}

.divider {
    height: 1px;
    background: #e0e7ff;
    margin: 0.5rem 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.5rem;
}

.hours-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.hours-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.totals {
    display: grid;
    gap: 0.5rem;
}

.total-card {
    background: #f0f3ff;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
}

.total-label {
    color: #0077b6;
    font-weight: 600;
    font-size: 0.9rem;
}

.total-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #023e8a;
}

.hours-table {
    background: white;
    padding: 0.5rem;
    border-radius: 12px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.admin-panel {
    margin-top: 0.5rem;
    background: #f8f9ff;
    border-radius: 12px;
    padding: 0.75rem;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.admin-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.admin-card {
    background: white;
    border-radius: 10px;
    padding: 0.75rem;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.05);
}

.admin-card h4 {
    color: #023e8a;
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.admin-actions .form-group {
    flex: 1 1 240px;
    margin-bottom: 0;
}

.table-wrapper {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

thead {
    background: #f0f3ff;
}

th,
td {
    padding: 0.5rem 0.6rem;
    text-align: left;
    border-bottom: 1px solid #e0e7ff;
    vertical-align: top;
}

th {
    color: #023e8a;
}

/* Outreach Page */
.impact-grid,
.outreach-grid,
.partner-grid,
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.impact-card {
    background: linear-gradient(135deg, #f0f3ff 0%, #e0e7ff 100%);
    border-radius: 12px;
    padding: 0.4rem;
    text-align: center;
    border: 2px solid rgba(0, 150, 199, 0.2);
}

.impact-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #023e8a;
    margin-bottom: 0.2rem;
}

.impact-label {
    font-weight: 600;
    color: #0077b6;
}

.outreach-card {
    background: white;
    border-radius: 12px;
    padding: 0.4rem;
    border-left: 5px solid #ffb703;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.outreach-card ul {
    margin-left: 0.8rem;
}

.event-list {
    display: grid;
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.event-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.5rem;
    padding: 0.5rem;
    background: #f9fbff;
    border-radius: 12px;
    border: 1px solid #e0e7ff;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffb703;
    color: #023e8a;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.85rem;
    height: fit-content;
}

.event-type-badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 999px;
    font-weight: 600;
    margin-left: 0.5rem;
    text-transform: capitalize;
}

.event-type-badge.competition {
    background: #023e8a;
    color: white;
}

.event-type-badge.meeting {
    background: #0077b6;
    color: white;
}

.event-type-badge.outreach {
    background: #00b4d8;
    color: white;
}

.event-type-badge.practice {
    background: #90e0ef;
    color: #023e8a;
}

.event-type-badge.fundraiser {
    background: #ffb703;
    color: #023e8a;
}

.event-location {
    font-size: 0.9rem;
    color: #666;
    margin-top: 0.5rem;
}

.event-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: #0077b6;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.event-link:hover {
    color: #023e8a;
    text-decoration: underline;
}

/* Status badges for hours approval */
.status-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    font-size: 0.8rem;
}

.status-badge.approved {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.pending {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.partner-card {
    background: #fff8f0;
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    font-weight: 600;
    color: #023e8a;
    border: 2px dashed rgba(251, 133, 0, 0.4);
}

.gallery-item {
    background: #e0e7ff;
    border-radius: 12px;
    padding: 0.5rem;
    text-align: center;
    color: #023e8a;
    font-weight: 600;
}

.cta-banner {
    background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
    color: white;
    border-radius: 16px;
    padding: 0.8rem;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.cta-banner h2 {
    color: white;
    border: none;
    display: block;
    margin-bottom: 0.4rem;
}

.cta-banner p {
    margin-bottom: 0.4rem;
}

/* Stats Section */
.stats {
    background: linear-gradient(135deg, #023e8a 0%, #0077b6 100%);
    color: white;
    padding: 30px 20px;
}

.stats .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid rgba(255, 183, 3, 0.5);
}

.stat-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #ffb703;
}

/* Gallery */
.gallery-roller {
    position: relative;
    margin-top: 0.75rem;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    gap: 0.75rem;
    width: max-content;
    animation: gallery-scroll 20s linear infinite;
}

.gallery-roller:hover .gallery-track {
    animation-play-state: paused;
}

.gallery .gallery-item {
    border: none;
    background: #ffffff;
    padding: 0;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 12px 24px rgba(2, 62, 138, 0.12);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex: 0 0 200px;
}

.gallery .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 30px rgba(2, 62, 138, 0.2);
}

.gallery .gallery-item img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

@keyframes gallery-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.gallery-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(2, 10, 26, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 300;
}

.gallery-lightbox.open {
    opacity: 1;
    pointer-events: auto;
}

.gallery-lightbox-content {
    margin: 0;
    max-width: min(900px, 90vw);
    text-align: center;
    color: #ffffff;
}

.gallery-lightbox-image {
    width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 16px;
    background: #ffffff;
}

.gallery-lightbox-caption {
    margin-top: 0.75rem;
    font-size: 1rem;
}

.gallery-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.value-card {
    background: #f0f3ff;
    padding: 1rem;
    border-radius: 10px;
    border-top: 4px solid #ffb703;
}

.value-card h3 {
    color: #023e8a;
    margin-bottom: 0.75rem;
}

/* Robots Grid */
.robots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.robot-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #ffb703;
}

.robot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.robot-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e0e7ff 0%, #f0f3ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.robot-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.robot-placeholder-icon {
    font-size: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: #0077b6;
}

.robot-info {
    padding: 0.75rem;
}

.robot-info h3 {
    color: #023e8a;
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 1.15rem;
}

.robot-name {
    color: #fb8500;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}

.robot-features {
    list-style: none;
    padding-left: 0;
    margin-top: 0.5rem;
}

.robot-features li {
    padding-left: 1.25rem;
    position: relative;
    margin-bottom: 0.3rem;
    font-size: 0.9rem;
    color: #555;
}

.robot-features li:before {
    content: "⚙️";
    position: absolute;
    left: 0;
    font-size: 0.85rem;
}

/* Team Grid */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.team-member {
    background: #f0f3ff;
    padding: 0.75rem;
    border-radius: 10px;
    text-align: center;
    border: 2px solid #0096c7;
}

.member-placeholder {
    font-size: 3.5rem;
    margin-bottom: 0.75rem;
}

.member-avatar {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #023e8a;
    background: #e0e7ff;
    margin-bottom: 0.75rem;
}

.team-member h3 {
    color: #023e8a;
    margin-bottom: 0.5rem;
}

/* Member List */
.member-list {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 10px;
    margin: 1rem 0;
}

.member-list li {
    margin-bottom: 0.5rem;
    margin-left: 1.25rem;
}

/* Sponsor Tiers */
.sponsor-tiers {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.6rem;
    margin-top: 0.6rem;
}

.sponsor-card {
    background: linear-gradient(135deg, #fff8f0 0%, #ffe8d6 100%);
    padding: 0.5rem;
    border-radius: 10px;
    border-left: 5px solid #ffb703;
}

.sponsor-card h3 {
    color: #023e8a;
    margin-bottom: 0.2rem;
    font-size: 0.95rem;
}

.sponsor-amount {
    color: #fb8500;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 0.3rem;
}

.sponsor-card ul {
    list-style: none;
    margin-left: 0;
}

.sponsor-card li {
    padding-left: 1.3rem;
    position: relative;
    margin-bottom: 0.15rem;
    font-size: 0.8rem;
}

.sponsor-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #ffb703;
    font-weight: bold;
}

/* Sponsors page intro grid */
.sponsors-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.5rem;
}

/* Sponsor Logos Display */
.sponsor-logos-section {
    margin: 0.4rem 0;
}

.sponsor-tier {
    margin-bottom: 0.6rem;
}

.tier-title {
    color: #023e8a;
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    text-align: center;
    border-bottom: 2px solid #ffb703;
    padding-bottom: 0.2rem;
}

.sponsor-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.6rem;
    margin-top: 0.4rem;
    align-items: center;
}

.sponsor-logo-card {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
    border: 2px solid #e0e7ff;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 75px;
}

.sponsor-logo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(2, 62, 138, 0.15);
    border-color: #ffb703;
}

.sponsor-logo-card a {
    text-decoration: none;
    display: block;
    width: 100%;
}

.sponsor-logo {
    max-width: 100%;
    max-height: 60px;
    height: auto;
    object-fit: contain;
    margin-bottom: 0.3rem;
}

.sponsor-name {
    color: #023e8a;
    font-weight: 600;
    font-size: 0.8rem;
    margin: 0;
}

.sponsor-fallback {
    color: #023e8a;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.8rem;
    text-align: center;
}

.sponsor-placeholder {
    text-align: center;
    color: #6c757d;
    font-style: italic;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #f0f3ff 0%, #e0e7ff 100%);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    margin-top: 1rem;
    border: 2px solid #0096c7;
}

.cta-section h3 {
    color: #023e8a;
    margin-top: 0;
}

/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.contact-info {
    background: #f0f3ff;
    padding: 0.5rem;
    border-radius: 10px;
}

.contact-info h2 {
    color: #023e8a;
    border: none;
    display: block;
    margin-bottom: 0.4rem;
    font-size: 1.3rem;
}

.contact-info > p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.info-card {
    background: white;
    padding: 0.5rem;
    border-radius: 8px;
    margin-bottom: 0.5rem;
    border-left: 4px solid #ffb703;
}

.info-card h3 {
    color: #023e8a;
    margin-top: 0;
    margin-bottom: 0.3rem;
    font-size: 1rem;
}

.info-card p {
    margin: 0;
    font-size: 0.9rem;
}

.info-card a {
    color: #0096c7;
    text-decoration: none;
}

.info-card a:hover {
    text-decoration: underline;
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 0.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form h2 {
    color: #023e8a;
    border: none;
    display: block;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 0.4rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.2rem;
    color: #023e8a;
    font-weight: 500;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.5rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s ease;
}

/* Compact login inputs */
#login-form .form-group input {
    padding: 0.4rem 0.5rem;
    font-size: 0.9rem;
}

#login-form .form-group {
    margin-bottom: 0.4rem;
}

#login-form .password-toggle {
    font-size: 1.1rem;
    padding: 0.4rem;
}

#login-form .cta-button {
    margin-top: 0.3rem;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #0096c7;
    box-shadow: 0 0 5px rgba(0, 150, 199, 0.3);
}

/* Password visibility toggle */
.password-field {
    position: relative;
    display: flex;
    align-items: center;
}

.password-field input {
    flex: 1;
    padding-right: 3rem;
}

.password-toggle {
    position: absolute;
    right: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.5rem;
    opacity: 0.6;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.password-toggle:hover {
    opacity: 1;
}

.password-toggle:focus {
    outline: 2px solid #0096c7;
    outline-offset: 2px;
    border-radius: 4px;
}

.password-requirements {
    margin-top: 0.5rem;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    border-left: 3px solid #0077b6;
}

.password-requirements ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.password-requirements li {
    padding: 0.15rem 0;
    color: #666;
    transition: color 0.2s ease;
}

/* Email validation styles */
input[type="email"][aria-invalid="true"] {
    border-color: #dc3545 !important;
    box-shadow: 0 0 5px rgba(220, 53, 69, 0.3) !important;
}

input[type="email"]:not([aria-invalid]) {
    transition: border-color 0.3s ease;
}

/* Footer */
.footer {
    background: #023e8a;
    color: white;
    text-align: center;
    padding: 0.75rem 20px;
    margin-top: 0.75rem;
}

.footer p {
    margin: 0.35rem 0;
}

/* Chatbot */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.chatbot {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 200;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.chatbot-toggle {
    background: #FFD700; /* Yellow */
    color: black;
    border: none;
    border-radius: 999px;
    padding: 0.75rem 1.25rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.chatbot-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px rgba(0, 0, 0, 0.2);
}

.chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 60px;
    width: 320px;
    max-height: 420px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
    display: flex;
    flex-direction: column;
}

.chatbot.open .chatbot-panel {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.chatbot-header {
    background: #FFD700; /* Yellow */
    color: black;
    padding: 0.9rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
}

.chatbot-header-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chatbot-logo {
    width: 36px;
    height: 36px;
    display: block;
}

.chatbot-title {
    font-weight: 700;
}

.chatbot-subtitle {
    font-size: 0.85rem;
    opacity: 0.85;
}

.chatbot-close {
    background: rgba(0, 0, 0, 0.1);
    color: black;
    border: none;
    border-radius: 999px;
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
}

.chatbot-messages {
    padding: 1rem;
    background: #f5f7ff;
    flex: 1;
    overflow-y: auto;
    display: grid;
    gap: 0.75rem;
}

.chatbot-message {
    max-width: 80%;
    padding: 0.65rem 0.85rem;
    border-radius: 14px;
    line-height: 1.4;
    font-size: 0.95rem;
}

.chatbot-message.bot {
    background: white;
    color: #023e8a;
    border: 1px solid #e0e7ff;
    justify-self: start;
}

.chatbot-message.user {
    background: #ffb703;
    color: #1c1c1c;
    justify-self: end;
}

.chatbot-form {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    background: white;
    border-top: 1px solid #e0e7ff;
}

.chatbot-input {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #d8dff7;
    font-family: inherit;
}

.chatbot-input:focus {
    outline: none;
    border-color: #0096c7;
    box-shadow: 0 0 0 2px rgba(0, 150, 199, 0.2);
}

.chatbot-send {
    background: #FFD700; /* Yellow */
    color: black;
    border: none;
    border-radius: 10px;
    padding: 0 1rem;
    font-weight: 600;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .page-header h1 {
        font-size: 1.8rem;
    }

    .section h2 {
        font-size: 1.5rem;
    }

    .contact-container {
        grid-template-columns: 1fr;
    }

    .highlights-grid,
    .values-grid,
    .robots-grid,
    .team-grid,
    .sponsor-tiers,
    .sponsors-intro-grid,
    .impact-grid,
    .outreach-grid,
    .partner-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .hours-grid {
        grid-template-columns: 1fr;
    }

    .admin-grid {
        grid-template-columns: 1fr;
    }

    .hours-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .event-item {
        grid-template-columns: 1fr;
    }

    .chatbot {
        right: 16px;
        bottom: 16px;
    }

    .chatbot-panel {
        width: 280px;
    }
}

@media (max-width: 480px) {
    .nav-menu {
        gap: 0.5rem;
        font-size: 0.8rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .page-header {
        padding: 20px 15px;
    }

    .page-header h1 {
        font-size: 1.4rem;
    }

    .section {
        padding: 20px 15px;
    }

    .tagline {
        font-size: 1.1rem;
    }
}
