html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.perspective-1000 {
    perspective: 1000px;
}

#vanta-bg {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100%;
    height: 100%;
}

.checkbox {
    opacity: 0;
    position: absolute;
}

.checkbox-label {
    background-color: #111;
    width: 50px;
    height: 26px;
    border-radius: 50px;
    position: relative;
    padding: 5px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fa-moon {
    color: #f1c40f;
}

.fa-sun {
    color: #f39c12;
}

.checkbox-label .ball {
    background-color: #fff;
    width: 22px;
    height: 22px;
    position: absolute;
    left: 2px;
    top: 2px;
    border-radius: 50%;
    transition: transform 0.2s linear;
}

.checkbox:checked+.checkbox-label .ball {
    transform: translateX(24px);
}

.glowing-line {
    background: linear-gradient(90deg, #6ee7b7, #34d399, #6ee7b7);
    background-size: 400% 400%;
    animation: glowPulse 5s ease infinite;
    height: 4px;
    border-radius: 9999px;
}

@keyframes glowPulse {
    0%,
    100% {
        background-position: 0% 50%;
        box-shadow: 0 0 4px #6ee7b7, 0 0 8px #34d399;
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 0 8px #34d399, 0 0 12px #6ee7b7;
    }
}

@media (max-width: 768px) {
    #testimonial-slider>div {
        flex-direction: column;
        gap: 1.5rem;
    }
    #testimonial-slider>div>div {
        width: 100%;
    }
}

#testimonials {
    background: white;
    padding: 3rem 0 2rem 0;
    text-align: center;
}

#testimonials h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.slider {
    background: white;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 0;
}

.slider::before,
.slider::after {
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    content: "";
    height: 100%;
    position: absolute;
    width: 75px;
    z-index: 2;
}

@media (min-width: 640px) {
    .slider::before,
    .slider::after {
        width: 150px;
    }
}

.slider::before {
    left: 0;
    top: 0;
}

.slider::after {
    right: 0;
    top: 0;
    transform: rotateZ(180deg);
}

.slider:hover .slide-track {
    animation-play-state: paused;
}

.slide-track {
    animation: scroll 60s linear infinite;
    display: flex;
    width: calc(100vw * 12);
}

.slide {
    width: 90vw;
    max-width: 450px;
    height: auto;
    min-height: 220px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
}

.testimonial-card {
    background: #f3f4f6;
    padding: 2rem;
    border-radius: 1rem;
    width: 90%;
    height: 100%;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border 0.3s ease;
}

.testimonial-card.parallax {
    transform: translateY(var(--scroll-amount));
}

.testimonial-card:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 16px rgba(52, 211, 153, 0.4);
    border: 2px solid #52937b;
    /* Soft green glow border */
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #374151;
}

.testimonial-name {
    font-weight: bold;
    color: #1f2937;
    font-size: 1.1rem;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-100vw * 6));
    }
}

@media (min-width: 450px) {
    .slide-track {
        width: calc(450px * 12);
    }
    @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-450px * 6));
        }
    }
}

:root {
    --clr-background: #f9fafb;
    --clr-text: #111827;
    --clr-slide-1: #e53935;
    --clr-slide-2: #34c759;
    --clr-slide-3: #6366f1;
    --clr-slide-4: #ec4899;
    --clr-slide-5: #22d3ee;
    --clr-slide-6: #eab308;
    --clr-slide-7: #f97316;
    --item-height: 60px;
    --total-items: 7;
    --animation-duration: 10s;
    --scroll-height: 300px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

#goodbye {
    background: var(--clr-background);
    color: var(--clr-text);
    display: grid;
    place-content: center;
    padding: 1rem 0;
    font-family: "Inter", sans-serif;
}

.cont {
    width: 100%;
    height: calc(var(--scroll-height) + var(--item-height) - 10px);
    overflow: hidden;
    display: flex;
    padding: calc(var(--scroll-height) / 2) 20px;
    gap: 20px;
}

