/* Enhanced CAIR-Nepal Website Styles */

/* Custom Properties */
:root {
    --primary-color: #0b2f2b;
    --secondary-color: #6c757d;
    --success-color: #198754;
    --info-color: #315b54;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --border-radius: 0.375rem;
    --transition: all 0.3s ease;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Global Styles */
body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--dark-color);
}

/* Typography */
.display-4 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.lead {
    font-weight: 400;
    line-height: 1.7;
}

/* Gradient Backgrounds */
.bg-gradient-primary {
    background: var(--gradient-primary);
}

.bg-gradient-secondary {
    background: var(--gradient-secondary);
}

/* Enhanced Cards */
.card {
    border: none;
    border-radius: var(--border-radius);
    transition: var(--transition);
    overflow: hidden;
}

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

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Enhanced Buttons */
.btn {
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 1.5rem;
}

/* Statistics Section Responsive Design */
@media (max-width: 768px) {
    .about-section .row.g-3 .col-4 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 576px) {
    .about-section .row.g-3 .col-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .about-section .d-flex.align-items-center {
        justify-content: center;
        text-align: center;
    }
    
    .about-section .d-flex.align-items-center i {
        margin-right: 1rem !important;
    }
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #9f7337;
    border-color: #9f7337;
    transform: translateY(-1px);
}

.btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

/* Navigation Enhancements */
/* Navigation Enhancements */

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

/* Compact Navbar Styles */
.compact-navbar {
    padding: 0.5rem 0;
    min-height: 60px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.compact-navbar .navbar-brand {
    font-size: 1.2rem;
    font-weight: 600;
}

.compact-navbar .navbar-brand img {
    transition: transform 0.3s ease;
}

.compact-navbar .navbar-brand:hover img {
    transform: scale(1.05);
}

.compact-navbar .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem !important;
    margin: 0 0.1rem;
}

.compact-navbar .dropdown-menu {
    margin-top: 0.5rem;
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.compact-navbar .dropdown-item {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.compact-navbar .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #1a1a2e;
    transform: translateX(5px);
}

.compact-navbar .nav-cta-wrap {
    gap: 0.5rem;
}

.compact-navbar .donors-btn {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.compact-navbar .donors-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.compact-navbar .donate-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: #fff !important;
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 0.4rem 1rem !important;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.compact-navbar .donate-btn:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
}

.compact-navbar .donate-btn i {
    animation: heartbeat 2s infinite;
}

/* Responsive adjustments for compact navbar */
@media (max-width: 991.98px) {
    .compact-navbar {
        padding: 0.4rem 0;
    }
    
    .compact-navbar .navbar-brand img {
        height: 30px !important;
    }
    
    .compact-navbar .nav-link {
        font-size: 0.85rem;
        padding: 0.4rem 0.5rem !important;
    }
    
    .compact-navbar .donate-btn,
    .compact-navbar .donors-btn {
        margin: 0.35rem 0;
        text-align: center;
        display: inline-block;
    }
    .compact-navbar .nav-cta-wrap {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 576px) {
    .compact-navbar .navbar-brand img {
        height: 28px !important;
    }
    
    .compact-navbar .nav-link {
        font-size: 0.8rem;
        padding: 0.3rem 0.4rem !important;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.3) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

/* Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(1deg); }
    66% { transform: translateY(-10px) rotate(-1deg); }
}

/* Pulse Animation */
@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

/* Animated Background Particles */
.hero-section .container {
    position: relative;
    z-index: 3;
}

/* AI Discovery Visualization Animations */
.ai-discovery-visualization {
    position: relative;
    height: 400px;
    width: 100%;
}

.discovery-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* AI Brain Animation */
.ai-brain {
    position: absolute;
    z-index: 10;
    animation: brainPulse 3s ease-in-out infinite;
}

.brain-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

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

/* Research Elements Animation */
.research-elements {
    position: absolute;
    width: 100%;
    height: 100%;
}

.research-elements > div {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: researchFloat 6s ease-in-out infinite;
}

.microscope { top: 20%; left: 20%; animation-delay: 0s; }
.dna-helix { top: 30%; right: 25%; animation-delay: 1s; }
.atom { bottom: 30%; left: 30%; animation-delay: 2s; }
.flask { bottom: 20%; right: 20%; animation-delay: 3s; }

@keyframes researchFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-15px) rotate(5deg); opacity: 1; }
}

/* Neural Network Animation */
.neural-network {
    position: absolute;
    width: 100%;
    height: 100%;
}

.neuron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: neuronPulse 4s ease-in-out infinite;
}

.neuron-1 { top: 25%; left: 40%; animation-delay: 0s; }
.neuron-2 { top: 35%; left: 60%; animation-delay: 0.5s; }
.neuron-3 { top: 45%; left: 30%; animation-delay: 1s; }
.neuron-4 { top: 55%; left: 70%; animation-delay: 1.5s; }
.neuron-5 { top: 65%; left: 45%; animation-delay: 2s; }
.neuron-6 { top: 75%; left: 55%; animation-delay: 2.5s; }
.neuron-7 { top: 30%; left: 50%; animation-delay: 0.2s; }
.neuron-8 { top: 40%; left: 35%; animation-delay: 0.7s; }
.neuron-9 { top: 50%; left: 65%; animation-delay: 1.2s; }
.neuron-10 { top: 60%; left: 40%; animation-delay: 1.7s; }
.neuron-11 { top: 70%; left: 60%; animation-delay: 2.2s; }
.neuron-12 { top: 80%; left: 50%; animation-delay: 2.7s; }

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

/* Data Analysis Animation */
.data-analysis {
    position: absolute;
    width: 100%;
    height: 100%;
}

.chart-bar {
    position: absolute;
    bottom: 20%;
    width: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: chartGrow 3s ease-in-out infinite;
}

.bar-1 { left: 25%; height: 20px; animation-delay: 0s; }
.bar-2 { left: 35%; height: 30px; animation-delay: 0.3s; }
.bar-3 { left: 45%; height: 25px; animation-delay: 0.6s; }
.bar-4 { left: 55%; height: 35px; animation-delay: 0.9s; }
.bar-5 { left: 65%; height: 15px; animation-delay: 1.2s; }

@keyframes chartGrow {
    0%, 100% { transform: scaleY(1); opacity: 0.6; }
    50% { transform: scaleY(1.3); opacity: 1; }
}

.chart-line {
    position: absolute;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 1px;
    animation: lineGrow 4s ease-in-out infinite;
}

.chart-line-1 { top: 60%; left: 20%; width: 30px; animation-delay: 0s; }
.chart-line-2 { top: 65%; left: 50%; width: 25px; animation-delay: 1s; }
.chart-line-3 { top: 70%; left: 75%; width: 20px; animation-delay: 2s; }

@keyframes lineGrow {
    0%, 100% { transform: scaleX(1); opacity: 0.5; }
    50% { transform: scaleX(1.2); opacity: 1; }
}

/* Discovery Particles Animation */
.discovery-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 8s linear infinite;
}

.particle-1 { top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { top: 20%; right: 15%; animation-delay: 1s; }
.particle-3 { bottom: 15%; left: 20%; animation-delay: 2s; }
.particle-4 { bottom: 25%; right: 10%; animation-delay: 3s; }
.particle-5 { top: 50%; left: 5%; animation-delay: 4s; }
.particle-6 { top: 60%; right: 5%; animation-delay: 5s; }
.particle-7 { bottom: 50%; left: 5%; animation-delay: 6s; }
.particle-8 { bottom: 60%; right: 5%; animation-delay: 7s; }

@keyframes particleFloat {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Research Connections Animation */
.research-connections {
    position: absolute;
    width: 100%;
    height: 100%;
}

.connection-line {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: connectionFlow 5s ease-in-out infinite;
}

.conn-1 { top: 30%; left: 20%; width: 60px; animation-delay: 0s; }
.conn-2 { top: 50%; left: 30%; width: 40px; animation-delay: 1s; }
.conn-3 { top: 70%; left: 40%; width: 50px; animation-delay: 2s; }
.conn-4 { top: 40%; left: 60%; width: 35px; animation-delay: 3s; }
.conn-5 { top: 60%; left: 70%; width: 45px; animation-delay: 4s; }

@keyframes connectionFlow {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

/* Data Points Animation */
.data-points {
    position: absolute;
    width: 100%;
    height: 100%;
}

.data-point {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: dataPointPulse 6s ease-in-out infinite;
}

.point-1 { top: 15%; left: 30%; animation-delay: 0s; }
.point-2 { top: 25%; left: 70%; animation-delay: 0.8s; }
.point-3 { top: 35%; left: 50%; animation-delay: 1.6s; }
.point-4 { top: 45%; left: 20%; animation-delay: 2.4s; }
.point-5 { top: 55%; left: 80%; animation-delay: 3.2s; }
.point-6 { top: 65%; left: 40%; animation-delay: 4s; }
.point-7 { top: 75%; left: 60%; animation-delay: 4.8s; }
.point-8 { top: 85%; left: 35%; animation-delay: 5.6s; }

@keyframes dataPointPulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.8); opacity: 1; }
}

