/* Clean Obama Center Inspired Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #059669;
    --accent-secondary: #0891b2;
    --accent-tertiary: #dc2626;
    --text-primary: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --bg-primary: #ffffff;
    --bg-secondary: #f9fafb;
    --bg-tertiary: #f3f4f6;
    --bg-dark: #111827;
    --bg-hero: #ffffff;
    --bg-programs: #f8fafc;
    --bg-about: #f0f9ff;
    --bg-events: #ffffff;
    --bg-contact: #f9fafb;
    --bg-support: #fef7f0;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--accent-secondary) 100%);
    --gradient-bg: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --border-radius-sm: 0.25rem;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    --border-radius-2xl: 1rem;
    --transition-fast: 0.15s ease-out;
    --transition-normal: 0.3s ease-out;
    --transition-slow: 0.5s ease-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px; /* Ensure minimum readable font size */
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Modern Typography with Enhanced Readability */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--text-primary);
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Glassmorphism Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 0;
    transition: all var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-fast);
}

.nav-logo a:hover {
    opacity: 0.8;
    transform: translateY(-1px);
}

.nav-logo h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.025em;
    margin: 0;
    line-height: 1.2;
}

/* Remove gradient text effects for better visibility */

/* Force visible navigation text */
.nav-logo h2,
.nav-logo a,
.nav-link,
.btn-support {
    color: #1e3a8a !important;
    text-shadow: none !important;
    background: none !important;
    -webkit-text-fill-color: unset !important;
}

.nav-logo h2 {
    font-weight: 700 !important;
}

.nav-link {
    font-weight: 600 !important;
}

.nav-link.active {
    color: #3b82f6 !important;
    font-weight: 700 !important;
}

.btn-support {
    background: #1e3a8a !important;
    color: #ffffff !important;
}

/* Events Page Styles */
.events-hero {
    padding: 120px 0 80px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.05) 0%, rgba(59, 130, 246, 0.05) 100%);
    text-align: center;
}

.events-hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.events-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.events-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

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

.event-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.event-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
}

.event-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-content {
    padding: 2rem;
}

.event-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-lg);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.event-details {
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
}

.event-audience,
.event-duration {
    display: inline-block;
    background: var(--bg-secondary);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-md);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.event-audience {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-color);
}

.event-duration {
    background: rgba(59, 130, 246, 0.1);
    color: var(--secondary-color);
}

.event-outcome {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.btn-get-tickets {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: 100%;
    margin-top: 1rem;
}

.btn-get-tickets:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-primary);
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius-xl);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--shadow-xl);
    animation: slideIn 0.3s ease-out;
    max-height: 90vh;
    overflow-y: auto;
}

