/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

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

:root {
    --primary-white: #FFFFFF;
    --primary-navy: #0f172a;
    --primary-green: #10b981;
    --secondary-navy: #1e293b;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --background-light: #f8fafc;
    --background-white: #ffffff;
    --border-light: #e2e8f0;
    --gradient-primary: linear-gradient(135deg, #10b981 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-secondary: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    --gradient-funky: linear-gradient(45deg, #10b981, #06b6d4, #3b82f6, #8b5cf6, #ec4899);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    --shadow-primary: 0 20px 60px rgba(16, 185, 129, 0.15);
    --shadow-secondary: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-light);
    overflow-x: hidden;
    position: relative;
}

/* Animated Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(139, 92, 246, 0.05) 0%, transparent 50%);
    z-index: -1;
    animation: bgShift 20s ease infinite;
}

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

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.1s ease;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.5);
}

/* Typography - Reduced Scaling */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 0.8rem;
}

h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

/* Utility Classes - Reduced Scaling */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 4rem 0;
    position: relative;
}

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

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    background-size: 200% 200%;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Buttons - Reduced Scaling */
.btn {
    display: inline-block;
    padding: 0.9rem 2rem;
    background: var(--gradient-primary);
    color: var(--primary-white);
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-primary);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 400px;
    height: 400px;
}

.btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary-green);
    color: var(--primary-white);
    border-color: var(--primary-green);
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
    box-shadow: none;
}

.btn-outline:hover {
    background: var(--primary-green);
    color: var(--primary-white);
    border-color: var(--primary-green);
}

/* Enhanced Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 40px rgba(16, 185, 129, 0.1);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    position: relative;
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-img {
    height: 52px;
    width: auto;
    margin-right: 1rem;
    transition: var(--transition);
}

/*.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
}*/

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

/* Enhanced Navigation Menu - Reduced Scaling */
.nav-menu,
.menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    align-items: center;
}

.nav-link,
.link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 6px;
    font-size: 0.9rem;
}

.nav-link:hover,
.link:hover {
    color: var(--primary-green);
    background: rgba(16, 185, 129, 0.05);
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: var(--transition);
    margin-left: 0.3rem;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(226, 232, 240, 0.3);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1001;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}

.nav-dropdown:hover .dropdown-menu:not([style*="display: none"]) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Prevent hover when dropdown is controlled by JavaScript */
.nav-dropdown.dropdown-open .dropdown-menu {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
}

.dropdown-link {
    display: block;
    padding: 0.8rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border-radius: 0;
}

.dropdown-link:hover {
    color: var(--primary-green);
    background: rgba(16, 185, 129, 0.05);
}

/* CTA Button in Navbar */
.nav-cta {
    margin-left: 1rem;
}

.btn-donate {
    background: var(--gradient-primary);
    color: var(--primary-white);
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-donate::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-donate:hover::before {
    width: 300px;
    height: 300px;
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.link-icon {
    display: none;
}

.link-title {
    display: inline;
}

.nav-link::before,
.link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
    border-radius: 10px;
}

.nav-link:hover,
.link:hover {
    color: var(--primary-green);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0.5rem;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--primary-green);
    margin: 4px 0;
    transition: var(--transition);
    border-radius: 10px;
}

/* Hero Section - Reduced Scaling */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: var(--gradient-secondary);
    position: relative;
    overflow: hidden;
    padding-top: 70px;
}

/* Dot pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(16, 185, 129, 0.15) 2px, transparent 2px),
        radial-gradient(circle, rgba(59, 130, 246, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px;
    background-position: 0 0, 25px 25px;
    animation: patternMove 30s linear infinite;
    opacity: 0.6;
}

/* Floating gradient orbs */
.hero::after {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(59, 130, 246, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

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

@keyframes patternMove {
    0% { background-position: 0 0, 25px 25px; }
    100% { background-position: 50px 50px, 75px 75px; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    margin-bottom: 1.2rem;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    line-height: 1.7;
}

/* Hero Badge - Reduced Scaling */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.2rem;
    border-radius: 40px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.1s both;
    box-shadow: var(--shadow-secondary);
}

.badge-icon {
    font-size: 1rem;
}

.hero-subtitle {
    font-size: 1rem;
    margin-bottom: 2.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Stats - Reduced Scaling */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2.5rem 0;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.stat-item {
    text-align: center;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    border: 1px solid rgba(226, 232, 240, 0.5);
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-secondary);
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-number {
    font-size: 2rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.4rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Gallery Section */
.gallery-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    position: relative;
    overflow: hidden;
}

.gallery-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="gallery-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="2" fill="rgba(16,185,129,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
    animation: float 15s ease-in-out infinite;
    z-index: 1;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

.gallery-header {
    text-align: center;
    margin-bottom: 3rem;
}

.gallery-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.gallery-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.gallery-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--text-primary);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.gallery-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    transition: var(--transition);
}

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

.gallery-btn:hover,
.gallery-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Main Slideshow */
.gallery-slideshow {
    margin: 4rem 0;
    position: relative;
}

.slideshow-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.slide {
    display: none;
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
}

.slide.active {
    display: block;
    animation: slideIn 0.8s ease-in-out;
}

.slide-content {
    position: relative;
    height: 500px;
}

.slide-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 3rem 2rem 2rem;
    transform: translateY(0);
    transition: var(--transition);
}

.slide-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-info p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.slide-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.category-tag,
.date-tag {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.category-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

/* Navigation Controls */
.slideshow-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: auto;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.nav-btn:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Slide Indicators */
.slide-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 2rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.3);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid transparent;
    transition: var(--transition);
}

.indicator:hover::before {
    border-color: rgba(16, 185, 129, 0.5);
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    transform: scale(1.2);
}

.indicator.active::before {
    border-color: var(--primary-color);
}

/* Scroll Gallery */
.scroll-gallery {
    margin-top: 4rem;
}

.scroll-gallery-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.scroll-container {
    overflow: hidden;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.scroll-track {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    animation: scroll 30s linear infinite;
    width: max-content;
}

.scroll-item {
    position: relative;
    flex-shrink: 0;
    width: 200px;
    height: 150px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.15);
}

.scroll-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.25);
}

.scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.scroll-item:hover img {
    transform: scale(1.1);
}

.scroll-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: white;
    padding: 1rem 0.8rem 0.8rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.scroll-item:hover .scroll-overlay {
    transform: translateY(0);
}

