.section { display: none; }
.section.active { display: block; }
.dropdown:hover .dropdown-menu { display: block; }



/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Marquee Animation */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.bg-global-pattern {
    background-color: #f8f9fa;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(10, 25, 47, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(153, 27, 27, 0.03) 0%, transparent 50%);
    background-position: center top;
    background-repeat: repeat;
    background-attachment: scroll;
}

.animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 20s linear infinite;
}

.animate-marquee:hover {
    animation-play-state: paused;
}

/* Profile and About Card Animations */
.profile-card-animate .profile-image-container,
.about-card-animate-left .about-image-container,
.about-card-animate-right .about-image-container {
    opacity: 0;
    transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 10;
    position: relative;
}

.profile-card-animate .profile-image-container,
.about-card-animate-right .about-image-container {
    transform: translate(50px, -50px) rotate(5deg) scale(1.05);
}

.about-card-animate-left .about-image-container {
    transform: translate(-50px, -50px) rotate(-5deg) scale(1.05);
}

@media (min-width: 768px) {
    .profile-card-animate .profile-image-container,
    .about-card-animate-right .about-image-container {
        transform: translate(200px, -100px) rotate(10deg) scale(1.05);
    }

    .about-card-animate-left .about-image-container {
        transform: translate(-200px, -100px) rotate(-10deg) scale(1.05);
    }
}

.profile-card-animate .profile-text-container,
.about-card-animate-left .about-text-container,
.about-card-animate-right .about-text-container {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    transition-delay: 0.7s;
    z-index: 1;
    position: relative;
}

.profile-card-animate .profile-text-container,
.about-card-animate-left .about-text-container {
    transform: translateX(-50px);
}

.about-card-animate-right .about-text-container {
    transform: translateX(50px);
}

@media (min-width: 768px) {
    .profile-card-animate .profile-text-container,
    .about-card-animate-left .about-text-container {
        transform: translateX(-100px);
    }

    .about-card-animate-right .about-text-container {
        transform: translateX(100px);
    }
}

.profile-card-animate.is-visible .profile-image-container,
.about-card-animate-left.is-visible .about-image-container,
.about-card-animate-right.is-visible .about-image-container {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg) scale(1);
}

.profile-card-animate.is-visible .profile-text-container,
.about-card-animate-left.is-visible .about-text-container,
.about-card-animate-right.is-visible .about-text-container {
    opacity: 1;
    transform: translateX(0);
}