@keyframes slideIn {
    from { 
        transform: translateY(-50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    margin: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.modal-close {
    color: var(--text-muted);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition-fast);
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 1rem 2rem 2rem;
}

.modal-event-info {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.ticket-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.form-group input,
.form-group select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius-md);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group input:invalid {
    border-color: var(--accent-tertiary);
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-cancel {
    flex: 1;
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--border-color);
    background: var(--bg-primary);
    color: var(--text-primary);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-cancel:hover {
    border-color: var(--text-muted);
    background: var(--bg-secondary);
}

.btn-register {
    flex: 2;
    padding: 0.75rem 1.5rem;
    border: none;
    background: var(--primary-color);
    color: white;
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-register:hover {
    background: var(--secondary-color);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Featured Events Styles */
.featured-events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.featured-event-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
}

.featured-event-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.featured-event-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.featured-event-image svg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-event-content {
    padding: 1.5rem;
}

.featured-event-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.featured-event-date {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: var(--border-radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.featured-event-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Real Map Styles */
.real-map {
    width: 100%;
    height: 400px;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 1.5rem;
}

.real-map iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: var(--border-radius-xl);
}

.map-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-small {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius-md);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    height: 100%;
    margin: 0;
    padding: 0;
}

.nav-link {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.75rem 0;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 50%;
    background: var(--gradient-primary);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-support {
    background: var(--gradient-primary);
    color: white !important;
    padding: 0.75rem 1.5rem;
    border-radius: var(--border-radius-2xl);
    font-weight: 600;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    height: auto;
    margin: 0;
}

.btn-support:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-support::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    align-items: center;
    justify-content: center;
    height: 44px;
    width: 44px;
}

.bar {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    margin: 3px 0;
    transition: var(--transition-normal);
    border-radius: 1px;
}

/* Clean Hero Section - Obama Center Bold Style */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    background: var(--bg-hero);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 1;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: left;
}

.hero-right {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 7rem);
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 2rem;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.hero-title-main {
    display: block;
    color: var(--text-primary);
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.hero-title-sub {
    display: block;
    color: var(--primary-color);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.hero-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.6;
    font-weight: 400;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Modern Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: var(--border-radius-2xl);
    font-weight: 600;
    font-size: 1rem;
    transition: all var(--transition-normal);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

/* Hero Image Container */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-svg {
    width: 100%;
    max-width: 700px;
    height: auto;
    min-height: 450px;
    filter: drop-shadow(var(--shadow-xl));
    opacity: 1;
    transform: scale(1.1);
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.float-1, .float-2, .float-3 {
    position: absolute;
    border-radius: 50%;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.float-1 {
    width: 20px;
    height: 20px;
    background: var(--accent-color);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.float-2 {
    width: 15px;
    height: 15px;
    background: var(--accent-secondary);
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.float-3 {
    width: 12px;
    height: 12px;
    background: var(--accent-tertiary);
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(-10px) rotate(240deg); }
}

/* Section Styles - Obama Center Bold Typography */
section {
    padding: 6rem 0;
    position: relative;
    background: var(--bg-primary);
}

/* Add subtle separation between sections */
section:not(:first-child) {
    border-top: 1px solid rgba(229, 231, 235, 0.5);
}

.section-title {
    text-align: center;
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 4rem;
    position: relative;
    text-transform: uppercase;
    letter-spacing: -0.03em;
    line-height: 0.9;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 3px;
}

/* Clean Programs Section - Obama Center Style */
.programs {
    background: var(--bg-programs);
    position: relative;
}

.programs::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(148, 163, 184, 0.02) 0%, rgba(203, 213, 225, 0.03) 100%);
    pointer-events: none;
}

/* Programs Legend Section - Obama Center Bold Style */
.programs-legend {
    background: var(--bg-primary);
    border: 4px solid var(--text-primary);
    border-radius: var(--border-radius-xl);
    padding: 4rem 5rem;
    margin: 4rem auto 5rem;
    max-width: 1200px;
    box-shadow: var(--shadow-xl);
}

.legend-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 3rem;
    text-align: center;
    letter-spacing: -0.03em;
    line-height: 0.9;
    text-transform: uppercase;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem 3.5rem;
    align-items: center;
    justify-items: start;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0.75rem;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: -0.02em;
}

.legend-item:hover {
    transform: translateY(-2px);
    color: var(--primary-color);
}

.legend-shape {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.legend-item:hover .legend-shape {
    transform: scale(1.1);
}

.legend-shape.square {
    border-radius: 3px;
}

.legend-shape.circle {
    border-radius: 50%;
}

.legend-shape.diamond {
    transform: rotate(45deg);
    border-radius: 3px;
}

.legend-item:hover .legend-shape.diamond {
    transform: rotate(45deg) scale(1.1);
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

.program-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.program-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.program-card:hover .program-icon {
    background: var(--primary-color);
}

.program-card:hover .program-icon svg {
    transform: scale(1.05);
    color: white;
}

.program-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    transition: all var(--transition-normal);
}

.program-icon svg {
    width: 32px;
    height: 32px;
    color: var(--primary-color);
    transition: all var(--transition-normal);
}

.program-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.program-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about h2 {
    font-size: clamp(1.875rem, 3vw, 2.25rem);
    margin-bottom: 1.5rem;
}

.about-lead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature {
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--primary-color);
    transition: all var(--transition-normal);
}

.feature:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.feature h4 {
    color: var(--primary-color);
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.feature p {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.about-svg {
    width: 100%;
    max-width: 400px;
    height: auto;
    filter: drop-shadow(var(--shadow-lg));
}

/* Clean Events Section */
.events {
    background: var(--bg-events);
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.event-card {
    background: var(--bg-primary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    display: flex;
    gap: 1.5rem;
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
}

.event-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.event-date {
    background: var(--primary-color);
    color: white;
    padding: 1rem;
    border-radius: var(--border-radius-md);
    text-align: center;
    min-width: 70px;
    height: fit-content;
}

.event-date .month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-date .day {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-content h3 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.event-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.event-time {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.events-cta {
    text-align: center;
}

/* Newsletter Section */
.newsletter {
    background: var(--gradient-bg);
    color: white;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
}

.newsletter-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    margin-bottom: 1rem;
    font-weight: 700;
}

.newsletter p {
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    gap: 1rem;
}

.form-group input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--border-radius-lg);
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-normal);
    color: var(--text-primary);
    font-weight: 500;
}

.form-group input:focus {
    outline: none;
    background: white;
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.form-group input::placeholder {
    color: rgba(17, 24, 39, 0.7);
    opacity: 1;
    font-weight: 400;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    justify-content: center;
}

.form-checkbox input {
    width: auto;
    transform: scale(1.2);
}

.form-checkbox label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Contact Section */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
}

.contact-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.2rem;
    width: 24px;
    text-align: center;
}

.contact-item h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.map-visual {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.map-svg {
    width: 100%;
    height: 400px;
    display: block;
}

.map-info {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    padding: 1rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
}

.map-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.map-info p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* About Section */
.about {
    background: var(--bg-about);
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02) 0%, rgba(147, 197, 253, 0.03) 100%);
    pointer-events: none;
}

/* Contact Section */
.contact {
    background: var(--bg-contact);
    position: relative;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.02) 0%, rgba(209, 213, 219, 0.03) 100%);
    pointer-events: none;
}

/* Support Section */
.support {
    background: var(--bg-support);
    position: relative;
}

.support::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(251, 146, 60, 0.02) 0%, rgba(254, 215, 170, 0.03) 100%);
    pointer-events: none;
}

.support-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Ensure content is above overlays */
.about .container,
.contact .container,
.support .container {
    position: relative;
    z-index: 1;
}

/* Center Image Styling */
.center-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
    object-fit: cover;
}