/* Processing Waves Animation */
.processing-waves {
    position: absolute;
    width: 100%;
    height: 100%;
}

.wave {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: waveExpand 4s ease-out infinite;
}

.wave-1 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 0s; }
.wave-2 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 1.3s; }
.wave-3 { top: 50%; left: 50%; transform: translate(-50%, -50%); animation-delay: 2.6s; }

@keyframes waveExpand {
    0% { width: 0; height: 0; opacity: 1; }
    100% { width: 200px; height: 200px; opacity: 0; }
}

/* Enhanced Hero Section Styles */
.hero-title {
    position: relative;
    z-index: 2;
}

.title-line {
    display: block;
    animation: titleSlideIn 1s ease-out;
}

.title-line:nth-child(2) {
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}

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

.highlight-text {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: highlightGlow 3s ease-in-out infinite;
}

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

.hero-btn {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Animations */
@media (max-width: 768px) {
    .ai-discovery-visualization {
        height: 300px;
    }
    
    .brain-icon {
        font-size: 3rem;
    }
    
    .research-elements > div {
        font-size: 1.2rem;
    }
    
    .neuron {
        width: 6px;
        height: 6px;
    }
    
    .particle {
        width: 3px;
        height: 3px;
    }
    
    .data-point {
        width: 4px;
        height: 4px;
    }
}

/* Hero Badge */
.hero-badge {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
}

.hero-badge .badge {
    font-size: 0.9rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-badge .badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
}

/* Enhanced Hero Title */
.hero-title {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-title .title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: slideInUp 0.8s ease-out forwards;
    line-height: 1.1;
    margin-bottom: 0.1em;
}

.hero-title .title-line:first-child {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff 0%, #e3f2fd 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title .subtitle-text {
    font-size: 3.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Staggered Delays */
.title-line:nth-child(1) {
    animation-delay: 0.6s;
}
.title-line:nth-child(2) {
    animation-delay: 0.8s;
}
.title-line:nth-child(3) {
    animation-delay: 1s;
}

/* Enhanced Hero Description */
.hero-description {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.2s forwards;
}

.highlight-text {
    color: #ffd700;
    font-weight: 700;
    font-size: 1.1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
}

/* Hero Stats */
.hero-stats {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.4s forwards;
}

.stat-item {
    text-align: center;
    padding: 0.5rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    margin-top: 0.2rem;
}

/* Enhanced Hero Actions */
.hero-actions {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.6s forwards;
}

.hero-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: all 0.3s ease;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:nth-child(1) {
    animation-delay: 1.8s;
}

.hero-btn:nth-child(2) {
    animation-delay: 2s;
}

.hero-btn:nth-child(3) {
    animation-delay: 2.2s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.primary-action {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    color: var(--primary-color);
    font-weight: 700;
}

.primary-action:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--primary-color);
}

/* Trust Indicators */
.trust-indicators {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 2.4s forwards;
}

.trust-indicators small {
    font-size: 0.85rem;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 3rem 0;
    }
    
    .hero-title .title-line:first-child {
        font-size: 2.5rem;
    }
    
    .hero-title .subtitle-text {
        font-size: 1.4rem;
    }
    
    .hero-stats {
        gap: 1rem !important;
    }
    
    .stat-item {
        flex: 1;
        min-width: 80px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-btn {
        width: 100%;
        text-align: center;
    }
    
    .trust-indicators {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title .title-line:first-child {
        font-size: 2rem;
    }
    
    .hero-title .subtitle-text {
        font-size: 1.2rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}




.hero-btn {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
    transition: all 0.3s ease;
}

.hero-btn:nth-child(1) {
    animation-delay: 1.8s;
}

.hero-btn:nth-child(2) {
    animation-delay: 2.0s;
}

.hero-btn:nth-child(3) {
    animation-delay: 2.2s;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

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

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

.hero-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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

/* Section Enhancements */
section {
    position: relative;
    margin-bottom: 0;
}

.section-title {
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--secondary-color);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Badge Enhancements */
.badge {
    font-weight: 500;
    padding: 0.5em 0.75em;
    border-radius: 0.375rem;
}

/* Image Enhancements */
.card-img-top {
    transition: var(--transition);
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Testimonial Cards */
.testimonial-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid var(--primary-color);
}

/* Impact Stories */
.impact-card {
    position: relative;
    overflow: hidden;
}

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

/* Innovation Cards */
.innovation-card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.innovation-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0.5rem 1rem rgba(13, 110, 253, 0.15);
}

/* Resource Cards */
.resource-card {
    position: relative;
}

.resource-card .difficulty-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
}

/* FAQ Accordion */
.faq-accordion .accordion-button {
    font-weight: 600;
    border: none;
    background: transparent;
}

.faq-accordion .accordion-button:not(.collapsed) {
    background: var(--primary-color);
    color: white;
}

.faq-accordion .accordion-button:focus {
    box-shadow: none;
    border: none;
}

/* Search Enhancements */
.search-form {
    position: relative;
}

.search-form .form-control {
    border-radius: 2rem;
    padding-left: 1rem;
    padding-right: 3rem;
}

.search-form .btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: var(--gradient-primary);
    position: relative;
    margin-bottom: 0;
}

.newsletter-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="newsletter-pattern" 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(%23newsletter-pattern)"/></svg>');
    opacity: 0.2;
    pointer-events: none;
}

/* Footer Enhancements */
footer {
    background: linear-gradient(to right, #052f4d 0%, #1c416f 50%, #3d5b92 90%) !important;
    /* background: linear-gradient(90deg, #003f5c 0%, #2f4b7c 50%, #665191 100%) !important; */
    position: relative;
    z-index: 2;
    margin-top: 0;
}

footer a {
    transition: var(--transition);
}

footer a:hover {
    color: var(--primary-color) !important;
}

/* Footer Styles */
footer {
    background-color: #343a40 !important;
    padding: 3rem 0 2rem;
}

footer .container {
    max-width: 1200px;
}

footer h5 {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

footer h6 {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

footer h5 {
    font-weight: 700;
    color: #ffffff;
    font-size: 1.1rem;
}

footer h6 {
    font-weight: 700;
    color: #ffffff;
    font-size: 0.9rem;
}

footer .text-muted {
    color: #adb5bd !important;
    font-size: 0.85rem;
}

footer a.text-muted:hover {
    color: #ffffff !important;
    text-decoration: none;
}

footer a.text-primary {
    color: #d7af70 !important;
    font-weight: 500;
}

footer a.text-primary:hover {
    color: #ffffff !important;
}

footer .contact-info .d-flex {
    line-height: 1.4;
}

footer .list-unstyled li {
    margin-bottom: 0.5rem;
}

footer .list-inline-item:not(:last-child) {
    margin-right: 1rem;
}

footer hr {
    border-color: #495057;
}

/* Social media icons */
footer .fab {
    transition: color 0.3s ease;
    font-size: 1.2rem;
}

footer .fab:hover {
    color: #d7af70 !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    footer .col-md-6 {
        margin-bottom: 1.5rem;
    }
}

/* Newsletter Section Styles */
.newsletter-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    z-index: 1;
}

.newsletter-section h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
}

.newsletter-section p {
    color: #ffffff;
    opacity: 0.9;
}

.newsletter-section .form-control {
    border: none;
    border-radius: 25px;
    padding: 12px 20px;
    font-size: 1rem;
    box-shadow: none;
    transition: all 0.3s ease;
}

.newsletter-section .form-control:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
    border: none;
}

.newsletter-section .btn {
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-weight: 600;
}

.newsletter-section .btn-light {
    background-color: #ffffff;
    color: #333;
    border: none;
    min-width: 120px;
}

.newsletter-section .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.newsletter-section .btn-light:active {
    transform: translateY(0);
}

.newsletter-section .btn-outline-light {
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    transition: all 0.3s ease;
    min-width: 200px;
}

.newsletter-section .btn-outline-light:hover {
    background-color: #ffffff;
    color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.newsletter-section .btn-outline-light:active {
    transform: translateY(0);
}

.newsletter-section .fab {
    font-size: 1.2rem;
}

/* Ensure buttons are clickable */
.newsletter-section .btn,
.newsletter-section a {
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    user-select: none;
}

.newsletter-section .btn:focus,
.newsletter-section a:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,255,255,0.3);
}

/* Form styling */
.newsletter-section form {
    position: relative;
    z-index: 2;
}

.newsletter-section input[type="email"] {
    background-color: #ffffff;
    color: #333;
}

.newsletter-section input[type="email"]::placeholder {
    color: #6c757d;
}

