/**
 * IUT Alumni Lighthouse Limited - Main Stylesheet
 * Professional nonprofit website with animations and modern design
 */

/* ===================================
   CSS Variables with Fallbacks
   =================================== */
:root {
    /* Brand Colors - Nonprofit palette */
    --primary-color: #1a4d6d;      /* Deep ocean blue - trust, stability */
    --secondary-color: #f39c12;     /* Warm gold - hope, light */
    --accent-color: #27ae60;        /* Compassionate green - growth */
    --dark-blue: #0d2b3e;          /* Darker blue for depth */
    --light-gold: #ffeaa7;         /* Soft gold for highlights */
    
    /* Neutrals */
    --light-bg: #f8f9fa;
    --dark-bg: #0d2b3e;
    --text-color: #2c3e50;
    --light-text: #6c757d;
    --white: #ffffff;
    --border-color: #e1e8ed;
    
    /* Effects */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 30px rgba(243, 156, 18, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fallback colors for browsers without CSS custom property support */
.modern-hero {
    background: #0a1a2a; /* Fallback */
    background: linear-gradient(135deg, 
        var(--dark-blue, #0a1a2a) 0%, 
        var(--primary-color, #1a2332) 25%, 
        var(--primary-color, #2a3442) 50%, 
        var(--primary-color, #1a2332) 75%, 
        var(--dark-blue, #0a1a2a) 100%);
}

/* ===================================
   Reset and Base Styles
   =================================== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

/* Chrome specific fixes */
@supports (-webkit-appearance: none) {
    * {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }
}

/* Better font rendering - browser compatible */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-color, #2c3e50);
    background-color: var(--white, #ffffff);
    overflow-x: hidden;
    width: 100%;
    min-height: 100vh;
    /* Better performance and touch handling */
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: var(--secondary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Animations - Keyframes
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(243, 156, 18, 0.6);
    }
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Animation utility classes */
.fade-in {
    animation: fadeIn 0.8s ease-out;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.8s ease-out;
}

/* Scroll reveal animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: var(--transition-slow);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: var(--transition-slow);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   Header and Navigation
   =================================== */
.main-header {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
    height: auto;
    min-height: 70px;
}

.main-header.scrolled {
    box-shadow: var(--shadow-lg);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar {
    padding: 1rem 0;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.5rem;
    transition: var(--transition);
}

.logo a:hover {
    transform: scale(1.02);
}

.site-logo {
    max-height: 70px;
    width: auto;
    transition: var(--transition);
    display: block;
}

.site-logo:hover {
    filter: brightness(1.1);
}

.site-name {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.site-name:hover {
    color: var(--secondary-color);
}

/* Legacy support */
.logo img {
    max-height: 70px;
    width: auto;
    transition: var(--transition);
}

.logo img:hover {
    filter: brightness(1.1);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    background-color: var(--light-bg);
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link-donate {
    background: linear-gradient(135deg, var(--accent-color), #229954);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
}

.nav-link-donate::after {
    display: none;
}

.nav-link-donate:hover {
    background: linear-gradient(135deg, #229954, var(--accent-color));
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(39, 174, 96, 0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
    padding: 8px;
    border-radius: 4px;
    transition: var(--transition);
    z-index: 1001;
}

.hamburger:hover {
    background-color: rgba(44, 62, 80, 0.1);
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: var(--primary-color, #1a4d6d);
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    border-radius: 2px;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}

.hamburger.active span:nth-child(1) {
    -webkit-transform: rotate(45deg) translate(6px, 6px);
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    -webkit-transform: rotate(-45deg) translate(6px, -6px);
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ===================================
   Hero Slider
   =================================== */
.hero-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue), var(--primary-color));
    display: none !important; /* Hidden - using new donation animation */
}

.slider-container {
    position: relative;
    height: 600px;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
    transform: scale(1.05);
}

.slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.slide-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(13, 43, 62, 0.95), transparent);
    color: var(--white);
    padding: 4rem 0;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.slide-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
    background: linear-gradient(90deg, var(--white), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    max-width: 700px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}

.slider-btn:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active,
.indicator:hover {
    background-color: var(--white);
}

/* ===================================
   Sections
   =================================== */
section {
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--light-text);
    max-width: 700px;
    margin: 1.5rem auto 0;
    line-height: 1.8;
}

.section-content {
    max-width: 900px;
    margin: 0 auto;
}

.lead {
    font-size: 1.3rem;
    line-height: 1.9;
    text-align: center;
    color: var(--text-color);
    font-weight: 300;
}

/* Welcome Section */
.welcome-section {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

/* Mission Section */
.mission-section {
    background-color: var(--white);
    position: relative;
}

.mission-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.mission-content.center-aligned {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content.center-aligned .mission-text {
    text-align: center;
}

.mission-content.center-aligned .mission-image {
    display: none;
}

.mission-section {
    padding: 80px 0;
}

.mission-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.mission-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--light-text);
}

.mission-image img {
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* About Section */
.about-section {
    background-color: var(--light-bg);
}

/* Contact Section */
.contact-section {
    background-color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
}

.contact-info-card,
.contact-form-card {
    background-color: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

.contact-info-card h3,
.contact-form-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-top: 0.2rem;
}

.contact-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: var(--light-text);
}

.contact-social {
    margin-top: 2rem;
}

.contact-social h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

/* ===================================
   Forms
   =================================== */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary-color);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
    color: var(--white);
}

.btn-donate {
    background: linear-gradient(135deg, var(--accent-color), #229954);
    color: var(--white);
    box-shadow: var(--shadow-glow);
    font-size: 1.2rem;
    padding: 1.2rem 3rem;
    animation: pulse 2s ease-in-out infinite;
}

.btn-donate:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 40px rgba(39, 174, 96, 0.4);
    animation: none;
    color: var(--white);
}

.btn-danger {
    background-color: var(--accent-color);
    color: var(--white);
}

.btn-danger:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    color: var(--white);
}

.btn-success {
    background-color: #27ae60;
    color: var(--white);
}

.btn-success:hover {
    background-color: #229954;
    transform: translateY(-2px);
    color: var(--white);
}

/* ===================================
   Donation CTA & Impact Stats
   =================================== */
.donation-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    text-align: center;
    padding: 4rem 2rem;
    margin: 3rem 0;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.donation-cta::before {
    content: '🕯';
    position: absolute;
    font-size: 15rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.donation-cta h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.donation-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.impact-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.stat-card {
    background: linear-gradient(135deg, var(--white), var(--light-bg));
    padding: 2.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 2px solid transparent;
}

.stat-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    display: block;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 0.95rem;
    color: var(--light-text);
    margin-top: 0.5rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--secondary-color);
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-left-color: var(--accent-color);
}

.value-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    display: block;
}

.value-card h4 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 700;
}

.value-card p {
    color: var(--light-text);
    line-height: 1.7;
}

/* ===================================
   Social Links
   =================================== */
.social-links {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

/* ===================================
   Footer
   =================================== */
.main-footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-links a:hover {
    color: var(--white);
}

.contact-info li {
    margin-bottom: 0.75rem;
    display: flex;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.contact-info i {
    margin-top: 0.2rem;
}

.contact-info a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

.admin-link {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.admin-link:hover {
    color: var(--white);
}

/* ===================================
   Page Content
   =================================== */
.page-content {
    min-height: 60vh;
    padding-top: 2rem;
}

/* Ensure main content doesn't hide under sticky header */
main {
    padding-top: 80px;
}

/* Hero sections should have proper spacing */
.hero-section,
.projects-hero,
.contact-page {
    padding-top: 2rem;
}

/* Ensure main content doesn't hide under sticky header */
main {
    padding-top: 80px;
}

/* Hero sections should have proper spacing */
.hero-section,
.projects-hero,
.contact-page {
    padding-top: 2rem;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.page-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.subpages {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.subpage-list {
    list-style: disc;
    padding-left: 2rem;
}

.subpage-list li {
    margin-bottom: 0.5rem;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 5rem 0;
}

.error-section h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ===================================
   DONATION PAGE STYLES
   =================================== */

/* Donation Hero */
.donation-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.donation-hero::before {
    content: '🕯';
    position: absolute;
    font-size: 20rem;
    opacity: 0.05;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.donation-hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.donation-hero-content .lead {
    font-size: 1.3rem;
    opacity: 1;
    color: #ffffff;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.8;
}

/* Donation Form Section */
.donation-form-section {
    padding: 4rem 0;
    background-color: var(--light-bg);
}

.donation-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.donation-form-container {
    background: var(--white);
    padding: 3rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.donation-form .form-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.donation-form .form-section:last-child {
    border-bottom: none;
}

.donation-form h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Donation Type Selector */
.donation-type-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.donation-type-option {
    position: relative;
    cursor: pointer;
}

.donation-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.donation-type-option .type-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--white);
    transition: var(--transition);
}

.donation-type-option .type-label i {
    font-size: 2.5rem;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.donation-type-option .type-label strong {
    display: block;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.donation-type-option .type-label small {
    color: var(--light-text);
}

.donation-type-option.active .type-label {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
    box-shadow: var(--shadow-md);
}

.donation-type-option:hover .type-label {
    border-color: var(--secondary-color);
    transform: translateY(-3px);
}

/* Amount Selector */
.amount-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
}

.amount-option {
    position: relative;
    cursor: pointer;
}

.amount-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.amount-option .amount-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    transition: var(--transition);
}

.amount-option .amount-label strong {
    display: block;
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.amount-option .amount-label small {
    color: var(--light-text);
    font-size: 0.85rem;
}

.amount-option.active .amount-label {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(243, 156, 18, 0.05));
    box-shadow: var(--shadow-md);
}

.amount-option:hover .amount-label {
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Custom Amount Input */
.custom-amount-input {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.1);
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-amount-input label {
    display: block;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-symbol {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
    z-index: 1;
}

.input-with-icon input {
    width: 100%;
    padding: 1.25rem 1.25rem 1.25rem 50px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    font-family: inherit;
    background: var(--white);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.input-with-icon input:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 4px rgba(243, 156, 18, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.input-with-icon input::placeholder {
    color: #bbb;
    font-weight: 500;
}

/* Payment Method Selector */
.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.payment-method-option {
    position: relative;
    cursor: pointer;
}

.payment-method-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-method-option .method-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--white);
    transition: var(--transition);
}

.payment-method-option .method-label i {
    font-size: 2rem;
    color: var(--primary-color);
}

.payment-method-option.active .method-label {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.1), rgba(39, 174, 96, 0.05));
}

.payment-method-option:hover .method-label {
    border-color: var(--secondary-color);
}

/* Stripe Card Element */
.stripe-card-element {
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--white);
    margin-bottom: 1rem;
}

#card-errors {
    color: var(--accent-color);
    margin-top: 1rem;
    display: none;
}

/* Bank Details */
.bank-details {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

.bank-details h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.bank-info {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.bank-info p {
    margin-bottom: 0.5rem;
}

.bank-note {
    font-size: 0.9rem;
    color: var(--light-text);
    font-style: italic;
}

/* Form Row */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Form Actions */
.form-actions {
    text-align: center;
}

.btn-large {
    padding: 1.2rem 3rem;
    font-size: 1.2rem;
}

.security-note {
    margin-top: 1rem;
    color: var(--light-text);
    font-size: 0.9rem;
}

.security-note i {
    color: var(--accent-color);
}

/* Donation Sidebar */
.donation-sidebar {
    position: relative;
}

.impact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    border-top: 4px solid var(--secondary-color);
}

.impact-card.sticky {
    position: sticky;
    top: 100px;
}

.impact-card h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.donation-summary {
    background: var(--light-bg);
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.summary-label {
    color: var(--light-text);
}

.summary-value {
    font-weight: 600;
    color: var(--primary-color);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 2px solid var(--border-color);
}

.total-label {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.total-value {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.impact-message {
    margin: 2rem 0;
}

.impact-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.impact-message h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.impact-list {
    list-style: none;
}

.impact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: var(--text-color);
}

.impact-list i {
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.trust-badges {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border-color);
}

.badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.badge i {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

.badge small {
    font-size: 0.75rem;
    color: var(--light-text);
    text-align: center;
}

.testimonial-card {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    position: relative;
}

.quote-icon {
    font-size: 4rem;
    line-height: 1;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    font-weight: 600;
    text-align: right;
}

/* Success/Error Messages */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease-out;
}

.success-modal {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    animation: fadeInUp 0.5s ease-out;
}

.success-icon {
    font-size: 5rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.success-modal h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.success-modal p {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.error-message {
    background: #fee;
    color: var(--accent-color);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

/* Launch Info Styles */
.launch-info {
    margin-top: 2rem;
    text-align: center;
}

.launch-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent-color), #e67e22);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

.launch-badge i {
    font-size: 1.2rem;
}

.launch-text {
    color: var(--text-color);
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Mission Goals Styles */
.mission-goals {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.goal-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.goal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.goal-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.goal-label {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.goal-description {
    color: var(--text-color);
    line-height: 1.6;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Donation Form Step Navigation */
.payment-method-selector {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.payment-method-selector.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.payment-section {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease-out;
}

.payment-section.visible {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Alert Components for Better User Feedback */
.alert {
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: 0.95rem;
    line-height: 1.5;
    position: relative;
    animation: slideIn 0.3s ease-out;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
    border-left: 4px solid #dc3545;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
    border-left: 4px solid #28a745;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeaa7;
    border-left: 4px solid #ffc107;
}

.alert-info {
    color: #0c5460;
    background-color: #d1ecf1;
    border-color: #bee5eb;
    border-left: 4px solid #17a2b8;
}

.alert i {
    margin-top: 0.125rem;
    font-size: 1.1rem;
}

.alert-details {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.alert-close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 1.25rem;
    line-height: 1;
    color: inherit;
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.15s;
    padding: 0;
}

.alert-close:hover {
    opacity: 0.75;
}

/* Bank Transfer Details Styling */
.bank-transfer-details {
    background: var(--light-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--secondary-color);
    margin-top: 1rem;
}

.bank-transfer-details h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.bank-transfer-details p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.bank-transfer-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Donation Journey Animation Hero
   =================================== */

/* Main Animation Container */
.donation-hero-animation {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: linear-gradient(135deg, 
        #1a4d6d 0%, 
        #0d2b3e 30%, 
        #1a4d6d 60%, 
        #1a4d6d 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Debug: Add borders to see elements */
.donation-journey > * {
    border: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 1rem;
}

.donation-hero-animation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        rgba(243, 156, 18, 0.05) 30%, 
        rgba(39, 174, 96, 0.05) 60%, 
        transparent 100%);
    animation: backgroundPulse 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

.animation-container {
    position: relative;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Hero Content */
.hero-content-modern {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    z-index: 2;
    padding: 2rem 0;
}

.content-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    gap: 4rem;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.hero-text-content,
.hero-visual {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    width: 100%;
}

/* Grid support with @supports */
@supports (display: grid) {
    .content-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        -webkit-box-orient: initial;
        -webkit-box-direction: initial;
        -ms-flex-direction: initial;
        flex-direction: initial;
        -webkit-box-pack: initial;
        -ms-flex-pack: initial;
        justify-content: initial;
    }
    
    .hero-text-content,
    .hero-visual {
        -webkit-box-flex: initial;
        -ms-flex: initial;
        flex: initial;
        width: initial;
    }
}

.hero-text-content {
    color: white;
}

/* Typography */
.hero-title {
    font-size: 4.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 2rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: default;
    position: relative;
}

.hero-title:hover .title-word {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.hero-title:hover .title-word.highlight {
    text-shadow: 
        0 0 20px rgba(243, 156, 18, 0.8),
        0 0 40px rgba(243, 156, 18, 0.6);
    animation: titleGlow 2s ease-in-out infinite;
}

.title-word {
    transition: all 0.3s ease;
    position: relative;
}

.title-word:hover {
    -webkit-transform: translateY(-5px) scale(1.05);
    -moz-transform: translateY(-5px) scale(1.05);
    -ms-transform: translateY(-5px) scale(1.05);
    -o-transform: translateY(-5px) scale(1.05);
    transform: translateY(-5px) scale(1.05);
}

.title-word {
    display: inline-block;
    opacity: 0;
    -webkit-transform: translateY(50px);
    -moz-transform: translateY(50px);
    -ms-transform: translateY(50px);
    -o-transform: translateY(50px);
    transform: translateY(50px);
    -webkit-animation: wordReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    -moz-animation: wordReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    -o-animation: wordReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation: wordReveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Individual delays for better browser support */
.title-word:nth-child(1) { animation-delay: 0.5s; }
.title-word:nth-child(2) { animation-delay: 0.6s; }
.title-word:nth-child(3) { animation-delay: 0.7s; }
.title-word:nth-child(4) { animation-delay: 0.8s; }
.title-word:nth-child(5) { animation-delay: 0.9s; }

.title-word.highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -moz-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    color: transparent;
    font-weight: 400;
    /* Fallback for browsers that don't support background-clip: text */
    color: #f39c12;
}

/* Support check for background-clip */
@supports (background-clip: text) or (-webkit-background-clip: text) {
    .title-word.highlight {
        color: transparent;
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 500px;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.8s forwards;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 3rem;
    margin: 2rem 0 3rem 0;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.9s forwards;
}

.stat-item {
    text-align: left;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: #f39c12;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(243, 156, 18, 0.3);
}

.stat-label {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* CTA Section */
.cta-section {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    margin-bottom: 4rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1s forwards;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.cta-primary::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 0.5s ease;
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary {
    position: relative;
    overflow: hidden;
}

.cta-primary::after {
    content: '💖';
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.cta-primary:hover {
    -webkit-transform: translateY(-3px) scale(1.02);
    -moz-transform: translateY(-3px) scale(1.02);
    -ms-transform: translateY(-3px) scale(1.02);
    -o-transform: translateY(-3px) scale(1.02);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 15px 40px rgba(243, 156, 18, 0.5),
        0 5px 20px rgba(243, 156, 18, 0.3);
    background: linear-gradient(135deg, #e67e22 0%, #f39c12 50%, #f1c40f 100%);
}

.cta-primary:hover::after {
    left: 10px;
    opacity: 1;
    animation: heartbeat 1s ease-in-out infinite;
}

.cta-primary:hover .btn-text {
    margin-left: 25px;
    transition: margin-left 0.3s ease;
}

.cta-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.cta-primary:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-secondary {
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.cta-secondary:hover {
    border-color: rgba(255,255,255,0.5);
    background: rgba(255,255,255,0.1);
}

/* Main Donation Journey Animation */
.donation-journey {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 5%;
    z-index: 1;
    top: 0;
    left: 0;
}

/* Scroll Indicator */
.scroll-indicator-modern {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    z-index: 3;
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Animation Keyframes */
@keyframes wordReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-200px) translateY(-100px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pathFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

/* Emotional Animation Keyframes */
@keyframes heartFloat {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0.3) rotate(0deg);
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(-100px) scale(1) rotate(360deg);
    }
}

@keyframes lightRayShift {
    0%, 100% {
        transform: translateX(-50%) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: translateX(50%) rotate(5deg);
        opacity: 0.6;
    }
}

@keyframes hopeRipple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes compassionFlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.2;
    }
    33% {
        transform: rotate(120deg) scale(1.1);
        opacity: 0.4;
    }
    66% {
        transform: rotate(240deg) scale(0.9);
        opacity: 0.3;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.6;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
}

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
}

@keyframes titleGlow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(243, 156, 18, 0.6);
    }
    50% {
        text-shadow: 0 0 30px rgba(243, 156, 18, 1), 0 0 40px rgba(243, 156, 18, 0.8);
    }
}

@keyframes twinkle {
    0%, 100% {
        transform: scale(0.8) rotate(0deg);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
}

@keyframes emotionalBurst {
    0% {
        transform: scale(0.3) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.5) rotate(360deg) translate(var(--end-x, 50px), var(--end-y, -50px));
        opacity: 0;
    }
}

@keyframes sparkleFloat {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 1;
    }
    50% {
        transform: translateY(-30px) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translateY(-60px) scale(0.3);
        opacity: 0;
    }
}

@keyframes cursorParticleFade {
    0% {
        transform: scale(0.5);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: scale(0.3) translateY(-20px);
        opacity: 0;
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scaleY(1);
    }
    50% {
        opacity: 1;
        transform: scaleY(1.2);
    }
}

.hand {
    position: relative;
    animation: givingMotion 3s ease-in-out infinite;
}

.hand-icon {
    font-size: 8rem;
    display: block;
    transform-origin: bottom center;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    color: #f39c12;
}

.coin-drop {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.coin {
    position: absolute;
    font-size: 3rem;
    animation: coinFall 2s ease-in infinite;
    opacity: 0;
    color: #f39c12;
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.8);
    z-index: 10;
}

.coin:nth-child(1) {
    animation-delay: 0s;
}

.coin:nth-child(2) {
    animation-delay: 0.6s;
    left: -15px;
}

.coin:nth-child(3) {
    animation-delay: 1.2s;
    left: 15px;
}

/* Transformation Stream */
.transformation-stream {
    position: absolute;
    left: 25%;
    right: 25%;
    top: 45%;
    transform: translateY(-50%);
    height: 8px;
    z-index: 1;
    pointer-events: none;
}

.stream-line {
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        #f39c12 20%, 
        #27ae60 50%, 
        #f39c12 80%, 
        transparent 100%);
    border-radius: 3px;
    animation: streamFlow 3s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(243, 156, 18, 0.8);
    position: relative;
    z-index: 5;
}

.flowing-hearts {
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 30px;
}

.heart {
    position: absolute;
    font-size: 2rem;
    animation: heartFlow 3s linear infinite;
    opacity: 0;
    text-shadow: 0 0 8px rgba(243, 156, 18, 0.6);
    z-index: 10;
}

.heart:nth-child(1) {
    animation-delay: 0s;
}

.heart:nth-child(2) {
    animation-delay: 0.7s;
}

.heart:nth-child(3) {
    animation-delay: 1.4s;
}

.heart:nth-child(4) {
    animation-delay: 2.1s;
}

/* Receiving Community */
.receiving-community {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.community-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    max-width: 300px;
}

.person {
    position: relative;
    text-align: center;
    animation: joyfulBounce 2s ease-in-out infinite;
}

.person:nth-child(1) { animation-delay: 0s; }
.person:nth-child(2) { animation-delay: 0.3s; }
.person:nth-child(3) { animation-delay: 0.6s; }
.person:nth-child(4) { animation-delay: 0.9s; }

.person-icon {
    font-size: 5rem;
    display: block;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
    color: #27ae60;
}

.gratitude-bubble {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    padding: 0.5rem;
    animation: bubbleFloat 2s ease-in-out infinite;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Impact Visualization */
.impact-visualization {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150px;
    height: 150px;
    pointer-events: none;
    animation: breathe 4s ease-in-out infinite;
    z-index: 1;
}

.impact-ripples {
    position: relative;
    width: 100%;
    height: 100%;
}

.ripple {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid rgba(243, 156, 18, 0.6);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: rippleExpand 3s ease-out infinite;
}

.ripple:nth-child(2) {
    animation-delay: 1s;
}

.ripple:nth-child(3) {
    animation-delay: 2s;
}

.hope-light {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, var(--secondary-color) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: hopeGlow 2s ease-in-out infinite;
}

/* Hero Content Overlay */
.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, 
        rgba(13, 43, 62, 0.95) 0%, 
        rgba(13, 43, 62, 0.7) 70%, 
        transparent 100%);
    color: var(--white);
    padding: 4rem 0 2rem;
    z-index: 3;
}

.hero-text {
    text-align: center;
    margin-bottom: 3rem;
}

.animated-title {
    display: block;
    margin-bottom: 1.5rem;
}

.title-line {
    display: block;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    animation: titleSlideUp 1s ease-out;
}

.title-line.highlight {
    background: linear-gradient(90deg, var(--secondary-color), var(--light-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation-delay: 0.3s;
}

.animated-subtitle {
    font-size: 1.3rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    animation: subtitleFade 1s ease-out 0.6s both;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.animated-btn {
    position: relative;
    overflow: hidden;
    animation: buttonSlideIn 1s ease-out 0.9s both;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: var(--secondary-color);
    color: var(--white);
}

.btn-text {
    position: relative;
    z-index: 1;
}

.btn-icon {
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: scale(1.2) rotate(10deg);
}

/* Quick Stats */
.quick-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    animation: statsSlideUp 1s ease-out 1.2s both;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-icon {
    font-size: 2rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-arrow span {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.arrow-down {
    font-size: 1.5rem;
    animation: arrowBounce 1.5s ease-in-out infinite;
}

/* ===================================
   Animation Keyframes
   =================================== */

@keyframes givingMotion {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-5deg);
    }
}

@keyframes coinFall {
    0% {
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    20% {
        opacity: 1;
        transform: translateY(10px) scale(1) rotate(180deg);
    }
    80% {
        opacity: 1;
        transform: translateY(80px) scale(1) rotate(720deg);
    }
    100% {
        opacity: 0;
        transform: translateY(100px) scale(0.8) rotate(900deg);
    }
}

@keyframes streamFlow {
    0% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }
    50% {
        opacity: 1;
        transform: scaleX(1);
    }
    100% {
        opacity: 0.3;
        transform: scaleX(0.5);
    }
}

@keyframes heartFlow {
    0% {
        left: 0;
        opacity: 0;
        transform: translateY(0) scale(0.5) rotate(0deg);
    }
    10% {
        opacity: 1;
        transform: translateY(-10px) scale(1) rotate(90deg);
    }
    90% {
        opacity: 1;
        transform: translateY(5px) scale(1.1) rotate(270deg);
    }
    100% {
        left: 100%;
        opacity: 0;
        transform: translateY(0) scale(0.8) rotate(360deg);
    }
}

@keyframes joyfulBounce {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-15px) scale(1.1);
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-20px) scale(1.2);
        opacity: 1;
    }
}

@keyframes rippleExpand {
    0% {
        width: 50px;
        height: 50px;
        opacity: 1;
    }
    100% {
        width: 200px;
        height: 200px;
        opacity: 0;
    }
}

@keyframes hopeGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.5);
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        box-shadow: 0 0 40px rgba(243, 156, 18, 0.8);
        transform: translate(-50%, -50%) scale(1.5);
    }
}

@keyframes titleSlideUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes subtitleFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 0.95;
        transform: translateY(0);
    }
}

@keyframes buttonSlideIn {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes statsSlideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollPulse {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

@keyframes floatSparkle {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.9;
    }
}

@keyframes breathe {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 1;
    }
}

@keyframes backgroundPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
}

/* Modern Animation Keyframes with vendor prefixes */
@-webkit-keyframes wordReveal {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-moz-keyframes wordReveal {
    to {
        opacity: 1;
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-o-keyframes wordReveal {
    to {
        opacity: 1;
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes wordReveal {
    to {
        opacity: 1;
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(-200px) translateY(-100px);
    }
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes floatAround {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

@keyframes pathFlow {
    0% {
        stroke-dashoffset: 0;
    }
    100% {
        stroke-dashoffset: 20;
    }
}

/* Video Background Styles (Legacy - kept for compatibility) */
.video-hero {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    display: none; /* Hidden since we're using the new animation */
}

.video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(13, 43, 62, 0.7), rgba(13, 43, 62, 0.5));
    z-index: 1;
}

.video-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    text-align: center;
}

.video-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.video-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.7);
}

/* ===================================
   Responsive Design for Donation Animation
   =================================== */

@media (max-width: 1200px) {
    .donation-journey {
        padding: 0 3%;
    }
    
    .hand-icon {
        font-size: 5rem;
    }
    
    .person-icon {
        font-size: 3rem;
    }
    
    .title-line {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .donation-hero-animation {
        min-height: 600px;
    }
    
    .donation-journey {
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        padding: 2rem 5%;
    }
    
    .transformation-stream {
        position: relative;
        left: auto;
        right: auto;
        top: auto;
        width: 100%;
        height: 60px;
        transform: rotate(90deg);
    }
    
    .stream-line {
        height: 4px;
    }
    
    .quick-stats {
        gap: 2rem;
    }
    
    .stat-item {
        gap: 0.3rem;
    }
    
    .stat-icon,
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .donation-hero-animation {
        height: 100vh;
        min-height: 500px;
    }
    
    .hand-icon {
        font-size: 4rem;
    }
    
    .person-icon {
        font-size: 2.5rem;
    }
    
    .community-group {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .animated-subtitle {
        font-size: 1.1rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .quick-stats {
        flex-direction: row;
        gap: 1.5rem;
    }
    
    .coin {
        font-size: 1.5rem;
    }
    
    .gratitude-bubble {
        font-size: 1rem;
        padding: 0.3rem;
    }
}

@media (max-width: 480px) {
    .donation-hero-animation {
        min-height: 450px;
    }
    
    .donation-journey {
        gap: 1rem;
        padding: 1rem 3%;
    }
    
    .hand-icon {
        font-size: 3rem;
    }
    
    .person-icon {
        font-size: 2rem;
    }
    
    .title-line {
        font-size: 2rem;
    }
    
    .animated-subtitle {
        font-size: 1rem;
    }
    
    .hero-content {
        padding: 2rem 0 1rem;
    }
    
    .quick-stats {
        gap: 1rem;
    }
    
    .transformation-stream {
        height: 40px;
    }
    
    /* Simplify animations for performance on mobile */
    .coin-drop .coin {
        animation-duration: 3s;
    }
    
    .heart {
        animation-duration: 4s;
    }
    
    .floating-particles::before,
    .floating-particles::after {
        display: none;
    }
}

/* Impact Metrics */
.impact-metrics {
    display: flex;
    gap: 3rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

.metric-item {
    text-align: left;
}

.metric-number {
    font-size: 3rem;
    font-weight: 700;
    color: #f39c12;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: 'Inter', sans-serif;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.metric-number:hover {
    color: #e67e22;
    text-shadow: 
        0 0 10px rgba(243, 156, 18, 0.8),
        0 0 20px rgba(243, 156, 18, 0.6),
        0 0 30px rgba(243, 156, 18, 0.4);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    -o-transform: scale(1.1);
    transform: scale(1.1);
}

.metric-number::before {
    content: '✨';
    position: absolute;
    top: -10px;
    right: -15px;
    opacity: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.metric-number:hover::before {
    opacity: 1;
    animation: twinkle 1.5s ease-in-out infinite;
}

.metric-item:hover .metric-label {
    color: rgba(255,255,255,1);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.6);
}

.metric-label {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Visual Elements */
.hero-visual {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.donation-flow {
    display: flex;
    align-items: center;
    gap: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 1.4s forwards;
}

.flow-node {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.node-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.1) 100%);
    border: 2px solid rgba(255,255,255,0.3);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    position: relative;
    -webkit-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -moz-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    -o-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Backdrop filter with fallback */
    background: rgba(255,255,255,0.2);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

/* Fallback for browsers without backdrop-filter support */
@supports not (backdrop-filter: blur(10px)) {
    .node-circle {
        background: rgba(42, 52, 66, 0.8);
        border-color: rgba(255,255,255,0.4);
    }
}

.node-circle:hover {
    -webkit-transform: scale(1.15);
    -moz-transform: scale(1.15);
    -ms-transform: scale(1.15);
    -o-transform: scale(1.15);
    transform: scale(1.15);
    border-color: rgba(243, 156, 18, 0.8);
    box-shadow: 
        0 0 40px rgba(243, 156, 18, 0.6),
        0 0 80px rgba(243, 156, 18, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.2);
    background: linear-gradient(135deg, 
        rgba(255,255,255,0.3) 0%, 
        rgba(243, 156, 18, 0.2) 50%,
        rgba(255,255,255,0.1) 100%);
}

.node-circle::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(243, 156, 18, 0.2) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.node-circle:hover::before {
    opacity: 1;
    animation: pulseGlow 2s ease-in-out infinite;
}

.node-icon {
    font-size: 3rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.node-circle:hover .node-icon {
    -webkit-transform: scale(1.2) rotate(10deg);
    -moz-transform: scale(1.2) rotate(10deg);
    -ms-transform: scale(1.2) rotate(10deg);
    -o-transform: scale(1.2) rotate(10deg);
    transform: scale(1.2) rotate(10deg);
    text-shadow: 0 0 20px rgba(243, 156, 18, 0.8);
}

.node-label {
    color: rgba(255,255,255,0.9);
    font-size: 0.9rem;
    font-weight: 500;
    text-align: center;
}

.flow-connections {
    width: 200px;
    height: 100px;
    position: relative;
}

.connection-line {
    width: 100%;
    height: 100%;
}

.flow-path {
    stroke-dasharray: 5 5;
    animation: pathFlow 2s linear infinite;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.float-element {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.6;
    animation: floatAround var(--duration, 4s) ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

.float-element:nth-child(1) {
    top: 20%;
    right: 20%;
}

.float-element:nth-child(2) {
    bottom: 30%;
    left: 10%;
}

.float-element:nth-child(3) {
    top: 60%;
    right: 40%;
}

/* Scroll Indicator */
.scroll-indicator-modern {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    z-index: 3;
}

.scroll-text {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

/* Emotional Background Elements */
.floating-hearts {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.heart-particle {
    position: absolute;
    color: rgba(243, 156, 18, 0.6);
    font-size: 1.2rem;
    animation: heartFloat 8s ease-in-out infinite;
    opacity: 0;
}

.heart-particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.heart-particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 8s;
}

.heart-particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 7s;
}

.heart-particle:nth-child(4) {
    left: 50%;
    animation-delay: 3s;
    animation-duration: 9s;
}

.heart-particle:nth-child(5) {
    left: 70%;
    animation-delay: 4s;
    animation-duration: 6s;
}

.heart-particle:nth-child(6) {
    left: 80%;
    animation-delay: 5s;
    animation-duration: 8s;
}

.heart-particle:nth-child(7) {
    left: 90%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

.light-rays {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(243, 156, 18, 0.05) 50%, transparent 60%),
        linear-gradient(-45deg, transparent 40%, rgba(39, 174, 96, 0.05) 50%, transparent 60%),
        linear-gradient(135deg, transparent 40%, rgba(52, 152, 219, 0.05) 50%, transparent 60%);
    animation: lightRayShift 12s ease-in-out infinite;
}

.hope-circles {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.hope-circle {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(243, 156, 18, 0.3);
    animation: hopeRipple 4s ease-out infinite;
}

.hope-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.hope-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.hope-circle:nth-child(3) {
    width: 120px;
    height: 120px;
    bottom: 30%;
    left: 25%;
    animation-delay: 2s;
}

.compassion-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(39, 174, 96, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(243, 156, 18, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 40% 40%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    animation: compassionFlow 15s ease-in-out infinite;
}

/* Cursor Particles */
.cursor-particle {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Enhanced Dynamic Background */
.dynamic-background {
    overflow: hidden;
}

.modern-hero {
    cursor: none; /* Hide cursor for custom effect */
}

.modern-hero * {
    cursor: pointer;
}

/* Mouse Following Effect */
.modern-hero::after {
    content: '💖';
    position: fixed;
    font-size: 1.2rem;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
    transform: translate(-50%, -50%);
}

.modern-hero:hover::after {
    opacity: 0.8;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .modern-hero * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scroll-indicator-modern {
        animation: none;
    }
    
    .cursor-particle,
    .heart-particle,
    .hope-circle,
    .light-rays,
    .compassion-waves {
        display: none;
    }
    
    .modern-hero {
        cursor: auto;
    }
    
    .modern-hero::after {
        display: none;
    }
}

/* Modern Hero Responsive */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 4rem;
    }
    
    .content-wrapper {
        gap: 3rem;
    }
}

@media (max-width: 992px) {
    .content-wrapper {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    
    @supports (display: grid) {
        .content-wrapper {
            grid-template-columns: 1fr;
            -webkit-box-orient: initial;
            -webkit-box-direction: initial;
            -ms-flex-direction: initial;
            flex-direction: initial;
        }
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.1;
    }
    
    .impact-metrics {
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        gap: 2rem;
    }
    
    .donation-flow {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
    }
    
    .flow-connections {
        -webkit-transform: rotate(90deg);
        -moz-transform: rotate(90deg);
        -ms-transform: rotate(90deg);
        -o-transform: rotate(90deg);
        transform: rotate(90deg);
        width: 100px;
        height: 50px;
    }
}

@media (max-width: 768px) {
    .modern-hero {
        min-height: 100vh;
        min-height: 600px;
        padding: 1rem 0;
    }
    
    .hero-content-modern {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        padding: 0 1rem;
    }
    
    .hero-stats {
        gap: 1.5rem;
        margin: 1.5rem 0 2rem 0;
        padding: 0 1rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.85rem;
    }
    
    .cta-section {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        padding: 0 1rem;
    }
    
    .cta-primary,
    .cta-secondary {
        width: 100%;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .impact-metrics {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 1.5rem;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        padding: 0 1rem;
    }
    
    .metric-number {
        font-size: 2.5rem;
    }
    
    .node-circle {
        width: 100px;
        height: 100px;
    }
    
    .node-icon {
        font-size: 2.5rem;
    }
    
    .node-label {
        font-size: 0.8rem;
    }
    
    .scroll-indicator-modern {
        display: none;
    }
    
    .container {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .modern-hero {
        min-height: 80vh;
        padding: 1rem 0;
    }
    
    .hero-content-modern {
        padding: 1rem 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .cta-section {\n        margin-bottom: 2rem;\n    }\n    \n    .cta-primary {\n        padding: 0.8rem 1.5rem;\n        font-size: 0.9rem;\n    }\n    \n    .cta-secondary {\n        padding: 0.6rem 1.5rem;\n        font-size: 0.9rem;\n    }\n    \n    .impact-metrics {\n        gap: 1rem;\n        margin-bottom: 1rem;\n    }\n    \n    .metric-number {\n        font-size: 2rem;\n    }\n    \n    .metric-label {\n        font-size: 0.75rem;\n    }\n    \n    .donation-flow {\n        gap: 0.5rem;\n    }\n    \n    .node-circle {\n        width: 80px;\n        height: 80px;\n    }\n    \n    .node-icon {\n        font-size: 2rem;\n    }\n    \n    .node-label {\n        font-size: 0.7rem;\n    }\n    \n    .flow-connections {\n        width: 80px;\n        height: 40px;\n    }\n    \n    /* Disable heavy animations on small screens */\n    .orb {\n        display: none;\n    }\n    \n    .particle-field {\n        opacity: 0.3;\n        background-size: 100px 50px;\n    }\n    \n    .floating-elements {\n        display: none;\n    }\n    \n    .container {\n        padding: 0 0.75rem;\n    }\n    \n    /* Ensure text is readable */\n    .title-word {\n        display: inline;\n        margin-right: 0.3rem;\n    }\n}\n\n/* Extra small devices */\n@media (max-width: 320px) {\n    .hero-title {\n        font-size: 1.8rem;\n    }\n    \n    .hero-subtitle {\n        font-size: 0.9rem;\n    }\n    \n    .metric-number {\n        font-size: 1.5rem;\n    }\n    \n    .node-circle {\n        width: 60px;\n        height: 60px;\n    }\n    \n    .node-icon {\n        font-size: 1.5rem;\n    }\n    \n    .container {\n        padding: 0 0.5rem;\n    }\n}

/* Responsive - Donation Page */
@media (max-width: 992px) {
    .donation-wrapper {
        grid-template-columns: 1fr;
    }
    
    .impact-card.sticky {
        position: static;
    }
    
    .payment-method-selector {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .donation-hero-content h1 {
        font-size: 2rem;
    }
    
    .donation-type-selector {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .amount-selector {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .donation-form-container {
        padding: 2rem 1rem;
    }
    
    .donation-sidebar {
        order: -1;
        margin-bottom: 2rem;
    }
    
    .impact-card {
        padding: 1.5rem;
    }
}

/* Small Mobile Devices - Donation */
@media (max-width: 480px) {
    .amount-selector {
        grid-template-columns: 1fr;
    }
    
    .payment-method-selector {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .donation-form-container {
        padding: 1.5rem 1rem;
    }
    
    .btn-donate {
        width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
}


.page-content {
    min-height: 60vh;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.page-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
}

.page-body {
    line-height: 1.8;
    font-size: 1.1rem;
}

.subpages {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.subpage-list {
    list-style: disc;
    padding-left: 2rem;
}

.subpage-list li {
    margin-bottom: 0.5rem;
}

/* Error Section */
.error-section {
    text-align: center;
    padding: 5rem 0;
}

.error-section h1 {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

/* ===================================
   Responsive Design
   =================================== */

/* Large Tablets and Small Desktops */
@media (max-width: 992px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .donation-cta-box {
        margin: 2rem 0;
    }
    
    /* Logo sizing */
    .logo img {
        max-height: 50px;
    }
}

/* Body class when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Tablets and Mobile */
@media (max-width: 768px) {
    /* Logo sizing */
    .logo img,
    .site-logo {
        max-height: 45px;
        height: auto;
        width: auto;
    }
    
    .site-name {
        font-size: 1.2rem;
    }
    
    /* Ensure navbar has proper z-index */
    .navbar {
        position: relative;
        z-index: 1002;
        background-color: var(--white);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Adjust main content padding for mobile */
    main {
        padding-top: 90px;
    }
    
    /* Navigation */
    .hamburger {
        display: flex;
        position: relative;
        z-index: 1001;
        min-width: 44px;
        min-height: 44px;
        justify-content: center;
        align-items: center;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--white);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-links {
        flex-direction: column;
        padding: 1rem;
        margin: 0;
        list-style: none;
    }
    
    .nav-links li {
        width: 100%;
        margin: 0;
    }
    
    .nav-link {
        display: block;
        padding: 1rem;
        text-align: center;
        border-bottom: 1px solid #f0f0f0;
        color: var(--text-color);
        text-decoration: none;
        min-height: 44px;
        line-height: 24px;
        transition: background-color 0.3s ease;
    }
    
    .nav-link:hover {
        background-color: #f8f9fa;
        color: var(--primary-color);
    }
    
    .nav-link-donate {
        background: var(--accent-color);
        color: white !important;
        border-radius: 5px;
        margin: 1rem;
        border-bottom: none;
    }
    
    .nav-link-donate:hover {
        background: #229954;
    }
    
    /* Hero Section */
    .modern-hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    .hero-title {
        font-size: 2.2rem !important;
        line-height: 1.2;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem;
    }
    
    .hero-cta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-primary, .btn-secondary {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
    
    /* Hero Slider (if used) */
    .slider-container {
        height: 350px;
    }
    
    .slide-content h2 {
        font-size: 1.8rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    /* Container responsive padding */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Sections */
    .section-header h2 {
        font-size: 2rem;
    }
    
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .mission-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    /* Cards and grid layouts */
    .stats-grid,
    .features-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Make images responsive */
    img {
        max-width: 100%;
        height: auto;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .value-icon {
        font-size: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-registration {
        padding: 1rem 0;
    }
    
    .acnc-badge img {
        height: 50px !important;
    }
    
    /* Donation page mobile */
    .donation-hero h1 {
        font-size: 2rem;
    }
    
    .donation-grid {
        grid-template-columns: 1fr;
    }
}
}

/* Small Mobile Devices */
@media (max-width: 480px) {
    /* Logo sizing */
    .logo img {
        max-height: 40px;
    }
    
    .slider-container {
        height: 250px;
    }
    
    .slide-content {
        padding: 1.5rem 0;
    }
    
    .slide-content h2 {
        font-size: 1.5rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .value-icon {
        font-size: 2.5rem;
    }
    
    .acnc-badge img {
        height: 40px !important;
    }
    
    .footer-bottom {
        font-size: 0.75rem;
    }
    
    /* Disable heavy animations on small screens for performance */
    .value-icon {
        animation: none;
    }
    
    .parallax-element {
        transform: none !important;
    }
}

/* ===================================
   Enhanced Interactive Visuals
   =================================== */

/* Floating Animation for Icons and Elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

@keyframes floatSlow {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

/* Apply floating to value icons */
.value-icon {
    animation: float 3s ease-in-out infinite;
    display: inline-block;
    font-size: 3.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.value-card:hover .value-icon {
    animation: floatSlow 2s ease-in-out infinite;
    transform: scale(1.2);
    filter: drop-shadow(0 8px 16px rgba(243, 156, 18, 0.4));
}

/* Ripple Effect on Buttons */
.btn {
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

/* Glowing Border Animation */
@keyframes glowBorder {
    0%, 100% {
        box-shadow: 0 0 5px rgba(243, 156, 18, 0.3),
                    0 0 10px rgba(243, 156, 18, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(243, 156, 18, 0.6),
                    0 0 30px rgba(243, 156, 18, 0.4),
                    0 0 40px rgba(243, 156, 18, 0.2);
    }
}

.donation-cta-box {
    animation: glowBorder 3s ease-in-out infinite;
}

/* 3D Tilt Effect on Hover */
.value-card,
.stat-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.value-card:hover,
.stat-card:hover {
    transform: rotateY(5deg) rotateX(5deg);
}

/* Pulse Animation for Donation Buttons */
@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(243, 156, 18, 0.4);
    }
    50% {
        box-shadow: 0 0 25px rgba(243, 156, 18, 0.8),
                    0 0 40px rgba(243, 156, 18, 0.4);
    }
}

.btn-primary:hover {
    animation: pulseGlow 2s ease-in-out infinite;
}

/* Shimmer Effect on Load */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.section-header h2::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shimmer 3s infinite;
}

.section-header h2 {
    position: relative;
    display: inline-block;
    overflow: hidden;
}

/* Interactive Shadow Follow */
.mission-image img,
.contact-info-card {
    transition: box-shadow 0.3s ease;
}

.mission-image img:hover,
.contact-info-card:hover {
    box-shadow: 
        0 20px 60px rgba(26, 77, 109, 0.15),
        0 10px 30px rgba(243, 156, 18, 0.1);
}

/* Gradient Background Animation */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.hero-section,
.mission-section:nth-of-type(even) {
    background: linear-gradient(
        135deg,
        var(--primary-color) 0%,
        var(--dark-blue) 50%,
        var(--primary-color) 100%
    );
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: var(--white);
}

.mission-section:nth-of-type(even) .mission-text h2 {
    color: var(--white);
}

.mission-section:nth-of-type(even) .mission-text p {
    color: rgba(255, 255, 255, 0.9);
}

.mission-section:nth-of-type(even) .reveal-left,
.mission-section:nth-of-type(even) .reveal-right {
    color: var(--white);
}

/* Parallax Scroll Effect */
.mission-image {
    transition: transform 0.3s ease-out;
}

.mission-image:hover {
    transform: translateY(-10px) scale(1.02);
}

/* Typewriter Effect for Taglines */
@keyframes typewriter {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

@keyframes blinkCursor {
    50% {
        border-color: transparent;
    }
}

.slide-content p.typewriter {
    overflow: hidden;
    border-right: 3px solid var(--secondary-color);
    white-space: nowrap;
    margin: 0 auto;
    animation: 
        typewriter 3s steps(40) 1s 1 normal both,
        blinkCursor 0.75s step-end infinite;
}

/* Particle Effect Background (CSS-only) */
.about-section::before,
.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(243, 156, 18, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 80% 80%, rgba(26, 77, 109, 0.1) 1px, transparent 1px),
        radial-gradient(circle at 40% 20%, rgba(39, 174, 96, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 80px 80px, 100px 100px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: particleFloat 20s linear infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleFloat {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-100px);
    }
}

.about-section,
.contact-section {
    position: relative;
    overflow: hidden;
}

.about-section > .container,
.contact-section > .container {
    position: relative;
    z-index: 1;
}

/* Magnetic Hover Effect for Social Icons */
.social-links a {
    position: relative;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-links a:hover {
    transform: scale(1.3) rotate(360deg);
}

/* Footer ACNC Badge and Developer Link Styling */
.footer-registration {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.acnc-badge {
    margin-bottom: 1rem;
}

.acnc-badge img {
    transition: var(--transition);
}

.acnc-badge img:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

.abn-info {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
}

.abn-info strong {
    color: var(--secondary-color);
}

.developer-link {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
}

.developer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: width 0.3s ease;
}

.developer-link:hover::after {
    width: 100%;
}

.developer-link:hover {
    color: var(--light-gold);
    text-shadow: 0 0 10px rgba(243, 156, 18, 0.5);
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    z-index: 10000;
    transition: width 0.1s ease;
}

/* ===================================
   Featured Projects Section
   =================================== */
.featured-projects-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.featured-projects-section .section-header h2 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleGlow 3s ease-in-out infinite;
}

.featured-projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23f39c12" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    pointer-events: none;
}

.projects-section {
    padding: 80px 0;
    background: var(--light-bg);
    min-height: 400px;
    position: relative;
    z-index: 1;
}

.projects-section .container {
    position: relative;
    z-index: 2;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 2;
}

.project-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    opacity: 1; /* Fallback for browsers without animation support */
    transform: translateY(20px) scale(0.95);
    animation: projectCardEntrance 1s ease forwards;
    border: 1px solid rgba(243, 156, 18, 0.1);
}

/* Fallback for browsers without animation support */
@supports not (animation: projectCardEntrance 1s ease forwards) {
    .project-card {
        opacity: 1 !important;
        transform: translateY(0) scale(1) !important;
    }
}

.project-card:nth-child(1) { animation-delay: 0.1s; }
.project-card:nth-child(2) { animation-delay: 0.2s; }
.project-card:nth-child(3) { animation-delay: 0.3s; }

@keyframes projectCardEntrance {
    0% {
        transform: translateY(20px) scale(0.95);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.project-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15), 0 0 40px rgba(243, 156, 18, 0.3);
    border-color: rgba(243, 156, 18, 0.3);
}

.project-card {
    position: relative;
}

.project-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(
        circle at 50% 50%,
        rgba(243, 156, 18, 0.05) 0%,
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1;
}

.project-card:hover::after {
    opacity: 1;
}

.project-card:hover .project-particles .particle {
    opacity: 1;
    transform: scale(1);
}

.project-image {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.2) 50%,
        transparent 100%
    );
    animation: ambientGlow 3s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

.project-card:hover .project-image::before {
    animation: ambientGlowHover 2s ease-in-out infinite;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition-slow);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.placeholder-image {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-size: 3rem;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 77, 109, 0.2), rgba(13, 43, 62, 0.4));
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 20px;
    transition: all 0.4s ease;
}

.project-card:hover .project-overlay {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.2), rgba(231, 76, 60, 0.3));
}

.project-category {
    background: linear-gradient(135deg, var(--secondary-color), #e67e22);
    color: var(--white);
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(15px);
    border: 2px solid rgba(255,255,255,0.2);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.project-content {
    padding: 30px;
    position: relative;
    z-index: 2;
    background: var(--white);
}

.project-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
    align-items: center;
}

.project-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--light-text);
    font-size: 0.85rem;
    padding: 6px 12px;
    background: rgba(26, 77, 109, 0.05);
    border-radius: 15px;
    font-weight: 500;
}

.project-location i {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

.project-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.3;
    display: block;
    min-height: 1em;
    text-decoration: none;
}

.project-title:hover {
    color: var(--primary-color);
}

.project-description {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 0.95rem;
    display: block;
    min-height: 3em;
}

.project-progress {
    margin-bottom: 20px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-label {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.9rem;
}

.progress-percentage {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.progress-info .raised {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
}

.progress-info .target {
    color: var(--light-text);
    font-size: 0.9rem;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 8px;
}

.progress-stats span {
    color: #6c757d;
    font-weight: 500;
}

.progress-stats span:first-child {
    color: var(--accent-color);
    font-weight: 700;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #f39c12, #e74c3c, #27ae60);
    background-size: 200% 200%;
    border-radius: 10px;
    width: 0%;
    transition: width 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    animation: progressGradient 4s ease-in-out infinite;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 2s infinite;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.progress-stats .percentage {
    font-weight: 600;
    color: var(--primary-color);
}

.progress-stats .donors {
    color: var(--light-text);
}

.project-urgency {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #e74c3c;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(231, 76, 60, 0.1);
    border-radius: 8px;
}

.project-urgency i {
    animation: pulse 2s infinite;
}

.project-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.meta-item i {
    color: var(--secondary-color);
    font-size: 1rem;
}

.meta-item span {
    color: #2c3e50;
}

.project-actions {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn-donate-project {
    flex: 1;
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 50%, #d35400 100%);
    background-size: 200% 200%;
    color: var(--white);
    padding: 16px 24px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 25px rgba(243, 156, 18, 0.4);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    animation: buttonGradient 3s ease-in-out infinite;
}

.btn-donate-project:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 40px rgba(243, 156, 18, 0.6);
    background-position: 100% 0;
}

.btn-donate-project::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 0.6s;
}

.btn-donate-project:hover::before {
    left: 100%;
}

@keyframes buttonGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes titleGlow {
    0%, 100% {
        filter: brightness(1);
        text-shadow: 0 0 10px rgba(243, 156, 18, 0.3);
    }
    50% {
        filter: brightness(1.2);
        text-shadow: 0 0 20px rgba(243, 156, 18, 0.6);
    }
}

.btn-learn-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    padding: 15px 20px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    transition: var(--transition);
}

.btn-learn-more:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Project Particles Animation */
.project-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.project-particles .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--secondary-color);
    border-radius: 50%;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.project-particles .particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation: floatPro 5s ease-in-out infinite;
    animation-delay: 0s;
    background: radial-gradient(circle, #f39c12, #e67e22);
    width: 8px;
    height: 8px;
}

.project-particles .particle:nth-child(2) {
    top: 60%;
    right: 15%;
    animation: floatPro 6s ease-in-out infinite;
    animation-delay: 1.5s;
    background: radial-gradient(circle, #27ae60, #2ecc71);
    width: 6px;
    height: 6px;
}

.project-particles .particle:nth-child(3) {
    bottom: 30%;
    left: 80%;
    animation: floatPro 4.5s ease-in-out infinite;
    animation-delay: 3s;
    background: radial-gradient(circle, #e74c3c, #c0392b);
    width: 7px;
    height: 7px;
}

@keyframes floatPro {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.1);
        opacity: 0.7;
    }
}

/* View All Projects Button */
.view-all-projects {
    text-align: center;
    margin-top: 50px;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--primary-color);
    color: var(--white);
    padding: 18px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-view-all:hover {
    background: var(--dark-blue);
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-view-all i {
    transition: var(--transition);
}

.btn-view-all:hover i {
    transform: translateX(5px);
}

/* No Projects State */
.no-projects {
    text-align: center;
    padding: 80px 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    margin-top: 30px;
}

.no-projects-icon {
    font-size: 4rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.no-projects-icon i {
    animation: grow 3s ease-in-out infinite;
}

.no-projects h3 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.no-projects p {
    color: var(--light-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
}

@keyframes floatPro {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) rotate(90deg) scale(1.2);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-25px) rotate(180deg) scale(0.8);
        opacity: 1;
    }
    75% {
        transform: translateY(-10px) rotate(270deg) scale(1.1);
        opacity: 0.7;
    }
}

@keyframes grow {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes ambientGlow {
    0% {
        left: -100%;
        opacity: 0;
    }
    25% {
        opacity: 0.3;
    }
    50% {
        left: 50%;
        opacity: 0.1;
    }
    75% {
        opacity: 0.2;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

@keyframes ambientGlowHover {
    0% {
        left: -100%;
        opacity: 0;
        background: linear-gradient(
            90deg,
            transparent 0%,
            rgba(243, 156, 18, 0.3) 50%,
            transparent 100%
        );
    }
    50% {
        left: 50%;
        opacity: 0.4;
    }
    100% {
        left: 200%;
        opacity: 0;
    }
}

/* ===================================
   Project-Specific Donation Styles
   =================================== */
.project-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    box-shadow: var(--shadow-md);
}

.project-badge i {
    font-size: 1rem;
}

.project-progress-hero {
    max-width: 400px;
    margin: 30px auto;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.progress-stats-hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.raised-hero {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.target-hero {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.progress-bar-hero {
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-hero {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    position: relative;
    transition: width 1.5s ease;
}

.progress-fill-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 2s infinite;
}

.payment-reference {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(39, 174, 96, 0.1);
    color: var(--accent-color);
    padding: 12px 20px;
    border-radius: 10px;
    margin-top: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(39, 174, 96, 0.3);
}

.payment-reference i {
    font-size: 1rem;
}

.payment-reference strong {
    color: var(--white);
    background: var(--accent-color);
    padding: 4px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

/* ===================================
   Services & Impact Sections
   =================================== */
.services-section,
.impact-section {
    padding: 80px 0;
    background: var(--white);
}

.services-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.impact-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.services-section .section-content,
.impact-section .section-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.services-section .lead,
.impact-section .lead {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .featured-projects-section {
        padding: 60px 0;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-actions {
        flex-direction: column;
    }
    
    .btn-donate-project,
    .btn-learn-more {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .services-section,
    .impact-section {
        padding: 60px 0;
    }
    
    .services-section .lead,
    .impact-section .lead {
        font-size: 1.1rem;
    }
}

/* Project placeholder image styles */
.placeholder-project-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    border-radius: 10px 10px 0 0;
}

.placeholder-project-image i {
    font-size: 3rem;
    margin-bottom: 10px;
    opacity: 0.7;
}

.placeholder-project-image span {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.8;
}

/* ===================================
   Individual Project Detail Page
   =================================== */
.project-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-blue));
    color: var(--white) !important;
    padding: 120px 0 80px; /* Extra padding to account for sticky header */
    position: relative;
    min-height: 50vh;
    margin-top: -80px; /* Negative margin to pull content under header */
    padding-top: 160px; /* Compensate for negative margin plus header height */
}

.project-hero * {
    color: inherit;
}

.project-hero h1,
.project-hero h2,
.project-hero h3,
.project-hero p,
.project-hero span {
    color: var(--white);
}

.project-breadcrumb {
    font-size: 0.9rem;
    margin-bottom: 30px;
    opacity: 0.8;
}

.project-breadcrumb a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.project-breadcrumb a:hover {
    color: var(--secondary-color);
}

.project-breadcrumb span {
    margin: 0 10px;
}

.project-header {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: grid;
    -webkit-box-align: start;
    -webkit-align-items: flex-start;
    -ms-flex-align: start;
    align-items: start;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    -webkit-column-gap: 60px;
    -moz-column-gap: 60px;
    column-gap: 60px;
    -webkit-row-gap: 60px;
    -moz-row-gap: 60px;
    row-gap: 60px;
}

/* Flexbox fallback for older browsers */
@supports not (display: grid) {
    .project-header {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .project-info {
        -webkit-box-flex: 2;
        -webkit-flex: 2;
        -ms-flex: 2;
        flex: 2;
        min-width: 300px;
        margin-right: 30px;
    }
    
    .project-image {
        -webkit-box-flex: 1;
        -webkit-flex: 1;
        -ms-flex: 1;
        flex: 1;
        min-width: 250px;
    }
}

.project-category {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.category-tag,
.urgency-tag {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.category-tag {
    background: var(--secondary-color);
    color: var(--white) !important;
}

.urgency-tag {
    background: rgba(231, 76, 60, 0.9);
    color: var(--white) !important;
    display: flex;
    align-items: center;
    gap: 5px;
}

.urgency-tag i,
.urgency-tag span {
    color: var(--white) !important;
}

.project-hero .project-title,
.project-hero h1.project-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
}

.project-stats .stat-item h3 {
    font-size: 1.8rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.project-stats .stat-item p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.project-progress-main {
    margin-bottom: 40px;
}

.progress-bar-large {
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-large {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 10px;
    transition: width 1.5s ease;
}

.project-cta {
    display: flex;
    gap: 20px;
}

.btn-donate-large,
.btn-share {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 18px 30px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-donate-large {
    background: var(--secondary-color);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.3);
}

.btn-donate-large:hover {
    background: #e67e22;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
    -webkit-box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    -moz-box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
    box-shadow: 0 6px 20px rgba(243, 156, 18, 0.4);
}

.btn-share {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-share:hover {
    background: rgba(255, 255, 255, 0.2);
}

.project-image {
    position: relative;
}

.featured-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

.placeholder-image {
    width: 100%;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
}

.placeholder-image i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.project-details {
    padding: 80px 0;
    background: var(--light-bg);
    min-height: 400px;
}

.details-grid {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    -webkit-column-gap: 60px;
    -moz-column-gap: 60px;
    column-gap: 60px;
    -webkit-row-gap: 60px;
    -moz-row-gap: 60px;
    row-gap: 60px;
}

/* Flexbox fallback for older browsers */
@supports not (display: grid) {
    .details-grid {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    }
    
    .main-content {
        -webkit-box-flex: 2;
        -webkit-flex: 2;
        -ms-flex: 2;
        flex: 2;
        min-width: 300px;
        margin-right: 30px;
    }

/* Ensure content is visible */
.content-section {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.project-description {
    background: transparent;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}
}

.content-section {
    margin-bottom: 50px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--text-color);
    margin-bottom: 25px;
    border-bottom: 3px solid var(--secondary-color);
    padding-bottom: 10px;
}

.project-location-detail,
.project-timeline {
    background: var(--white);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: var(--shadow-sm);
}

.project-location-detail h3,
.project-timeline h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.project-location-detail h3 i,
.project-timeline h3 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.project-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
}

.project-gallery {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    -webkit-column-gap: 20px;
    -moz-column-gap: 20px;
    column-gap: 20px;
    -webkit-row-gap: 20px;
    -moz-row-gap: 20px;
    row-gap: 20px;
}

/* Flexbox fallback for older browsers */
@supports not (display: grid) {
    .project-gallery {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: -10px;
    }
    
    .gallery-item {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 200px;
        -ms-flex: 1 1 200px;
        flex: 1 1 200px;
        margin: 10px;
        max-width: calc(50% - 20px);
    }
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    transition: var(--transition);
}

.gallery-item img:hover {
    -webkit-transform: scale(1.05);
    -moz-transform: scale(1.05);
    -ms-transform: scale(1.05);
    -o-transform: scale(1.05);
    transform: scale(1.05);
}

.project-updates {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.update-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: var(--light-bg);
    border-radius: 10px;
}

.update-date {
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    height: fit-content;
}

.update-content h4 {
    color: var(--text-color);
    margin-bottom: 10px;
}

.update-content p {
    color: var(--light-text);
    line-height: 1.6;
}

/* Sidebar Styles */
.donation-widget,
.recent-donations,
.project-info-box {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow-md);
}

.donation-widget h3,
.recent-donations h3,
.project-info-box h3 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.quick-amounts {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    -webkit-column-gap: 10px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    -webkit-row-gap: 10px;
    -moz-row-gap: 10px;
    row-gap: 10px;
    margin-bottom: 25px;
}

/* Flexbox fallback for older browsers */
@supports not (display: grid) {
    .quick-amounts {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        margin: 0 -5px 25px -5px;
    }
    
    .quick-amount {
        -webkit-box-flex: 1;
        -webkit-flex: 1 1 45%;
        -ms-flex: 1 1 45%;
        flex: 1 1 45%;
        margin: 5px;
    }
}

.quick-amount {
    padding: 15px;
    border: 2px solid var(--border-color);
    background: var(--white);
    color: var(--text-color);
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.quick-amount:hover {
    border-color: var(--secondary-color);
    background: var(--secondary-color);
    color: var(--white);
}

.btn-donate-widget {
    display: block;
    width: 100%;
    padding: 18px;
    background: var(--accent-color);
    color: var(--white);
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-donate-widget:hover {
    background: #219a52;
    -webkit-transform: translateY(-2px);
    -moz-transform: translateY(-2px);
    -ms-transform: translateY(-2px);
    -o-transform: translateY(-2px);
    transform: translateY(-2px);
}

.donations-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.donation-item {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
}

.donation-item:last-child {
    border-bottom: none;
}

.donor-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.donor-name {
    font-weight: 600;
    color: var(--text-color);
}

.donation-amount {
    color: var(--accent-color);
    font-weight: 700;
}

.donation-date {
    font-size: 0.85rem;
    color: var(--light-text);
    margin-bottom: 8px;
}

.donation-message {
    font-style: italic;
    color: var(--light-text);
    font-size: 0.9rem;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: 600;
    color: var(--text-color);
}

.info-value {
    color: var(--light-text);
}

/* Responsive Design for Project Detail */

/* Large tablets and small desktops */
@media (max-width: 992px) {
    .project-hero {
        padding: 80px 0 60px;
    }
    
    .project-header {
        gap: 40px;
    }
    
    .project-title {
        font-size: 2.2rem;
    }
    
    .project-stats {
        gap: 30px;
    }
    
    .details-grid {
        gap: 50px;
    }
    
    .donation-widget,
    .recent-donations,
    .project-info-box {
        padding: 25px;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .project-hero {
        padding: 80px 0 40px;
        margin-top: -70px;
        padding-top: 140px;
        min-height: 50vh;
    }
    
    .project-header {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .project-title {
        font-size: 2rem;
    }
    
    .project-stats {
        justify-content: center;
        gap: 20px;
        flex-wrap: wrap;
    }
    
    .project-stats .stat-item {
        text-align: center;
    }
    
    .project-cta {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .btn-donate-large,
    .btn-share {
        padding: 16px 25px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 300px;
    }
    
    .details-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .project-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .gallery-item img {
        height: 120px;
    }
    
    .update-item {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .update-date {
        align-self: flex-start;
        width: auto;
    }
    
    .quick-amounts {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .donation-widget,
    .recent-donations,
    .project-info-box {
        padding: 20px;
        margin-bottom: 25px;
    }
    
    .content-section h2 {
        font-size: 1.6rem;
    }
}

/* Small tablets and large phones */
@media (max-width: 576px) {
    .project-hero {
        padding: 90px 0 30px;
        margin-top: -70px;
        padding-top: 130px;
        min-height: 55vh;
    }
    
    .project-breadcrumb {
        font-size: 0.8rem;
        margin-bottom: 20px;
    }
    
    .project-breadcrumb span {
        margin: 0 5px;
    }
    
    .project-title {
        font-size: 1.7rem;
        line-height: 1.3;
        margin-bottom: 25px;
    }
    
    .project-category {
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .category-tag,
    .urgency-tag {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .project-stats {
        gap: 15px;
        justify-content: space-between;
    }
    
    .project-stats .stat-item h3 {
        font-size: 1.5rem;
    }
    
    .project-stats .stat-item p {
        font-size: 0.85rem;
    }
    
    .featured-image {
        height: 200px;
    }
    
    .placeholder-image {
        height: 200px;
    }
    
    .placeholder-image i {
        font-size: 2rem;
    }
    
    .project-gallery {
        grid-template-columns: 1fr;
    }
    
    .gallery-item img {
        height: 150px;
    }
    
    .quick-amounts {
        grid-template-columns: 1fr;
    }
    
    .quick-amount {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    .btn-donate-widget {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .donation-widget h3,
    .recent-donations h3,
    .project-info-box h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .project-description {
        font-size: 1rem;
        line-height: 1.7;
    }
}

/* Mobile phones */
@media (max-width: 480px) {
    .project-hero {
        padding: 100px 0 25px; /* Ensure enough top padding */
        margin-top: -60px;
        padding-top: 120px;
        min-height: 60vh;
    }
    
    .main-header {
        position: fixed;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
    }
    
    body {
        padding-top: 0; /* Remove any default body padding */
    }
    
    .project-title {
        font-size: 1.5rem;
        margin-bottom: 20px;
    }
    
    .project-stats {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    
    .project-stats .stat-item {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .project-stats .stat-item h3 {
        font-size: 1.3rem;
        margin-bottom: 0;
    }
    
    .project-stats .stat-item p {
        margin: 0;
        font-size: 0.8rem;
    }
    
    .btn-donate-large,
    .btn-share {
        padding: 14px 20px;
        font-size: 0.9rem;
        gap: 8px;
    }
    
    .featured-image,
    .placeholder-image {
        height: 180px;
    }
    
    .update-item {
        padding: 15px;
    }
    
    .donation-widget,
    .recent-donations,
    .project-info-box {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    .donation-item {
        padding: 10px 0;
    }
    
    .donor-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Small mobile devices */
@media (max-width: 320px) {
    .project-hero {
        padding: 90px 0 20px;
        margin-top: -60px;
        padding-top: 110px;
        min-height: 65vh;
    }
    
    .project-title {
        font-size: 1.3rem;
        line-height: 1.4;
    }
    
    .project-stats .stat-item h3 {
        font-size: 1.1rem;
    }
    
    .btn-donate-large,
    .btn-share {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .featured-image,
    .placeholder-image {
        height: 150px;
    }
    
    .content-section h2 {
        font-size: 1.3rem;
    }
    
    .donation-widget,
    .recent-donations,
    .project-info-box {
        padding: 12px;
    }
    
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
}

/* Viewport height fallbacks for mobile browsers */
@media (max-width: 768px) {
    .project-hero {
        min-height: 50vh;
        min-height: calc(var(--vh, 1vh) * 50);
    }
}

@media (max-width: 480px) {
    .project-hero {
        min-height: 60vh;
        min-height: calc(var(--vh, 1vh) * 60);
    }
}

/* Enhanced touch interactions for mobile devices */
@media (max-width: 768px) {
    /* Improve touch targets */
    .btn-donate-large,
    .btn-share,
    .btn-donate-widget,
    .quick-amount {
        min-height: 44px; /* Apple's recommended minimum touch target */
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0.1);
        -webkit-touch-callout: none;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Prevent zoom on form inputs */
    input, select, textarea {
        font-size: 16px !important;
    }
    
    /* Better scrolling performance */
    .project-gallery,
    .donations-list {
        -webkit-overflow-scrolling: touch;
        overflow-scrolling: touch;
    }
    
    /* Prevent text selection on UI elements */
    .project-stats,
    .project-cta,
    .donation-widget,
    .category-tag,
    .urgency-tag {
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        user-select: none;
    }
    
    /* Improve button hover states for touch devices */
    .btn-donate-large:active,
    .btn-share:active {
        -webkit-transform: translateY(0);
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -o-transform: translateY(0);
        transform: translateY(0);
        opacity: 0.8;
    }
    
    .quick-amount:active {
        -webkit-transform: scale(0.95);
        -moz-transform: scale(0.95);
        -ms-transform: scale(0.95);
        -o-transform: scale(0.95);
        transform: scale(0.95);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi),
       (min-resolution: 2dppx) {
    .featured-image,
    .gallery-item img {
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
        -webkit-perspective: 1000;
        perspective: 1000;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .donation-widget,
    .recent-donations,
    .project-info-box {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .content-section {
        background: rgba(0, 0, 0, 0.02);
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .btn-donate-large:hover,
    .btn-donate-widget:hover,
    .gallery-item img:hover {
        -webkit-transform: none;
        -moz-transform: none;
        -ms-transform: none;
        -o-transform: none;
        transform: none;
    }
    
    .progress-fill-large {
        -webkit-transition: none;
        -moz-transition: none;
        -o-transition: none;
        transition: none;
    }
}

/* Additional mobile fixes to ensure content visibility */
@media (max-width: 768px) {
    main {
        position: relative;
        z-index: 1;
    }
    
    .container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Ensure project content is not hidden behind header */
    .project-hero .container {
        padding-top: 20px;
    }
    
    /* Fix any overflow issues */
    body, html {
        overflow-x: hidden;
        width: 100%;
    }
}

/* Critical fix for mobile header overlap - simplified */
@media (max-width: 768px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 1001;
        width: 100%;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }
    
    .project-hero {
        margin-top: 0;
        padding-top: 80px;
    }
    
    .project-details {
        padding: 40px 0;
    }
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-page {
    padding: 4rem 0;
    background-color: var(--dark-bg);
    color: var(--white);
    min-height: 100vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h1 {
    color: var(--white);
    margin-bottom: 1rem;
}

.page-header p {
    color: rgba(255, 255, 255, 0.8);
}

.contact-page .row {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-page .col-md-6 {
    flex: 1;
    min-width: 300px;
}

.contact-info {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    gap: 1rem;
}

.contact-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 0.5rem 0;
    color: var(--secondary-color);
}

.contact-details p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
}

.contact-page .contact-details a {
    color: var(--secondary-color);
    text-decoration: none;
}

.contact-page .contact-details a:hover {
    color: var(--white);
    text-decoration: underline;
}

.contact-form-wrapper {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
}

.contact-page .form-group {
    margin-bottom: 1.5rem;
}

.contact-page .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--white);
    font-weight: 600;
}

.contact-page .form-group input,
.contact-page .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.9);
    color: var(--text-color);
}

.contact-page .form-group input:focus,
.contact-page .form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--white);
}

.contact-page .alert {
    padding: 1rem;
    border-radius: 5px;
    margin-bottom: 1.5rem;
}

.contact-page .alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-page .alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Contact page mobile styles */
@media (max-width: 768px) {
    .contact-page .row {
        flex-direction: column;
    }
    
    .contact-page {
        padding: 2rem 0;
    }
    
    .contact-info,
    .contact-form-wrapper {
        padding: 1.5rem;
    }
}