#wave {
    font-size: 40px;
    font-weight: 600;
    text-align: center;
    color: var(--clr-text);
    white-space: nowrap;
}

.scroll-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(calc(var(--item-height) * -2));
    animation: stepScroll var(--animation-duration) infinite forwards linear;
}

.scroll-list li {
    font-size: 40px;
    font-weight: 600;
    line-height: 50px;
    white-space: nowrap;
    color: var(--clr);
}

@keyframes stepScroll {
    0%,
    11.90% {
        transform: translateY(calc(var(--item-height) * -2));
    }
    14.28%,
    26.19% {
        transform: translateY(calc(var(--item-height) * -3));
    }
    28.57%,
    40.47% {
        transform: translateY(calc(var(--item-height) * -4));
    }
    42.85%,
    54.76% {
        transform: translateY(calc(var(--item-height) * -5));
    }
    57.14%,
    69.04% {
        transform: translateY(calc(var(--item-height) * -6));
    }
    71.42%,
    83.33% {
        transform: translateY(calc(var(--item-height) * -7));
    }
    85.71%,
    97.62% {
        transform: translateY(calc(var(--item-height) * -8));
    }
    100% {
        transform: translateY(calc(var(--item-height) * -9));
    }
}

.scroll-window {
    position: relative;
}

.scroll-window .fade {
    position: absolute;
    inset-inline: 0;
    height: calc(var(--scroll-height) / 2);
    background: linear-gradient(to bottom, var(--clr-background), rgba(249, 250, 251, 0));
    z-index: 1;
    backdrop-filter: saturate(0);
    pointer-events: none;
}

.top-fade {
    top: calc(var(--scroll-height) / 2 * -1);
}

.bottom-fade {
    top: 50px;
    transform: rotate(180deg);
}

.slide-letter {
    display: inline-block;
    transform: translateX(50px);
    opacity: 0;
    animation: slideIn 2s forwards;
}

.slide-letter:nth-child(1) {
    animation-delay: 0.2s;
}

.slide-letter:nth-child(2) {
    animation-delay: 0.4s;
}

.slide-letter:nth-child(3) {
    animation-delay: 0.6s;
}

.slide-letter:nth-child(4) {
    animation-delay: 0.8s;
}

.slide-letter:nth-child(5) {
    animation-delay: 1.0s;
}

.slide-letter:nth-child(6) {
    animation-delay: 1.2s;
}

.slide-letter:nth-child(7) {
    animation-delay: 1.4s;
}

.slide-letter:nth-child(8) {
    animation-delay: 1.6s;
}

@keyframes slideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (max-width: 1023px) {
    #goodbye {
        display: none !important;
    }
}

#roadmap details {
    background-color: #f9fafb;
    /* Tailwind gray-50 */
    border: 1px solid #e5e7eb;
    /* Tailwind gray-200 */
    border-radius: 0.75rem;
    /* Tailwind rounded-xl */
    margin-bottom: 1rem;
    transition: all 0.3s ease-in-out;
}

#roadmap details:hover {
    border-color: #34d399;
    /* Tailwind green-400 */
}

#roadmap summary {
    padding: 1rem 1.5rem;
    font-weight: 600;
    /* Tailwind font-semibold */
    color: #374151;
    /* Tailwind gray-700 */
    cursor: pointer;
    list-style: none;
    /* Remove default marker */
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s ease-in-out;
}

#roadmap summary::-webkit-details-marker {
    display: none;
    /* Hide Safari default marker */
}

#roadmap summary::after {
    content: '+';
    font-size: 1.5em;
    color: #10b981;
    /* Tailwind green-600 */
    transition: transform 0.3s ease-in-out;
}

#roadmap details[open] {
    background-color: #ffffff;
    /* White */
    border-color: #10b981;
    /* Tailwind green-600 */
}

#roadmap details[open] summary {
    color: #10b981;
    /* Tailwind green-600 */
    border-bottom: 1px solid #e5e7eb;
    /* Tailwind gray-200 */
}

