:root {
    --main: #2e3a40;
    --brand: #fbaa29ff;
    --grey: #6c718a;
    --headline-shadow: 0 50px 100px -20px rgba(50, 50, 93, 0.25),
        0 30px 60px -30px rgba(0, 0, 0, 0.3);
}

/* Hide scrollbar but allow scrolling */
.no-scrollbar {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
}

.no-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

#rotating-text {
    background: linear-gradient(90deg, #fbaa29, #ff7f00); /* #2e3a40 */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.brand-gradient {
    background: linear-gradient(90deg, #fbaa29, #ff7f00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.headline-image {
    box-shadow: var(--headline-shadow);
    margin: 32px;
}

.headline-demo-app {
    box-shadow: var(--headline-shadow);
}

@keyframes slideLeft {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.headline-image {
    animation: slideLeft 1s ease-out 0.4s both;
}

.headline-button {
    background: linear-gradient(90deg, #fbaa29, #ff7f00);
}

.parallax-scroll-content {
    position: absolute;
    top: 125px;
    left: 0;
    width: 100%;
    z-index: 1;
    will-change: transform;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .parallax-scroll-content {
        top: 145px;
    }
}

/* Variables */
:root {
    --primary-color: #4a90e2;
    --secondary-color: #50c878;
    --text-color: #2d3436;
    --light-text: #636e72;
    --background-color: #f9f9f9;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* FAQ Container */
.faq-container {
    width: 100%;
    max-width: 1000px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--headline-shadow);
    overflow: hidden;
}

/* Header Section */
.faq-header {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--primary-color), #2c5282);
    color: var(--white);
}

.faq-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Search Bar */
.search-container {
    margin: 30px auto;
    max-width: 600px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border-radius: 50px;
    padding: 10px 20px;
    box-shadow: var(--shadow);
}

.search-box i {
    color: var(--light-text);
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1rem;
    color: var(--text-color);
    background: transparent;
}

.search-box input::placeholder {
    color: var(--light-text);
}

.clear-search {
    background: none;
    border: none;
    color: var(--light-text);
    cursor: pointer;
    padding: 5px;
    display: none;
}

.clear-search.visible {
    display: block;
}

/* Category Filter */
.category-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.category-btn {
    padding: 8px 20px;
    border: 2px solid var(--white);
    border-radius: 25px;
    background: transparent;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.category-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.category-btn.faq-active {
    background: var(--white);
    color: var(--primary-color);
}

/* FAQ Content */
.faq-content {
    padding: 40px;
}

.faq-category {
    margin-bottom: 40px;
}

.faq-category h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.faq-item {
    background: var(--white);
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    background: rgba(74, 144, 226, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin: 0;
}

.faq-icon {
    color: var(--primary-color);
    transition: var(--transition);
}

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

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.faq-active .faq-answer {
    padding: 0 20px 20px;
    max-height: 1000px;
}

.faq-answer p {
    color: var(--light-text);
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 2rem;
    }

    .faq-content {
        padding: 20px;
    }

    .category-filter {
        gap: 5px;
    }

    .category-btn {
        padding: 6px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 30px 15px;
    }

    .faq-header h1 {
        font-size: 1.8rem;
    }

    .search-box {
        padding: 8px 15px;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
}
