/* CSS Variables for Futuristic Pastel Theme */
:root {
    /* Pastel Color Palette */
    --primary-color: #a8e6cf;
    --primary-dark: #88c999;
    --primary-light: #c8f2df;
    --secondary-color: #ffd3a5;
    --secondary-dark: #e6ba85;
    --secondary-light: #ffe6c5;
    --accent-color: #fd9ba7;
    --accent-dark: #e67b87;
    --accent-light: #ffb5c7;
    
    /* Additional Pastel Colors */
    --tertiary-color: #a8d8ea;
    --quaternary-color: #fcbad3;
    --soft-purple: #d4a5f9;
    --soft-yellow: #fff2cc;
    --soft-coral: #ffb3ba;
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e9ecef;
    --dark-gray: #6c757d;
    --text-primary: #2d3436;
    --text-secondary: #636e72;
    --text-light: #b2bec3;
    
    /* Gradient Backgrounds */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--tertiary-color) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, var(--quaternary-color) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, var(--soft-purple) 100%);
    --gradient-hero: linear-gradient(135deg, rgba(168, 230, 207, 0.9) 0%, rgba(168, 216, 234, 0.9) 100%);
    --gradient-overlay: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    
    /* Typography */
    --font-heading: 'Manrope', sans-serif;
    --font-body: 'Rubik', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 4rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(168, 230, 207, 0.15);
    --shadow-md: 0 4px 16px rgba(168, 230, 207, 0.2);
    --shadow-lg: 0 8px 32px rgba(168, 230, 207, 0.25);
    --shadow-xl: 0 16px 64px rgba(168, 230, 207, 0.3);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 50%;
    
    /* Animation Timing */
    --timing-fast: 0.15s;
    --timing-normal: 0.3s;
    --timing-slow: 0.5s;
    --timing-slower: 0.8s;
    
    /* Cubic Bezier for Non-linear Movements */
    --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
    --ease-in-out-elastic: cubic-bezier(0.68, -0.55, 0.265, 1.55);
    --ease-out-bounce: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.23, 1, 0.32, 1);
}

/* Global Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: var(--white);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.75rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-sm);
    color: var(--text-secondary);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all var(--timing-normal) var(--ease-smooth);
}

a:hover {
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* Read More Links */
.read-more, .learn-more {
    display: inline-flex;
    align-items: center;
    color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.read-more::after, .learn-more::after {
    content: '→';
    margin-left: var(--space-xs);
    transition: transform var(--timing-normal) var(--ease-out-bounce);
}

.read-more:hover, .learn-more:hover {
    color: var(--accent-dark);
    transform: translateX(4px);
}

.read-more:hover::after, .learn-more:hover::after {
    transform: translateX(8px);
}

/* Global Button Styles */
.btn, button, input[type='submit'], .button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-sm) var(--space-lg);
    border: none;
    border-radius: var(--radius-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all var(--timing-normal) var(--ease-out-back);
    position: relative;
    overflow: hidden;
    min-height: 48px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(20px);
}

.btn:before, button:before, input[type='submit']:before, .button:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left var(--timing-slow) var(--ease-smooth);
}

.btn:hover:before, button:hover:before, input[type='submit']:hover:before, .button:hover:before {
    left: 100%;
}

/* Primary Button */
.btn.is-primary, .button.is-primary, .custom-btn {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn.is-primary:hover, .button.is-primary:hover, .custom-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: var(--shadow-lg);
    background: var(--gradient-accent);
}

/* Secondary Button */
.btn.is-secondary, .button.is-secondary {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
}

.btn.is-secondary:hover, .button.is-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

/* Outlined Button */
.btn.is-outlined, .button.is-outlined {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    backdrop-filter: blur(20px);
}

.btn.is-outlined:hover, .button.is-outlined:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Ghost Button */
.btn.is-ghost, .button.is-ghost {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn.is-ghost:hover, .button.is-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Image Containers */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--timing-normal) var(--ease-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-gray);
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--timing-slower) var(--ease-smooth);
    margin: 0 auto;
}

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

.image-container:hover img {
    transform: scale(1.1);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(168, 230, 207, 0.2);
    transition: all var(--timing-normal) var(--ease-smooth);
}

.navbar {
    padding: var(--space-sm) 0;
}