.scroll-category {
    font-size: 0.8rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    display: inline-block;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 15%;
    animation-delay: 2s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.floating-icon:nth-child(4) {
    top: 60%;
    right: 25%;
    animation-delay: 6s;
}

.floating-icon:nth-child(5) {
    bottom: 15%;
    right: 10%;
    animation-delay: 8s;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Contact Page Styles */
.contact-hero {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-pattern)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.contact-hero .hero-content {
    position: relative;
    z-index: 2;
}

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

.floating-contact-icon {
    position: absolute;
    font-size: 2.5rem;
    opacity: 0.15;
    animation: floatContact 20s ease-in-out infinite;
}

.floating-contact-icon:nth-child(1) {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.floating-contact-icon:nth-child(2) {
    top: 25%;
    right: 15%;
    animation-delay: 2s;
}

.floating-contact-icon:nth-child(3) {
    bottom: 35%;
    left: 20%;
    animation-delay: 4s;
}

.floating-contact-icon:nth-child(4) {
    top: 60%;
    right: 25%;
    animation-delay: 6s;
}

.floating-contact-icon:nth-child(5) {
    bottom: 20%;
    right: 10%;
    animation-delay: 8s;
}

@keyframes floatContact {
    0%, 100% {
        transform: translateY(0) rotate(0deg) scale(1);
        opacity: 0.15;
    }
    25% {
        transform: translateY(-15px) rotate(45deg) scale(1.05);
        opacity: 0.2;
    }
    50% {
        transform: translateY(-25px) rotate(90deg) scale(0.95);
        opacity: 0.18;
    }
    75% {
        transform: translateY(-15px) rotate(135deg) scale(1.02);
        opacity: 0.2;
    }
}

/* Contact Information Section */
.contact-info-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(59, 130, 246, 0.02));
    position: relative;
}

.contact-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contact-info-pattern" x="0" y="0" width="40" height="40" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="2" fill="rgba(16,185,129,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23contact-info-pattern)"/></svg>');
    animation: float 25s ease-in-out infinite;
}

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

.contact-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 50px rgba(16, 185, 129, 0.1);
    transition: all 0.6s ease;
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.8s ease;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(16, 185, 129, 0.2);
}

.contact-icon {
    margin-bottom: 1.5rem;
}

.icon-bg {
    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;
    font-size: 2rem;
    color: white;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: all 0.7s ease;
}

.contact-card:hover .icon-bg {
    transform: scale(1.1) rotate(5deg);
}

.contact-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-label {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

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

.email-item, .phone-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.email-item:last-child, .phone-item:last-child {
    border-bottom: none;
}

.email-type, .phone-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.email-link, .phone-number {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.5s ease;
}

.email-link:hover, .phone-number:hover {
    color: var(--primary-color);
}

.hours-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.hours-label {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
}

.hours-details {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.hours-details span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.contact-action-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.6s ease;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.contact-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.4);
}

.contact-action-btn svg {
    transition: transform 0.5s ease;
}

.contact-action-btn:hover svg {
    transform: translateX(3px);
}

/* Contact Form Section */
.contact-form-section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.02), rgba(16, 185, 129, 0.02));
    position: relative;
}

.contact-form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="form-pattern" x="0" y="0" width="30" height="30" patternUnits="userSpaceOnUse"><circle cx="15" cy="15" r="1" fill="rgba(59,130,246,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23form-pattern)"/></svg>');
    animation: float 30s ease-in-out infinite;
}

.form-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.form-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.form-progress {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    width: 33.33%;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-step {
    display: none;
}

.form-step.active {
    display: block;
    animation: slideIn 0.5s ease-in-out;
}

.step-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

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

.input-container {
    position: relative;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: var(--text-secondary);
    pointer-events: none;
}

.form-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.select-container {
    position: relative;
}

.form-select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.select-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    pointer-events: none;
    transition: color 0.4s ease;
}

.select-container:hover .select-icon {
    color: var(--primary-color);
}

.textarea-container {
    position: relative;
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.char-counter {
    position: absolute;
    bottom: 0.5rem;
    right: 1rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.form-checkbox {
    display: none;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.checkbox-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    line-height: 1.5;
}

.form-checkbox:checked + .checkbox-label .checkbox-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
}

.form-checkbox:checked + .checkbox-label .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.privacy-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.privacy-link:hover {
    text-decoration: underline;
}

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.btn-submit {
    position: relative;
    overflow: hidden;
    min-width: 200px;
}

.btn-submit .btn-text,
.btn-submit .btn-loading,
.btn-submit .btn-success {
    transition: opacity 0.6s ease;
}

.btn-submit.loading .btn-text,
.btn-submit.success .btn-text {
    opacity: 0;
}

.btn-submit.loading .btn-loading {
    opacity: 1;
}

.btn-submit.success .btn-success {
    opacity: 1;
}

.btn-loading,
.btn-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
}

.btn-prev,
.btn-next {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
}

