/* CSS Custom Properties for Award-Winning Design */
:root {
    --primary-blue: #0f3460;
    --secondary-blue: #16537e;
    --crisis-red: #b71c1c;
    --crisis-orange: #ff5722;
    --hope-green: #2e7d32;
    --future-yellow: #ffeb3b;
    --future-gold: #ffc107;
    
    --text-glow: 0 0 20px rgba(255,255,255,0.5);
    --box-shadow-soft: 0 10px 30px rgba(0,0,0,0.2);
    --box-shadow-strong: 0 15px 40px rgba(0,0,0,0.3);
    
    --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

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

*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Navigation with Morphing Background */
.nav {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 25px;
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: var(--transition-smooth);
    animation: navFloat 6s ease-in-out infinite;
}

.nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 25px;
    background: linear-gradient(45deg, 
        rgba(79, 195, 247, 0.1), 
        rgba(129, 199, 132, 0.1), 
        rgba(255, 235, 59, 0.1));
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.nav:hover::before {
    opacity: 1;
}

.nav:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

@keyframes navFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

.nav ul {
    display: flex;
    list-style: none;
    padding: 12px 24px;
    margin: 0;
}

.nav li {
    margin: 0 15px;
    position: relative;
}

.nav li::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #4fc3f7, #81c784);
    transition: var(--transition-smooth);
    transform: translateX(-50%);
}

.nav li:hover::after {
    width: 100%;
}

.nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav a:hover {
    color: #4fc3f7;
    transform: translateY(-1px);
}

/* Enhanced Hero Section with Particle System */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top, rgba(15, 52, 96, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse at bottom, rgba(22, 83, 126, 0.6) 0%, transparent 70%),
        linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-60px) translateY(-60px); }
}

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

/* Enhanced Animated Clouds with Multiple Layers */
.clouds {
    position: absolute;
    width: 300%;
    height: 100%;
    background: 
        radial-gradient(ellipse 200px 60px at 15% 25%, rgba(255,255,255,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 150px 45px at 65% 15%, rgba(255,255,255,0.08) 0%, transparent 50%),
        radial-gradient(ellipse 180px 50px at 35% 65%, rgba(255,255,255,0.1) 0%, transparent 55%),
        radial-gradient(ellipse 220px 70px at 80% 80%, rgba(255,255,255,0.06) 0%, transparent 50%),
        radial-gradient(ellipse 160px 40px at 10% 70%, rgba(255,255,255,0.09) 0%, transparent 45%);
    animation: cloudMove 25s infinite linear;
}

.clouds::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse 120px 35px at 25% 40%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(ellipse 140px 40px at 75% 30%, rgba(255,255,255,0.04) 0%, transparent 50%);
    animation: cloudMove 30s infinite linear reverse;
}

@keyframes cloudMove {
    0% { transform: translateX(-33.33%); }
    100% { transform: translateX(0%); }
}

/* Enhanced Star Field with Multiple Layers and Particle Effects */
.stars {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 2px at 20% 20%, rgba(255,255,255,0.9) 0%, transparent 50%),
        radial-gradient(circle 1px at 80% 30%, rgba(255,255,255,0.7) 0%, transparent 50%),
        radial-gradient(circle 1.5px at 60% 70%, rgba(255,255,255,0.8) 0%, transparent 50%),
        radial-gradient(circle 2px at 10% 80%, rgba(255,255,255,0.6) 0%, transparent 50%),
        radial-gradient(circle 1px at 90% 10%, rgba(255,255,255,0.9) 0%, transparent 50%),
        radial-gradient(circle 1px at 45% 15%, rgba(255,255,255,0.5) 0%, transparent 50%),
        radial-gradient(circle 1.5px at 75% 85%, rgba(255,255,255,0.7) 0%, transparent 50%),
        radial-gradient(circle 1px at 25% 60%, rgba(255,255,255,0.6) 0%, transparent 50%);
    animation: twinkle 4s infinite alternate;
}

.stars::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 1px at 35% 25%, rgba(79,195,247,0.8) 0%, transparent 50%),
        radial-gradient(circle 1px at 85% 65%, rgba(129,199,132,0.6) 0%, transparent 50%),
        radial-gradient(circle 1px at 15% 45%, rgba(255,235,59,0.7) 0%, transparent 50%);
    animation: colorTwinkle 6s infinite alternate;
}

.stars::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle 0.5px at 55% 35%, white 0%, transparent 30%),
        radial-gradient(circle 0.5px at 65% 75%, white 0%, transparent 30%),
        radial-gradient(circle 0.5px at 30% 85%, white 0%, transparent 30%),
        radial-gradient(circle 0.5px at 70% 15%, white 0%, transparent 30%);
    animation: fastTwinkle 2s infinite alternate;
}