#roadmap details[open] summary::after {
    transform: rotate(45deg);
}

#roadmap details p {
    padding: 1rem 1.5rem;
    color: #4b5563;
    /* Tailwind gray-600 */
    line-height: 1.6;
}


/* Staggered Roadmap Card Animation */

.roadmap-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.roadmap-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Delay for staggering - will be applied via JS */

.roadmap-card:nth-child(1).is-visible {
    transition-delay: 0.1s;
}

.roadmap-card:nth-child(2).is-visible {
    transition-delay: 0.2s;
}

.roadmap-card:nth-child(3).is-visible {
    transition-delay: 0.3s;
}

.roadmap-card:nth-child(4).is-visible {
    transition-delay: 0.4s;
}


/* Enhanced Features Section Styling */


/* Background decorative elements */

#features {
    position: relative;
    overflow: hidden;
}

#features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 20%, rgba(16, 185, 129, 0.03) 0%, transparent 50%), radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%), radial-gradient(circle at 50% 50%, rgba(16, 185, 129, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.feature-card {
    position: relative;
    perspective: 1000px;
    cursor: pointer;
}

.feature-card-inner {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(229, 231, 235, 0.6);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.9);
}

.feature-card:hover .feature-card-inner {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(16, 185, 129, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 100%);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.15), 0 10px 10px -5px rgba(16, 185, 129, 0.1), 0 0 0 1px rgba(16, 185, 129, 0.2), 0 0 20px rgba(16, 185, 129, 0.08);
}


/* Icon Container */

.feature-icon-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    color: white;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feature-card:hover .feature-icon::before {
    left: 100%;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}


/* Content Styling */

.feature-content {
    text-align: center;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #374151, #4b5563);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    color: #4b5563;
    line-height: 1.7;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-description {
    color: #374151;
}


/* Hover Effect Elements */

.feature-hover-elements {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 24px;
}

.feature-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
    opacity: 0;
}

.feature-card:hover .feature-glow {
    width: 300px;
    height: 300px;
    opacity: 1;
}

.feature-particles {
    position: absolute;
    inset: 0;
}

.feature-particles span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 3s infinite ease-in-out;
}

.feature-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.feature-particles span:nth-child(2) {
    top: 60%;
    right: 20%;
    animation-delay: 1s;
}

.feature-particles span:nth-child(3) {
    bottom: 20%;
    left: 50%;
    animation-delay: 2s;
}

@keyframes particleFloat {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}


/* Enhanced Animations */

.feature-card {
    animation: fadeInUp 0.8s ease-out forwards paused;
    opacity: 0;
    transform: translateY(30px);
    will-change: transform, opacity;
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s;
}

.feature-card:nth-child(2) {
    animation-delay: 0.3s;
}

.feature-card:nth-child(3) {
    animation-delay: 0.5s;
}

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


/* Smooth transitions for all interactive elements */

.feature-card * {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Staggered animation for feature icons */

.feature-icon {
    animation: iconFloat 3s ease-in-out infinite;
}

.feature-card:nth-child(1) .feature-icon {
    animation-delay: 0s;
}

.feature-card:nth-child(2) .feature-icon {
    animation-delay: 1s;
}

.feature-card:nth-child(3) .feature-icon {
    animation-delay: 2s;
}

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


/* Responsive Design */

@media (max-width: 1024px) {
    .feature-card-inner {
        padding: 2rem 1.5rem;
    }
    .feature-icon {
        width: 70px;
        height: 70px;
    }
    .feature-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .feature-card-inner {
        padding: 1.5rem 1rem;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
    }
    .feature-title {
        font-size: 1.125rem;
    }
    .feature-description {
        font-size: 0.875rem;
    }
}

@media (max-width: 640px) {
    .feature-card-inner {
        padding: 1.25rem 0.75rem;
    }
    .feature-icon {
        width: 50px;
        height: 50px;
    }
    .feature-icon svg {
        width: 1.5rem;
        height: 1.5rem;
    }
    /* Adjust grid for very small screens */
    #features .grid {
        gap: 1.5rem;
    }
    /* Reduce padding for mobile */
    #features {
        padding: 3rem 0;
    }
    #features .text-center.mb-16 {
        margin-bottom: 2rem;
    }
}


