/* Support Pages Shared Styles */

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 8rem 0 4rem;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.page-header .header-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2.5rem;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
}

.page-header .update-date {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.page-header .update-date i {
    margin-left: 0.5rem;
}

/* Help Topics Grid */
.help-topics {
    padding: 4rem 0;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.topic-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.topic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

.topic-card .topic-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.topic-card h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.topic-card ul {
    list-style: none;
    padding: 0;
}

.topic-card ul li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f0f0f0;
    color: var(--text-light);
    display: flex;
    align-items: center;
}

.topic-card ul li:last-child {
    border-bottom: none;
}

.topic-card ul li i {
    color: var(--accent-color);
    margin-left: 0.5rem;
    font-size: 0.9rem;
}

/* Contact Support Section */
.contact-support {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.contact-support::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 69, 19, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.contact-support::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(210, 105, 30, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.support-hero {
    position: relative;
    z-index: 1;
}

.support-header {
    text-align: center;
    margin-bottom: 4rem;
}

.support-badge {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 30px rgba(139, 69, 19, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3);
    }
}

.support-badge i {
    font-size: 2.5rem;
    color: white;
}

.support-header h2 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-weight: 700;
}

.support-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
}

.support-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.method-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.15);
}

.method-icon {
    width: 70px;
    height: 70px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.phone-card .method-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    color: white;
}

.email-card .method-icon {
    background: linear-gradient(135deg, #2196F3, #1976D2);
    color: white;
}

.whatsapp-card .method-icon {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: white;
}

.method-card:hover .method-icon {
    transform: rotate(10deg) scale(1.1);
}

.method-content h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.method-description {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.method-content .contact-value {
    display: inline-block;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 1rem 0;
    text-decoration: none;
    transition: all 0.3s ease;
    direction: ltr;
    unicode-bidi: bidi-override;
}

.method-content .contact-value:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

.availability {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-radius: 10px;
}

.availability i {
    color: var(--primary-color);
}

.action-btn {
    margin-top: 1.5rem;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.3);
}

.btn-contact.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-contact.whatsapp-btn:hover {
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.support-footer {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 2px solid rgba(139, 69, 19, 0.1);
}

.quick-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.1);
}

.stat-item i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-item strong {
    display: block;
    font-size: 1.5rem;
    color: var(--text-dark);
    font-weight: 700;
}

.stat-item span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Responsive Design */
@media (max-width: 768px) {
    .support-header h2 {
        font-size: 2rem;
    }
    
    .support-methods {
        grid-template-columns: 1fr;
    }
    
    .quick-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .stat-item {
        width: 100%;
    }
}

/* FAQ Page Styles */
.faq-section {
    padding: 4rem 0;
}