@keyframes twinkle {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

@keyframes colorTwinkle {
    0% { opacity: 0.3; }
    50% { opacity: 0.8; }
    100% { opacity: 0.5; }
}

@keyframes fastTwinkle {
    0% { opacity: 0.2; }
    100% { opacity: 0.9; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    text-align: center;
    z-index: 10;
    color: white;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 50%, #81c784 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: var(--text-glow);
    animation: heroTitleAnimation 3s ease-out, textGlow 4s ease-in-out infinite alternate;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
    color: rgba(255, 255, 255, 0.9);
    animation: heroSubtitleAnimation 3s ease-out 0.5s both;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

@keyframes heroTitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    50% {
        transform: translateY(10px) scale(1.02);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}

@keyframes heroSubtitleAnimation {
    0% {
        opacity: 0;
        transform: translateY(30px) translateX(-20px);
    }
    100% {
        opacity: 0.95;
        transform: translateY(0) translateX(0);
    }
}

@keyframes textGlow {
    0% {
        text-shadow: 0 0 20px rgba(255,255,255,0.5), 0 0 40px rgba(79,195,247,0.3);
    }
    100% {
        text-shadow: 0 0 30px rgba(255,255,255,0.8), 0 0 60px rgba(129,199,132,0.5);
    }
}

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

/* Enhanced Crisis Section with Heat Wave Effects */
.crisis {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: 
        radial-gradient(ellipse at top left, rgba(183, 28, 28, 0.8) 0%, transparent 70%),
        radial-gradient(ellipse at bottom right, rgba(255, 87, 34, 0.6) 0%, transparent 70%),
        linear-gradient(45deg, var(--crisis-red) 0%, var(--crisis-orange) 100%);
    overflow: hidden;
}

.crisis::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 193, 7, 0.1) 35%,
        transparent 40%,
        rgba(255, 87, 34, 0.1) 60%,
        transparent 65%
    );
    animation: heatWave 3s ease-in-out infinite;
}

.crisis-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 120%;
    height: 120%;
    background: 
        radial-gradient(circle at 15% 25%, rgba(255,87,34,0.4) 0%, transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(183,28,28,0.5) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, rgba(255,193,7,0.2) 0%, transparent 35%),
        radial-gradient(circle at 20% 80%, rgba(244,67,54,0.3) 0%, transparent 40%);
    animation: backgroundShift 12s infinite ease-in-out, crisisIntensify 8s infinite alternate;
}

.crisis-background::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ff5722' fill-opacity='0.03'%3E%3Cpath d='M20 20c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10zm10 0c0-5.5-4.5-10-10-10s-10 4.5-10 10 4.5 10 10 10 10-4.5 10-10z'/%3E%3C/g%3E%3C/svg%3E");
    animation: patternDrift 15s linear infinite;
}

@keyframes backgroundShift {
    0% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.05) rotate(1deg); }
    66% { transform: scale(1.02) rotate(-0.5deg); }
    100% { transform: scale(1.08) rotate(2deg); }
}

@keyframes crisisIntensify {
    0% { opacity: 0.8; filter: brightness(1) contrast(1); }
    100% { opacity: 1; filter: brightness(1.1) contrast(1.2); }
}

@keyframes heatWave {
    0%, 100% { transform: translateX(-5px) skewX(0deg); opacity: 0.3; }
    50% { transform: translateX(5px) skewX(1deg); opacity: 0.7; }
}

@keyframes patternDrift {
    0% { transform: translateX(0) translateY(0); }
    100% { transform: translateX(-40px) translateY(-40px); }
}

.crisis-content {
    text-align: center;
    z-index: 10;
    color: white;
    position: relative;
}

.crisis-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 2rem;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8);
    animation: slideInLeft 1.5s ease-out;
}

.crisis-text {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 3rem;
    animation: slideInRight 1.5s ease-out 0.5s both;
}