/* Navigation Styles */
.navbar {
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    /* purple */
    /* background: linear-gradient(to right, #2e1a47, #413d74, #5a62a6) !important; */
    /* ai brain theme */
    background:linear-gradient(to right, #0c1f45, #214e6b, #3d7ea6) !important;
    /* background: linear-gradient(to right, #08004e, #334774, #5b4d8d) !important; */
    backdrop-filter: blur(15px);
}

.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: translateY(-1px);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    border-radius: 6px;
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    color: #ffffff !important;
    background-color: rgba(255,255,255,0.1);
    transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
    background-color: rgba(255,255,255,0.15);
    color: #ffffff !important;
}

/* Logo Styles */
.navbar-brand img {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    /* 👇 makes logo stand out on dark gradient without boxy background */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5)) brightness(1.15) contrast(1.2);
    transition: transform 0.3s ease, filter 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.navbar-brand .text-white-50 {
    opacity: 0.8;
}

footer img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

footer img:hover {
    filter: brightness(0) invert(1) sepia(1) saturate(5) hue-rotate(200deg);
    transition: filter 0.3s ease;
}

/* Responsive logo adjustments */
@media (max-width: 768px) {
    .navbar-brand img {
        max-height: 40px;
    }
    
    .navbar-brand .text-white-50 {
        font-size: 0.75rem;
    }
    
    footer img {
        max-height: 50px;
    }
}

@media (max-width: 576px) {
    .navbar-brand img {
        max-height: 35px;
    }
    
    footer img {
        max-height: 45px;
    }
}

/* AI Scientific Discovery Visualization */
.ai-discovery-visualization {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.discovery-container {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ai-brain {
    position: relative;
    z-index: 15;
}

.brain-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.95);
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.5));
    animation: brainPulse 3s ease-in-out infinite;
}

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

/* Scientific Research Elements */
.research-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 12;
}

.microscope, .dna-helix, .atom, .flask {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
    filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.3));
    animation: researchFloat 4s ease-in-out infinite;
}

.microscope {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.dna-helix {
    top: 20%;
    right: 15%;
    animation-delay: 1s;
}

.atom {
    bottom: 25%;
    left: 20%;
    animation-delay: 2s;
}

.flask {
    bottom: 30%;
    right: 10%;
    animation-delay: 3s;
}

@keyframes researchFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        opacity: 0.8;
    }
    50% { 
        transform: translateY(-10px) rotate(5deg);
        opacity: 1;
    }
}

/* Neural Network Elements */
.neural-network {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 8;
}

.neuron {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 0 25px rgba(102, 126, 234, 0.7);
    animation: neuronGlow 2s ease-in-out infinite;
}

.neuron-1 { top: 20%; left: 15%; animation-delay: 0s; }
.neuron-2 { top: 30%; right: 20%; animation-delay: 0.2s; }
.neuron-3 { top: 50%; left: 10%; animation-delay: 0.4s; }
.neuron-4 { top: 60%; right: 15%; animation-delay: 0.6s; }
.neuron-5 { bottom: 25%; left: 25%; animation-delay: 0.8s; }
.neuron-6 { bottom: 35%; right: 30%; animation-delay: 1s; }
.neuron-7 { top: 15%; left: 50%; animation-delay: 1.2s; }
.neuron-8 { top: 45%; right: 40%; animation-delay: 1.4s; }
.neuron-9 { bottom: 15%; left: 60%; animation-delay: 1.6s; }
.neuron-10 { bottom: 45%; right: 10%; animation-delay: 1.8s; }

@keyframes neuronGlow {
    0%, 100% { 
        transform: scale(1); 
        box-shadow: 0 0 15px rgba(102, 126, 234, 0.6);
    }
    50% { 
        transform: scale(1.3); 
        box-shadow: 0 0 25px rgba(102, 126, 234, 0.9);
    }
}

/* Data Analysis Charts */
.data-analysis {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 6;
}

.chart-bar {
    position: absolute;
    width: 8px;
    background: linear-gradient(to top, #667eea, #764ba2);
    border-radius: 2px;
    animation: chartBarGrow 3s ease-in-out infinite;
}

.bar-1 { height: 40px; bottom: 20%; left: 15%; animation-delay: 0s; }
.bar-2 { height: 60px; bottom: 20%; left: 25%; animation-delay: 0.5s; }
.bar-3 { height: 80px; bottom: 20%; left: 35%; animation-delay: 1s; }
.bar-4 { height: 50px; bottom: 20%; left: 45%; animation-delay: 1.5s; }
.bar-5 { height: 70px; bottom: 20%; left: 55%; animation-delay: 2s; }

.chart-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: chartLineFlow 4s linear infinite;
}

.chart-line-1 {
    top: 30%;
    left: 10%;
    width: 30%;
    transform: rotate(15deg);
    animation-delay: 0s;
}

.chart-line-2 {
    top: 50%;
    right: 20%;
    width: 25%;
    transform: rotate(-20deg);
    animation-delay: 1.5s;
}

.chart-line-3 {
    bottom: 40%;
    left: 30%;
    width: 35%;
    transform: rotate(45deg);
    animation-delay: 3s;
}

@keyframes chartBarGrow {
    0%, 100% { 
        transform: scaleY(0.7);
        opacity: 0.6;
    }
    50% { 
        transform: scaleY(1.2);
        opacity: 1;
    }
}

@keyframes chartLineFlow {
    0% { 
        transform: translateX(-100%) scaleX(0.5);
        opacity: 0;
    }
    50% { 
        opacity: 1;
    }
    100% { 
        transform: translateX(100%) scaleX(1.5);
        opacity: 0;
    }
}

.data-stream {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 2px;
    animation: dataFlow 4s linear infinite;
}

.stream-1 {
    top: 25%;
    left: 0;
    width: 60%;
    animation-delay: 0s;
}

.stream-2 {
    top: 55%;
    right: 0;
    width: 50%;
    animation-delay: 1.5s;
}

.stream-3 {
    bottom: 30%;
    left: 20%;
    width: 40%;
    animation-delay: 3s;
}

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

/* AI Discovery Particles */
.discovery-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: radial-gradient(circle, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(102, 126, 234, 0.8);
    animation: particleFloat 6s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 20%; animation-delay: 0s; }
.particle-2 { top: 25%; right: 25%; animation-delay: 1s; }
.particle-3 { top: 40%; left: 15%; animation-delay: 2s; }
.particle-4 { top: 55%; right: 20%; animation-delay: 3s; }
.particle-5 { bottom: 30%; left: 30%; animation-delay: 4s; }
.particle-6 { bottom: 45%; right: 15%; animation-delay: 5s; }
.particle-7 { top: 70%; left: 25%; animation-delay: 1.5s; }
.particle-8 { bottom: 15%; right: 35%; animation-delay: 2.5s; }

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-20px) scale(1.5);
        opacity: 1;
    }
}

/* Research Connections */
.research-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.connection-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, #667eea, transparent);
    border-radius: 1px;
    animation: connectionPulse 5s ease-in-out infinite;
}

.conn-1 {
    top: 25%; left: 0; width: 40%; animation-delay: 0s;
}

.conn-2 {
    top: 45%; right: 0; width: 35%; animation-delay: 1s;
}

.conn-3 {
    bottom: 35%; left: 20%; width: 30%; animation-delay: 2s;
}

.conn-4 {
    top: 65%; right: 25%; width: 25%; animation-delay: 3s;
}

.conn-5 {
    bottom: 25%; left: 60%; width: 20%; animation-delay: 4s;
}

@keyframes connectionPulse {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.3);
    }
}

/* Scientific Data Points */
.data-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
}

.graph-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
    border-radius: 2px;
    animation: graphLine 3s ease-in-out infinite;
}

.line-1 {
    top: 35%; left: 10%; width: 30%; transform: rotate(15deg);
    animation-delay: 0s;
}

.line-2 {
    top: 65%; right: 15%; width: 25%; transform: rotate(-20deg);
    animation-delay: 1s;
}

.line-3 {
    bottom: 40%; left: 30%; width: 35%; transform: rotate(45deg);
    animation-delay: 2s;
}

@keyframes graphLine {
    0%, 100% { 
        opacity: 0.3;
        transform: scaleX(0.8);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1.2);
    }
}

.data-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: radial-gradient(circle, #667eea, #764ba2);
    border-radius: 50%;
    box-shadow: 0 0 18px rgba(102, 126, 234, 0.9);
    animation: dataPointPulse 3s ease-in-out infinite;
}

.point-1 { top: 20%; left: 25%; animation-delay: 0s; }
.point-2 { top: 35%; right: 30%; animation-delay: 0.5s; }
.point-3 { bottom: 40%; left: 35%; animation-delay: 1s; }
.point-4 { top: 60%; right: 40%; animation-delay: 1.5s; }
.point-5 { bottom: 25%; left: 50%; animation-delay: 2s; }
.point-6 { top: 45%; left: 15%; animation-delay: 2.5s; }
.point-7 { bottom: 50%; right: 20%; animation-delay: 3s; }
.point-8 { top: 75%; left: 45%; animation-delay: 3.5s; }