/* Extra small devices */

@media (max-width: 480px) {
    .feature-card-inner {
        padding: 1rem 0.5rem;
    }
    .feature-icon {
        width: 45px;
        height: 45px;
    }
    .feature-title {
        font-size: 1rem;
    }
    .feature-description {
        font-size: 0.8rem;
    }
}


/* Landscape mobile optimization */

@media (max-height: 500px) and (orientation: landscape) {
    #features {
        padding: 2rem 0;
    }
    .feature-card-inner {
        padding: 1.5rem 1rem;
    }
    .feature-icon {
        width: 60px;
        height: 60px;
    }
}


/* Light mode only - keeping cards bright and clean */


/* Additional hover effects for feature cards */

.feature-card:hover .feature-card-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(59, 130, 246, 0.05));
    border-radius: 24px;
    opacity: 0;
    animation: cardGlow 0.6s ease-out forwards;
}

@keyframes cardGlow {
    to {
        opacity: 1;
    }
}


/* Ensure smooth integration with existing site */

#features .section-title-enhanced::after,
#ai-mvp .section-title-enhanced::after {
    background: linear-gradient(to right, #10b981, #059669);
    width: 100px;
    height: 4px;
}


/* Focus states for accessibility */

.feature-card:focus-within .feature-card-inner {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}


/* Print styles */

@media print {
    .feature-card-inner {
        box-shadow: none;
        border: 1px solid #d1d5db;
    }
    .feature-hover-elements,
    .feature-glow,
    .feature-particles {
        display: none;
    }
}

.gradient-text {
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    background-image: linear-gradient(to right, #10B981, #059669, #047857);
}

.cta-button {
    background-image: linear-gradient(to right, #10B981 0%, #059669 50%, #047857 100%);
    background-size: 200% auto;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    transition: all 0.4s ease-out;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.cta-button:hover {
    background-position: right center;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.5);
}


/* Secondary Button Styling (e.g., Learn More) */

.secondary-button {
    border: 2px solid #10B981;
    /* Tailwind green-600 */
    color: #10B981;
    padding: 0.625rem 1.5rem;
    /* Adjusted from py-3 px-6, text-sm */
    border-radius: 9999px;
    /* rounded-full */
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    /* font-semibold */
    transition: all 0.3s ease-out;
    display: inline-block;
    text-align: center;
}

.secondary-button:hover {
    background-color: #10B981;
    /* Tailwind green-600 */
    color: white;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
}


/* Enhanced Section Titles */

.section-title-enhanced {
    position: relative;
    display: block;
    padding-bottom: 0.75rem;
    margin-bottom: 1.5rem;
    /* Default, adjust as needed */
}

.section-title-enhanced.text-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-image: linear-gradient(to right, #34D399, #10B981);
    border-radius: 2px;
}


/* For left-aligned titles */

.section-title-enhanced.text-left::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-image: linear-gradient(to right, #34D399, #10B981);
    border-radius: 2px;
}


/* Mobile Navigation Burger Animation */

.burger-line {
    display: block;
    width: 24px;
    /* Match original SVG width approx */
    height: 2px;
    /* Match original SVG stroke-width approx */
    background-color: currentColor;
    /* Uses text color from parent */
    border-radius: 1px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out, top 0.3s ease-in-out;
}

.top-line {
    top: 8px;
    /* Adjust for vertical centering within button h-8 (32px) */
}

.middle-line {
    top: 15px;
}

.bottom-line {
    top: 22px;
}

#nav-toggle.active .top-line {
    top: 15px;
    transform: translateX(-50%) rotate(45deg);
}

#nav-toggle.active .middle-line {
    opacity: 0;
    transform: translateX(-50%) scaleX(0);
}

