/* 
* Safiri by Citrus - FAQ Page Styles
* A modern, clean stylesheet for the FAQ page 
*/

/* ===== Base Styles ===== */
:root {
    /* Primary Brand Colors */
    --primary-color: #1A73E8;
    --secondary-color: #FFC107;
    --accent-color: #4CAF50;
    --neutral-color: #F5F5F5;
    
    /* Secondary Colors */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #FFFFFF;
    --border-color: #E0E0E0;
    --hover-color: #0D47A1;
    --shadow-color: rgba(0, 0, 0, 0.1);
    
    /* Typography */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Inter', sans-serif;
    --font-accent: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: #FFFFFF;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--hover-color);
}

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

/* ===== Button Styles ===== */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--text-light);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--hover-color);
    border-color: var(--hover-color);
    color: var(--text-light);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--text-light);
}

/* ===== Header Section ===== */
.site-header {
    padding: 20px 0;
    background-color: #FFFFFF;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo-container {
    flex: 0 0 auto;
}

.logo {
    height: 50px;
    width: auto;
}

.main-nav {
    flex: 1 1 auto;
    text-align: right;
}

.nav-list {
    list-style: none;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.nav-list li {
    margin-left: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-primary);
}

.nav-list a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    height: 3px;
    width: 25px;
    background-color: var(--text-primary);
    margin: 3px 0;
    border-radius: 3px;
}

/* ===== Hero Section ===== */
.hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(to bottom right, #f8f9fa, #e9ecef);
    text-align: center;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.tagline {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: var(--text-secondary);
}

.search-container {
    display: flex;
    max-width: 600px;
    margin: 0 auto;
}

#faq-search {
    flex: 1;
    padding: 15px 20px;
    border: 1px solid var(--border-color);
    border-radius: 50px 0 0 50px;
    font-size: 16px;
    outline: none;
}

.search-button {
    padding: 15px 25px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 0 50px 50px 0;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.search-button:hover {
    background-color: var(--hover-color);
}

/* ===== FAQ Categories ===== */
.faq-categories {
    background-color: #FFFFFF;
    padding: 20px 0;
    box-shadow: 0 2px 10px var(--shadow-color);
    position: sticky;
    top: 90px;
    z-index: 900;
}

.categories-wrapper {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.category-tab {
    padding: 12px 20px;
    background-color: transparent;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-primary);
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    color: var(--text-secondary);
}

.category-tab:hover {
    color: var(--primary-color);
}

.category-tab.active {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.category-tab i {
    font-size: 16px;
}

/* ===== FAQ Content ===== */
.faq-content {
    padding: 60px 0;
}

.faq-accordion {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px var(--shadow-color);
}

.faq-question {
    padding: 20px 25px;
    background-color: #FFFFFF;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
}

.toggle-icon {
    font-size: 16px;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    padding: 0 25px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 25px;
}

.faq-answer p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

/* Feature List Styles */
.feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.feature-item i {
    color: var(--accent-color);
    font-size: 16px;
    margin-top: 3px;
}

/* Step List Styles */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    width: 30px;
    height: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}

.step-text {
    color: var(--text-secondary);
}

/* Notification Types Styles */
.notification-types {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.notification-type {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--neutral-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.notification-type:hover {
    transform: translateY(-5px);
}

.notification-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.notification-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.notification-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.delivery-options {
    margin-top: 20px;
    padding: 15px;
    background-color: rgba(26, 115, 232, 0.1);
    border-radius: 10px;
    text-align: center;
}

/* Info Box Styles */
.info-box {
    padding: 20px;
    border-radius: 10px;
    background-color: rgba(76, 175, 80, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.info-box i {
    font-size: 20px;
    color: var(--accent-color);
    margin-top: 3px;
}

.info-box p {
    margin-bottom: 0;
}

.info-box.warning {
    background-color: rgba(255, 193, 7, 0.1);
}

.info-box.warning i {
    color: var(--secondary-color);
}

.info-box.warning h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

/* Example Container Styles */
.example-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
}

.example-image {
    width: 100%;
}

.placeholder-img {
    width: 100%;
    height: auto;
    display: block;
}

.example-text {
    padding: 20px;
}

.example-text h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.example-text p {
    margin-bottom: 0;
}

/* Security Measures Styles */
.security-measures {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.security-measure {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--neutral-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.security-measure:hover {
    transform: translateY(-5px);
}

.security-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.security-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.security-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Compatibility Container Styles */
.compatibility-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
}

.compatibility-section {
    padding: 20px;
    background-color: var(--neutral-color);
    border-radius: 10px;
}

.compatibility-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.compatibility-section p {
    margin-bottom: 0;
}

.browser-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.browser-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.browser-item i {
    font-size: 20px;
    color: var(--primary-color);
}

/* Contact Options Styles */
.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.contact-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background-color: var(--neutral-color);
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.contact-option:hover {
    transform: translateY(-5px);
}

.contact-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.contact-details h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.contact-link {
    display: inline-block;
    font-weight: 500;
    color: var(--primary-color);
}

.contact-link:hover {
    text-decoration: underline;
}

.cta-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

/* Not Finding Section */
.not-finding {
    padding: 80px 0;
    background-color: var(--neutral-color);
    text-align: center;
}

.not-finding-content {
    max-width: 700px;
    margin: 0 auto;
}

.not-finding-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.not-finding-content p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.not-finding-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Footer Section */
.site-footer {
    background-color: #333333;
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-section h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary-color);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #CCCCCC;
    transition: color 0.3s ease;
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--secondary-color);
    color: var(--text-primary);
}

.website-link {
    margin-top: 20px;
}

.website-link a {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.copyright {
    font-size: 14px;
    color: #999999;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 992px) {
    .feature-list, .security-measures, .notification-types, .contact-options {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .categories-wrapper {
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-tab {
        white-space: nowrap;
        padding: 10px 15px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .not-finding-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .feature-list, .security-measures, .notification-types, .contact-options {
        grid-template-columns: 1fr;
    }
    
    .faq-question {
        padding: 15px 20px;
    }
    
    .faq-question h3 {
        width: 90%;
    }
    
    .notification-type, .security-measure, .contact-option {
        padding: 15px;
    }
    
    .compatibility-section {
        padding: 15px;
    }
    
    .browser-list {
        grid-template-columns: 1fr 1fr;
    }
}

/* Animation effects */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

@keyframes slideDown {
    from { max-height: 0; }
    to { max-height: 2000px; }
}

.faq-item.active .faq-answer {
    animation: slideDown 0.5s ease forwards;
    max-height: 2000px; /* Adjust this value based on the maximum expected height */
}