@keyframes dataPointPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 18px rgba(102, 126, 234, 0.9);
    }
    50% { 
        transform: scale(1.8);
        box-shadow: 0 0 30px rgba(102, 126, 234, 1);
    }
}

/* AI Processing Waves */
.processing-waves {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.wave {
    position: absolute;
    border: 2px solid rgba(102, 126, 234, 0.6);
    border-radius: 50%;
    animation: waveExpand 4s ease-out infinite;
}

.wave-1 {
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    transform: translate(-50%, -50%);
    animation-delay: 0s;
}

.wave-2 {
    top: 50%;
    left: 50%;
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    animation-delay: 1s;
}

.wave-3 {
    top: 50%;
    left: 50%;
    width: 200px;
    height: 200px;
    transform: translate(-50%, -50%);
    animation-delay: 2s;
}

@keyframes waveExpand {
    0% { 
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 1;
    }
    100% { 
        transform: translate(-50%, -50%) scale(2);
        opacity: 0;
    }
}

@keyframes pointPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 0 10px rgba(102, 126, 234, 0.8);
    }
    50% { 
        transform: scale(1.5);
        box-shadow: 0 0 20px rgba(102, 126, 234, 1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .ai-discovery-visualization {
        height: 450px;
    }
    
    .discovery-container {
        width: 350px;
        height: 350px;
    }
    
    .brain-icon {
        font-size: 10rem;
    }
    
    .microscope, .dna-helix, .atom, .flask {
        font-size: 2rem;
    }
    
    .neuron {
        width: 15px;
        height: 15px;
    }
    
    .data-point {
        width: 10px;
        height: 10px;
    }
    
    .particle {
        width: 5px;
        height: 5px;
    }
}

@media (max-width: 576px) {
    .ai-discovery-visualization {
        height: 350px;
    }
    
    .discovery-container {
        width: 280px;
        height: 280px;
    }
    
    .brain-icon {
        font-size: 8rem;
    }
    
    .microscope, .dna-helix, .atom, .flask {
        font-size: 1.5rem;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

.slide-up {
    animation: slideUp 0.6s ease-out;
}

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

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

/* Responsive Enhancements */
@media (max-width: 768px) {
    .hero-section {
        text-align: center;
    }
    
    .hero-section .btn {
        margin-bottom: 0.5rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
}

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

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid var(--primary-color);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #ece6d9;
}

::-webkit-scrollbar-thumb {
    background: #315b54;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #9f7337;
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn {
        display: none !important;
    }
    
    .card {
        border: 1px solid #000 !important;
        box-shadow: none !important;
    }
}

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

/* Focus States */
.btn:focus,
.form-control:focus,
.nav-link:focus {
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    .btn {
        border: 2px solid currentColor;
    }
} 

/* About Section Enhancements */
.about-section {
    background: var(--light-color);
    padding: 4rem 0 4rem 0;
}

/* About Section Gradient Background */
.about-section {
    background: linear-gradient(120deg, #e0e7ff 0%, #f8fafc 100%);
    position: relative;
    overflow: hidden;
}

.about-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><radialGradient id="g" cx="50%" cy="50%" r="80%"><stop offset="0%" stop-color="%23a5b4fc" stop-opacity="0.12"/><stop offset="100%" stop-color="%23f8fafc" stop-opacity="0"/></radialGradient></defs><rect width="100" height="100" fill="url(%23g)"/></svg>');
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.about-section > .container {
    position: relative;
    z-index: 1;
}

/* About Section Button - Elegant Style */
.about-btn {
    display: inline-block;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #315b54 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 47, 43, 0.25);
    border: none;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.about-btn:hover {
    background: linear-gradient(135deg, #9f7337 0%, #bf9451 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 47, 43, 0.28);
}

.about-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(11, 47, 43, 0.3);
}

/* About Section Animations - Matching but Not Same as Hero */
@keyframes fadeInLeftSoft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.about-section .display-5 {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeftSoft 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.4s forwards;
}

.about-section .lead {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeftSoft 1.2s cubic-bezier(0.23, 1, 0.32, 1) 0.7s forwards;
}

.about-section .about-stats .about-stat {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeftSoft 1s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.about-section .about-stats .about-stat:nth-child(1) { animation-delay: 1.0s; }
.about-section .about-stats .about-stat:nth-child(2) { animation-delay: 1.2s; }
.about-section .about-stats .about-stat:nth-child(3) { animation-delay: 1.4s; }
.about-section .about-stats .about-stat:nth-child(4) { animation-delay: 1.6s; }

.about-section .card {
    opacity: 0;
    transform: translateX(-40px);
    animation: fadeInLeftSoft 1.1s cubic-bezier(0.23, 1, 0.32, 1) 1.8s forwards;
}

@media (max-width: 991.98px) {
    .about-section .about-stats .about-stat {
        animation-delay: 1.0s !important;
    }
}

.about-section .display-5 {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-section .lead {
    color: var(--dark-color);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.about-section .text-muted {
    color: #6c757d !important;
}

.about-section .about-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem 3rem;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
}

.about-section .about-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 180px;
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 1.25rem 2rem;
    transition: var(--transition);
}

.about-section .about-stat:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px) scale(1.03);
}

.about-section .about-stat i {
    font-size: 2.5rem;
    color: var(--primary-color);
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
    border-radius: 50%;
    padding: 0.5rem;
    margin-right: 0.5rem;
}

.about-section .about-stat .stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.about-section .about-stat .stat-label {
    font-size: 1rem;
    color: var(--secondary-color);
}

.about-section .card {
    border-radius: 1rem;
    box-shadow: var(--shadow-sm);
    border: none;
    background: #fff;
    transition: var(--transition);
}

.about-section .card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px) scale(1.01);
}

.about-section .card-body {
    padding: 2rem 2.5rem;
}

.about-section .card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.about-section .card-text {
    color: var(--dark-color);
    font-size: 1.08rem;
}

@media (max-width: 991.98px) {
    .about-section .about-stats {
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    .about-section .card-body {
        padding: 1.5rem 1.2rem;
    }
}

@media (max-width: 767.98px) {
    .about-section {
        padding: 2.5rem 0;
    }
    .about-section .display-5 {
        font-size: 2rem;
    }
    .about-section .about-stat {
        min-width: 140px;
        padding: 1rem 1.2rem;
    }
} 

/* Research Areas Section */
.research-areas-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
    padding: 5rem 0;
}

.research-areas-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="grid" width="20" height="20" patternUnits="userSpaceOnUse"><path d="M 20 0 L 0 0 0 20" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

#neuralCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.research-areas-section > .container {
    position: relative;
    z-index: 2;
}

.research-title {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.3s forwards;
    color: #2d3748;
    font-weight: 700;
}

.research-subtitle {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.6s forwards;
    color: #4a5568;
}

.research-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.research-card:nth-child(1) { animation-delay: 0.8s; }
.research-card:nth-child(2) { animation-delay: 1.0s; }
.research-card:nth-child(3) { animation-delay: 1.2s; }
.research-card:nth-child(4) { animation-delay: 1.4s; }

.research-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.research-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    animation: iconFloat 3s ease-in-out infinite;
}

.research-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    opacity: 0.3;
    animation: iconPulse 2s ease-in-out infinite;
}

.research-icon i {
    font-size: 2rem;
    color: white;
    animation: iconRotate 4s linear infinite;
}

/* Icon-specific animations */
.research-card:nth-child(1) .research-icon {
    animation-delay: 0s;
}

.research-card:nth-child(2) .research-icon {
    animation-delay: 0.5s;
}

.research-card:nth-child(3) .research-icon {
    animation-delay: 1s;
}

.research-card:nth-child(4) .research-icon {
    animation-delay: 1.5s;
}

.research-card:nth-child(1) .research-icon i {
    animation: shieldPulse 2s ease-in-out infinite;
}

.research-card:nth-child(2) .research-icon i {
    animation: peopleWave 3s ease-in-out infinite;
}

.research-card:nth-child(3) .research-icon i {
    animation: gearSpin 4s linear infinite;
}

.research-card:nth-child(4) .research-icon i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

