/* Enhanced Professional Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #00B4D9 0%, #33C5E0 25%, #66D6E7 50%, #99E7F3 75%, #ffffff 100%);
    padding: 4rem 0;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 60% 60%, rgba(0, 180, 217, 0.03) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Floating Bubble Particles */
.hero-bubbles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 2;
}

.hero-bubbles::before,
.hero-bubbles::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: bubbleFloat 8s ease-in-out infinite;
}

.hero-bubbles::before {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-bubbles::after {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.hero-bubbles .bubble-1 {
    position: absolute;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.08) 50%, transparent 70%);
    top: 30%;
    left: 70%;
    animation: bubbleFloat 10s ease-in-out infinite 1s;
}

.hero-bubbles .bubble-2 {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.05) 50%, transparent 70%);
    top: 70%;
    left: 25%;
    animation: bubbleFloat 12s ease-in-out infinite 3s;
}

.hero-bubbles .bubble-3 {
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.12) 50%, transparent 70%);
    top: 15%;
    right: 40%;
    animation: bubbleFloat 9s ease-in-out infinite 4s;
}

.hero-bubbles .bubble-4 {
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.03) 50%, transparent 70%);
    top: 80%;
    right: 60%;
    animation: bubbleFloat 11s ease-in-out infinite 2.5s;
}

.hero-bubbles .bubble-5 {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    top: 40%;
    left: 45%;
    animation: bubbleFloat 7s ease-in-out infinite 5s;
}

.hero-floral-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.6;
    animation: floralFloat 30s ease-in-out infinite;
}

.hero-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(0, 180, 217, 0.1) 0%, 
        rgba(164, 202, 233, 0.1) 50%, 
        rgba(46, 62, 89, 0.1) 100%);
    animation: gradientShift 15s ease-in-out infinite;
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: shapeFloat 20s ease-in-out infinite;
}

.shape-1 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
    animation-duration: 18s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 60%;
    left: 10%;
    animation-delay: 2s;
    animation-duration: 20s;
}

.shape-3 {
    width: 60px;
    height: 60px;
    border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
    top: 20%;
    right: 15%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    top: 70%;
    right: 8%;
    animation-delay: 6s;
    animation-duration: 19s;
}

.shape-5 {
    width: 40px;
    height: 40px;
    border-radius: 20% 80% 80% 20% / 80% 20% 80% 20%;
    top: 40%;
    right: 25%;
    animation-delay: 8s;
    animation-duration: 21s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    border-radius: 60% 40% 40% 60% / 60% 60% 40% 40%;
    top: 80%;
    left: 30%;
    animation-delay: 10s;
    animation-duration: 23s;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 1400px;
    padding: 0 3rem;
    margin: 0 auto;
}

.hero-center-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
}

.hero-content {
    color: white;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    font-size: 0.875rem;
    animation: slideInDown 1s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    font-size: 1rem;
    animation: pulse 2s infinite;
}

.badge-text {
    font-weight: 600;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 
        0 1px 0 #ccc,
        0 2px 0 #c9c9c9,
        0 3px 0 #bbb,
        0 4px 0 #b9b9b9,
        0 5px 0 #aaa,
        0 6px 1px rgba(0,0,0,.1),
        0 0 5px rgba(0,0,0,.1),
        0 1px 3px rgba(0,0,0,.3),
        0 3px 5px rgba(0,0,0,.2),
        0 5px 10px rgba(0,0,0,.25),
        0 10px 10px rgba(0,0,0,.2),
        0 20px 20px rgba(0,0,0,.15);
    overflow: hidden;
    white-space: nowrap;
}