.faq-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid var(--primary-color);
    background: white;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: 'Cairo', sans-serif;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: white;
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.12);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    border: none;
    width: 100%;
    text-align: right;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-question i {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul {
    list-style: none;
    padding-right: 1.5rem;
}

.faq-answer ul li {
    color: var(--text-light);
    padding: 0.5rem 0;
    position: relative;
}

.faq-answer ul li:before {
    content: "•";
    color: var(--primary-color);
    font-weight: bold;
    position: absolute;
    right: -1.5rem;
}

.faq-category {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* Policy Content Styles */
.policy-content {
    padding: 4rem 0;
    background: #f8f9fa;
}

.content-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.table-of-contents {
    position: sticky;
    top: 100px;
    height: fit-content;
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.table-of-contents h3 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
}

.table-of-contents ul li {
    margin-bottom: 0.75rem;
}

.table-of-contents ul li a {
    color: var(--text-light);
    text-decoration: none;
    display: block;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.table-of-contents ul li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
    padding-right: 1rem;
}

.policy-text {
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.policy-section {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.policy-section h2 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.8rem;
}

.policy-section h2 i {
    color: var(--primary-color);
}

.policy-section h3 {
    color: var(--text-dark);
    margin: 1.5rem 0 1rem;
    font-size: 1.3rem;
}

.policy-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.policy-section ul,
.policy-section ol {
    color: var(--text-light);
    line-height: 1.8;
    margin-right: 2rem;
    margin-bottom: 1rem;
}

.policy-section ul li,
.policy-section ol li {
    margin-bottom: 0.5rem;
}

.policy-section strong {
    color: var(--text-dark);
    font-weight: 600;
}

/* Info Boxes */
.info-box,
.warning-box {
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-box {
    background: #e3f2fd;
    border-right: 4px solid #2196f3;
}

.warning-box {
    background: #fff3e0;
    border-right: 4px solid #ff9800;
}

.info-box i,
.warning-box i {
    font-size: 1.5rem;
    margin-top: 0.25rem;
}

.info-box i {
    color: #2196f3;
}

.warning-box i {
    color: #ff9800;
}

.info-box strong,
.warning-box strong {
    display: block;
    margin-bottom: 0.5rem;
}

.info-box p,
.warning-box p {
    margin: 0;
}

/* Usage Grid */
.usage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.usage-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.usage-card:hover {
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.usage-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.usage-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.usage-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Rights Grid */
.rights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.right-item {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.right-item i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.right-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.right-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.contact-method i {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
}

.contact-method strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-method p {
    color: var(--text-light);
    margin: 0.25rem 0;
    font-size: 0.95rem;
}

/* Services Grid (Terms) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.service-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.service-card i {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.service-card h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.service-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Shipping Table */
.shipping-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
}

.shipping-table thead {
    background: var(--primary-color);
    color: white;
}

.shipping-table th,
.shipping-table td {
    padding: 1rem;
    text-align: right;
}

.shipping-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
}

.shipping-table tbody tr:last-child {
    border-bottom: none;
}

.shipping-table tbody tr:hover {
    background: #f8f9fa;
}

/* Prohibited Grid */
.prohibited-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.prohibited-item {
    background: #ffebee;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
}

.prohibited-item i {
    font-size: 2rem;
    color: #d32f2f;
    margin-bottom: 1rem;
}

.prohibited-item h4 {
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.prohibited-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

/* Acknowledgment Box */
.acknowledgment-box {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 3rem;
}

.acknowledgment-box i {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.acknowledgment-box h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.acknowledgment-box p {
    font-size: 1rem;
    opacity: 0.95;
    margin-bottom: 0.5rem;
}

.acknowledgment-box strong {
    font-size: 1.2rem;
}

/* Still Have Questions Section */
.still-questions {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 4rem 0;
    margin: 4rem 0 0;
}

.questions-content {
    text-align: center;
    color: white;
}

.questions-content i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.questions-content h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.questions-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.questions-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.questions-buttons .btn {
    padding: 1rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.questions-buttons .btn-primary {
    background: white;
    color: var(--primary-color);
}

.questions-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.questions-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 2px solid white;
}

.questions-buttons .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .table-of-contents {
        position: static;
        margin-bottom: 2rem;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 6rem 0 3rem;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .page-header .header-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .policy-text {
        padding: 2rem 1.5rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .topics-grid,
    .contact-cards,
    .usage-grid,
    .rights-grid,
    .contact-methods,
    .services-grid,
    .prohibited-grid {
        grid-template-columns: 1fr;
    }
    
    .faq-filters {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-btn {
        width: 100%;
    }
    
    .questions-content h2 {
        font-size: 1.5rem;
    }
    
    .questions-content p {
        font-size: 1rem;
    }
    
    .questions-buttons {
        flex-direction: column;
    }
    
    .questions-buttons .btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .page-header h1 {
        font-size: 1.75rem;
    }
    
    .policy-section h2 {
        font-size: 1.3rem;
        flex-direction: column;
        text-align: center;
    }
    
    .policy-text {
        padding: 1.5rem 1rem;
    }
    
    .shipping-table {
        font-size: 0.85rem;
    }
    
    .shipping-table th,
    .shipping-table td {
        padding: 0.75rem 0.5rem;
    }
}