.research-card h4 {
    color: #2d3748;
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.research-card p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.research-btn {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, #0b2f2b 0%, #315b54 100%);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(11, 47, 43, 0.25);
}

.research-btn:hover {
    background: linear-gradient(135deg, #9f7337 0%, #bf9451 100%);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(11, 47, 43, 0.3);
}

/* Animation keyframes */
@keyframes iconFloat {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

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

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

@keyframes peopleWave {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-3px) rotate(2deg);
    }
    75% {
        transform: translateY(3px) rotate(-2deg);
    }
}

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

@keyframes heartbeat {
    0%, 100% {
        transform: scale(1);
    }
    25% {
        transform: scale(1.1);
    }
    50% {
        transform: scale(1.05);
    }
    75% {
        transform: scale(1.15);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .research-areas-section {
        padding: 3rem 0;
    }
    
    .research-card {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .research-icon {
        width: 60px;
        height: 60px;
    }
    
    .research-icon i {
        font-size: 1.5rem;
    }
} 

/* Diversity Section with Jigsaw Puzzle Collaboration */
.diversity-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    color: #333;
    overflow: hidden;
    min-height: 600px;
    padding: 4rem 0;
}

/* Jigsaw Puzzle Background */
.puzzle-background {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 1;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.8) 0%, rgba(240, 240, 240, 0.6) 100%);
}

/* Central Jigsaw Puzzle */
.jigsaw-puzzle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    z-index: 2;
}

.puzzle-piece {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: pieceGlow 3s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

/* Puzzle piece positions in 3x3 grid */
.piece-1 { top: 0; left: 0; background: #90EE90; animation-delay: 0s; }
.piece-2 { top: 0; left: 70px; background: #1E90FF; animation-delay: 0.2s; }
.piece-3 { top: 0; left: 140px; background: #20B2AA; animation-delay: 0.4s; }
.piece-4 { top: 70px; left: 0; background: #FFA500; animation-delay: 0.6s; }
.piece-5 { top: 70px; left: 70px; background: #DC143C; animation-delay: 0.8s; }
.piece-6 { top: 70px; left: 140px; background: #87CEEB; animation-delay: 1s; }
.piece-7 { top: 140px; left: 0; background: #8B4513; animation-delay: 1.2s; }
.piece-8 { top: 140px; left: 70px; background: #32CD32; animation-delay: 1.4s; }
.piece-9 { top: 140px; left: 140px; background: #FF6347; animation-delay: 1.6s; }

/* Diverse Hands */
.diverse-hands {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hand {
    position: absolute;
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #f4d03f 0%, #f39c12 100%);
    border-radius: 40px 40px 20px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    animation: handReach 4s ease-in-out infinite;
    transform-origin: bottom center;
}

/* Hand positions around the puzzle - moved outward */
.hand-1 {
    top: 10%; left: 25%;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    transform: rotate(-15deg);
    animation-delay: 0s;
}

.hand-2 {
    top: 10%; left: 65%;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    transform: rotate(15deg);
    animation-delay: 0.5s;
}

.hand-3 {
    top: 30%; left: 85%;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    transform: rotate(75deg);
    animation-delay: 1s;
}

.hand-4 {
    top: 50%; left: 85%;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    transform: rotate(75deg);
    animation-delay: 1.5s;
}

.hand-5 {
    top: 80%; left: 65%;
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    transform: rotate(165deg);
    animation-delay: 2s;
}

.hand-6 {
    top: 80%; left: 25%;
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    transform: rotate(195deg);
    animation-delay: 2.5s;
}

.hand-7 {
    top: 50%; left: 5%;
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    transform: rotate(255deg);
    animation-delay: 3s;
}

.hand-8 {
    top: 30%; left: 5%;
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    transform: rotate(285deg);
    animation-delay: 3.5s;
}

/* Hand details */
.hand::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 80px;
    background: inherit;
    border-radius: 30px 30px 15px 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hand::after {
    content: '';
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background: inherit;
    border-radius: 20px 20px 10px 10px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Connection Lines from Hands to Puzzle */
.hand-connections {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.connection-line {
    position: absolute;
    height: 3px;
    background: linear-gradient(90deg, rgba(52, 152, 219, 0.8), rgba(52, 152, 219, 0.3));
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.4);
    animation: connectionPulse 3s ease-in-out infinite;
    border-radius: 2px;
}

/* Connection Lines from Hands to Puzzle - adjusted positions */
.connection-1 {
    top: 20%; left: 35%; width: 20%; transform: rotate(-10deg);
    animation-delay: 0s;
}

.connection-2 {
    top: 20%; left: 70%; width: 20%; transform: rotate(10deg);
    animation-delay: 0.3s;
}

.connection-3 {
    top: 40%; left: 90%; width: 15%; transform: rotate(60deg);
    animation-delay: 0.6s;
}

.connection-4 {
    top: 60%; left: 90%; width: 15%; transform: rotate(60deg);
    animation-delay: 0.9s;
}

.connection-5 {
    top: 90%; left: 70%; width: 20%; transform: rotate(170deg);
    animation-delay: 1.2s;
}

.connection-6 {
    top: 90%; left: 35%; width: 20%; transform: rotate(190deg);
    animation-delay: 1.5s;
}

.connection-7 {
    top: 60%; left: 10%; width: 15%; transform: rotate(240deg);
    animation-delay: 1.8s;
}

.connection-8 {
    top: 40%; left: 10%; width: 15%; transform: rotate(300deg);
    animation-delay: 2.1s;
}

/* Collaboration Particles */
.collaboration-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.collaboration-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(52, 152, 219, 0.9);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.8);
    animation: particleFlow 5s linear infinite;
}

/* Collaboration Particles - adjusted positions */
.particle-1 { top: 25%; left: 35%; animation-delay: 0s; }
.particle-2 { top: 25%; left: 70%; animation-delay: 0.5s; }
.particle-3 { top: 45%; left: 90%; animation-delay: 1s; }
.particle-4 { top: 65%; left: 90%; animation-delay: 1.5s; }
.particle-5 { top: 85%; left: 70%; animation-delay: 2s; }
.particle-6 { top: 85%; left: 35%; animation-delay: 2.5s; }
.particle-7 { top: 65%; left: 10%; animation-delay: 3s; }
.particle-8 { top: 45%; left: 10%; animation-delay: 3.5s; }

/* Animation Keyframes */
@keyframes pieceGlow {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    }
}

@keyframes handReach {
    0%, 100% {
        transform: rotate(var(--rotation)) scale(1);
    }
    50% {
        transform: rotate(calc(var(--rotation) + 5deg)) scale(1.1);
    }
}

@keyframes connectionPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 0.8;
        transform: scaleX(1.2);
    }
}

@keyframes particleFlow {
    0% {
        transform: translateY(0px) scale(0.5);
        opacity: 0;
    }
    20% {
        opacity: 1;
        transform: translateY(-10px) scale(1);
    }
    80% {
        opacity: 1;
        transform: translateY(-50px) scale(1);
    }
    100% {
        transform: translateY(-80px) scale(0.5);
        opacity: 0;
    }
}

.diversity-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(52, 152, 219, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(46, 204, 113, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(155, 89, 182, 0.05) 0%, transparent 50%);
    z-index: 1;
}

.diversity-section > .container {
    position: relative;
    z-index: 3;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Diversity Content Styling */
.diversity-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(52, 152, 219, 0.2);
    position: relative;
    z-index: 3;
    margin: 0 auto;
    max-width: 1000px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.diversity-content p {
    color: #333;
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .diversity-section {
        padding: 2rem 0;
    }
    
    .diversity-section > .container {
        padding: 0 1rem;
    }
    
    .diversity-content {
        padding: 2rem;
    }
    
    .diversity-content p {
        font-size: 1rem;
    }
    
    .jigsaw-puzzle {
        width: 150px;
        height: 150px;
    }
    
    .puzzle-piece {
        width: 45px;
        height: 45px;
    }
    
    .piece-2 { left: 52px; }
    .piece-3 { left: 105px; }
    .piece-4 { top: 52px; }
    .piece-5 { top: 52px; left: 52px; }
    .piece-6 { top: 52px; left: 105px; }
    .piece-7 { top: 105px; }
    .piece-8 { top: 105px; left: 52px; }
    .piece-9 { top: 105px; left: 105px; }
    
    .hand {
        width: 60px;
        height: 90px;
    }
    
    .connection-line {
        height: 2px;
    }
    
    .collaboration-particle {
        width: 4px;
        height: 4px;
    }
}

/* Background Map Icons - Positioned on sides */
.background-maps {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.map-icon {
    position: absolute;
    font-size: 8rem;
    opacity: 0.6;
    color: rgba(255, 255, 255, 0.9);
    animation: mapFloat 6s ease-in-out infinite;
}

.map-asia {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.map-europe {
    top: 15%;
    right: 8%;
    animation-delay: 1.5s;
}

.map-americas {
    bottom: 15%;
    left: 8%;
    animation-delay: 3s;
}

.map-africa {
    bottom: 15%;
    right: 8%;
    animation-delay: 4.5s;
}

@keyframes mapFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg) scale(1);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-25px) rotate(8deg) scale(1.1);
        opacity: 0.8;
    }
}

/* Scientist Collaboration Group - Organic positioning */
.scientist-collaboration {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.scientist {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scientistFloat 3s ease-in-out infinite;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.scientist:hover {
    transform: scale(1.2);
    box-shadow: 0 12px 30px rgba(255, 255, 255, 0.6);
}

.scientist-icon {
    font-size: 2.5rem;
}

/* Organic scientist positions - not straight lines */
.scientist-male {
    top: 12%;
    left: 18%;
    animation-delay: 0s;
}

.scientist-female {
    top: 28%;
    left: 22%;
    animation-delay: 0.6s;
}

.scientist-computer {
    top: 45%;
    left: 16%;
    animation-delay: 1.2s;
}

.scientist-lawyer {
    top: 62%;
    left: 24%;
    animation-delay: 1.8s;
}

.scientist-bio {
    top: 35%;
    left: 32%;
    animation-delay: 2.4s;
}

/* Organic connection lines - curved and flowing */
.scientist-line-1 {
    position: absolute;
    top: 20%;
    left: 25%;
    width: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: rotate(15deg);
    animation: scientistConnection 2s ease-in-out infinite;
    animation-delay: 0s;
}

.scientist-line-2 {
    position: absolute;
    top: 36%;
    left: 19%;
    width: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: rotate(-10deg);
    animation: scientistConnection 2s ease-in-out infinite;
    animation-delay: 0.4s;
}

.scientist-line-3 {
    position: absolute;
    top: 53%;
    left: 20%;
    width: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: rotate(20deg);
    animation: scientistConnection 2s ease-in-out infinite;
    animation-delay: 0.8s;
}

.scientist-line-4 {
    position: absolute;
    top: 70%;
    left: 28%;
    width: 8%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: rotate(-5deg);
    animation: scientistConnection 2s ease-in-out infinite;
    animation-delay: 1.2s;
}

.scientist-line-5 {
    position: absolute;
    top: 42%;
    left: 28%;
    width: 6%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
    transform: rotate(45deg);
    animation: scientistConnection 2s ease-in-out infinite;
    animation-delay: 1.6s;
}

@keyframes scientistFloat {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.95;
    }
    50% {
        transform: translateY(-15px) scale(1.1);
        opacity: 1;
    }
}

@keyframes scientistConnection {
    0%, 100% {
        opacity: 0.5;
        transform: scaleX(0.7);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.4);
    }
}

/* Collaboration Hubs - Organic positioning on right */
.collaboration-hubs {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.hub {
    position: absolute;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.6);
    animation: hubFloat 4s ease-in-out infinite;
}

.hub-icon {
    font-size: 2rem;
    margin-bottom: 4px;
}

.hub-label {
    font-size: 0.7rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

.hub-1 { top: 18%; right: 18%; animation-delay: 0s; }
.hub-2 { top: 42%; right: 22%; animation-delay: 1.3s; }
.hub-3 { top: 65%; right: 16%; animation-delay: 2.6s; }

/* Innovation Center - Central but offset */
.innovation-center {
    position: absolute;
    top: 48%;
    right: 28%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 70%);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: innovationPulse 3s ease-in-out infinite;
    z-index: 10;
}

.innovation-icon {
    font-size: 3rem;
    margin-bottom: 8px;
}

.innovation-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-align: center;
}

.innovation-glow {
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 2s ease-in-out infinite;
}

/* Organic connection lines from scientists to maps */
.scientist-to-map-1 {
    position: absolute;
    top: 20%;
    left: 18%;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    transform: rotate(-35deg);
    animation: scientistToMapConnection 3s ease-in-out infinite;
    animation-delay: 0s;
}

.scientist-to-map-2 {
    position: absolute;
    top: 35%;
    left: 22%;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    transform: rotate(-25deg);
    animation: scientistToMapConnection 3s ease-in-out infinite;
    animation-delay: 0.6s;
}

.scientist-to-map-3 {
    position: absolute;
    top: 52%;
    left: 16%;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    transform: rotate(-15deg);
    animation: scientistToMapConnection 3s ease-in-out infinite;
    animation-delay: 1.2s;
}

.scientist-to-map-4 {
    position: absolute;
    top: 68%;
    left: 24%;
    width: 25%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    transform: rotate(-5deg);
    animation: scientistToMapConnection 3s ease-in-out infinite;
    animation-delay: 1.8s;
}

.scientist-to-map-5 {
    position: absolute;
    top: 42%;
    left: 32%;
    width: 20%;
    height: 3px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.4));
    transform: rotate(10deg);
    animation: scientistToMapConnection 3s ease-in-out infinite;
    animation-delay: 2.4s;
}

@keyframes scientistToMapConnection {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(0.8);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.5);
    }
} 

/* Collaborators Section Styling */
.collaborators-section {
    background: #f8f9fa;
}

.collaborators-section .card {
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.collaborators-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.collaborator-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 1.5rem;
}

.collaborator-icon i {
    color: #0b2f2b;
    transition: transform 0.3s ease;
}

.collaborators-section .card:hover .collaborator-icon i {
    transform: scale(1.1);
}

.collaborators-section .card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
}

