/* Floating Shapes Animation */
.floating-shapes {
    position: relative;
    width: 100%;
    height: 100%;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(147, 51, 234, 0.3));
    animation: float 6s ease-in-out infinite;
}

.shape-1 { width: 60px; height: 60px; top: 20%; left: 10%; animation-delay: 0s; }
.shape-2 { width: 80px; height: 80px; top: 60%; left: 80%; animation-delay: 1s; }
.shape-3 { width: 40px; height: 40px; top: 30%; left: 70%; animation-delay: 2s; }
.shape-4 { width: 100px; height: 100px; top: 80%; left: 20%; animation-delay: 3s; }
.shape-5 { width: 50px; height: 50px; top: 10%; left: 60%; animation-delay: 4s; }

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-20px) rotate(120deg); }
    66% { transform: translateY(20px) rotate(240deg); }
}

/* Scroll Indicator */
.scroll-indicator .mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    position: relative;
    margin: 0 auto;
}

.scroll-indicator .wheel {
    width: 2px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 1px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* Glass Morphism Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
}

.glass-card-dark {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.3);
}

/* Team Cards */
.team-card {
    background: white;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Value Cards with Flip Effect */
.value-card {
    height: 300px;
    perspective: 1000px;
}

.value-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    cursor: pointer;
}

.value-card:hover .value-card-inner {
    transform: rotateY(180deg);
}

.value-card-front, .value-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1.5rem;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.value-card-front {
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.value-card-back {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: rotateY(180deg);
}

/* Achievement Cards */
.achievement-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.5rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
}

.achievement-progress {
    animation: progressFill 2s ease-out forwards;
    animation-delay: 1s;
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}

/* Counter Animation */
.counter {
    display: inline-block;
}

/* CTA Buttons */
.cta-button {
    display: inline-flex;
    align-items: center;
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: scale(1);
}

.cta-button:hover {
    transform: scale(1.05);
}

.cta-button-primary {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.cta-button-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
}

.cta-button-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.8);
}

/* Floating Elements for CTA */
.cta-particles {
    position: relative;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 { width: 20px; height: 20px; top: 10%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 30px; height: 30px; top: 20%; left: 80%; animation-delay: 1s; }
.particle-3 { width: 15px; height: 15px; top: 60%; left: 20%; animation-delay: 2s; }
.particle-4 { width: 25px; height: 25px; top: 70%; left: 70%; animation-delay: 3s; }
.particle-5 { width: 18px; height: 18px; top: 30%; left: 50%; animation-delay: 4s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0px) translateX(0px); opacity: 0.3; }
    25% { transform: translateY(-30px) translateX(10px); opacity: 0.6; }
    50% { transform: translateY(-15px) translateX(-10px); opacity: 0.9; }
    75% { transform: translateY(-25px) translateX(15px); opacity: 0.6; }
}

/* Floating Elements for Achievements */
.floating-elements {
    position: relative;
    width: 100%;
    height: 100%;
}

.element {
    position: absolute;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    animation: elementFloat 10s ease-in-out infinite;
}

.element-1 { width: 100px; height: 100px; top: 10%; left: 15%; animation-delay: 0s; }
.element-2 { width: 150px; height: 150px; top: 50%; left: 70%; animation-delay: 2s; }
.element-3 { width: 80px; height: 80px; top: 80%; left: 30%; animation-delay: 4s; }

@keyframes elementFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    33% { transform: translateY(-40px) scale(1.1); }
    66% { transform: translateY(20px) scale(0.9); }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

.fade-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s ease-out;
}

.slide-in-left.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s ease-out;
}

.slide-in-right.animate {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-up {
    opacity: 0;
    transform: translateY(60px);
    transition: all 0.8s ease-out;
}

.slide-in-up.animate {
    opacity: 1;
    transform: translateY(0);
}

/* Roadmap Items */
.roadmap-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 0.5rem;
}

.roadmap-item:hover {
    background: rgba(59, 130, 246, 0.05);
    transform: translateX(10px);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .text-5xl { font-size: 2.5rem; }
    .text-6xl { font-size: 3rem; }
    .text-7xl { font-size: 3.5rem; }
    
    .value-card {
        height: auto;
        min-height: 250px;
    }
    
    .value-card:hover .value-card-inner {
        transform: none;
    }
    
    .value-card-back {
        position: relative;
        transform: none;
        margin-top: 1rem;
        border-radius: 1rem;
    }
    
    .team-card:hover {
        transform: none;
    }
    
    .achievement-card:hover {
        transform: none;
    }
}

/* Loading Animation for Page */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #5a67d8 0%, #6b46c1 100%);
}