#nav-toggle.active .bottom-line {
    top: 15px;
    transform: translateX(-50%) rotate(-45deg);
}


/* Mobile Menu Animation */

#mobile-menu {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-20px);
    transition: max-height 0.4s ease-in-out, opacity 0.3s ease-in-out 0.1s, transform 0.3s ease-in-out 0.1s;
}

#mobile-menu.menu-active {
    max-height: 500px;
    /* Large enough to fit content */
    opacity: 1;
    transform: translateY(0);
}


/* Remove .hidden class if JS is toggling it, or ensure these styles override it */

#mobile-menu.hidden {
    /* If JS still adds .hidden, these initial states might be overridden. */
    /* It's better if JS only toggles .menu-active and CSS handles visibility. */
    /* For now, assuming .hidden is also removed by JS when .menu-active is added */
}


/* Dark Mode Toggle Styles - Commented Out
.toggle-label {
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative; 
}

.toggle-switch {
    width: 50px;
    height: 26px;
    background-color: #e5e7eb; 
    border-radius: 9999px; 
    padding: 3px;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
}

.dark .toggle-switch {
    background-color: #4b5563; 
}

.toggle-ball {
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}


.toggle-switch::before {
    content: '☀️'; 
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #f59e0b; 
    opacity: 1; 
    transition: opacity 0.3s ease;
}

.dark .toggle-switch::before {
    opacity: 0; 
}


.toggle-switch::after {
    content: '🌙'; 
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    color: #a5b4fc; 
    opacity: 0; 
    transition: opacity 0.3s ease;
}

.dark .toggle-switch::after {
    opacity: 1; 
}

#darkModeToggle:checked + .toggle-label .toggle-ball {
    transform: translateX(24px);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}
*/


/* Custom Dark Mode Body Styles - Commented out 
html.dark body {
    background-color: #111827 !important; 
    color: #f9fafb !important; 
}
*/


/* You might need to add more !important overrides for other elements 
   if their Tailwind dark: variants are also not applying. */

.faq-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content.active {
    max-height: 500px;
}