@keyframes slideInLeft {
    0% {
        opacity: 0;
        transform: translateX(-100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    0% {
        opacity: 0;
        transform: translateX(100px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Floating Icons with Particle Trails */
.floating-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.icon {
    position: absolute;
    font-size: 3.5rem;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    filter: drop-shadow(0 0 10px rgba(255, 87, 34, 0.6));
    transition: var(--transition-smooth);
}

.icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 87, 34, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: iconGlow 3s infinite alternate;
}

.melting-ice {
    top: 20%;
    left: 10%;
    animation-name: float1, meltingEffect;
    animation-duration: 6s, 4s;
    animation-delay: 0s, 0s;
    filter: drop-shadow(0 0 15px rgba(79, 195, 247, 0.8));
}

.melting-ice::before {
    background: radial-gradient(circle, rgba(79, 195, 247, 0.3) 0%, transparent 70%);
}

.fire {
    top: 60%;
    right: 15%;
    animation-name: float2, fireFlicker;
    animation-duration: 5s, 0.3s;
    animation-delay: 1s, 0s;
    filter: drop-shadow(0 0 20px rgba(255, 87, 34, 0.9));
}

.fire::before {
    background: radial-gradient(circle, rgba(255, 87, 34, 0.4) 0%, transparent 60%);
}

.storm {
    top: 30%;
    right: 30%;
    animation-name: float3, stormPulse;
    animation-duration: 7s, 2s;
    animation-delay: 2s, 0s;
    filter: drop-shadow(0 0 12px rgba(158, 158, 158, 0.7));
}

.storm::before {
    background: radial-gradient(circle, rgba(158, 158, 158, 0.3) 0%, transparent 70%);
}

.drought {
    bottom: 20%;
    left: 20%;
    animation-name: float4, heatShimmer;
    animation-duration: 6s, 3s;
    animation-delay: 3s, 0s;
    filter: drop-shadow(0 0 18px rgba(255, 193, 7, 0.8));
}

.drought::before {
    background: radial-gradient(circle, rgba(255, 193, 7, 0.3) 0%, transparent 70%);
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    25% { transform: translateY(-15px) rotate(5deg) scale(1.1); }
    50% { transform: translateY(-25px) rotate(10deg) scale(0.9); }
    75% { transform: translateY(-10px) rotate(5deg) scale(1.05); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    33% { transform: translateY(-20px) rotate(-8deg) scale(1.15); }
    66% { transform: translateY(-35px) rotate(-15deg) scale(0.85); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    20% { transform: translateY(-10px) rotate(8deg) scale(1.2); }
    50% { transform: translateY(-30px) rotate(18deg) scale(0.8); }
    80% { transform: translateY(-15px) rotate(10deg) scale(1.1); }
}

@keyframes float4 {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); }
    40% { transform: translateY(-12px) rotate(-3deg) scale(1.05); }
    70% { transform: translateY(-18px) rotate(-8deg) scale(0.95); }
}

@keyframes meltingEffect {
    0%, 100% { filter: blur(0px) brightness(1); }
    50% { filter: blur(1px) brightness(1.2); }
}

@keyframes fireFlicker {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes stormPulse {
    0%, 100% { filter: brightness(1) contrast(1); }
    50% { filter: brightness(1.3) contrast(1.5); }
}

@keyframes heatShimmer {
    0%, 100% { filter: hue-rotate(0deg) saturate(1); }
    50% { filter: hue-rotate(10deg) saturate(1.2); }
}

@keyframes iconGlow {
    0% { opacity: 0.3; transform: translate(-50%, -50%) scale(0.8); }
    100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1.2); }
}

/* Hope Section */
.hope {
    min-height: 100vh;
    background: linear-gradient(135deg, #2e7d32 0%, #388e3c 50%, #4caf50 100%);
    padding: 5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hope-content {
    max-width: 1200px;
    width: 100%;
    text-align: center;
}

.hope-title {
    font-size: 3.5rem;
    font-weight: 300;
    color: white;
    margin-bottom: 4rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1.5s ease-out;
}

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

/* Enhanced Hope Cards with Advanced 3D Effects */
.hope-card {
    height: 320px;
    perspective: 1200px;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.hope-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(76, 175, 80, 0.3), 
        rgba(129, 199, 132, 0.3), 
        rgba(165, 214, 167, 0.3));
    border-radius: 17px;
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: -1;
}

.hope-card:hover::before {
    opacity: 1;
    animation: borderGlow 2s infinite alternate;
}

.hope-card:hover {
    transform: translateY(-10px) scale(1.02);
}

.hope-card:hover .card-front {
    transform: rotateY(-180deg) scale(0.95);
}

.hope-card:hover .card-back {
    transform: rotateY(0deg) scale(1.05);
}

.card-front, .card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    box-shadow: var(--box-shadow-soft);
    overflow: hidden;
}

.card-front::before, .card-back::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: var(--transition-smooth);
}

.hope-card:hover .card-front::before,
.hope-card:hover .card-back::before {
    transform: translateX(100%);
}

@keyframes borderGlow {
    0% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.5); }
    100% { box-shadow: 0 0 40px rgba(129, 199, 132, 0.8); }
}

.card-front {
    background: linear-gradient(135deg, #66bb6a 0%, #81c784 100%);
    color: white;
}

.card-back {
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 100%);
    color: white;
    transform: rotateY(180deg);
    padding: 2rem;
}

.card-front h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.card-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.card-back p {
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: center;
}

