/* Custom styles on top of Tailwind */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

header {
    background-color: #333;
    color: white;
    padding: 1rem;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

section {
    padding: 2rem;
    scroll-margin-top: 5rem;
}

.cta-button {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    margin-top: 1rem;
}

footer {
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
}

#chatbox {
    position: fixed;
    bottom: 1rem;
    right: 1rem;
    background-color: rgba(255, 255, 255, 0.95);
    border: 1px solid #e2e8f0;
    padding: 0;
    width: 320px;
    transform: translateZ(0);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

#chatbox.hidden {
    transform: scale(0);
    opacity: 0;
}

#chatbox.visible {
    transform: scale(1);
    opacity: 1;
}

.message {
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    max-width: 85%;
    word-wrap: break-word;
}

.user-message {
    background-color: #e2e8f0;
    margin-left: auto;
    border-radius: 1rem 1rem 0 1rem;
}

.bot-message {
    background-color: #3b82f6;
    color: white;
    margin-right: auto;
    border-radius: 1rem 1rem 1rem 0;
}

.bot-message a {
    color: white;
    font-weight: bold;
    text-decoration: underline;
}

.bot-message a:hover {
    color: #e2e8f0;
}

.typing-dots {
    display: flex;
    align-items: center;
}

.dot {
    width: 4px;
    height: 4px;
    background-color: #6b7280;
    border-radius: 50%;
    animation: typing 1.4s infinite;
    margin: 0 2px;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
    }
    30% {
        transform: translateY(-4px);
    }
}

#chat-messages {
    min-height: 60px;
    scroll-behavior: smooth;
}

#chatbox input {
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

#chatbox input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 1px rgba(59, 130, 246, 0.5);
}

.transition {
    transition: all 0.3s ease;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(45deg, #2563eb, #4f46e5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Smooth shadow transitions */
.hover\:shadow-xl:hover {
    transition: box-shadow 0.3s ease;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&display=swap');

.logo-font {
    font-family: 'Inter', sans-serif;
}

#chat-toggle {
    transition: transform 0.3s ease;
}

#chat-toggle:hover {
    transform: scale(1.6);
}

/* Add to existing styles */
@media (max-width: 1080px) {
    .parallax-logo h1 {
        font-size: clamp(2rem, 6vw, 4rem);
    }
    
    /* Ensure main content starts below header */
    main {
        padding-top: 6rem;
    }
}

@media (max-width: 768px) {
    .parallax-logo h1 {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Update parallax effect */
.parallax-logo {
    transition: transform 0.1s ease-out;
    will-change: transform;
    position: relative;
    z-index: 10; /* Keep logo above other elements */
}

/* Update header for mobile */
header {
    min-height: 64px;
}

/* Ensure content doesn't overlap with fixed header */
section {
    scroll-margin-top: 80px;
}

/* Smooth transitions for mobile menu */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Add to existing styles */
#chat-callout {
    animation: fadeInUpLong 0.5s ease forwards;
    transform-origin: bottom right;
    font-size: 1.25rem;
    bottom: 140%;
    padding: 1rem 1.5rem;
    z-index: 60;
    letter-spacing: 0.01em;
}

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

/* Ensure the callout text is crisp */
#chat-callout span {
    display: block;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
} 
} 