/* General Body Styles */
body {
    font-family: 'Outfit', sans-serif;
    transition: background-color 0.5s ease;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background-color: #000000;
}

/* Dark Mode Overrides */
body.dark-mode {
    background-color: #000000;
    color: #f1f5f9;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    letter-spacing: -0.02em;
}

body.dark-mode h1,
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #ffffff;
}

/* Utility Classes */
.hidden {
    display: none !important;
}



#main-navbar a {
    position: relative;
    padding-bottom: 5px; /* Space for underline */
}

#main-navbar a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: #2467e4; /* Blue for underline */
    bottom: 0;
    left: 0;
    transition: width 0.3s ease-in-out;
}

#main-navbar a:hover::after,
#main-navbar a.active-link::after {
    width: 100%;
}



#navbar-links.active {
    max-height: 400px; /* Adjust based on content */
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
}

.shape-blob {
    position: absolute;
    border-radius: 30% 50% 20% 40%;
    opacity: 0.7;
    animation: blob-bounce 10s infinite cubic-bezier(0.42, 0, 0.58, 1);
}

.shape-blob.one {
    background: rgba(0,0,0,0.0);
    width: 300px;
    height: 300px;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-blob.two {
    background: rgba(0,0,0,0.0);
    width: 400px;
    height: 400px;
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.shape-blob.three {
    background: rgba(0,0,0,0.0);
    width: 250px;
    height: 250px;
    top: 50%;
    left: 20%;
    animation-delay: 4s;
}

@keyframes blob-bounce {
    0%, 100% {
        transform: scale(1) translate(0, 0);
    }
    25% {
        transform: scale(1.05) translate(10px, -10px);
    }
    50% {
        transform: scale(0.95) translate(-10px, 10px);
    }
    75% {
        transform: scale(1.02) translate(5px, -5px);
    }
}

/* Animations */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fade-in-up.delay-200 { animation-delay: 0.2s; }
.animate-fade-in-up.delay-400 { animation-delay: 0.4s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* (Feature 1: Motion Intelligence) */
.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: transform, opacity;
}

.reveal-blur {
    opacity: 0;
    filter: blur(15px);
    transform: scale(0.95);
    transition: all 1.5s cubic-bezier(0.23, 1, 0.32, 1);
    will-change: filter, transform, opacity;
}

.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
}

/* Base Motion Smoothing */
* {
    scroll-behavior: smooth;
}



/* Section Fade-in on Scroll */
.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);
}


/* Message Box (for alerts/notifications) */
#message-box {
    z-index: 1000; /* Ensure it's on top */
}

/* Scroll Progress Bar */
#scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 5px;
    background-color: #2563eb; /* Blue color */
    z-index: 999;
    transition: width 0.1s ease-out;
}

/* Social Icons */
/* Styles moved to app.html for Tailwind CDN compatibility */

/* Specific social icon colors (optional, for branding) */
.linkedin-icon:hover { color: #0A66C2; }
.twitter-icon:hover { color: #1DA1F2; }
.github-icon:hover { color: #6e5494; } /* GitHub's purple */
.whatsapp-icon:hover { color: #25D366; }

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 3rem;
    }
    .hero-section p {
        font-size: 1.125rem;
    }
    .hero-section .space-x-4 {
        flex-direction: column;
        gap: 1rem;
    }
    .feature-card, .how-it-works-card {
        padding: 1.5rem;
    }
    .feature-card i, .how-it-works-card .icon-circle {
        font-size: 3.5rem;
    }
    #chatbot-container {
        width: 90%;
        height: 70%;
        right: 5%;
        bottom: 10%;
    }
}

@media (max-width: 480px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    .hero-section p {
        font-size: 1rem;
    }
    .btn-primary {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}