.faq-toggle {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-toggle.active {
    transform: rotate(45deg);
}

.search-input {
    background: linear-gradient(145deg, #f8fafc, #f1f5f9);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.search-input:focus {
    background: white;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
    transform: translateY(-1px);
}

.category-filter {
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-filter:hover {
    transform: translateY(-2px);
}

.category-filter.active {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.highlight {
    background-color: #fef3c7;
    padding: 1px 2px;
    border-radius: 2px;
}

.no-results {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.no-results.show {
    opacity: 1;
    transform: translateY(0);
}

.gradient-text {
    background: linear-gradient(135deg, #10b981, #059669);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.faq-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.chatbot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.chatbot-overlay.active {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.chatbot-container {
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    height: 600px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    overflow: hidden;
}

.chatbot-overlay.active .chatbot-container {
    transform: scale(1);
}

.chatbot-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 16px 16px 0 0;
}

.chatbot-title {
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #f8fafc;
}

.message {
    max-width: 85%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.4;
    animation: fadeIn 0.3s ease;
}

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

.message.bot {
    background: white;
    color: #1f2937;
    align-self: flex-start;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.message.user {
    background: #10b981;
    color: white;
    align-self: flex-end;
}

.typing-indicator {
    display: none;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 12px 16px;
    max-width: 85%;
    align-self: flex-start;
}

.typing-indicator.active {
    display: block;
}

.typing-dots {
    display: flex;
    gap: 4px;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: #9ca3af;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

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

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

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

.chatbot-input-container {
    padding: 16px 20px;
    background: white;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 12px;
    align-items: flex-end;
}

.chatbot-input {
    flex: 1;
    border: 1px solid #d1d5db;
    border-radius: 20px;
    padding: 12px 16px;
    font-size: 14px;
    resize: none;
    outline: none;
    transition: border-color 0.2s;
    max-height: 100px;
    min-height: 44px;
    line-height: 1.4;
}

.chatbot-input:focus {
    border-color: #10b981;
}

.chatbot-send {
    background: #10b981;
    color: white;
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.2s;
    flex-shrink: 0;
}

.chatbot-send:hover:not(:disabled) {
    background: #059669;
}

.chatbot-send:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.chatbot-trigger {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 999;
    background: #10b981;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    cursor: pointer;
    border: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.chatbot-trigger:hover {
    background: #059669;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.4);
}

.welcome-message {
    text-align: center;
    color: #6b7280;
    font-size: 13px;
    margin-bottom: 16px;
    padding: 16px;
    background: white;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
}

.suggested-questions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
}

.suggested-question {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 8px 12px;
    font-size: 13px;
    color: #374151;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}

.suggested-question:hover {
    background: #e5e7eb;
    border-color: #10b981;
}

@media (max-width: 768px) {
    .chatbot-container {
        width: 100%;
        height: 100%;
        max-height: 100vh;
        border-radius: 0;
    }
    .chatbot-header {
        border-radius: 0;
    }
    .chatbot-trigger {
        bottom: 20px;
        right: 20px;
        padding: 10px 20px;
        font-size: 13px;
    }
}

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

@keyframes pulse-glow {
    0%,
    100% {
        box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 0 30px rgba(34, 197, 94, 0.6);
    }
}

@keyframes slideInFromLeft {
    0% {
        opacity: 0;
        transform: translateX(-50px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressFill {
    0% {
        height: 0%;
    }
    100% {
        height: 100%;
    }
}

.step-card {
    animation: slideInFromLeft 0.8s ease-out forwards;
    opacity: 0;
}

.step-card.animate {
    animation-delay: var(--delay);
}

.number-circle {
    transition: all 0.3s ease;
}

.number-circle:hover {
    animation: pulse-glow 2s infinite;
    transform: scale(1.1);
}

.floating {
    animation: float 3s ease-in-out infinite;
}

.progress-line {
    position: absolute;
    left: 20px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background: linear-gradient(to bottom, #d1fae5, #10b981);
    opacity: 0.3;
}

.progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to bottom, #10b981, #059669);
    animation: progressFill 3s ease-out forwards;
    animation-delay: 1s;
}

.step-content {
    transition: all 0.3s ease;
}

.step-card:hover .step-content {
    transform: translateX(5px);
}

.step-card:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(5, 150, 105, 0.1));
    border-radius: 12px;
    padding: 1rem;
    margin: -1rem;
}

.icon-container {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: all 0.3s ease;
}

.step-card:hover .icon-container {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #10b981;
    border-radius: 50%;
    opacity: 0;
    animation: particleFloat 4s infinite ease-in-out;
}

@keyframes particleFloat {
    0%,
    100% {
        opacity: 0;
        transform: translateY(0) scale(0);
    }
    50% {
        opacity: 1;
        transform: translateY(-20px) scale(1);
    }
}


/* Custom Dropdown Styling */

select[name="hear_about_us"] {
    cursor: pointer;
    transition: all 0.2s ease;
}

select[name="hear_about_us"]:hover {
    border-color: #10b981;
}

select[name="hear_about_us"]:focus {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}


/* Ensure dropdown works properly on mobile devices */

@media (max-width: 640px) {
    select[name="hear_about_us"] {
        font-size: 16px;
        padding: 12px 16px;
        padding-right: 48px;
    }
}


/* Dark mode support - keeping white background to match form */

@media (prefers-color-scheme: dark) {
    select[name="hear_about_us"] {
        background-color: #ffffff;
        color: #111827;
        border-color: #d1d5db;
    }
    select[name="hear_about_us"]:hover {
        border-color: #10b981;
    }
    select[name="hear_about_us"]:focus {
        border-color: #10b981;
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }
}


/* Ensure proper appearance on all browsers */

select[name="hear_about_us"]::-ms-expand {
    display: none;
}

select[name="hear_about_us"] option {
    background-color: inherit;
    color: inherit;
    padding: 8px 12px;
}