/* Hero Section Animations */

/* Export Animation Styles */
.export-animations {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

/* Plane Animations */
.plane {
    position: absolute;
    color: #f9cb99;
    font-size: 1.5rem;
    opacity: 0.8;
}

.plane-1 {
    top: 20%;
    left: -50px;
    animation: flyAcross1 8s infinite linear;
}

.plane-2 {
    top: 70%;
    right: -50px;
    animation: flyAcross2 10s infinite linear;
    animation-delay: 4s;
}

/* Ship Animation */
.ship {
    position: absolute;
    bottom: 15%;
    left: -50px;
    color: #f9cb99;
    font-size: 2rem;
    opacity: 0.7;
    animation: sailAcross 12s infinite linear;
    animation-delay: 2s;
}

/* Truck Animation */
.truck {
    position: absolute;
    bottom: 10%;
    right: -50px;
    color: #f9cb99;
    font-size: 1.8rem;
    opacity: 0.6;
    animation: driveAcross 9s infinite linear;
    animation-delay: 6s;
}

/* Floating Elements */
.floating-element {
    position: absolute;
    color: #f9cb99;
    opacity: 0.4;
    font-size: 1.2rem;
}

.floating-1 {
    top: 15%;
    right: 10%;
    animation: heroFloat 8s infinite;
    animation-delay: 1s;
}

.floating-2 {
    top: 60%;
    left: 8%;
    animation: heroFloat 6s infinite;
    animation-delay: 3s;
}

.floating-3 {
    top: 35%;
    right: 15%;
    animation: heroFloat 10s infinite;
    animation-delay: 5s;
}

.floating-4 {
    bottom: 25%;
    right: 10%;
    animation: heroFloat 8s infinite;
    animation-delay: 4s;
}

/* Keyframe Animations */
@keyframes flyAcross1 {
    0% { left: -50px; transform: rotate(0deg); }
    50% { left: 50%; transform: rotate(5deg); }
    100% { left: calc(100% + 50px); transform: rotate(0deg); }
}

@keyframes flyAcross2 {
    0% { right: -50px; transform: rotate(180deg); }
    50% { right: 50%; transform: rotate(175deg); }
    100% { right: calc(100% + 50px); transform: rotate(180deg); }
}

@keyframes sailAcross {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}

@keyframes driveAcross {
    0% { right: -50px; }
    100% { right: calc(100% + 50px); }
}

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

@keyframes pulse {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 0.3; }
    100% { transform: translate(-50%, -50%) scale(2); opacity: 0; }
}

@keyframes heroFlyAcross1 {
    0% { left: -40px; transform: rotate(15deg); }
    100% { left: calc(100% + 40px); transform: rotate(15deg); }
}

@keyframes heroFlyAcross2 {
    0% { right: -40px; transform: rotate(195deg); }
    100% { right: calc(100% + 40px); transform: rotate(195deg); }
}

@keyframes heroSailAcross {
    0% { left: -50px; }
    100% { left: calc(100% + 50px); }
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(0deg); }
    75% { transform: translateY(-20px) rotate(-5deg); }
}

/* Stats Section Animations */
@keyframes floatY { 
    0%{ transform: translateY(0);} 
    50%{ transform: translateY(-12px);} 
    100%{ transform: translateY(0);} 
}

@keyframes driftX { 
    0%{ transform: translateX(0);} 
    50%{ transform: translateX(14px);} 
    100%{ transform: translateX(0);} 
}

/* Map Animations */
@keyframes dashMove { 
    to { stroke-dashoffset: -1000; } 
}

@keyframes mapFlyAcross1 {
    0% { left: -40px; transform: rotate(15deg); }
    100% { left: calc(100% + 40px); transform: rotate(15deg); }
}

@keyframes mapFlyAcross2 {
    0% { right: -40px; transform: rotate(195deg); }
    100% { right: calc(100% + 40px); transform: rotate(195deg); }
}

@keyframes mapFlyAcross3 {
    0% { left: -40px; transform: rotate(25deg); }
    100% { left: calc(100% + 40px); transform: rotate(25deg); }
}

@keyframes egyptPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 15px rgba(144, 238, 144, 0.8);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        box-shadow: 0 0 25px rgba(144, 238, 144, 1);
    }
}

/* News Section Animations */
@keyframes newsFloatY { 
    0%{ transform: translateY(0);} 
    50%{ transform: translateY(-10px);} 
    100%{ transform: translateY(0);} 
}

@keyframes newsDriftX { 
    0%{ transform: translateX(0);} 
    50%{ transform: translateX(8px);} 
    100%{ transform: translateX(0);} 
}

/* CTA Section Animations */
@keyframes spinSlow { 
    0%{ transform: rotate(0deg);} 
    100%{ transform: rotate(360deg);} 
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .plane {
        font-size: 1.2rem;
    }
    
    .ship {
        font-size: 1.5rem;
    }
    
    .truck {
        font-size: 1.3rem;
    }
    
    .floating-element {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .plane {
        font-size: 1rem;
    }
    
    .ship {
        font-size: 1.2rem;
    }
    
    .truck {
        font-size: 1.1rem;
    }
    
    .floating-element {
        font-size: 0.9rem;
    }
}
