/* Large rounded bottom corners for Hero background */
.hero-rounded-corners {
    border-bottom-left-radius: 4rem;
    border-bottom-right-radius: 4rem;
    overflow: hidden;
}

/* Large rounded top corners for Footer background */
.footer-rounded-corners {
    border-top-left-radius: 4rem;
    border-top-right-radius: 4rem;
    overflow: hidden;
}
/* Custom Styles for MindReserve Website */

body {
    margin: 0;
    padding: 0;
}



.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.animate-on-scroll.animate {
    opacity: 1;
    transform: translateY(0);
}

.stats-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
    background: rgba(255,255,255,0.5) !important;
    backdrop-filter: blur(8px);
}

.stats-card:hover {
    transform: scale(1.05) !important;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important;
}

.feature-card {
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Ensure mobile menu is properly positioned */
    nav {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    /* Touch-friendly buttons */
    .touch-manipulation {
        touch-action: manipulation;
    }
    
    /* Mobile button active states */
    button:active,
    .button:active {
        transform: scale(0.95) !important;
        transition: transform 0.1s ease;
    }
    
    /* Prevent horizontal scroll from particles */
    .hero-particles {
        overflow: hidden;
    }
    
    /* Ensure pie chart doesn't overflow */
    .pie-chart-container {
        max-width: 100%;
        overflow: hidden;
    }
}

.faq-item {
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #a7d8b5;
}

.faq-icon.rotate {
    transform: rotate(180deg);
}

.faq-item:hover {
    border-color: #a7d8b5;
    box-shadow: 0 4px 12px rgba(167, 216, 181, 0.15);
}

/* Scroll animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom gradient backgrounds */
.hero-bg {
    background: linear-gradient(135deg, rgba(167, 216, 181, 0.1) 0%, rgba(254, 95, 196, 0.1) 100%);
}


/* Smooth transitions for all interactive elements */
* {
    transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* Gestaffelte Card-Animationen */
.stagger-animation {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

/* Initial state for stagger cards */
.stagger-card {
    opacity: 0;
    transform: translateY(30px);
}

.stagger-animation:nth-child(1) { animation-delay: 0.1s; }
.stagger-animation:nth-child(2) { animation-delay: 0.2s; }
.stagger-animation:nth-child(3) { animation-delay: 0.3s; }
.stagger-animation:nth-child(4) { animation-delay: 0.4s; }
.stagger-animation:nth-child(5) { animation-delay: 0.5s; }
.stagger-animation:nth-child(6) { animation-delay: 0.6s; }

@keyframes fadeInStagger {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating particles im Hero-Bereich */
.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.6), rgba(135, 180, 200, 0.5), rgba(200, 200, 210, 0.4));
    border: 2px solid rgba(135, 180, 200, 0.6);
    border-radius: 50%;
    opacity: 0.8;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.2), 0 0 15px rgba(135, 180, 200, 0.3);
    animation: float-particle 8s infinite ease-in-out;
}

.particle:nth-child(1) { 
    width: 35px; 
    height: 35px; 
    top: 15%; 
    left: 10%; 
    animation-delay: 0s; 
    animation-duration: 8s;
}

.particle:nth-child(2) { 
    width: 50px; 
    height: 50px; 
    top: 60%; 
    left: 85%; 
    animation-delay: 2s; 
    animation-duration: 10s;
}

.particle:nth-child(3) { 
    width: 25px; 
    height: 25px; 
    top: 80%; 
    left: 15%; 
    animation-delay: 4s; 
    animation-duration: 7s;
}

.particle:nth-child(4) { 
    width: 40px; 
    height: 40px; 
    top: 25%; 
    left: 75%; 
    animation-delay: 6s; 
    animation-duration: 9s;
}

.particle:nth-child(5) { 
    width: 30px; 
    height: 30px; 
    top: 45%; 
    left: 5%; 
    animation-delay: 1s; 
    animation-duration: 11s;
}

.particle:nth-child(6) { 
    width: 60px; 
    height: 60px; 
    top: 70%; 
    left: 90%; 
    animation-delay: 3s; 
    animation-duration: 8s;
}