.collaborators-section .badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    background: #0b2f2b;
    color: white;
}

.collaborators-section .card-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.collaborators-section .btn-outline-primary {
    border: 1px solid #0b2f2b;
    color: #0b2f2b;
    background: transparent;
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.collaborators-section .btn-outline-primary:hover {
    background: #bf9451;
    border-color: #bf9451;
    color: #0b2f2b;
    transform: translateY(-1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .collaborators-section .card {
        margin-bottom: 1rem;
    }
    
    .collaborator-icon i {
        font-size: 2.5rem;
    }
    
    .collaborators-section .card-title {
        font-size: 1rem;
    }
    
    .collaborators-section .card-text {
        font-size: 0.8rem;
    }
}

/* Events Section with Background Icons */
.events-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    overflow: hidden;
}

.event-background-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.event-icon {
    position: absolute;
    font-size: 2rem;
    color: rgba(13, 110, 253, 0.1);
    animation: eventIconFloat 6s ease-in-out infinite;
    opacity: 0.6;
}

.event-icon i {
    transition: all 0.3s ease;
}

.event-icon:hover i {
    color: rgba(13, 110, 253, 0.3);
    transform: scale(1.2);
}

/* Event Icon Positions */
.event-icon-1 {
    top: 15%;
    left: 10%;
    animation-delay: 0s;
}

.event-icon-2 {
    top: 25%;
    right: 15%;
    animation-delay: 1s;
}

.event-icon-3 {
    top: 45%;
    left: 5%;
    animation-delay: 2s;
}

.event-icon-4 {
    top: 55%;
    right: 10%;
    animation-delay: 3s;
}

.event-icon-5 {
    bottom: 30%;
    left: 20%;
    animation-delay: 4s;
}

.event-icon-6 {
    bottom: 40%;
    right: 25%;
    animation-delay: 5s;
}

.event-icon-7 {
    top: 70%;
    left: 15%;
    animation-delay: 1.5s;
}

.event-icon-8 {
    top: 35%;
    left: 50%;
    animation-delay: 2.5s;
}

@keyframes eventIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-10px) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-5px) rotate(-3deg);
        opacity: 0.7;
    }
    75% {
        transform: translateY(-15px) rotate(2deg);
        opacity: 0.9;
    }
}

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

.events-section .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.events-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .event-icon {
        font-size: 1.5rem;
    }
    
    .event-icon-1 { top: 10%; left: 5%; }
    .event-icon-2 { top: 20%; right: 10%; }
    .event-icon-3 { top: 40%; left: 3%; }
    .event-icon-4 { top: 50%; right: 8%; }
    .event-icon-5 { bottom: 25%; left: 15%; }
    .event-icon-6 { bottom: 35%; right: 20%; }
    .event-icon-7 { top: 65%; left: 10%; }
    .event-icon-8 { top: 30%; left: 45%; }
}

/* Publications Section with Background Icons */
.publications-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    overflow: hidden;
}

.publication-background-icons {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.publication-icon {
    position: absolute;
    font-size: 2.2rem;
    color: rgba(108, 117, 125, 0.15);
    animation: publicationIconFloat 8s ease-in-out infinite;
    opacity: 0.7;
}

.publication-icon i {
    transition: all 0.3s ease;
}

.publication-icon:hover i {
    color: rgba(108, 117, 125, 0.4);
    transform: scale(1.3);
}

/* Publication Icon Positions */
.publication-icon-1 {
    top: 12%;
    left: 8%;
    animation-delay: 0s;
}

.publication-icon-2 {
    top: 28%;
    right: 12%;
    animation-delay: 1.2s;
}

.publication-icon-3 {
    top: 48%;
    left: 6%;
    animation-delay: 2.4s;
}

.publication-icon-4 {
    top: 62%;
    right: 8%;
    animation-delay: 3.6s;
}

.publication-icon-5 {
    bottom: 28%;
    left: 18%;
    animation-delay: 4.8s;
}

.publication-icon-6 {
    bottom: 42%;
    right: 22%;
    animation-delay: 6s;
}

.publication-icon-7 {
    top: 75%;
    left: 12%;
    animation-delay: 1.8s;
}

.publication-icon-8 {
    top: 38%;
    left: 55%;
    animation-delay: 3s;
}

@keyframes publicationIconFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-12px) rotate(3deg);
        opacity: 0.9;
    }
    50% {
        transform: translateY(-6px) rotate(-2deg);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-18px) rotate(1deg);
        opacity: 1;
    }
}

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

