html {
    scroll-padding-top: 80px;
}

body {
    font-family: "Inter", sans-serif;
    scroll-behavior: smooth;
}

h1,
h2,
h3 {
    font-family: "Poppins", sans-serif;
}

/* Custom styles for animations and sticky nav */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease-in-out;
}

.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
}

.ken-burns {
    animation: kenburns 20s ease-out both infinite;
}

@keyframes kenburns {
    0% {
        transform: scale(1) translate(0, 0);
    }
    50% {
        transform: scale(1.1) translate(-5px, 5px);
    }
    100% {
        transform: scale(1) translate(0, 0);
    }
}

.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.loader {
    border: 3px solid #f3f3f3; /* Light grey */
    border-top: 3px solid #3b82f6; /* Blue */
    border-radius: 50%;
    width: 20px;
    height: 20px;
    animation: spin 1s linear infinite;
}

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

.gemini-thinking-bubble {
    display: flex;
    align-items: center;
    gap: 8px;
}