.center-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

/* Park Image Styling */
.park-image-container {
    text-align: center;
    margin-bottom: 3rem;
}

.park-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    object-fit: cover;
}

.park-image:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-xl);
}

/* Hero Clip Art Styling */
.hero-clip-art {
    width: 100%;
    max-width: 700px;
    min-height: 450px;
    height: auto;
    transform: scale(1.1);
    opacity: 1;
    transition: all var(--transition-normal);
    object-fit: contain;
    filter: drop-shadow(var(--shadow-lg));
}

.hero-clip-art:hover {
    transform: scale(1.15);
    filter: drop-shadow(var(--shadow-xl));
}

.support-content h2 {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.support-content > p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.support-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.support-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    border: 1px solid var(--border-color);
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.support-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.support-card h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.support-card p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: white;
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-bg);
    opacity: 0.05;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-section ul li a:hover {
    color: #ffffff;
    transform: translateX(3px);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg);
    text-decoration: none;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    position: relative;
    z-index: 1;
}

/* Responsive Design */

/* Tablet Styles */
@media (max-width: 1024px) {
    .hero-content {
        gap: 4rem;
    }

    .hero-left {
        gap: 1.5rem;
    }

    .hero-right {
        gap: 1.5rem;
    }

    .hero-svg {
        max-width: 600px;
        min-height: 400px;
        transform: scale(1.15);
    }

    .hero-clip-art {
        max-width: 600px;
        min-height: 400px;
        transform: scale(1.15);
    }

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

    .events-hero-title {
        font-size: clamp(2.5rem, 5vw, 4rem);
    }

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

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-container {
        padding: 0.5rem 1.5rem;
        height: 60px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition-normal);
        box-shadow: var(--shadow-xl);
        padding: 2rem 0;
        border-radius: 0 0 var(--border-radius-xl) var(--border-radius-xl);
        border: 1px solid var(--border-color);
        height: auto;
        gap: 0;
    }
    
    .nav-menu li {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.5rem 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
        height: auto;
        justify-content: center;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .hero-left {
        text-align: center;
        order: 1;
    }

    .hero-right {
        order: 2;
    }

    .hero-svg {
        max-width: 90%;
        min-height: 350px;
        transform: scale(1.2);
        margin: 2rem auto;
    }

    .hero-clip-art {
        max-width: 90%;
        min-height: 350px;
        transform: scale(1.2);
        margin: 2rem auto;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .form-group {
        flex-direction: column;
    }

    .programs-grid {
        grid-template-columns: 1fr;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .support-options {
        grid-template-columns: 1fr;
    }
    
    /* Legend responsive styles - Tablet */
    .programs-legend {
        padding: 3rem 3rem;
        margin: 3rem auto 4rem;
        max-width: 95%;
        border-width: 3px;
    }
    
    .legend-title {
        font-size: clamp(2rem, 5vw, 3rem);
        margin-bottom: 2.5rem;
    }
    
    .legend-items {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem 2.5rem;
    }
    
    .legend-item {
        font-size: 1.25rem;
        gap: 1rem;
    }
    
    .legend-shape {
        width: 24px;
        height: 24px;
    }

    .hero-buttons {
        justify-content: center;
    }

    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0.5rem 1rem;
    }

    .hero {
        padding: 100px 0 60px;
    }

    .hero-svg {
        max-width: 95%;
        min-height: 300px;
        transform: scale(1.3);
        margin: 1.5rem auto;
    }

    .hero-clip-art {
        max-width: 95%;
        min-height: 300px;
        transform: scale(1.3);
        margin: 1.5rem auto;
    }

    .events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-events-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .featured-event-content {
        padding: 1.25rem;
    }

    .event-content {
        padding: 1.5rem;
    }

    .real-map {
        height: 300px;
    }

    .map-actions {
        flex-direction: column;
        gap: 0.75rem;
    }

    .btn-small {
        width: 100%;
        justify-content: center;
    }

    .center-image {
        max-width: 400px;
    }

    .park-image {
        max-width: 100%;
        margin: 0 1rem;
    }

    .park-image-container {
        margin-bottom: 2rem;
    }

    .events-hero {
        padding: 100px 0 60px;
    }

    .events-hero-title {
        font-size: clamp(2rem, 4vw, 3rem);
    }

    .event-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .modal-content {
        width: 95%;
        margin: 2% auto;
        max-height: 95vh;
    }

    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
    }

    .modal-body {
        padding: 1rem 1.5rem 1.5rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .form-actions {
        flex-direction: column;
    }

    .btn-cancel,
    .btn-register {
        flex: none;
    }
}

    .btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }

    .program-card,
    .event-card,
    .support-card {
        padding: 2rem 1.5rem;
    }

    .event-card {
        flex-direction: column;
        text-align: center;
    }

    .event-date {
        align-self: center;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeInUp 0.8s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading States */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
    
    .floating-elements {
        display: none;
    }
}