.btn-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Form Sidebar */
.form-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.sidebar-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.sidebar-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.contact-reasons {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-reasons li {
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.contact-reasons li:last-child {
    border-bottom: none;
}

.response-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.response-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

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

.response-type {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.response-time {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Contact Page Mobile Responsive */
@media (max-width: 768px) {
    .contact-hero {
        min-height: 60vh;
        padding: 2rem 0;
    }
    
    .contact-hero .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .contact-hero .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .floating-contact-icon {
        font-size: 2rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }
    
    .contact-card {
        padding: 2rem;
    }
    
    .icon-bg {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-content h3 {
        font-size: 1.3rem;
    }
    
    .email-item, .phone-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .form-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-card {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-prev,
    .btn-next {
        width: 100%;
        justify-content: center;
    }
    
    .sidebar-card {
        padding: 1.5rem;
    }
    
    .contact-action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .contact-hero {
        min-height: 50vh;
        padding: 1.5rem 0;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-hero .hero-subtitle {
        font-size: 1rem;
    }
    
    .floating-contact-icon {
        font-size: 1.5rem;
    }
    
    .contact-grid {
        gap: 1rem;
        margin-top: 1.5rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .icon-bg {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .contact-content h3 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-details {
        margin-bottom: 1.5rem;
    }
    
    .form-card {
        padding: 1.5rem;
    }
    
    .step-title {
        font-size: 1.2rem;
        margin-bottom: 1.5rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .input-icon {
        right: 0.8rem;
        font-size: 1rem;
    }
    
    .select-icon {
        right: 0.8rem;
    }
    
    .char-counter {
        right: 0.8rem;
        bottom: 0.3rem;
    }
    
    .checkbox-label {
        font-size: 0.9rem;
    }
    
    .sidebar-card {
        padding: 1rem;
    }
    
    .sidebar-card h4 {
        font-size: 1.1rem;
        margin-bottom: 1rem;
    }
    
    .contact-reasons li {
        padding: 0.6rem 0;
        font-size: 0.9rem;
    }
    
    .response-item {
        padding: 0.6rem 0;
    }
    
    .response-type,
    .response-time {
        font-size: 0.8rem;
    }
    
    .form-progress {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .progress-text {
        font-size: 0.8rem;
    }
    
    .btn-submit {
        min-width: 150px;
        padding: 0.8rem 1.5rem;
    }
    
    .contact-action-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .hours-details span {
        font-size: 0.8rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .contact-card {
        padding: 1rem;
    }
    
    .form-card {
        padding: 1rem;
    }
    
    .sidebar-card {
        padding: 0.8rem;
    }
    
    .icon-bg {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .contact-content h3 {
        font-size: 1.1rem;
    }
    
    .step-title {
        font-size: 1.1rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 0.7rem;
        font-size: 0.85rem;
    }
    
    .input-icon {
        right: 0.7rem;
        font-size: 0.9rem;
    }
    
    .select-icon {
        right: 0.7rem;
    }
    
    .char-counter {
        right: 0.7rem;
        font-size: 0.7rem;
    }
    
    .checkbox-label {
        font-size: 0.85rem;
    }
    
    .contact-reasons li {
        font-size: 0.85rem;
    }
    
    .response-type,
    .response-time {
        font-size: 0.75rem;
    }
    
    .btn-submit {
        min-width: 120px;
        padding: 0.7rem 1.2rem;
    }
    
    .contact-action-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: backdropFadeIn 0.6s ease;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
        -webkit-backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
    }
}

.modal-container {
    position: relative;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.2);
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8) translateY(50px);
    transition: all 0.6s ease;
    animation: modalSlideIn 0.6s ease forwards;
}

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

.modal-header {
    position: relative;
    padding: 2rem 2.5rem 1rem;
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.modal-icon {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
    }
}

.modal-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    flex: 1;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s ease;
    color: var(--text-secondary);
}

.modal-close:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.modal-content {
    padding: 0 2.5rem 2.5rem;
}

.modal-intro {
    margin: 1.5rem 0 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.modal-intro p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-section {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.1);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.05);
}

.form-section h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid rgba(16, 185, 129, 0.1);
}

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

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    border: 2px solid rgba(16, 185, 129, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.4s ease;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Checkbox Grid */
.checkbox-grid,
.radio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(16, 185, 129, 0.1);
    cursor: pointer;
    transition: all 0.4s ease;
}

.checkbox-item:hover,
.radio-item:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.2);
    transform: translateY(-2px);
}

.checkbox-item input,
.radio-item input {
    display: none;
}

.checkbox-custom,
.radio-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    flex-shrink: 0;
}

.radio-custom {
    border-radius: 50%;
}

.checkbox-item input:checked + .checkbox-custom,
.radio-item input:checked + .radio-custom {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-color: var(--primary-color);
}

.checkbox-item input:checked + .checkbox-custom::after {
    content: '✓';
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

.radio-item input:checked + .radio-custom::after {
    content: '';
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.checkbox-item input:checked ~ span,
.radio-item input:checked ~ span {
    color: var(--primary-color);
    font-weight: 600;
}

/* Donation Amount Grid */
.donation-options {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(59, 130, 246, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.donation-options h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    text-align: center;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.amount-btn {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.4s ease;
    font-size: 1rem;
}

.amount-btn:hover,
.amount-btn.selected {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.amount-btn.custom-amount {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), rgba(255, 152, 0, 0.1));
    border-color: rgba(255, 193, 7, 0.3);
    color: var(--text-primary);
}

.amount-btn.custom-amount:hover,
.amount-btn.custom-amount.selected {
    background: linear-gradient(135deg, #ffc107, #ff9800);
    color: white;
}

.custom-amount-input {
    margin-top: 1rem;
    animation: slideDown 0.4s ease;
}

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

.custom-amount-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    background: rgba(255, 255, 255, 0.9);
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.payment-option {
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.4s ease;
}

.payment-label:hover {
    background: rgba(16, 185, 129, 0.05);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.payment-option input:checked + .payment-label {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.payment-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.payment-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.payment-text strong {
    font-size: 1.1rem;
    font-weight: 700;
}

.payment-text small {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Modal Actions */
.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(16, 185, 129, 0.1);
    margin-top: 2rem;
}

.modal-actions .btn {
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.modal-actions .btn .btn-text,
.modal-actions .btn .btn-loading,
.modal-actions .btn .btn-success {
    transition: opacity 0.4s ease;
}

.modal-actions .btn.loading .btn-text,
.modal-actions .btn.success .btn-text {
    opacity: 0;
}

.modal-actions .btn.loading .btn-loading {
    opacity: 1;
}

.modal-actions .btn.success .btn-success {
    opacity: 1;
}

.btn-loading,
.btn-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Links */
.link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.link:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        margin: 1rem;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .modal-header {
        padding: 1.5rem 1.5rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .modal-title {
        font-size: 1.5rem;
    }
    
    .modal-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .checkbox-grid,
    .radio-grid {
        grid-template-columns: 1fr;
    }
    
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modal-actions {
        flex-direction: column;
    }
    
    .modal-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .modal-container {
        margin: 0.5rem;
        border-radius: 16px;
    }
    
    .modal-header {
        padding: 1rem 1rem 0.5rem;
    }
    
    .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .modal-title {
        font-size: 1.3rem;
    }
    
    .modal-content {
        padding: 0 1rem 1rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .form-section h3 {
        font-size: 1.2rem;
    }
    
    .amount-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .amount-btn {
        padding: 0.8rem;
        font-size: 0.9rem;
    }
    
    .payment-label {
        padding: 1rem;
    }
    
    .payment-icon {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* Impact Counters with Glassmorphism */
.counters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.counter-item {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-glass);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.counter-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: rotate 4s linear infinite;
}

.counter-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.3);
}

.counter-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
}

.counter-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

/* Features Section with Enhanced 3D Cards - Reduced Scaling */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem 1.8rem;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.3);
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08);
    position: relative;
    overflow: hidden;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(16, 185, 129, 0.1), transparent);
    animation: rotate 6s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}



.feature-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
    position: relative;
    z-index: 2;
}

/* Numbered feature icons (for How We Work section) */
.feature-icon:not(:has(span)):not(:has(em)) {
    font-weight: 800;
    color: white;
    font-size: 2rem;
}

/* Support for numeric-only feature icons */
.feature-card .feature-icon:only-child {
    font-weight: 800;
    color: white;
    font-size: 2rem;
}

.feature-card:hover .feature-icon {
    transform: rotateY(360deg) scale(1.15);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.4);
}

/* Disable animations for what-we-do page cards */
.what-we-do-page .feature-card,
.what-we-do-page .preview-card {
    transition: none !important;
    animation: none !important;
}

.what-we-do-page .feature-card:hover,
.what-we-do-page .preview-card:hover {
    transform: none !important;
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08) !important;
    border-color: rgba(226, 232, 240, 0.3) !important;
}

.what-we-do-page .feature-card::before,
.what-we-do-page .preview-card::before,
.what-we-do-page .preview-card::after {
    display: none !important;
}

.what-we-do-page .feature-icon {
    transition: none !important;
    animation: none !important;
}

.what-we-do-page .feature-card:hover .feature-icon,
.what-we-do-page .preview-card:hover .preview-image::before {
    transform: none !important;
    opacity: 0 !important;
}

.what-we-do-page .feature-icon::after {
    display: none !important;
}

/* ========== PROGRAMS SECTION ========== */
.programs-section {
    background: #f8fafc;
}

.programs-layout {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 4rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.programs-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.programs-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 1.5rem 0;
    line-height: 1.2;
}

.programs-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    align-items: start;
}

.program-card-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1.25rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 160px;
    justify-content: center;
}

.program-card-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.program-card-logo {
    width: 100%;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.program-card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.program-card-logo span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.program-card-item h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

@media (max-width: 1200px) {
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 968px) {
    .programs-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .programs-content {
        text-align: center;
    }
    
    .programs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .program-card-item {
        padding: 1.25rem 1rem;
        min-height: 140px;
    }
    
    .program-card-logo {
        height: 60px;
        margin-bottom: 0.75rem;
    }
    
    .program-card-item h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .program-card-item {
        padding: 1rem 0.75rem;
        min-height: 120px;
    }
    
    .program-card-logo {
        height: 50px;
        margin-bottom: 0.5rem;
    }
    
    .program-card-item h3 {
        font-size: 0.85rem;
    }
}

/* ========== HORIZONTAL TIMELINE ========== */
.timeline-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 4rem 2rem 2rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-green), var(--accent-blue));
    border-radius: 2px;
    z-index: 1;
}

