/* FAQ Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.7;
    color: #2d3748;
    background-color: #ffffff;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    border-bottom: 1px solid rgba(226, 232, 240, 0.6);
}

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

.nav-brand img {
    height: 40px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 3rem;
}

.nav-menu a {
    text-decoration: none;
    color: #718096;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.4s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: rgb(16, 202, 183);
    transition: width 0.4s ease;
}

.nav-menu a:hover {
    color: rgb(16, 202, 183);
}

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

.nav-menu a.active {
    color: rgb(16, 202, 183);
}

.nav-menu a.active::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #2d3748;
    font-size: 1.5rem;
    cursor: pointer;
}

/* FAQ Header */
.faq-header {
    background: linear-gradient(135deg, #ffffff 0%, #f7fafc 100%);
    color: #2d3748;
    padding: 12rem 0 8rem;
    margin-top: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.faq-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310CAB7" fill-opacity="0.03"><circle cx="30" cy="30" r="2"/></g></svg>') repeat;
    z-index: 1;
}

.faq-header .container {
    position: relative;
    z-index: 2;
}

.faq-header h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.faq-header p {
    font-size: 1.2rem;
    color: #718096;
    max-width: 700px;
    margin: 0 auto 4rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    line-height: 1.8;
}

/* FAQ Search */
.faq-search-container {
    max-width: 600px;
    margin: 4rem auto 0;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 202, 183, 0.1);
    position: relative;
}

.faq-search-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgb(16, 202, 183), transparent);
}

.faq-search {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search input {
    width: 100%;
    padding: 1.2rem 3.5rem 1.2rem 1.5rem;
    border: 2px solid rgba(16, 202, 183, 0.3);
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    color: #2d3748;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
}

.faq-search input:focus {
    border-color: rgb(16, 202, 183);
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 20px 40px rgba(16, 202, 183, 0.2);
    transform: translateY(-2px);
}

.faq-search input::placeholder {
    color: rgba(45, 55, 72, 0.6);
}

.faq-search i {
    position: absolute;
    right: 1.5rem;
    color: rgba(16, 202, 183, 0.7);
    pointer-events: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-search:hover i {
    color: rgb(16, 202, 183);
}

/* Search Results */
.faq-item.hidden {
    display: none !important;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #2d3748;
    font-size: 1.1rem;
    background: rgba(16, 202, 183, 0.05);
    border-radius: 20px;
    margin: 2rem 0;
}

.no-results i {
    display: block;
    font-size: 4rem;
    color: rgb(16, 202, 183);
    margin-bottom: 1.5rem;
}

.no-results h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Highlighted search terms */
mark {
    background: rgb(16, 202, 183) !important;
    color: white !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    font-weight: 500 !important;
}

/* FAQ Navigation */
.faq-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.faq-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 15px;
    text-decoration: none;
    color: #2d3748;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.faq-nav-item:hover {
    border-color: rgb(16, 202, 183);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(16, 202, 183, 0.15);
}

.faq-nav-item i {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: rgb(16, 202, 183);
}

.faq-nav-item span {
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.9rem;
}

/* FAQ Sections */
.faq-section {
    padding: 10rem 0;
    background-color: #ffffff;
    position: relative;
    min-height: auto;
}

.faq-section:nth-child(even) {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.faq-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310CAB7" fill-opacity="0.02"><rect x="0" y="0" width="1" height="1"/></g></svg>') repeat;
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

/* Make sure sections are visible */
.faq-section {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    color: #1a202c !important;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    position: relative;
    z-index: 10;
    opacity: 1;
    visibility: visible;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, rgb(16, 202, 183), rgba(16, 202, 183, 0.5));
    border-radius: 2px;
}

.section-title i {
    color: rgb(16, 202, 183) !important;
    font-size: 2.5rem;
    background: rgba(16, 202, 183, 0.1);
    padding: 15px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 70px;
}

/* FAQ Grid */
.faq-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* FAQ Items */
.faq-item {
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.5rem;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(16, 202, 183, 0.5);
}

.faq-item.active {
    border-color: rgb(16, 202, 183);
    box-shadow: 0 15px 40px rgba(16, 202, 183, 0.15);
}

.faq-question {
    padding: 2.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: #ffffff;
    transition: all 0.4s ease;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
}

.faq-question::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: transparent;
    transition: background 0.3s ease;
}