.navbar-brand .brand-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-item {
    color: var(--text-primary);
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all var(--timing-normal) var(--ease-smooth);
    position: relative;
}

.navbar-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: all var(--timing-normal) var(--ease-out-back);
    transform: translateX(-50%);
}

.navbar-item:hover::after {
    width: 80%;
}

.navbar-item:hover {
    color: var(--primary-color);
    background: rgba(168, 230, 207, 0.1);
}

/* Hero Section */
#hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-overlay);
    z-index: -1;
}

.hero-body {
    position: relative;
    z-index: 1;
    padding: var(--space-xxl) 0;
}

.hero .title {
    color: var(--white) !important;
    margin-bottom: var(--space-lg);
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.hero .subtitle {
    color: var(--white) !important;
    margin-bottom: var(--space-xl);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: 1.25rem;
    opacity: 0.95;
}

/* Fade-in Animations */
.fade-in {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp var(--timing-slower) var(--ease-out-back) forwards;
}

.fade-in-delay {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp var(--timing-slower) var(--ease-out-back) 0.3s forwards;
}

.fade-in-delay-2 {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp var(--timing-slower) var(--ease-out-back) 0.6s forwards;
}

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

/* Parallax Sections */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Section Styles */
.section {
    padding: var(--space-xxl) 0;
    position: relative;
}

.section.has-background-light {
    background: var(--light-gray);
}

.section .title {
    margin-bottom: var(--space-xl);
    position: relative;
}

.section .title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-sm);
}

/* Mission Section */
#mission {
    background: linear-gradient(135deg, rgba(168, 230, 207, 0.05) 0%, rgba(168, 216, 234, 0.05) 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-xl);
}

.stat-item {
    text-align: center;
    padding: var(--space-lg);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--timing-normal) var(--ease-smooth);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: var(--space-xs);
}

/* Card Styles */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: all var(--timing-normal) var(--ease-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

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

.card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-image .image-container {
    width: 100%;
    height: 100%;
    border-radius: 0;
}

.card-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.card-content .title {
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.card-content p {
    flex: 1;
    margin-bottom: var(--space-md);
}

/* Project Stats */
.project-stats {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    justify-content: center;
    margin-top: var(--space-md);
}

.tag {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tag.is-primary {
    background: var(--gradient-primary);
    color: var(--white);
}

.tag.is-info {
    background: var(--gradient-secondary);
    color: var(--text-primary);
}

.tag.is-success {
    background: var(--gradient-accent);
    color: var(--white);
}

/* Slider Styles */
.custom-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
}

.slider-container {
    display: flex;
    transition: transform var(--timing-slow) var(--ease-smooth);
}

.slide {
    min-width: 350px;
    margin: 0 var(--space-md);
    flex-shrink: 0;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all var(--timing-normal) var(--ease-out-back);
    z-index: 10;
}

.slider-btn.prev {
    left: var(--space-lg);
}

.slider-btn.next {
    right: var(--space-lg);
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
}

/* Partners Section */
.partner-card {
    background: var(--white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--timing-normal) var(--ease-smooth);
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.partner-card .image-container {
    width: 100%;
    height: 120px;
    margin-bottom: var(--space-md);
    background: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-card .title {
    color: var(--primary-color);
    margin-bottom: var(--space-sm);
}

/* Testimonials Section */
.testimonial-card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card .card {
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 249, 250, 0.9) 100%);
    backdrop-filter: blur(20px);
}

.testimonial-text {
    flex: 1;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    position: relative;
}

.testimonial-text::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.3;
    font-family: var(--font-heading);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.testimonial-author .image-container {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-full);
    flex-shrink: 0;
}

.author-info {
    flex: 1;
    text-align: left;
}

.author-info strong {
    display: block;
    color: var(--text-primary);
    font-weight: 600;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Events Section */
.event-card .card {
    background: linear-gradient(135deg, var(--white) 0%, var(--light-gray) 100%);
}

.event-date {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-accent);
    color: var(--white);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    text-align: center;
    min-width: 60px;
    box-shadow: var(--shadow-sm);
}

.event-date .month {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-location {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.events-list {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    box-shadow: var(--shadow-md);
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--medium-gray);
}

.event-item:last-child {
    border-bottom: none;
}

.event-date-small {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    flex-shrink: 0;
}

.event-info .title {
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
}

.event-time {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Resources Section */
.resource-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-lg);
}

.resource-item {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--timing-normal) var(--ease-smooth);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-secondary);
}

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