.timeline-item {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.timeline-marker {
    position: relative;
    width: 70px;
    height: 70px;
    background: white;
    border: 4px solid var(--primary-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    z-index: 2;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.timeline-item:hover .timeline-marker {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
    border-color: var(--accent-blue);
}

.timeline-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-green);
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 200px;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 1024px) {
    .timeline-container {
        padding: 4rem 1rem 2rem;
    }
    
    .timeline-container::before {
        left: 8%;
        right: 8%;
        top: 70px;
    }
    
    .timeline-marker {
        width: 60px;
        height: 60px;
    }
    
    .timeline-number {
        font-size: 1.25rem;
    }
    
    .timeline-content {
        padding: 1.25rem;
        max-width: 180px;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .timeline-container {
        flex-direction: column;
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .timeline-container::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        width: 100%;
        gap: 1.5rem;
    }
    
    .timeline-marker {
        width: 50px;
        height: 50px;
        margin-bottom: 0;
        flex-shrink: 0;
    }
    
    .timeline-number {
        font-size: 1.1rem;
    }
    
    .timeline-content {
        max-width: none;
        flex: 1;
        padding: 1.25rem;
    }
    
    .timeline-content h3 {
        font-size: 1.1rem;
    }
    
    .timeline-content p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .timeline-item {
        gap: 1rem;
    }
    
    .timeline-marker {
        width: 45px;
        height: 45px;
    }
    
    .timeline-number {
        font-size: 1rem;
    }
    
    .timeline-content {
        padding: 1rem;
    }
    
    .timeline-content h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .timeline-content p {
        font-size: 0.85rem;
    }
}

/* ========== ENGAGEMENT MODELS (TABS) ========== */
.engagement-section {
    background: #f8fafc;
}

.engagement-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.engagement-tab-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 2.5rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 1rem;
}

.engagement-tab-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.engagement-tab-btn:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.engagement-tab-btn.active {
    background: linear-gradient(135deg, var(--primary-green), var(--accent-blue));
    color: white;
    border-color: var(--primary-green);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.engagement-tab-content {
    position: relative;
    min-height: 200px;
}

.engagement-tab-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.engagement-tab-panel.active {
    display: block;
}

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

.engagement-panel-header {
    background: white;
    padding: 2rem;
    border-radius: 16px 16px 0 0;
    border: 1px solid #e2e8f0;
    border-bottom: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.engagement-panel-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
}

.engagement-audience {
    display: inline-block;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
}

.engagement-panel-body {
    background: white;
    padding: 2rem;
    border-radius: 0 0 16px 16px;
    border: 1px solid #e2e8f0;
    border-top: 2px solid var(--primary-green);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.engagement-panel-body p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

@media (max-width: 768px) {
    .engagement-tab-nav {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }
    
    .engagement-tab-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .engagement-panel-header {
        padding: 1.5rem;
    }
    
    .engagement-panel-header h3 {
        font-size: 1.5rem;
    }
    
    .engagement-panel-body {
        padding: 1.5rem;
    }
    
    .engagement-panel-body p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .engagement-tab-nav {
        flex-direction: column;
        align-items: stretch;
    }
    
    .engagement-tab-btn {
        width: 100%;
        text-align: center;
    }
    
    .engagement-panel-header {
        padding: 1.25rem;
    }
    
    .engagement-panel-header h3 {
        font-size: 1.3rem;
    }
    
    .engagement-panel-body {
        padding: 1.25rem;
    }
    
    .engagement-panel-body p {
        font-size: 0.95rem;
    }
}

/* ========== ADVISORY COMMITTEE CAROUSEL ========== */
.advisory-carousel-wrapper {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.advisory-carousel-container {
    overflow: hidden;
    border-radius: 20px;
}

.advisory-carousel-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.advisory-card {
    flex: 0 0 320px;
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    min-width: 320px;
}

.advisory-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.advisory-photo {
    width: 280px;
    height: 280px;
    margin: 0 auto 1.5rem;
    border-radius: 0;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advisory-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.advisory-info h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.advisory-designation {
    font-size: 1rem;
    color: var(--primary-green);
    font-weight: 600;
    margin: 0;
    line-height: 1.5;
}

.advisory-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e2e8f0;
    color: var(--primary-green);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advisory-carousel-btn:hover {
    background: var(--primary-green);
    color: white;
    border-color: var(--primary-green);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.advisory-carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.advisory-carousel-prev {
    left: 0;
}

.advisory-carousel-next {
    right: 0;
}

.advisory-carousel-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: translateY(-50%);
}

.advisory-carousel-btn:disabled:hover {
    background: white;
    color: var(--primary-green);
    border-color: #e2e8f0;
    transform: translateY(-50%);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.advisory-carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.advisory-carousel-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.advisory-carousel-indicator.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 5px;
}

.advisory-carousel-indicator:hover {
    background: var(--accent-blue);
}

/* ========== TEAM MEMBERS ========== */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.team-member-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
    border-color: var(--primary-green);
}

.team-member-photo {
    width: 160px;
    height: 160px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid #f1f5f9;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.team-member-card:hover .team-member-photo {
    border-color: var(--primary-green);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.2);
}

.team-member-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-member-info {
    width: 100%;
}

.team-member-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.team-member-designation {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 600;
    margin: 0 0 1.25rem 0;
    line-height: 1.5;
}

.team-member-social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.team-social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    text-decoration: none;
}

.team-social-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.team-social-link svg {
    width: 18px;
    height: 18px;
}

/* ========== TEAM HOVER STRIP ========== */
.team-hover-strip {
    display: flex;
    gap: 1.25rem;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
}

.team-hover-card {
    position: relative;
    flex: 1;
    min-width: 180px;
    height: 360px;
    border-radius: 28px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    transition: flex 0.5s ease, transform 0.5s ease, box-shadow 0.5s ease;
}

.team-hover-card:hover {
    flex: 2.6;
    transform: translateY(-6px);
    box-shadow: 0 14px 34px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.6);
}

.team-hover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.98);
    transition: transform 0.5s ease;
}

