/* styles.css */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&family=Sarabun:wght@400;700&display=swap');

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.bg-mesh {
    background-color: #CCEBF8; /* psu-blue-20 */
}

.active-nav {
    background-color: #01488c; /* Match your PSU logo blue */
    color: white;
    box-shadow: 0 10px 15px -3px rgba(1, 72, 140, 0.2);
}

.active-nav:hover {
    background-color: #013a70 !important;
    color: white !important;
}

.nav-btn:hover:not(.active-nav) {
    color: #01488c !important;
    background-color: #f1f5f9;
}

.card-light {
    background-color: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.view {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.hidden {
    display: none;
}

.canva-gradient {
    display: inline-block;
    color: transparent;
    -webkit-background-clip: text;
    background-clip: text;
    background-image: linear-gradient(to right, #00C4CC, #7D2AE8, #00C4CC);
    background-size: 200% auto;
    animation: gradient-shift 3s ease infinite;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.btn-gradient-canva {
    background: linear-gradient(135deg, #00C4CC, #7D2AE8);
}

@keyframes float {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-10px) translateX(5px); }
}

@keyframes float-reverse {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(10px) translateX(-5px); }
}

/* Carousel drag-to-scroll */
#carouselContainer {
    -webkit-user-select: none;
    user-select: none;
}

#carouselContainer.dragging {
    scroll-snap-type: none !important;
    scroll-behavior: auto !important;
}

@keyframes pulse-red {
    0% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(220, 38, 38, 0); }
    100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0); }
}

.animate-pulse-red {
    animation: pulse-red 2s infinite;
}

@keyframes shine-auto {
    0% { left: -100%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

.shine-auto {
    position: relative;
    overflow: hidden;
}

.shine-auto::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -100%;
    width: 30%;
    height: 200%;
    background: rgba(255, 255, 255, 0.4);
    transform: rotate(30deg);
    pointer-events: none;
    animation: shine-auto 4s infinite;
}


