html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #1b1e59;
    color: white;
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

.section-height {
    min-height: 100vh;
    width: 100%;
}

.gradient-text {
    color: #a6aaed;
}

.hero-glow {
    position: relative;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4), 0 0 10px rgba(179, 165, 250, 0.2);
}

.hero-glow::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, rgba(179, 165, 250, 0) 0%, rgba(179, 165, 250, 0.8) 50%, rgba(179, 165, 250, 0) 100%);
    z-index: 1;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.6;
    }
}

/* Mobile responsiveness fixes */
@media (max-width: 768px) {
    .container {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    body,
    html {
        width: 100vw;
        max-width: 100vw;
        overflow-x: hidden;
        position: relative;
    }

    nav {
        width: 100%;
        left: 0;
        right: 0;
    }
}

.section-separator {
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(179, 165, 250, 0.3) 50%, rgba(255, 255, 255, 0) 100%);
    margin: 0 auto;
    width: 80%;
    max-width: 1200px;
}

.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #b3a5fa;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.faq-content {
    transition: all 0.3s ease-in-out;
}

.faq-content:not(.hidden) {
    max-height: none;
    height: auto;
    opacity: 1;
}

.faq-content.hidden {
    max-height: 0;
    height: 0;
    opacity: 0;
    overflow: hidden;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: rgba(179, 165, 250, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s, background-color 0.3s;
    z-index: 50;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-to-top:hover {
    background-color: rgba(179, 165, 250, 0.4);
}

.back-to-top.visible {
    opacity: 1;
}

.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.video-container {
    position: relative;
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16/9;
}

.close-video {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-video:hover {
    color: #b3a5fa;
}

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

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    flex: 0 0 100%;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    gap: 1rem;
}

.carousel-control {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.carousel-control:hover {
    background: rgba(179, 165, 250, 0.3);
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.carousel-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease;
}

.carousel-indicator.active {
    background: #b3a5fa;
    transform: scale(1.3);
}

.blur-circle {
    position: fixed;
    border-radius: 50%;
    filter: blur(70px);
    z-index: 0;
    opacity: 0.15;
}