.team-hover-card:hover .team-hover-image {
    transform: scale(1.02);
}

.team-hover-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 1.25rem 1.25rem 1.5rem;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 60%, rgba(15, 23, 42, 0.9) 100%);
    color: #ffffff;
    transition: opacity 0.4s ease;
}

.team-hover-overlay h3 {
    font-size: 1.2rem;
    margin: 0 0 0.35rem;
    color: #ffffff;
}

.team-hover-role {
    font-size: 0.95rem;
    margin: 0 0 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

.team-hover-social {
    display: flex;
    gap: 0.6rem;
}

.team-hover-social .team-social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.team-hover-social .team-social-link:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: #ffffff;
    transform: translateY(-2px);
}

/* ========== ABOUT FEATURE ========== */
.about-feature {
    background: var(--background-light);
}

.about-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 2.5rem;
    align-items: center;
}

.about-feature-content h2 {
    margin-bottom: 1rem;
}

.about-feature-lead {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.about-feature-visual {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    background: #e2e8f0;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    max-width: 520px;
    margin-left: auto;
}

.about-feature-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    min-height: 200px;
}

.about-feature-card {
    position: absolute;
    left: 1.5rem;
    bottom: 1.5rem;
    background: #ffffff;
    padding: 1.5rem 1.75rem;
    border-radius: 20px;
    max-width: 360px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.about-feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.about-feature-card p {
    margin-bottom: 1rem;
}

@media (max-width: 1024px) {
    .about-feature-grid {
        grid-template-columns: 1fr;
    }

    .about-feature-visual {
        max-width: 720px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .about-feature-card {
        position: static;
        margin: 1.25rem;
    }

    .about-feature-visual {
        padding-bottom: 1.25rem;
    }
}

@media (max-width: 1024px) {
    .advisory-card {
        flex: 0 0 280px;
        min-width: 280px;
    }
    
    .advisory-photo {
        width: 240px;
        height: 240px;
    }
    
    .advisory-carousel-wrapper {
        padding: 0 50px;
    }

    .team-hover-card {
        height: 320px;
        border-radius: 24px;
    }
}

@media (max-width: 768px) {
    .advisory-card {
        flex: 0 0 260px;
        min-width: 260px;
    }
    
    .advisory-photo {
        width: 210px;
        height: 210px;
        border-radius: 0;
    }
    
    .advisory-carousel-wrapper {
        padding: 0 50px;
    }
    
    .advisory-carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .team-member-photo {
        width: 140px;
        height: 140px;
    }
    
    .advisory-card,
    .team-member-card {
        padding: 1.5rem;
    }
    
    .advisory-info h3 {
        font-size: 1.15rem;
    }
    
    .team-member-info h3 {
        font-size: 1.1rem;
    }
    
    .team-members-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.5rem;
    }

    .team-hover-strip {
        flex-direction: column;
    }

    .team-hover-card {
        height: 280px;
        flex: none;
    }
}

@media (max-width: 480px) {
    .advisory-photo {
        width: 180px;
        height: 180px;
        border-radius: 0;
    }
    
    .team-member-photo {
        width: 120px;
        height: 120px;
    }
    
    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-hover-card {
        height: 260px;
    }
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: var(--transition);
    filter: blur(15px);
}

.feature-card:hover .feature-icon::after {
    opacity: 0.8;
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Enhanced Preview Sections - Reduced Scaling */
.preview-section {
    margin: 4rem 0;
    position: relative;
}

.preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    border-radius: 30px;
    z-index: -1;
}

.preview-section h2 {
    margin-bottom: 3rem;
    position: relative;
}

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

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

.preview-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 25px;
    overflow: hidden;
    border: 1px solid rgba(226, 232, 240, 0.3);
    transition: var(--transition);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.08);
    position: relative;
    transform-style: preserve-3d;
}

.preview-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

.preview-card:hover::after {
    transform: scaleX(1);
}

.preview-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow: 0 40px 100px rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
}

.preview-image {
    width: 100%;
    height: 200px;
    background: var(--gradient-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 4rem;
    position: relative;
    overflow: hidden;
}

.preview-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition);
}

.preview-card:hover .preview-image::before {
    opacity: 0.1;
}

.preview-content {
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.preview-content h3 {
    margin-bottom: 1.2rem;
    color: var(--text-primary);
    font-size: 1.3rem;
}

.preview-content p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Impact Section Styling */
/* ========== IMPACT CAROUSEL ========== */
.impact-carousel-section {
    background: #f8fafc;
    padding: 4rem 0;
    overflow: hidden;
}

.impact-carousel-header {
    text-align: center;
    margin-bottom: 3rem;
}

.impact-carousel-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
}

