html,
body {
    overflow-x: hidden;
}

body {
    font-family: Helvetica, Arial, sans-serif;
    background-color: #E0E0E0; /* Changed from #F5F3FF to a light grey */
    color: #1F2937;
}

html.dark body {
    background-color: #4B5563;
    /* Lighter dark background */
    color: #d1d5db;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: Helvetica, Arial, sans-serif;
    font-weight: 700;
    color: #1F2937;
}

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

.chart-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    height: 400px;
    max-height: 50vh;
}

.faq-answer {
    display: none;
    transition: all 0.3s ease-in-out;
}

/* Glass effect styles */
.glass-effect {
    background-color: rgba(255, 255, 255, 0.15); /* Semi-transparent white background */
    backdrop-filter: blur(10px); /* Frosted glass effect */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Subtle border */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Subtle shadow */
    padding: 20px; /* Add some padding */
}

html.dark .glass-effect {
    background-color: rgba(0, 0, 0, 0.2); /* Darker semi-transparent background for dark mode */
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dronefly-bug-logo {
    width: 32px; /* Reduced by about 20% from 40px */
    height: auto;
    display: block;
    margin-top: 8px; /* Space above the logo */
}

/* Animated glow for featured section */
.animated-glow {
    position: relative;
    animation: pulse-glow 4s infinite ease-in-out;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 10px 0 rgba(94, 93, 239, 0.4);
    }
    50% {
        box-shadow: 0 0 25px 5px rgba(94, 93, 239, 0.7);
    }
    100% {
        box-shadow: 0 0 10px 0 rgba(94, 93, 239, 0.4);
    }
}
