        @keyframes float {
            0%, 100% { transform: translateY(0px) rotate(0deg); }
            50% { transform: translateY(-20px) rotate(5deg); }
        }
        @keyframes pulse-slow {
            0%, 100% { opacity: 0.4; }
            50% { opacity: 0.6; }
        }
        @keyframes spin-slow {
            from { transform: rotate(0deg); }
            to { transform: rotate(360deg); }
        }
        @keyframes slide-up {
            from { opacity: 0; transform: translateY(30px); }
            to { opacity: 1; transform: translateY(0); }
        }
        @keyframes fade-in {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        @keyframes blob {
            0% { transform: translate(0px, 0px) scale(1); }
            33% { transform: translate(30px, -50px) scale(1.1); }
            66% { transform: translate(-20px, 20px) scale(0.9); }
            100% { transform: translate(0px, 0px) scale(1); }
        }
        @keyframes scroll {
            0%, 100% { transform: translateY(0); opacity: 1; }
            50% { transform: translateY(10px); opacity: 0.5; }
        }
        
        .animate-float { animation: float 6s ease-in-out infinite; }
        .animate-pulse-slow { animation: pulse-slow 4s ease-in-out infinite; }
        .animate-spin-slow { animation: spin-slow 10s linear infinite; }
        .animate-slide-up { animation: slide-up 0.8s ease-out forwards; opacity: 0; }
        .animate-fade-in { animation: fade-in 1s ease-out forwards; }
        .animate-blob { animation: blob 10s infinite; }
        .animate-scroll { animation: scroll 2s ease-in-out infinite; }
        .animation-delay-2000 { animation-delay: 2s; }
        .animation-delay-4000 { animation-delay: 4s; }
        .animation-delay-500 { animation-delay: 0.5s; }
        .animation-delay-1000 { animation-delay: 1s; }
        
        .glass-effect {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
        }
        
        .text-shadow {
            text-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
        }

        /* Custom cursor styles */
        * {
            cursor: none;
        }
        
        .custom-cursor {
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9999;
            mix-blend-mode: difference;
            transition: transform 0.2s;
            transform: translate(-50%, -50%);
        }
        
        .custom-cursor.hovered {
            transform: translate(-50%, -50%) scale(1.5);
        }
        
        .custom-cursor.clicked {
            transform: translate(-50%, -50%) scale(0.75);
        }
        
        .cursor-ring {
            width: 40px;
            height: 40px;
            border: 2px solid white;
            border-radius: 50%;
            position: fixed;
            pointer-events: none;
            z-index: 9998;
            mix-blend-mode: difference;
            transition: all 0.1s;
            transform: translate(-50%, -50%);
            opacity: 0.5;
        }

/* Custom scrollbar styles */

.custom-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: #888 #f1f1f1;
}

.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
background: #f1f1f1;
border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
background: #888;
border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
background: #555;
}


/* Typewriter container */
#typewriter-text {
min-height: 1.5em;
overflow: hidden;
position: relative;
word-wrap: break-word;
}

/* Classic Typewriter Effect */
.typewriter-classic {
border-right: 3px solid #3b82f6;
animation: blink-caret 0.75s step-end infinite;
}

/* Smooth Typewriter Effect */
.typewriter-smooth {
border-right: 3px solid #10b981;
animation: smooth-caret 1s ease-in-out infinite;
}

/* Cursor animations */
@keyframes blink-caret {
from, to { border-color: transparent }
50% { border-color: #3b82f6; }
}

@keyframes smooth-caret {
0%, 100% { border-color: transparent }
50% { border-color: #10b981; }
51% { border-color: transparent; }
}

/* Neon glow effect */
.typewriter-neon {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #0073e6, 0 0 20px #0073e6;
border-right: 3px solid #8b5cf6;
animation: neon-caret 0.5s ease-in-out infinite;
}

@keyframes neon-caret {
0%, 100% { border-color: transparent; }
50% { border-color: #8b5cf6; box-shadow: 0 0 5px #8b5cf6; }
}
/*
#home {
    background: url('pics/group photo.jpg') no-repeat center center/cover fixed;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}*/

/* Additional Animation Classes */
.animate-spin-slow {
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hover\:shake:hover {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.group-hover\:ml-2 {
    transition: margin-left 0.3s ease;
}

.group:hover .group-hover\:ml-2 {
    margin-left: 0.5rem;
}
/* Custom styles for animations and transitions */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.hover-grow {
    transition: transform 0.3s ease;
}

.hover-grow:hover {
    transform: scale(1.05);
}

.gradient-text {
    background: linear-gradient(45deg, #1e40af, #3b82f6, #60a5fa);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.drop-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.drop-content.open {
    max-height: 500px;
}

.arrow.open {
    transform: rotate(180deg);
}

#fullscreen {
    transition: opacity 0.3s ease;
}

.ticker-item {
    animation: tickerScroll 40s linear infinite;
}

.pulse-ring {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
}

.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Loading animation for images */
.image-loading {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}


/* News */
.news-iframe {
    max-height: 700px; /* prevents overly tall embeds, but keeps natural height */
    object-fit: cover;
    background: #fafcff;
}
@media (max-width: 640px) {
    .news-iframe { min-height: 350px; }
    .swiper-button-next, .swiper-button-prev { display: none; } /* cleaner on mobile */
}

/* custom ticker animation */
.ticker-item {
    display: inline-block;
    animation: ticker 30s linear infinite;
}
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Swiper custom styling — sleek, modern, fits gradient theme */
.swiper {
    width: 100%;
    padding-bottom: 3.5rem !important;
    padding-top: 0.5rem;
}
.swiper-slide {
    height: auto;  /* autoHeight enables flexible card height */
    display: flex;
}
.swiper-pagination-bullet {
    background: #cbd5e1;
    opacity: 0.7;
    width: 10px;
    height: 10px;
    transition: all 0.2s;
}
.swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #2563eb, #16a34a);
    width: 24px;
    border-radius: 12px;
    opacity: 1;
}
.swiper-button-next, .swiper-button-prev {
    background: white;
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.1);
    color: #1e40af;
    transition: 0.2s;
    border: 1px solid #e2e8f0;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 1.1rem;
    font-weight: 700;
}
.swiper-button-next:hover, .swiper-button-prev:hover {
    background: linear-gradient(145deg, #2563eb, #1e40af);
    color: white;
    border-color: transparent;
}
.swiper-button-disabled {
    opacity: 0.5;
    pointer-events: none;
}
/* smooth iframe loading & responsiveness */
.news-iframe {
    width: 100%;
    border: 0;
    background: transparent;
    min-height: 380px;  /* ensures consistent card space, embeds expand naturally */
    height: auto;
    border-radius: 0.75rem;
}
/* custom scroll for beauty (not heavily used, but kept) */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 20px;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #94a3b8;
    border-radius: 20px;
}
/* card hover lift */
.news-card {
    transition: transform 0.25s ease, box-shadow 0.3s ease;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 35px -10px rgba(37, 99, 235, 0.15);
}