.impact-carousel-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.impact-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.impact-carousel-track {
    display: flex;
    gap: 2rem;
    animation: scrollCarousel 30s linear infinite;
    will-change: transform;
}

.impact-card {
    flex: 0 0 380px;
    height: 500px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 2rem;
    color: white;
}

.impact-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
}

.impact-stat {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.impact-descriptor {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.impact-label {
    background: white;
    color: #0f172a;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    max-width: 90%;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.impact-card-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60%;
    height: 50%;
    overflow: hidden;
    z-index: 1;
}

.impact-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%) contrast(1.1);
    opacity: 0.9;
}

.impact-card-btn {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    color: #0f172a;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    z-index: 3;
}

.impact-card-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

@keyframes scrollCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-380px * 5 - 2rem * 5));
    }
}

/* For seamless infinite scroll with duplicated cards */
.impact-carousel-track {
    width: fit-content;
}

/* ========== GET INVOLVED SECTION (Humang Style) ========== */
.get-involved-section {
    background: #ffffff;
    padding: 6rem 0;
}

.get-involved-hero {
    text-align: center;
    margin-bottom: 4rem;
}

.get-involved-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.get-involved-lead {
    font-size: 1.25rem;
    color: #64748b;
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.get-involved-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.get-involved-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.get-involved-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border-color: #cbd5e1;
}

.item-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f1f5f9;
    position: relative;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.get-involved-item:hover .item-image img {
    transform: scale(1.05);
}

.item-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.item-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.item-content p {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.item-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.get-involved-item:hover .item-link {
    gap: 0.75rem;
    color: var(--accent-blue);
}

.item-link::after {
    content: '→';
    transition: transform 0.3s ease;
}

.get-involved-item:hover .item-link::after {
    transform: translateX(4px);
}

/* Responsive Design */
@media (max-width: 968px) {
    .get-involved-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .get-involved-section {
        padding: 4rem 0;
    }
    
    .get-involved-hero {
        margin-bottom: 3rem;
    }
}

@media (max-width: 600px) {
    .get-involved-section {
        padding: 3rem 0;
    }
    
    .get-involved-title {
        font-size: 2rem;
    }
    
    .get-involved-lead {
        font-size: 1.1rem;
    }
    
    .item-content {
        padding: 1.5rem;
    }
    
    .item-image {
        height: 200px;
    }
    
    .item-content h3 {
        font-size: 1.25rem;
    }
}

/* ========== PARTNERS & COLLABORATORS CAROUSEL ========== */
.partners-section {
    background: #f8fafc;
    padding: 4rem 0;
    overflow: hidden;
}

.partners-header {
    text-align: center;
    margin-bottom: 3rem;
}

.partners-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.partners-subtitle {
    font-size: 1.1rem;
    color: #64748b;
    font-weight: 400;
}

.partners-carousel-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.partners-carousel-track {
    display: flex;
    gap: 4rem;
    animation: scrollPartners 40s linear infinite;
    will-change: transform;
    align-items: center;
}

.partner-logo {
    flex: 0 0 180px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 2rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.partner-logo::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 12px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.partner-logo:hover::before {
    opacity: 0.1;
}

.partner-logo:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.partner-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.6;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-logo:hover img {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

@keyframes scrollPartners {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-180px * 8 - 4rem * 8));
    }
}

/* Pause on hover */
.partners-carousel-wrapper:hover .partners-carousel-track {
    animation-play-state: paused;
}

/* Responsive Design */
@media (max-width: 768px) {
    .partners-section {
        padding: 3rem 0;
    }
    
    .partner-logo {
        flex: 0 0 140px;
        height: 80px;
        padding: 1rem 1.5rem;
    }
    
    .partner-logo img {
        max-height: 60px;
    }
    
    .partners-carousel-track {
        gap: 2.5rem;
    }
    
    @keyframes scrollPartners {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-140px * 8 - 2.5rem * 8));
        }
    }
}

/* Pause on hover */
.impact-carousel-wrapper:hover .impact-carousel-track {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .impact-card {
        flex: 0 0 320px;
        height: 450px;
        padding: 2rem 1.5rem;
    }
    
    .impact-stat {
        font-size: 3.5rem;
    }
    
    .impact-descriptor {
        font-size: 1.1rem;
    }
    
    @keyframes scrollCarousel {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-320px * 5 - 2rem * 5));
        }
    }
}

/* Mission List Styling */
#mission ul {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.08);
    position: relative;
}

#mission li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
    transition: var(--transition);
}

#mission li::before {
    content: '🎯';
    position: absolute;
    left: 0;
    top: 0;
    font-size: 1.2rem;
}

#mission li:hover {
    transform: translateX(10px);
    color: var(--text-primary);
}

/* Enhanced Quote Banner with Interactive Elements */
#quote {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(59, 130, 246, 0.08) 100%) !important;
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

#quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 60%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
    z-index: -1;
    animation: quoteBgShift 15s ease-in-out infinite;
}

@keyframes quoteBgShift {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
    50% { 
        transform: scale(1.1) rotate(2deg);
        opacity: 0.8;
    }
}

#quote .container {
    position: relative;
    z-index: 2;
}

#quote h2 {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 4rem 3rem;
    border-radius: 30px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    box-shadow: 
        0 25px 80px rgba(16, 185, 129, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    font-style: italic;
    line-height: 1.7;
    font-size: 1.4rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    transition: var(--transition);
    cursor: pointer;
    transform-style: preserve-3d;
}

#quote h2:hover {
    transform: translateY(-5px) rotateX(2deg);
    box-shadow: 
        0 35px 100px rgba(16, 185, 129, 0.2),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(16, 185, 129, 0.4);
}

/* Enhanced Quote Marks */
#quote h2::before {
    content: '"';
    position: absolute;
    top: -15px;
    left: 30px;
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: serif;
    font-weight: 900;
    opacity: 0.6;
    animation: quoteMarkFloat 3s ease-in-out infinite;
    z-index: 3;
}

#quote h2::after {
    content: '"';
    position: absolute;
    bottom: -25px;
    right: 30px;
    font-size: 5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: serif;
    font-weight: 900;
    opacity: 0.6;
    animation: quoteMarkFloat 3s ease-in-out infinite 1.5s;
    z-index: 3;
}

@keyframes quoteMarkFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-10px) scale(1.1);
        opacity: 0.8;
    }
}