/* Enhanced Future Section with Aurora Effects */
.future {
    height: 100vh;
    background: 
        radial-gradient(ellipse at top, rgba(255, 235, 59, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at bottom left, rgba(129, 199, 132, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(255, 193, 7, 0.2) 0%, transparent 40%),
        linear-gradient(135deg, var(--future-yellow) 0%, var(--future-gold) 50%, #81c784 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.future::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255,255,255,0.3) 0%, transparent 45%),
        radial-gradient(circle at 75% 75%, rgba(255,255,255,0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(129,199,132,0.2) 0%, transparent 40%);
    animation: shimmer 6s infinite ease-in-out alternate;
}

.future::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 25%, 
        rgba(129, 199, 132, 0.15) 50%, 
        rgba(255, 235, 59, 0.1) 75%, 
        transparent 100%);
    animation: auroraMove 8s infinite linear;
    pointer-events: none;
}

@keyframes shimmer {
    0% { 
        opacity: 0.6; 
        transform: scale(1) rotate(0deg); 
    }
    50% { 
        opacity: 0.9; 
        transform: scale(1.02) rotate(0.5deg); 
    }
    100% { 
        opacity: 1; 
        transform: scale(1.05) rotate(-0.5deg); 
    }
}

@keyframes auroraMove {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(0%); }
}

.future-content {
    text-align: center;
    z-index: 10;
    color: #2e7d32;
}

.future-title {
    font-size: 4rem;
    font-weight: 300;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.5);
    animation: fadeInUp 1.5s ease-out;
}

.future-text {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 3rem;
    opacity: 0.8;
    animation: fadeInUp 1.5s ease-out 0.5s both;
}

/* Enhanced CTA Button with Morphing Effects */
.cta-button {
    position: relative;
    display: inline-block;
    padding: 22px 50px;
    background: linear-gradient(135deg, #4caf50 0%, #66bb6a 50%, #81c784 100%);
    color: white !important;
    border-radius: 60px;
    font-size: 1.6rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 
        0 12px 35px rgba(76,175,80,0.4),
        inset 0 2px 0 rgba(255,255,255,0.2);
    animation: 
        ctaGlow 3s infinite ease-in-out alternate,
        fadeInUp 2s ease-out 1s both,
        ctaFloat 4s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    letter-spacing: 0.5px;
    overflow: hidden;
    text-decoration: none !important;
}

/* Ensure anchor tag maintains button styling in all states */
a.cta-button,
a.cta-button:link,
a.cta-button:visited,
a.cta-button:hover,
a.cta-button:active {
    color: white !important;
    text-decoration: none !important;
}

a.cta-button:focus {
    outline: 3px solid rgba(76,175,80,0.5);
    outline-offset: 3px;
    color: white !important;
    text-decoration: none !important;
}

/* Ensure the span inside maintains styling */
.cta-button span {
    color: inherit;
    text-decoration: none;
}

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

.cta-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    border-radius: 50%;
    transition: var(--transition-smooth);
    transform: translate(-50%, -50%);
}

.cta-button:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 
        0 20px 50px rgba(76,175,80,0.6),
        inset 0 2px 0 rgba(255,255,255,0.3);
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover::after {
    width: 200px;
    height: 200px;
}

.cta-button:active {
    transform: translateY(-4px) scale(1.02);
}

@keyframes ctaGlow {
    0% {
        box-shadow: 
            0 12px 35px rgba(76,175,80,0.4),
            0 0 20px rgba(76,175,80,0.2),
            inset 0 2px 0 rgba(255,255,255,0.2);
    }
    100% {
        box-shadow: 
            0 18px 45px rgba(76,175,80,0.8),
            0 0 40px rgba(129,199,132,0.6),
            inset 0 2px 0 rgba(255,255,255,0.3);
    }
}

@keyframes ctaFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-3px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .crisis-title {
        font-size: 3rem;
    }
    
    .crisis-text {
        font-size: 1.5rem;
    }
    
    .hope-title {
        font-size: 2.5rem;
    }
    
    .future-title {
        font-size: 2.5rem;
    }
    
    .future-text {
        font-size: 1.3rem;
    }
    
    .hope-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .floating-icons .icon {
        font-size: 2rem;
    }
    
    .nav {
        top: 10px;
        right: 10px;
    }
    
    .nav ul {
        padding: 8px 15px;
    }
    
    .nav li {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .crisis-title {
        font-size: 2.5rem;
    }
    
    .hope-title {
        font-size: 2rem;
    }
    
    .future-title {
        font-size: 2rem;
    }
    
    .cta-button {
        padding: 15px 30px;
        font-size: 1.2rem;
    }
    
    .hope {
        padding: 3rem 1rem;
    }
    
    .card-back {
        padding: 1.5rem;
    }
}