.publications-section .card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.publications-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
    background: rgba(255, 255, 255, 1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .publication-icon {
        font-size: 1.8rem;
    }
    
    .publication-icon-1 { top: 8%; left: 4%; }
    .publication-icon-2 { top: 22%; right: 8%; }
    .publication-icon-3 { top: 42%; left: 3%; }
    .publication-icon-4 { top: 58%; right: 6%; }
    .publication-icon-5 { bottom: 24%; left: 14%; }
    .publication-icon-6 { bottom: 38%; right: 18%; }
    .publication-icon-7 { top: 70%; left: 8%; }
    .publication-icon-8 { top: 32%; left: 50%; }
}

/* Footer Styling */
.footer-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    position: relative;
    z-index: 2;
}

.footer-brand {
    margin-bottom: 2rem;
}

.footer-logo {
    filter: brightness(1.2) contrast(1.1);
    transition: all 0.3s ease;
}

.footer-logo:hover {
    filter: brightness(1.4) contrast(1.2);
    transform: scale(1.05);
}

.footer-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-link:hover {
    color: white !important;
    text-decoration: none !important;
    transform: translateX(5px);
}



.social-link {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    padding: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.social-link:hover {
    color: white !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    text-decoration: none !important;
}

.footer-section h6 {
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-section .contact-info {
    margin-top: 1rem;
}

.footer-section .contact-info .d-flex {
    margin-bottom: 0.75rem;
}

.footer-section .contact-info i {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

.footer-section hr {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.footer-section .list-inline-item:not(:last-child) {
    margin-right: 1.5rem;
}

/* Header CTA: Donors + Donate buttons */
.donors-btn {
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    padding: 0.4rem 1rem !important;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none !important;
}

.donors-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff !important;
    border-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.donate-btn {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white !important;
    border-radius: 20px;
    padding: 0.4rem 1rem !important;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 600;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
}

.donate-btn:hover {
    background: linear-gradient(135deg, #ee5a24 0%, #ff6b6b 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(238, 90, 36, 0.4);
    text-decoration: none !important;
    border-color: rgba(255, 255, 255, 0.4);
}

.donate-btn i {
    color: white;
    animation: heartbeat 2s ease-in-out infinite;
}

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

/* Testimonials Section with Animated Background */
.testimonials-section {
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #dee2e6 100%);
    overflow: hidden;
}

.testimonial-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Quote Marks Animation */
.quote-mark {
    position: absolute;
    font-size: 3rem;
    color: rgba(255, 193, 7, 0.15);
    animation: quoteFloat 8s ease-in-out infinite;
}

.quote-1 { top: 15%; left: 10%; animation-delay: 0s; }
.quote-2 { top: 25%; right: 15%; animation-delay: 2s; }
.quote-3 { top: 60%; left: 8%; animation-delay: 4s; }
.quote-4 { top: 70%; right: 12%; animation-delay: 6s; }

@keyframes quoteFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.15; }
    25% { transform: translateY(-15px) rotate(5deg); opacity: 0.25; }
    50% { transform: translateY(-8px) rotate(-3deg); opacity: 0.2; }
    75% { transform: translateY(-20px) rotate(2deg); opacity: 0.3; }
}

/* Floating Stars Animation */
.floating-star {
    position: absolute;
    font-size: 1.5rem;
    color: rgba(255, 193, 7, 0.2);
    animation: starFloat 6s ease-in-out infinite;
}

.star-1 { top: 20%; left: 20%; animation-delay: 0s; }
.star-2 { top: 35%; right: 25%; animation-delay: 1s; }
.star-3 { top: 55%; left: 30%; animation-delay: 2s; }
.star-4 { top: 75%; right: 20%; animation-delay: 3s; }
.star-5 { top: 40%; left: 50%; animation-delay: 4s; }

@keyframes starFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg) scale(1); opacity: 0.2; }
    25% { transform: translateY(-12px) rotate(90deg) scale(1.1); opacity: 0.4; }
    50% { transform: translateY(-6px) rotate(180deg) scale(0.9); opacity: 0.3; }
    75% { transform: translateY(-18px) rotate(270deg) scale(1.2); opacity: 0.5; }
}

/* Floating Hearts Animation */
.floating-heart {
    position: absolute;
    font-size: 1.8rem;
    color: rgba(220, 53, 69, 0.15);
    animation: heartFloat 7s ease-in-out infinite;
}

.heart-1 { top: 30%; left: 15%; animation-delay: 0s; }
.heart-2 { top: 65%; right: 30%; animation-delay: 2.5s; }
.heart-3 { top: 45%; left: 60%; animation-delay: 5s; }

@keyframes heartFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.15; }
    25% { transform: translateY(-10px) scale(1.1); opacity: 0.25; }
    50% { transform: translateY(-5px) scale(0.9); opacity: 0.2; }
    75% { transform: translateY(-15px) scale(1.2); opacity: 0.3; }
}

/* Floating Thumbs Up Animation */
.floating-thumb {
    position: absolute;
    font-size: 1.6rem;
    color: rgba(40, 167, 69, 0.15);
    animation: thumbFloat 9s ease-in-out infinite;
}

.thumb-1 { top: 25%; right: 10%; animation-delay: 1s; }
.thumb-2 { top: 70%; left: 25%; animation-delay: 4s; }

@keyframes thumbFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.15; }
    25% { transform: translateY(-8px) rotate(10deg); opacity: 0.25; }
    50% { transform: translateY(-4px) rotate(-5deg); opacity: 0.2; }
    75% { transform: translateY(-12px) rotate(15deg); opacity: 0.3; }
}

/* Glowing Particles Animation */
.glow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.6) 0%, rgba(255, 193, 7, 0.2) 50%, transparent 100%);
    border-radius: 50%;
    animation: particleGlow 5s ease-in-out infinite;
}

.particle-1 { top: 15%; left: 40%; animation-delay: 0s; }
.particle-2 { top: 35%; right: 40%; animation-delay: 1s; }
.particle-3 { top: 60%; left: 35%; animation-delay: 2s; }
.particle-4 { top: 80%; right: 35%; animation-delay: 3s; }
.particle-5 { top: 50%; left: 25%; animation-delay: 4s; }
.particle-6 { top: 30%; right: 25%; animation-delay: 2.5s; }

@keyframes particleGlow {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.5); opacity: 0.8; }
}

/* Testimonial Cards Styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 1);
}

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

/* Foundation Section with Animated Background */
.foundation-section {
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    overflow: hidden;
}

.foundation-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Wisdom Symbols Animation */
.wisdom-symbol {
    position: absolute;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.15);
    animation: wisdomFloat 10s ease-in-out infinite;
}

.symbol-1 { top: 15%; left: 10%; animation-delay: 0s; }
.symbol-2 { top: 25%; right: 15%; animation-delay: 2s; }
.symbol-3 { top: 60%; left: 8%; animation-delay: 4s; }
.symbol-4 { top: 70%; right: 12%; animation-delay: 6s; }
.symbol-5 { top: 40%; left: 20%; animation-delay: 8s; }
.symbol-6 { top: 50%; right: 25%; animation-delay: 3s; }

@keyframes wisdomFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.15; }
    25% { transform: translateY(-20px) rotate(5deg); opacity: 0.25; }
    50% { transform: translateY(-10px) rotate(-3deg); opacity: 0.2; }
    75% { transform: translateY(-25px) rotate(2deg); opacity: 0.3; }
}

/* Sanskrit Letters Animation */
.sanskrit-letter {
    position: absolute;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.2);
    font-weight: bold;
    animation: sanskritFloat 12s ease-in-out infinite;
}

.letter-1 { top: 20%; left: 30%; animation-delay: 0s; }
.letter-2 { top: 35%; right: 30%; animation-delay: 3s; }
.letter-3 { top: 65%; left: 25%; animation-delay: 6s; }
.letter-4 { top: 80%; right: 20%; animation-delay: 9s; }

@keyframes sanskritFloat {
    0%, 100% { transform: translateY(0px) scale(1); opacity: 0.2; }
    25% { transform: translateY(-15px) scale(1.1); opacity: 0.4; }
    50% { transform: translateY(-8px) scale(0.9); opacity: 0.3; }
    75% { transform: translateY(-20px) scale(1.2); opacity: 0.5; }
}

/* Foundation Particles Animation */
.foundation-particle {
    position: absolute;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    border-radius: 50%;
    animation: foundationParticleGlow 6s ease-in-out infinite;
}