.particle:nth-child(7) { 
    width: 20px; 
    height: 20px; 
    top: 10%; 
    left: 50%; 
    animation-delay: 5s; 
    animation-duration: 12s;
}

.particle:nth-child(8) { 
    width: 45px; 
    height: 45px; 
    top: 85%; 
    left: 60%; 
    animation-delay: 7s; 
    animation-duration: 6s;
}

.particle:nth-child(9) { 
    width: 80px; 
    height: 80px; 
    top: 35%; 
    left: 95%; 
    animation-delay: 2.5s; 
    animation-duration: 14s;
}

.particle:nth-child(10) { 
    width: 90px; 
    height: 90px; 
    top: 55%; 
    left: 25%; 
    animation-delay: 8s; 
    animation-duration: 16s;
}

.particle:nth-child(11) { 
    width: 75px; 
    height: 75px; 
    top: 5%; 
    left: 80%; 
    animation-delay: 4.5s; 
    animation-duration: 13s;
}

.particle:nth-child(12) { 
    width: 25px; 
    height: 25px; 
    top: 12%; 
    left: 45%; 
    animation-delay: 1.5s; 
    animation-duration: 9s;
}

.particle:nth-child(13) { 
    width: 18px; 
    height: 18px; 
    top: 8%; 
    left: 35%; 
    animation-delay: 6.5s; 
    animation-duration: 10s;
}

.particle:nth-child(14) { 
    width: 22px; 
    height: 22px; 
    top: 15%; 
    left: 55%; 
    animation-delay: 3.5s; 
    animation-duration: 8s;
}

@keyframes float-particle {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg); 
        opacity: 0.6; 
    }
    33% { 
        transform: translateY(-30px) rotate(120deg); 
        opacity: 0.8; 
    }
    66% { 
        transform: translateY(15px) rotate(240deg); 
        opacity: 0.4; 
    }
}

/* Fund Approach Cards - Slide from Right Animation */
.fund-approach-cards {
    opacity: 1;
}

.fund-approach-cards > div {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.fund-approach-cards.animate > div {
    opacity: 1;
    transform: translateX(0);
}

.fund-approach-cards > div:nth-child(1) {
    transition-delay: 0.1s;
}

.fund-approach-cards > div:nth-child(2) {
    transition-delay: 0.3s;
}

.fund-approach-cards > div:nth-child(3) {
    transition-delay: 0.5s;
}

.fund-approach-cards > div:nth-child(4) {
    transition-delay: 0.7s;
}

/* Logo Pulse Animation */
.logo-pulse {
    animation: pulse-logo 3s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(167, 216, 181, 0.3));
}

.logo-glow {
    animation: glow-pulse 3s ease-in-out infinite;
    opacity: 0.5;
}

@keyframes pulse-logo {
    0%, 100% {
        transform: scale(1);
        filter: drop-shadow(0 0 20px rgba(167, 216, 181, 0.3));
    }
    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 0 30px rgba(254, 95, 196, 0.4));
    }
}

@keyframes glow-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
}

/* Fade in from Right Animation für Kuchendiagramm */
.animate-fade-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.animate-fade-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

/* Zoom In Animation für Kacheln */
.animate-zoom-in {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease-out;
}

.animate-zoom-in.animate {
    opacity: 1;
    transform: scale(1);
}

/* Staggered Animation für die 4 Kacheln */
.animate-zoom-in:nth-child(1) { 
    transition-delay: 0.1s; 
}
.animate-zoom-in:nth-child(2) { 
    transition-delay: 0.2s; 
}
.animate-zoom-in:nth-child(3) { 
    transition-delay: 0.3s; 
}
.animate-zoom-in:nth-child(4) { 
    transition-delay: 0.4s; 
}

/* Pagination Dots Styling */
.pagination-dot {
    transition: all 0.3s ease;
}

.pagination-dot.active-dot {
    transform: scale(1.2);
}

.pagination-dot:hover {
    transform: scale(1.1);
}