/* Interactive Quote Author */
#quote .quote-author {
    display: block;
    margin-top: 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-green);
    font-style: normal;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

#quote h2:hover .quote-author {
    opacity: 1;
    transform: translateY(0);
}

/* Floating Particles */
#quote .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

#quote .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 8s linear infinite;
}

#quote .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

#quote .particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 10s;
}

#quote .particle:nth-child(3) {
    left: 30%;
    animation-delay: 4s;
    animation-duration: 12s;
}

#quote .particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

#quote .particle:nth-child(5) {
    left: 80%;
    animation-delay: 3s;
    animation-duration: 11s;
}

#quote .particle:nth-child(6) {
    left: 90%;
    animation-delay: 5s;
    animation-duration: 13s;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
        transform: translateY(90vh) scale(1);
    }
    90% {
        opacity: 0.3;
        transform: translateY(10vh) scale(1);
    }
    100% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
}

/* Quote Stats */
#quote .quote-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition);
}

#quote:hover .quote-stats {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.2s;
}

#quote .quote-stat {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: var(--transition);
}

#quote .quote-stat:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.4);
}

#quote .quote-stat-number {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

#quote .quote-stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 0.5rem;
}
/* About Section Enhancement */
#about {
    position: relative;
    overflow: hidden;
}

#about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    z-index: -1;
}

#about .container > div {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 4rem;
    border: 1px solid rgba(226, 232, 240, 0.3);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.08);
    position: relative;
    z-index: 2;
}

#about h2 {
    margin-bottom: 3rem;
    position: relative;
}

#about h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

#about p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

#about p:last-child {
    margin-bottom: 0;
}

/* Vision Section Enhancement */
#vision {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

#vision::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 25% 25%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

#vision .features {
    position: relative;
    z-index: 2;
}

#vision .feature-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.9) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

/* ========== VISION & MISSION (Compact Design) ========== */
.vm-section {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    position: relative;
}

.vm-section h2 {
    margin-bottom: 2.5rem;
}

.vm-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

/* Vision Block */
.vm-vision-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(16, 185, 129, 0.15);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.08);
    transition: var(--transition);
    text-align: center;
}

.vm-vision-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(16, 185, 129, 0.12);
}

.vm-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.vm-vision-block h3,
.vm-mission-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.vm-quote-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.vm-quote-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0;
}

/* Mission Block */
.vm-mission-block {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.9));
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.15);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.08);
    transition: var(--transition);
    text-align: center;
}

.vm-mission-block:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.12);
}

.vm-mission-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 0;
    text-align: left;
}

/* Responsive Design */
@media (max-width: 768px) {
    .vm-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vm-vision-block,
    .vm-mission-block {
        padding: 1.75rem 1.5rem;
    }
    
    .vm-quote-text {
        font-size: 1.3rem;
    }
}



/* Focus Areas Enhancement */
#focus-areas {
    position: relative;
    overflow: hidden;
}

#focus-areas::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    z-index: -1;
}

#focus-areas .features {
    position: relative;
    z-index: 2;
}

#focus-areas h2 {
    margin-bottom: 4rem;
    position: relative;
}

#focus-areas h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--secondary-navy) 100%);
    padding: 4rem 0 1rem;
    margin-top: 6rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

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

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

.footer-section h3 {
    color: var(--primary-white);
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section p,
.footer-section a:not(.social-link) {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 0.8rem;
    display: block;
    transition: var(--transition);
}

.footer-section a:not(.social-link):hover {
    color: var(--primary-white);
    transform: translateX(5px);
}

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

.footer .social-links {
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1.25rem;
}

.social-link {
    width: 45px;
    height: 45px;
    min-width: 45px;
    min-height: 45px;
    background: var(--gradient-primary);
    color: var(--primary-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: var(--shadow-primary);
    font-size: 1.2rem;
    line-height: 1;
}

.footer .social-link {
    flex-shrink: 0;
    margin: 0;
}

.social-link:hover {
    transform: translateY(-5px) scale(1.1) rotate(360deg);
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(226, 232, 240, 0.5);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
    transform: translateY(-2px);
}

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

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.8);
    z-index: 2000;
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--background-white);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    border: 1px solid var(--border-light);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    color: var(--primary-green);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    transform: rotate(90deg);
}

/* FAQ Styles */
.faq-item {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: var(--shadow-secondary);
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    transition: var(--transition);
}

.faq-answer {
    padding: 0 1.5rem 1.5rem;
    display: none;
    color: var(--text-secondary);
    line-height: 1.8;
}

.faq-answer.active {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.faq-toggle {
    background: var(--gradient-primary);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq-toggle.active {
    transform: rotate(135deg);
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.animated {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scale-in.animated {
    opacity: 1;
    transform: scale(1);
}

.rotate-in {
    opacity: 0;
    transform: rotate(-10deg) scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.rotate-in.animated {
    opacity: 1;
    transform: rotate(0) scale(1);
}

/* Stagger Animation Delays */
.features .feature-card:nth-child(1) { transition-delay: 0.1s; }
.features .feature-card:nth-child(2) { transition-delay: 0.2s; }
.features .feature-card:nth-child(3) { transition-delay: 0.3s; }
.features .feature-card:nth-child(4) { transition-delay: 0.4s; }
.features .feature-card:nth-child(5) { transition-delay: 0.5s; }
.features .feature-card:nth-child(6) { transition-delay: 0.6s; }

/* Base Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .nav-menu,
    .menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        transform: translateY(-150%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
        box-shadow: 0 20px 60px rgba(16, 185, 129, 0.15);
        max-height: 85vh;
        overflow-y: auto;
        border-top: 1px solid rgba(16, 185, 129, 0.1);
    }

    .nav-menu.active,
    .menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link,
    .link {
        width: 100%;
        padding: 1rem 1.5rem;
        border-radius: 12px;
        transition: var(--transition);
        justify-content: space-between;
    }

    .nav-link:hover,
    .link:hover {
        background: rgba(16, 185, 129, 0.1);
        transform: translateX(5px);
    }

    /* Mobile Dropdown Styles */
    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        background: rgba(16, 185, 129, 0.05);
        border: 1px solid rgba(16, 185, 129, 0.1);
        border-radius: 8px;
        margin-top: 0.5rem;
        padding: 0.5rem 0;
        display: none;
    }
    
    .nav-dropdown.dropdown-open .dropdown-menu {
        display: block !important;
    }

    .dropdown-link {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .dropdown-arrow {
        transform: rotate(0deg) !important;
    }

    .nav-dropdown:hover .dropdown-arrow {
        transform: rotate(90deg) !important;
    }

    /* Mobile CTA Button */
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }

    .btn-donate {
        width: 100%;
        text-align: center;
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    .link-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 24px;
        height: 24px;
    }

    .link-icon svg {
        width: 20px;
        height: 20px;
        color: var(--primary-green);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

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

    .stat-number {
        font-size: 2rem;
    }

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

    .gallery-item img {
        height: 200px;
    }

    .logo-img {
        height: 42px;
    }

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

    .features,
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .feature-card,
    .preview-card {
        padding: 2rem;
    }

    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .preview-image {
        height: 200px;
        font-size: 4rem;
    }

    #about .container > div,
    #impact ul,
    #mission ul {
        padding: 2rem;
    }

    #quote {
        padding: 3rem 0;
    }

    #quote h2 {
        padding: 2.5rem 2rem;
        font-size: 1.1rem;
        max-width: 100%;
    }

    #quote h2::before {
        top: -10px;
        left: 20px;
        font-size: 3.5rem;
    }

    #quote h2::after {
        bottom: -15px;
        right: 20px;
        font-size: 3.5rem;
    }

    .quote-stats {
        flex-direction: column;
        gap: 1rem;
        margin-top: 2rem;
    }

    .quote-stat {
        padding: 0.8rem;
    }

    .quote-stat-number {
        font-size: 1.2rem;
    }

    .quote-stat-label {
        font-size: 0.7rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.6rem; }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.3rem;
    }

    .logo-img {
        height: 42px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
    }

    .hero-badge {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .gallery-item img {
        height: 160px;
    }

    .hero p {
        font-size: 0.9rem;
    }

    .counter-number {
        font-size: 2rem;
    }

    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .preview-image {
        height: 150px;
        font-size: 2.5rem;
    }
}