.particle-1 { top: 10%; left: 45%; animation-delay: 0s; }
.particle-2 { top: 30%; right: 45%; animation-delay: 1s; }
.particle-3 { top: 55%; left: 40%; animation-delay: 2s; }
.particle-4 { top: 75%; right: 40%; animation-delay: 3s; }
.particle-5 { top: 45%; left: 35%; animation-delay: 4s; }
.particle-6 { top: 25%; right: 35%; animation-delay: 2.5s; }

@keyframes foundationParticleGlow {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.8); opacity: 0.9; }
}

/* Foundation Cards Styling */
.foundation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    height: 100%;
}

.foundation-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.foundation-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
}

.foundation-title {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.foundation-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
}

.sanskrit-quote {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid rgba(255, 255, 255, 0.3);
}

.sanskrit-quote p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin: 0;
}

/* Foundation Principles */
.foundation-principles {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.principle-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    min-width: 120px;
}

.principle-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.principle-item i {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.principle-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

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

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-brand {
        text-align: center;
        margin-bottom: 1.5rem;
    }
    
    .footer-logo {
        height: 60px !important;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section h6 {
        margin-top: 1.5rem;
    }
    
    .footer-section .col-md-6 {
        text-align: center;
    }
    
    .footer-section .text-md-end {
        text-align: center !important;
    }
    
    .donate-btn,
    .donors-btn {
        margin-left: 0;
        margin-top: 10px;
        text-align: center;
    }
    
    /* Testimonial responsive adjustments */
    .quote-mark { font-size: 2rem; }
    .floating-star { font-size: 1.2rem; }
    .floating-heart { font-size: 1.5rem; }
    .floating-thumb { font-size: 1.3rem; }
    .glow-particle { width: 6px; height: 6px; }
    
    .quote-1 { top: 10%; left: 5%; }
    .quote-2 { top: 20%; right: 8%; }
    .quote-3 { top: 55%; left: 3%; }
    .quote-4 { top: 65%; right: 6%; }
    
    .star-1 { top: 15%; left: 15%; }
    .star-2 { top: 30%; right: 20%; }
    .star-3 { top: 50%; left: 25%; }
    .star-4 { top: 70%; right: 15%; }
    .star-5 { top: 35%; left: 45%; }
    
    .heart-1 { top: 25%; left: 10%; }
    .heart-2 { top: 60%; right: 25%; }
    .heart-3 { top: 40%; left: 55%; }
    
    .thumb-1 { top: 20%; right: 5%; }
    .thumb-2 { top: 65%; left: 20%; }
    
    /* Foundation responsive adjustments */
    .wisdom-symbol { font-size: 2rem; }
    .sanskrit-letter { font-size: 1.5rem; }
    .foundation-particle { width: 8px; height: 8px; }
    
    .symbol-1 { top: 10%; left: 5%; }
    .symbol-2 { top: 20%; right: 8%; }
    .symbol-3 { top: 55%; left: 3%; }
    .symbol-4 { top: 65%; right: 6%; }
    .symbol-5 { top: 35%; left: 15%; }
    .symbol-6 { top: 45%; right: 20%; }
    
    .letter-1 { top: 15%; left: 25%; }
    .letter-2 { top: 30%; right: 25%; }
    .letter-3 { top: 60%; left: 20%; }
    .letter-4 { top: 75%; right: 15%; }
    
    .particle-1 { top: 8%; left: 40%; }
    .particle-2 { top: 25%; right: 40%; }
    .particle-3 { top: 50%; left: 35%; }
    .particle-4 { top: 70%; right: 35%; }
    .particle-5 { top: 40%; left: 30%; }
    .particle-6 { top: 20%; right: 30%; }
    
    .foundation-principles {
        gap: 1rem;
        flex-direction: column;
    }
    
    .principle-item {
        min-width: 100px;
        padding: 0.75rem;
    }
    
    .principle-item i {
        font-size: 1.5rem;
    }
    
    .principle-item span {
        font-size: 0.8rem;
    }
}

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

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

/* Mobile responsiveness */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.hero-buttons {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out 1.5s forwards;
}

/* Home Page Media Gallery Section - Blue/Purple Theme */
.media-gallery-section {
    position: relative;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #1a202c;
    overflow: hidden;
    min-height: 600px;
    padding: 5rem 0;
}

/* Professional Decorative Elements */
/*.media-gallery-section::before {*/
/*    content: '';*/
/*    position: absolute;*/
/*    top: 0;*/
/*    left: 0;*/
/*    right: 0;*/
/*    bottom: 0;*/
/*    background: */
/*        radial-gradient(circle at 15% 15%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),*/
/*        radial-gradient(circle at 85% 85%, rgba(16, 185, 129, 0.05) 0%, transparent 50%),*/
/*        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.03) 0%, transparent 50%);*/
/*    z-index: 1;*/
/*}*/

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

.media-gallery-section h2 {
    color: #1a202c;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.025em;
}

.media-gallery-section .subtitle {
    color: #4a5568;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Professional Card Design */
.media-gallery-section .card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    color: #1a202c;
}

.media-gallery-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e0;
}

.media-gallery-section .card h5 {
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.media-gallery-section .card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}

/* Impact Section - Professional Clean Design */
.impact-section {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    color: #1a202c;
    overflow: hidden;
    min-height: 600px;
    padding: 5rem 0;
}

/* Professional Decorative Elements */
.impact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, 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% 60%, rgba(245, 158, 11, 0.03) 0%, transparent 50%);
    z-index: 1;
}

.impact-section .container {
    position: relative;
    z-index: 10;
}

.impact-section h2 {
    color: #1a202c;
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: -0.025em;
}

.impact-section .subtitle {
    color: #4a5568;
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.6;
}

/* Professional Impact Icons */
.impact-icons-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.impact-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    width: 80px;
    height: 80px;
    color: white;
    box-shadow: 0 10px 15px -3px rgba(16, 185, 129, 0.3), 0 4px 6px -2px rgba(16, 185, 129, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin: 0 auto;
}

.impact-icon:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.4), 0 10px 10px -5px rgba(16, 185, 129, 0.3);
}

/* Professional Card Design for Impact */
.impact-section .card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 10;
    color: #1a202c;
}

.impact-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border-color: #cbd5e0;
}

.impact-section .card h5 {
    color: #1a202c;
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
    line-height: 1.4;
    letter-spacing: -0.025em;
}

.impact-section .card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
    font-weight: 400;
}

/* Media Gallery Cards - Professional Design with Buttons */
.media-gallery-section .card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.media-gallery-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.media-gallery-section .card h5 {
    color: #1a252f;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.media-gallery-section .card h4 {
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.media-gallery-section .card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Media Gallery Buttons */
.media-gallery-section .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
    margin-top: auto;
}

.media-gallery-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.media-gallery-section .btn::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.media-gallery-section .btn:hover::after {
    transform: translateX(3px);
}

/* Impact Section Cards - Professional Design with Buttons */
.impact-section .card {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.impact-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.impact-section .card h5 {
    color: #1a252f;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
}

.impact-section .card h4 {
    color: #1a252f;
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.4;
}

.impact-section .card p {
    color: #4a5568;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Impact Section Buttons */
.impact-section .btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(17, 153, 142, 0.3);
    margin-top: auto;
}

.impact-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.4);
    color: white;
    text-decoration: none;
}

.impact-section .btn::after {
    content: '→';
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.impact-section .btn:hover::after {
    transform: translateX(3px);
}

/* Media Gallery Placeholder Design */
.media-placeholder {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.media-card.h-100.border-0.hover-lift.position-relative.overflow-hidden{
     background: rgba(0, 0, 0, 0.12); /* subtle dark overlay */
    backdrop-filter: blur(4px);     /* optional: gives soft frosted look */
    /*padding: 1rem;*/
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}


.placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

/* Media Gallery Image Styling */
.media-image {
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.media-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.media-image:hover img {
    transform: scale(1.05);
}

/* Impact Section Placeholder Design */
.impact-placeholder {
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.impact-placeholder .placeholder-gradient {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.impact-placeholder .placeholder-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

/* Impact Section Image Styling */
.impact-image {
    height: 200px;
    overflow: hidden;
    border-radius: 12px;
}

.impact-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.impact-image:hover img {
    transform: scale(1.05);
}

/* Section-wide View All Buttons */
.media-gallery-section .text-center .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.media-gallery-section .text-center .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.media-gallery-section .text-center .btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.media-gallery-section .text-center .btn:hover::after {
    transform: translateX(3px);
}

.impact-section .text-center .btn {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    border: none;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(17, 153, 142, 0.3);
    position: relative;
    overflow: hidden;
}

.impact-section .text-center .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
    color: white;
}

.impact-section .text-center .btn::after {
    content: '→';
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.impact-section .text-center .btn:hover::after {
    transform: translateX(3px);
}