.faq-item.active .faq-question::before {
    background: rgb(16, 202, 183);
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(16, 202, 183, 0.02) 0%, rgba(16, 202, 183, 0.05) 100%);
    border-bottom-color: rgba(16, 202, 183, 0.2);
}

.faq-question h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0;
    flex: 1;
    color: #2d3748;
    letter-spacing: 0.5px;
    line-height: 1.5;
    padding-right: 1.5rem;
    position: relative;
}

.faq-question h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: rgb(16, 202, 183);
    transition: height 0.3s ease;
}

.faq-item.active h3::before {
    height: 20px;
}

.faq-question i {
    font-size: 1.4rem;
    transition: all 0.3s ease;
    color: rgb(16, 202, 183);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 202, 183, 0.1);
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background: rgb(16, 202, 183);
    color: white;
}

.faq-answer {
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
}

.faq-item.active .faq-answer {
    padding: 2.5rem;
    max-height: 800px;
}

.faq-answer p {
    color: #4a5568;
    line-height: 2;
    margin: 0;
    font-weight: 400;
    font-size: 1.05rem;
    letter-spacing: 0.3px;
    text-align: justify;
    text-justify: inter-word;
}

.faq-answer p + p {
    margin-top: 1rem;
}

.faq-answer p strong {
    color: #2d3748;
    font-weight: 600;
}

.faq-answer p code {
    background: rgba(16, 202, 183, 0.1);
    color: rgb(16, 202, 183);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.9rem;
}

/* Enhanced list styling in FAQ answers */
.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.faq-answer ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-answer ul li::before {
    content: '•';
    color: rgb(16, 202, 183);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* FAQ CTA */
.faq-cta {
    background: #f7fafc;
    padding: 8rem 0;
    text-align: center;
}

.faq-cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #2d3748;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.faq-cta p {
    font-size: 1rem;
    color: #718096;
    margin-bottom: 2.5rem;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: none;
    cursor: pointer;
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.6s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background-color: rgb(16, 202, 183);
    color: #ffffff;
    border: 1px solid rgb(16, 202, 183);
}

.btn-primary:hover {
    background-color: rgba(16, 202, 183, 0.9);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 202, 183, 0.3);
}

.btn-secondary {
    background-color: transparent;
    color: rgb(16, 202, 183);
    border: 1px solid rgb(16, 202, 183);
}

.btn-secondary:hover {
    background-color: rgb(16, 202, 183);
    color: #ffffff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(16, 202, 183, 0.3);
}

/* Footer */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1.5rem;
    color: rgb(16, 202, 183);
    font-weight: 600;
    letter-spacing: 1px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 400;
}

.footer-section ul li a:hover {
    color: rgb(16, 202, 183);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Search Functionality Styles */
.faq-search-container {
    max-width: 700px;
    margin: 2rem auto 0;
    position: relative;
}

.faq-search {
    position: relative;
    display: flex;
    align-items: center;
}

.faq-search input {
    width: 100%;
    padding: 1.5rem 4rem 1.5rem 2rem;
    border: 3px solid #e2e8f0;
    border-radius: 60px;
    background: #ffffff;
    color: #2d3748;
    font-size: 1.1rem;
    outline: none;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.faq-search input:focus {
    border-color: rgb(16, 202, 183);
    box-shadow: 0 0 0 4px rgba(16, 202, 183, 0.1), 0 8px 30px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.faq-search input::placeholder {
    color: #a0aec0;
    font-weight: 400;
}

.faq-search i {
    position: absolute;
    right: 2rem;
    color: #a0aec0;
    pointer-events: none;
    font-size: 1.3rem;
    transition: color 0.3s ease;
}

.faq-search input:focus + i {
    color: rgb(16, 202, 183);
}

.search-results-count {
    text-align: center;
    margin: 1rem 0;
    color: #718096;
    font-size: 0.9rem;
    font-style: italic;
}

.faq-item.hidden {
    display: none;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #718096;
    font-size: 1.1rem;
}

.no-results i {
    font-size: 3rem;
    color: rgb(16, 202, 183);
    margin-bottom: 1rem;
    display: block;
}

.no-results h3 {
    color: #2d3748;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgb(16, 202, 183) 0%, rgba(16, 202, 183, 0.8) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(16, 202, 183, 0.3);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(16, 202, 183, 0.4);
}

/* Enhanced Typography and Readability */
.faq-item h3 {
    position: relative;
}

.faq-item h3::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 0;
    background: rgb(16, 202, 183);
    transition: height 0.3s ease;
}

.faq-item.active h3::before {
    height: 20px;
}

/* Reading Progress Indicator */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, rgb(16, 202, 183), rgba(16, 202, 183, 0.6));
    z-index: 9999;
    transition: width 0.1s ease;
}