/* Focus States */
*:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

button:focus,
.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* High Contrast Mode for Better Accessibility */
@media (prefers-contrast: high) {
    :root {
        --text-primary: #000000;
        --text-secondary: #1a1a1a;
        --text-muted: #333333;
        --bg-primary: #ffffff;
        --bg-secondary: #ffffff;
        --border-color: #000000;
        --primary-color: #000080;
        --accent-color: #008000;
    }
    
    .program-card, .event-card, .support-card {
        border: 2px solid var(--border-color);
    }
    
    .btn {
        border: 2px solid currentColor;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #f7fafc;
        --text-secondary: #e2e8f0;
        --text-muted: #a0aec0;
        --text-light: #cbd5e0;
        --bg-primary: #1a202c;
        --bg-secondary: #2d3748;
        --bg-tertiary: #4a5568;
        --bg-hero: #1a202c;
        --bg-programs: #2d3748;
        --bg-about: #1e293b;
        --bg-events: #1a202c;
        --bg-contact: #2d3748;
        --bg-support: #292524;
        --border-color: #4a5568;
    }
    
    .form-group input::placeholder {
        color: rgba(249, 250, 251, 0.6);
    }
}

/* Enhanced Text Readability Improvements */
/* Ensure minimum font sizes on small screens */
@media (max-width: 480px) {
    body {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .hero-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
    }
    
    .section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .program-card h3,
    .event-content h3,
    .support-card h3 {
        font-size: 1.125rem;
    }
    
    .program-card p,
    .event-content p,
    .support-card p {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    /* Legend mobile styles - Keep bold impact */
    .programs-legend {
        padding: 2rem 1.5rem;
        margin: 2rem auto 3rem;
        border-width: 3px;
    }
    
    .legend-title {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
        margin-bottom: 2rem;
    }
    
    .legend-items {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1.5rem 2rem;
    }
    
    .legend-item {
        font-size: 1.125rem;
        gap: 1rem;
        justify-self: center;
    }
    
    .legend-shape {
        width: 22px;
        height: 22px;
    }
}

/* Ensure text remains readable when zoomed */
@media (min-resolution: 2dppx) {
    body {
        -webkit-font-smoothing: subpixel-antialiased;
    }
}

/* Focus indicators for better accessibility */
a:focus,
button:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: 2px;
}

/* Ensure sufficient color contrast ratios */
.text-contrast-check {
    /* Primary text on white: #111827 on #ffffff = 16.07:1 (AAA) */
    /* Secondary text on white: #374151 on #ffffff = 10.87:1 (AAA) */
    /* Muted text on white: #6b7280 on #ffffff = 5.74:1 (AA) */
    /* Primary color on white: #1e3a8a on #ffffff = 12.63:1 (AAA) */
}