.resource-content .title {
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

/* Contact Section */
.contact-form-container {
    background: var(--white);
    padding: var(--space-xxl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
}

.field {
    margin-bottom: var(--space-lg);
}

.label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-xs);
    font-family: var(--font-heading);
}

.input, .textarea, .select select {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid var(--medium-gray);
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all var(--timing-normal) var(--ease-smooth);
    background: var(--white);
}

.input:focus, .textarea:focus, .select select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(168, 230, 207, 0.2);
    transform: translateY(-2px);
}

.textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--text-primary) 0%, #1a1d23 100%);
    color: var(--white);
    padding: var(--space-xxl) 0 var(--space-lg) 0;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.footer .title {
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: var(--space-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--space-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: all var(--timing-normal) var(--ease-smooth);
    position: relative;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--timing-normal) var(--ease-smooth);
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(4px);
}

.footer-links a:hover::after {
    width: 100%;
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.social-links a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    padding: var(--space-xs) 0;
    transition: all var(--timing-normal) var(--ease-smooth);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
}

.social-links a::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: var(--primary-color);
    transition: all var(--timing-normal) var(--ease-out-bounce);
    opacity: 0;
}

.social-links a:hover {
    color: var(--primary-color);
    transform: translateX(20px);
}

.social-links a:hover::before {
    opacity: 1;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
}

.modal.is-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.modal-content {
    background: var(--white);
    margin: var(--space-lg);
    padding: 0;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 500px;
    width: 100%;
    position: relative;
    animation: modalSlideIn var(--timing-normal) var(--ease-out-back);
}

.modal-content .box {
    padding: var(--space-xxl);
    border-radius: var(--radius-xl);
    position: relative;
}

.modal-content .box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

.modal-close {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    width: 32px;
    height: 32px;
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
    transition: all var(--timing-normal) var(--ease-smooth);
}

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

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

/* Success Page Styles */
.success-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    text-align: center;
    padding: var(--space-lg);
}

.success-content {
    background: var(--white);
    padding: var(--space-xxl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    max-width: 600px;
    width: 100%;
    animation: successSlideIn var(--timing-slow) var(--ease-out-bounce);
}

.success-content .title {
    color: var(--primary-color);
    margin-bottom: var(--space-lg);
}

.success-content .subtitle {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Privacy and Terms Pages */
.content-page {
    padding-top: 100px;
    min-height: 100vh;
}

.content-page .section {
    padding: var(--space-xl) 0;
}

.content-page .content {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.content-page .content h2 {
    margin-top: var(--space-xl);
    margin-bottom: var(--space-lg);
    color: var(--primary-color);
}

.content-page .content h3 {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.content-page .content p {
    margin-bottom: var(--space-md);
}

.content-page .content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.content-page .content li {
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
}

/* Responsive Design */
@media (max-width: 768px) {
    :root {
        --space-xxl: 2rem;
        --space-xl: 1.5rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero .title {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .slider-btn.prev {
        left: var(--space-sm);
    }
    
    .slider-btn.next {
        right: var(--space-sm);
    }
    
    .slide {
        min-width: 280px;
        margin: 0 var(--space-sm);
    }
    
    .contact-form-container {
        padding: var(--space-lg);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .resource-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .modal-content {
        margin: var(--space-sm);
    }
    
    .modal-content .box {
        padding: var(--space-lg);
    }
}

@media (max-width: 480px) {
    .hero .title {
        font-size: 1.8rem;
    }
    
    .section {
        padding: var(--space-lg) 0;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: var(--space-sm);
    }
    
    .author-info {
        text-align: center;
    }
    
    .event-item {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .event-date-small {
        align-self: flex-start;
    }
}

/* Performance Optimizations */
* {
    will-change: auto;
}

.card:hover,
.image-container:hover,
.btn:hover,
.button:hover {
    will-change: transform;
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Styles */
.btn:focus,
.button:focus,
.input:focus,
.textarea:focus,
.select select:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
        --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
        --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    }
}