.hero-title span {
    display: inline-block;
    opacity: 0;
    animation: characterSlideIn 0.5s ease-out forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: scale(0);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.title-highlight {
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.hero-subtitle {
    font-size: 1.8rem;
    line-height: 1.6;
    color: #FFFAF0;
    margin-bottom: 1rem;
    max-width: 700px;
    font-weight: 600 ;
    font-style: bold;
    position: relative;
    text-align: center;
}

.hero-subtitle-2 {
    font-size: 1.6rem;
    line-height: 1.6;
    color: #FFFAF0;
    margin-bottom: 1rem;
    max-width: 700px;
    font-weight: 500;
    opacity: 0;
    transform: scale(0);
    position: relative;
    text-align: center;
}

.hero-subtitle-3 {
    font-size: 1.4rem;
    line-height: 1.6;
    color: #FFFAF0;
    margin-bottom: 1rem;
    max-width: 700px;
    font-weight: 400;
    opacity: 0;
    transform: scale(0);
    position: relative;
    text-align: center;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    animation: slideInLeft 1s ease-out 0.4s both;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    display: block;
    margin-bottom: 0.25rem;
    animation: countUp 2s ease-out;
}

.stat-label {
    font-size: 0.875rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    animation: slideInUp 1s ease-out 0.9s both;
}

.hero-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.btn-3d-main {
    background: linear-gradient(45deg, #00B4D9, #A4CAE9, #2E3E59);
    color: white;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 180, 217, 0.4);
    animation: mainButton3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn-3d-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-3d-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-3d-main:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg) scale(1.08);
    box-shadow: 0 25px 60px rgba(0, 180, 217, 0.6);
    background: linear-gradient(45deg, #0096c7, #87ceeb, #4682b4);
}

.btn-3d-main:hover::before {
    left: 100%;
}

.btn-3d-main:hover::after {
    opacity: 1;
}

.btn-3d-main .btn-icon {
    font-size: 1.6rem;
    animation: mainIcon3D 3s ease-in-out infinite;
    z-index: 2;
    position: relative;
}

.btn-3d-main .btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
    display: inline-block;
    z-index: 2;
    position: relative;
}

.btn-3d-main:hover .btn-arrow {
    transform: translateX(12px) rotate(90deg) scale(1.2);
}

.btn-3d-main .btn-text {
    z-index: 2;
    position: relative;
}

/* Dynamic 3D Button Animations */
@keyframes mainButton3D {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg) rotateY(0deg) scale(1);
        box-shadow: 0 15px 40px rgba(0, 180, 217, 0.4);
        background: linear-gradient(45deg, #00B4D9, #A4CAE9, #2E3E59);
    }
    25% {
        transform: translateY(-3px) rotateX(2deg) rotateY(-2deg) scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 180, 217, 0.5);
        background: linear-gradient(45deg, #00a8cc, #9fc5e8, #3a4f63);
    }
    50% {
        transform: translateY(-6px) rotateX(-2deg) rotateY(2deg) scale(1.04);
        box-shadow: 0 25px 60px rgba(0, 180, 217, 0.6);
        background: linear-gradient(45deg, #0096c7, #87ceeb, #4682b4);
    }
    75% {
        transform: translateY(-3px) rotateX(1deg) rotateY(-1deg) scale(1.02);
        box-shadow: 0 20px 50px rgba(0, 180, 217, 0.5);
        background: linear-gradient(45deg, #00a8cc, #9fc5e8, #3a4f63);
    }
}

@keyframes mainIcon3D {
    0%, 100% {
        transform: translateY(0px) rotateZ(0deg) scale(1);
    }
    25% {
        transform: translateY(-2px) rotateZ(5deg) scale(1.1);
    }
    50% {
        transform: translateY(-4px) rotateZ(-5deg) scale(1.15);
    }
    75% {
        transform: translateY(-2px) rotateZ(3deg) scale(1.05);
    }
}

/* Floating particles around button */
.btn-3d-main .btn-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    pointer-events: none;
    z-index: 0;
}

.btn-3d-main .btn-particles::before,
.btn-3d-main .btn-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

.btn-3d-main .btn-particles::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.btn-3d-main .btn-particles::after {
    top: 70%;
    right: 10%;
    animation-delay: 1.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0;
    }
    50% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
}

