:root {
    --primary-dark: #0d1b2a;
    --primary-light: #1b4965;
    --accent-sky: #62b6cb;
    --accent-orange: #f39c12;
    --light-bg: #ffffff;
    --light-text: #f8f9fa;
    --dark-text: #333333;
}

* {
    font-family: 'Cairo', sans-serif;
}

body {
    background-color: #f8f9fa;
    color: var(--dark-text);
    line-height: 1.8;
}

h1, h2, h3, h4, h5 {
    font-family: 'Montserrat', 'Cairo', sans-serif;
    font-weight: 600;
}

.navbar {
    background-color: var(--primary-dark);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    color: white;
}

.logo span {
    color: var(--accent-sky);
}

.navbar-nav .nav-link {
    color: white !important;
    margin: 0 8px;
}

.navbar-nav .nav-link.active {
    color: var(--accent-sky) !important;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-sky) !important;
}

.page-header {
    background: linear-gradient(rgba(13, 27, 42, 0.85), rgba(13, 27, 42, 0.9)), url('https://images.unsplash.com/photo-1469474968028-56623f02e42e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1474&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 100px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
}

.breadcrumb {
    background-color: transparent;
    justify-content: center;
    margin-bottom: 0;
}

.breadcrumb-item a {
    color: var(--accent-sky);
    text-decoration: none;
}

.faq-container {
    padding: 80px 0;
}

.faq-content {
    background-color: white;
    border-radius: 10px;
    padding: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-search {
    margin-bottom: 40px;
}

.search-box {
    position: relative;
}

.search-box input {
    padding-right: 50px;
    border-radius: 8px;
    border: 1px solid #ddd;
    height: 55px;
    font-size: 1rem;
}

.search-box input:focus {
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 0.25rem rgba(98, 182, 203, 0.25);
}

.search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
    justify-content: center;
}

.category-btn {
    padding: 10px 20px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 30px;
    color: var(--dark-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.category-btn:hover, .category-btn.active {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    color: white;
}

.faq-section {
    margin-bottom: 40px;
}

.section-title {
    color: var(--primary-dark);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
}

.section-title:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-sky);
    bottom: 0;
    right: 0;
}

.section-icon {
    width: 40px;
    height: 40px;
    background-color: rgba(98, 182, 203, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.section-icon i {
    font-size: 18px;
    color: var(--accent-sky);
}

.accordion-item {
    border: 1px solid #e9ecef;
    border-radius: 8px !important;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-button {
    background-color: white;
    color: var(--primary-dark);
    font-weight: 600;
    padding: 20px;
    border: none;
    box-shadow: none !important;
    font-size: 1.05rem;
}

.accordion-button:not(.collapsed) {
    background-color: rgba(98, 182, 203, 0.05);
    color: var(--primary-dark);
    border-bottom: 1px solid #e9ecef;
}

.accordion-button:focus {
    border-color: var(--accent-sky);
    box-shadow: 0 0 0 0.25rem rgba(98, 182, 203, 0.25);
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2362b6cb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-90deg);
}

.accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%2362b6cb'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(0deg);
}

.accordion-body {
    padding: 20px;
    background-color: white;
}

.highlight-box {
    background-color: rgba(98, 182, 203, 0.05);
    border-right: 4px solid var(--accent-sky);
    padding: 20px;
    border-radius: 8px;
    margin: 15px 0;
}

.highlight-box h5 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.contact-promo {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-light) 100%);
    color: white;
    border-radius: 10px;
    padding: 40px;
    margin-top: 50px;
    text-align: center;
}

.contact-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-icon i {
    font-size: 30px;
    color: white;
}

.btn-primary {
    background-color: var(--accent-sky);
    border-color: var(--accent-sky);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
}

.btn-accent {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
    color: white;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-accent:hover {
    background-color: #e67e22;
    border-color: #e67e22;
}

/* الفوتر */
.footer {
    background-color: var(--primary-dark);
    color: var(--light-text);
    padding-top: 80px;
}

.footer h5 {
    color: var(--accent-sky);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 10px;
}

.footer h5:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 2px;
    background-color: var(--accent-sky);
    bottom: 0;
    right: 0;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-sky);
    padding-right: 5px;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    color: var(--light-text);
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: var(--accent-sky);
    transform: translateY(-5px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 20px 0;
    margin-top: 60px;
    text-align: center;
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--accent-sky);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    z-index: 1000;
    display: none;
}

.back-to-top:hover {
    background-color: var(--primary-light);
    color: white;
    transform: translateY(-3px);
}

.no-results {
    text-align: center;
    padding: 40px;
    display: none;
}

.no-results-icon {
    font-size: 4rem;
    color: #ddd;
    margin-bottom: 20px;
}

.maay {
    color: chocolate;
    text-decoration: none;
    font-weight: 600;
}

.maay:hover {
    color: var(--accent-sky);
}

@media (max-width: 768px) {
    .page-header h1 {
        font-size: 2.2rem;
    }
    
    .faq-content {
        padding: 30px 20px;
    }
    
    .faq-categories {
        flex-direction: column;
        align-items: center;
    }
    
    .category-btn {
        width: 100%;
        text-align: center;
    }
}