/* Team Page Styles */
.team-hero {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="team-pattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23team-pattern)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

.team-hero .hero-content {
    position: relative;
    z-index: 2;
}

.team-section {
    padding: 4rem 0;
    position: relative;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.02), rgba(59, 130, 246, 0.02));
    z-index: -1;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

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

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

.team-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.team-card:hover::before {
    transform: scaleX(1);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(16, 185, 129, 0.2);
}

.leadership-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.95));
}

.team-photo {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

.leadership-card .team-photo {
    width: 140px;
    height: 140px;
}

.photo-placeholder {
        font-size: 3rem;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(16, 185, 129, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.team-photo:hover .team-overlay {
    opacity: 1;
}

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

.team-overlay .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--transition);
}

.team-overlay .social-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.team-info {
    text-align: center;
}

.team-info h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.leadership-card .team-info h3 {
    font-size: 1.6rem;
}

.team-role {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.team-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.team-expertise {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.expertise-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.3);
}

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

.support-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.1);
    transition: var(--transition);
    border: 1px solid rgba(16, 185, 129, 0.1);
}

.support-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(16, 185, 129, 0.15);
}

.support-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

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

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

.team-members {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.team-members span {
    background: rgba(16, 185, 129, 0.1);
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-gradient-start), var(--primary-gradient-end));
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="cta-pattern" x="0" y="0" width="25" height="25" patternUnits="userSpaceOnUse"><circle cx="12.5" cy="12.5" r="1.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23cta-pattern)"/></svg>');
    animation: float 25s ease-in-out infinite;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 150px;
}

/* Responsive Design for Team Page */
@media (max-width: 768px) {
    .team-hero {
        min-height: 40vh;
        padding: 2rem 0;
    }
    
    .team-hero h1 {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .leadership-grid {
        grid-template-columns: 1fr;
    }
    
    .team-card,
    .leadership-card {
        padding: 1.5rem;
    }
    
    .team-photo {
        width: 100px;
        height: 100px;
    }
    
    .leadership-card .team-photo {
        width: 120px;
        height: 120px;
    }
    
    .photo-placeholder {
        font-size: 2.5rem;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .team-section {
        padding: 2rem 0;
    }
    
    .team-card,
    .leadership-card,
    .support-card {
        padding: 1.25rem;
    }
    
    .team-info h3 {
        font-size: 1.2rem;
    }
    
    .leadership-card .team-info h3 {
        font-size: 1.4rem;
    }
    
    .team-role {
        font-size: 0.9rem;
    }
    
    .team-bio {
        font-size: 0.9rem;
    }
    
    .expertise-tag {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }
}

/* Gallery Responsive Design */
@media (max-width: 768px) {
    .gallery-controls {
        gap: 0.5rem;
    }
    
    .gallery-btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
    }
    
    .slideshow-container {
        margin: 0 1rem;
    }
    
    .slide-content {
        height: 400px;
    }
    
    .slide-info h3 {
        font-size: 1.4rem;
    }
    
    .slide-info p {
        font-size: 0.9rem;
    }
    
    .slide-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .slideshow-nav {
        padding: 0 1rem;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .scroll-item {
        width: 150px;
        height: 120px;
    }
    
    .scroll-track {
        padding: 1rem;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .gallery-header {
        margin-bottom: 2rem;
    }
    
    .gallery-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .gallery-controls {
        gap: 0.3rem;
    }
    
    .gallery-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
    
    .gallery-slideshow {
        margin: 2rem 0;
    }
    
    .slide-content {
        height: 300px;
    }
    
    .slide-overlay {
        padding: 2rem 1rem 1rem;
    }
    
    .slide-info h3 {
        font-size: 1.2rem;
    }
    
    .slide-info p {
        font-size: 0.8rem;
    }
    
    .category-tag,
    .date-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
    }
    
    .nav-btn svg {
        width: 18px;
        height: 18px;
    }
    
    .slide-indicators {
        gap: 0.5rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .scroll-gallery {
        margin-top: 2rem;
    }
    
    .scroll-gallery-title {
        font-size: 1.2rem;
    }
    
    .scroll-item {
        width: 120px;
        height: 100px;
    }
    
    .scroll-track {
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .scroll-overlay {
        padding: 0.8rem 0.6rem 0.6rem;
    }
    
    .scroll-category {
        font-size: 0.7rem;
        padding: 0.15rem 0.4rem;
    }
}

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

/* Focus styles */
.btn:focus,
.nav-link:focus,
.form-input:focus,
.form-textarea:focus {
    outline: 3px solid var(--primary-green);
    outline-offset: 3px;
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary-navy: #000000;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
}