/* Enhanced FAQ Grid with Better Spacing */
.faq-grid {
    display: grid;
    gap: 2.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Category Pills for Better Navigation */
.category-pill {
    display: inline-block;
    background: rgba(16, 202, 183, 0.1);
    color: rgb(16, 202, 183);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(16, 202, 183, 0.2);
}

/* Enhanced FAQ Sections with Better Visual Separation */
.faq-section {
    padding: 10rem 0;
    background-color: #ffffff;
    position: relative;
}

.faq-section:nth-child(even) {
    background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
}

.faq-section:nth-child(even)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="40" height="40" viewBox="0 0 40 40" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%2310CAB7" fill-opacity="0.02"><rect x="0" y="0" width="1" height="1"/></g></svg>') repeat;
    z-index: 1;
}

.faq-section .container {
    position: relative;
    z-index: 2;
}

/* Improved Typography Hierarchy */
.faq-answer p {
    text-align: justify;
    text-justify: inter-word;
}

/* Add visual breathing room */
.faq-answer p + p {
    margin-top: 1rem;
}

/* Enhanced list styling in FAQ answers */
.faq-answer ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.faq-answer ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.faq-answer ul li::before {
    content: '•';
    color: rgb(16, 202, 183);
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Table of Contents Floating Widget */
.faq-toc {
    position: fixed;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid #e2e8f0;
    max-width: 200px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.faq-toc.show {
    opacity: 1;
    visibility: visible;
}

.faq-toc h4 {
    font-size: 0.9rem;
    color: #2d3748;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.faq-toc ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.faq-toc ul li {
    margin-bottom: 0.5rem;
}

.faq-toc ul li a {
    color: #718096;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.2s ease;
    display: block;
    padding: 0.2rem 0;
}

.faq-toc ul li a:hover,
.faq-toc ul li a.active {
    color: rgb(16, 202, 183);
}

/* Scroll Hint Animation */
.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: #a0aec0;
    font-size: 0.9rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        gap: 1.5rem;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-toggle {
        display: block;
    }

    .faq-header {
        padding: 10rem 0 6rem;
    }

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

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

    .faq-nav {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .faq-nav-item {
        padding: 1.5rem 1rem;
    }

    .faq-search-container {
        margin: 2rem auto 0;
        padding-top: 1.5rem;
    }

    .faq-search input {
        padding: 1rem 3rem 1rem 1.2rem;
        font-size: 0.9rem;
    }

    .faq-search i {
        right: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 1rem;
    }

    .section-title i {
        font-size: 2rem;
    }

    .faq-question {
        padding: 1.5rem;
    }

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

    .faq-item.active .faq-answer {
        padding: 1.5rem;
    }

    .faq-cta h2 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .faq-section {
        padding: 6rem 0;
    }
}

@media (max-width: 480px) {
    .faq-header {
        padding: 8rem 0 5rem;
    }

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

    .faq-nav {
        grid-template-columns: 1fr;
    }

    .faq-nav-item {
        padding: 1.2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-item.active .faq-answer {
        padding: 1.2rem;
    }

    .faq-section {
        padding: 5rem 0;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: fadeInUp 0.6s ease forwards;
}

.faq-item:nth-child(even) {
    animation-delay: 0.1s;
}

.faq-item:nth-child(odd) {
    animation-delay: 0.2s;
}

/* Enhanced mobile experience */
@media (max-width: 768px) {
    .faq-search input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .faq-question {
        padding: 1.2rem;
    }
    
    .faq-answer {
        font-size: 0.9rem;
    }
    
    .back-to-top {
        bottom: 70px !important;
        right: 15px !important;
        width: 45px !important;
        height: 45px !important;
    }
}
