/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #ff6b35;
}

.contact-btn {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ff6b35;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    background-color: #ff6b35;
    color: #1a1a1a;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
.main {
    padding: 3rem 0;
}

.faq-layout {
    /* display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start; */
}

/* Sidebar */
.faq-sidebar {
    background-color: #242424;
    border-radius: 12px;
    padding: 2rem;
    position: sticky;
    top: 100px;
}

.sidebar-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.category-list {
    list-style: none;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.category-item:hover {
    background-color: #333;
}

.category-item.active {
    background-color: #ff6b35;
    color: #1a1a1a;
}

.category-icon {
    font-size: 1.1rem;
}

/* FAQ Content */
.faq-content {
    background-color: #242424;
    border-radius: 12px;
    padding: 2.5rem;
}

.faq-header {
    margin-bottom: 2.5rem;
}

.faq-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.faq-description {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

/* Search */
.search-container {
    position: relative;
    max-width: 400px;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    background-color: #1a1a1a;
    border: 2px solid #333;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: #ff6b35;
}

.search-input::placeholder {
    color: #888;
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.2rem;
}

/* FAQ Items */
.faq-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.1);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #333;
}

.faq-question h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: #222;
}

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

.faq-answer p {
    padding: 1.5rem;
    color: #cccccc;
    margin: 0;
    line-height: 1.7;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 3rem;
}

.no-results-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff;
}

.no-results-content p {
    color: #888;
    font-size: 1rem;
}

/* Contact Section */
.contact-section {
    background-color: #242424;
    padding: 4rem 0;
    margin-top: 4rem;
}

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

.contact-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.contact-content p {
    font-size: 1.125rem;
    color: #cccccc;
    margin-bottom: 2rem;
}

.contact-cta {
    background-color: #ff6b35;
    color: #1a1a1a;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.contact-cta:hover {
    background-color: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .faq-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .faq-sidebar {
        position: static;
        order: 2;
    }
    
    .category-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.5rem;
    }
    
    .category-item {
        margin-bottom: 0;
        text-align: center;
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0.5rem;
    }
    
    .faq-title {
        font-size: 2rem;
    }
    
    .faq-content {
        padding: 1.5rem;
    }
    
    .search-container {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .faq-title {
        font-size: 1.75rem;
    }
    
    .faq-question h3 {
        font-size: 1rem;
    }
    
    .faq-content {
        padding: 1rem;
    }
    
    .contact-content h2 {
        font-size: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeIn 0.5s ease forwards;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }
.faq-item:nth-child(5) { animation-delay: 0.5s; }

/* Hide initially for animation */
.faq-item {
    opacity: 0;
    transform: translateY(20px);
}

/* Hide iframe scrollbars */
iframe {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* Internet Explorer 10+ */
}

iframe::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

/* Additional iframe styling for better appearance */
iframe {
    border: none;
    outline: none;
}

/* Specific styling for the contract iframe */
iframe[src*="contract"] {
    overflow: hidden;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

iframe[src*="contract"]::-webkit-scrollbar {
    display: none;
}