.btn-3d-secondary {
    background: linear-gradient(45deg, #00B4D9, #A4CAE9, #2E3E59);
    color: white;
    border: none;
    box-shadow: 0 15px 40px rgba(0, 180, 217, 0.4);
    animation: mainButton3D 4s ease-in-out infinite 2s;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.btn-3d-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-3d-secondary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent, rgba(255, 255, 255, 0.1));
    border-radius: 50px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.btn-3d-secondary:hover {
    transform: translateY(-8px) rotateX(5deg) rotateY(5deg) scale(1.08);
    box-shadow: 0 25px 60px rgba(0, 180, 217, 0.6);
    background: linear-gradient(45deg, #0096c7, #87ceeb, #4682b4);
}

.btn-3d-secondary:hover::before {
    left: 100%;
}

.btn-3d-secondary:hover::after {
    opacity: 1;
}

.btn-3d-secondary .btn-icon {
    font-size: 1.6rem;
    animation: mainIcon3D 3s ease-in-out infinite 1s;
    z-index: 2;
    position: relative;
}

.btn-3d-secondary .btn-arrow {
    font-size: 1.4rem;
    transition: transform 0.4s ease;
    display: inline-block;
    z-index: 2;
    position: relative;
}

.btn-3d-secondary:hover .btn-arrow {
    transform: translateX(12px) rotate(90deg) scale(1.2);
}

.btn-3d-secondary .btn-text {
    z-index: 2;
    position: relative;
}

.hero-3d-space {
    position: relative;
    animation: slideInUp 1s ease-out 0.6s both;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    overflow: visible;
    width: 100%;
}

.category-objects {
    position: relative;
    width: 700px;
    height: 600px;
    transform-style: preserve-3d;
    animation: dynamic3DRotation 20s ease-in-out infinite;
}

.category-object {
    position: absolute;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    min-width: 100px;
    text-align: center;
    opacity: 0;
    transform: scale(0.3) translateZ(-800px) rotateX(45deg);
}

.category-object:hover {
    transform: scale(1.15) translateZ(100px) rotateX(0deg);
    box-shadow: 0 35px 70px rgba(0, 180, 217, 0.5);
    z-index: 100;
    border-color: rgba(0, 180, 217, 0.6);
}

.obj-icon {
    font-size: 2.2rem;
    margin-bottom: 0.25rem;
    animation: iconFloat 3s ease-in-out infinite;
}

.obj-label {
    font-weight: 700;
    color: var(--text-color);
    font-size: 0.85rem;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.obj-glow {
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #00B4D9, #A4CAE9, #2E3E59);
    border-radius: 20px;
    z-index: -1;
    opacity: 0;
    animation: dynamicGlow 4s ease-in-out infinite;
}

.category-object:hover .obj-glow {
    opacity: 0.6;
    animation: glowPulse 1s ease-in-out infinite;
}

/* Professional 3D positioning with realistic movement */
.obj-1 {
    top: 20%;
    left: 10%;
    animation: realisticFloat1 20s ease-in-out infinite;
}

.obj-2 {
    top: 10%;
    right: 15%;
    animation: realisticFloat2 22s ease-in-out infinite;
}

.obj-3 {
    bottom: 25%;
    left: 5%;
    animation: realisticFloat3 24s ease-in-out infinite;
}

.obj-4 {
    bottom: 15%;
    right: 10%;
    animation: realisticFloat4 21s ease-in-out infinite;
}

.obj-5 {
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    animation: realisticFloat5 23s ease-in-out infinite;
}

.obj-6 {
    top: 30%;
    left: 25%;
    animation: realisticFloat6 25s ease-in-out infinite;
}

.obj-7 {
    top: 40%;
    right: 25%;
    animation: realisticFloat7 19s ease-in-out infinite;
}

.obj-8 {
    bottom: 30%;
    left: 30%;
    animation: realisticFloat8 26s ease-in-out infinite;
}

.obj-9 {
    bottom: 40%;
    right: 30%;
    animation: realisticFloat9 20s ease-in-out infinite;
}

.obj-10 {
    top: 60%;
    left: 15%;
    animation: realisticFloat10 27s ease-in-out infinite;
}

.obj-11 {
    top: 70%;
    right: 20%;
    animation: realisticFloat11 22s ease-in-out infinite;
}

.obj-12 {
    top: 80%;
    left: 45%;
    animation: realisticFloat12 24s ease-in-out infinite;
}

.floating-stats {
    position: absolute;
    top: 20%;
    right: -20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    animation: statsFloat 6s ease-in-out infinite;
    width: 280px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.stats-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.stats-icon {
    font-size: 1.5rem;
    animation: pulse 2s infinite;
}

.stats-title {
    font-weight: 700;
    color: var(--text-color);
    font-size: 1rem;
}

.stats-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.75rem;
    align-items: center;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.stat-bar {
    width: 80px;
    height: 6px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.stat-progress {
    height: 100%;
    background: linear-gradient(90deg, #00B4D9, #A4CAE9);
    border-radius: 3px;
    animation: progressGrow 2s ease-out;
    position: relative;
    overflow: hidden;
}

.stat-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmerProgress 2s infinite;
}

.stat-value {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    min-width: 50px;
    text-align: right;
}

/* Professional Realistic 3D Animations */
@keyframes dynamic3DRotation {
    0%, 100% { transform: rotateY(0deg) rotateX(5deg); }
    25% { transform: rotateY(90deg) rotateX(10deg); }
    50% { transform: rotateY(180deg) rotateX(5deg); }
    75% { transform: rotateY(270deg) rotateX(10deg); }
}

@keyframes realisticFloat1 {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    10%, 20% { 
        opacity: 1; 
        transform: scale(1) translateZ(100px) rotateX(0deg) translateY(-10px); 
    }
    25%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(50px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat2 {
    0%, 15% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    20%, 30% { 
        opacity: 1; 
        transform: scale(1) translateZ(120px) rotateX(0deg) translateY(-15px); 
    }
    35%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(60px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat3 {
    0%, 20% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    25%, 35% { 
        opacity: 1; 
        transform: scale(1) translateZ(110px) rotateX(0deg) translateY(-12px); 
    }
    40%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(55px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat4 {
    0%, 25% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    30%, 40% { 
        opacity: 1; 
        transform: scale(1) translateZ(130px) rotateX(0deg) translateY(-18px); 
    }
    45%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(65px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat5 {
    0%, 30% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    35%, 45% { 
        opacity: 1; 
        transform: scale(1.1) translateZ(150px) rotateX(0deg) translateY(-20px); 
    }
    50%, 90% { 
        opacity: 0.8; 
        transform: scale(0.95) translateZ(75px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat6 {
    0%, 35% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    40%, 50% { 
        opacity: 1; 
        transform: scale(1) translateZ(105px) rotateX(0deg) translateY(-14px); 
    }
    55%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(52px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat7 {
    0%, 40% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    45%, 55% { 
        opacity: 1; 
        transform: scale(1) translateZ(125px) rotateX(0deg) translateY(-16px); 
    }
    60%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(62px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat8 {
    0%, 45% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    50%, 60% { 
        opacity: 1; 
        transform: scale(1) translateZ(115px) rotateX(0deg) translateY(-13px); 
    }
    65%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(57px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat9 {
    0%, 50% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    55%, 65% { 
        opacity: 1; 
        transform: scale(1) translateZ(140px) rotateX(0deg) translateY(-17px); 
    }
    70%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(70px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat10 {
    0%, 55% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    60%, 70% { 
        opacity: 1; 
        transform: scale(1) translateZ(108px) rotateX(0deg) translateY(-15px); 
    }
    75%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(54px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat11 {
    0%, 60% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    65%, 75% { 
        opacity: 1; 
        transform: scale(1) translateZ(135px) rotateX(0deg) translateY(-19px); 
    }
    80%, 90% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(67px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes realisticFloat12 {
    0%, 65% { 
        opacity: 0; 
        transform: scale(0.3) translateZ(-800px) rotateX(45deg) translateY(0px); 
    }
    70%, 80% { 
        opacity: 1; 
        transform: scale(1) translateZ(145px) rotateX(0deg) translateY(-21px); 
    }
    85%, 100% { 
        opacity: 0.8; 
        transform: scale(0.9) translateZ(72px) rotateX(5deg) translateY(0px); 
    }
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-3px) scale(1.05); }
}

@keyframes dynamicGlow {
    0%, 100% { opacity: 0; transform: scale(0.95); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes cardFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-25px) rotate(3deg); }
    75% { transform: translateY(15px) rotate(-3deg); }
}

@keyframes shapeFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
    33% { transform: translate(30px, -30px) rotate(120deg) scale(1.1); }
    66% { transform: translate(-20px, 20px) rotate(240deg) scale(0.9); }
}

@keyframes codeFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-25px) rotate(3deg); }
}

@keyframes statsFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(1deg); }
    75% { transform: translateY(10px) rotate(-1deg); }
}

@keyframes progressGrow {
    from { width: 0; }
    to { width: var(--progress-width, 100%); }
}

@keyframes shimmerProgress {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes bubbleFloat {
    0%, 100% {
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-30px) translateX(15px) scale(1.05);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-60px) translateX(-10px) scale(1.1);
        opacity: 0.9;
    }
    75% {
        transform: translateY(-40px) translateX(20px) scale(1.03);
        opacity: 0.8;
    }
}

/* Typing Animation Keyframes */
@keyframes titleSlideIn {
    0%, 100% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes characterSlideIn {
    0% {
        opacity: 0;
        transform: translateX(-100px) rotateY(90deg);
    }
    100% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
}

@keyframes characterSlideOut {
    0% {
        opacity: 1;
        transform: translateX(0) rotateY(0deg);
    }
    100% {
        opacity: 0;
        transform: translateX(100px) rotateY(90deg);
    }
}

@keyframes typingEffect {
    0% {
        width: 0;
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}

@keyframes blinkCursor {
    0%, 50% {
        border-color: white;
    }
    51%, 100% {
        border-color: transparent;
    }
}

/* Continuous Loop Animation */
@keyframes continuousTypingLoop {
    0%, 10% {
        opacity: 1;
    }
    90%, 100% {
        opacity: 0;
    }
}

/* Subtitle Appear Animation */
@keyframes subtitleAppear {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Subtitle Disappear Animation */
@keyframes subtitleDisappear {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(0.5);
    }
    100% {
        opacity: 0;
        transform: scale(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero {
        padding: 3rem 0;
    }
    
    .hero .container {
        padding: 0 2rem;
    }
    
    .hero-center-container {
        gap: 3rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: 3.5rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
        max-width: 600px;
    }
    
    .hero-3d-space {
        min-height: 450px;
    }
    
    .category-objects {
        width: 600px;
        height: 500px;
    }
    
    .hero-3d-space {
        display: none;
    }
    
    .shape {
        opacity: 0.5;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 2rem 0;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-main-image {
        max-width: 350px;
    }
    
    .floating-card.card-2,
    .floating-card.card-3,
    .floating-card.card-4,
    .floating-card.card-5,
    .floating-card.card-6,
    .floating-card.card-7 {
        display: none;
    }
    
    .shape {
        opacity: 0.3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-main-image {
        max-width: 280px;
    }
    
    .hero-floral-pattern {
        opacity: 0.3;
    }
}
