/* 
* Safiri by Citrus - Contact Support Page Styles
* A modern, clean stylesheet for the Contact Support 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);
    
    /* Status Colors */
    --status-open: #4CAF50;
    --status-pending: #FFC107;
    --status-in-progress: #1A73E8;
    --status-resolved: #9E9E9E;
    --status-urgent: #F44336;
    
    /* 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;
    border: none;
    font-family: var(--font-primary);
    font-size: 14px;
}

.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);
}

/* ===== Contact Layout ===== */
.contact-layout {
    padding: 60px 0;
    background-color: var(--neutral-color);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

/* ===== Contact Form Section ===== */
.contact-form-section {
    display: flex;
    flex-direction: column;
}

.form-container {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.form-container h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.form-container p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: var(--font-secondary);
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.checkbox-group {
    flex-direction: row;
    align-items: center;
    gap: 10px;
}

.checkbox-group input {
    width: 18px;
    height: 18px;
}

.checkbox-group label {
    margin-bottom: 0;
}

.required {
    color: #F44336;
}

.submit-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.form-success {
    text-align: center;
    padding: 30px;
}

.success-icon {
    font-size: 60px;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.form-success h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
}

.form-success p {
    margin-bottom: 25px;
}

.hidden {
    display: none;
}

/* ===== Contact Info Section ===== */
.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-card {
    background-color: #FFFFFF;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.info-card h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-primary);
}

/* Support Channels */
.channel-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.channel-item {
    display: flex;
    gap: 20px;
}

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

.channel-details {
    flex: 1;
}

.channel-details h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
}

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

.ticket-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.callback-btn,
.ticket-buttons .btn-secondary {
    padding: 10px 15px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Operating Hours */
.hours-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding-bottom: 10px;
    border-bottom: 1px dashed var(--border-color);
}

.hours-item:last-child {
    border-bottom: none;
}

.day {
    font-weight: 600;
}

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

.note {
    background-color: rgba(26, 115, 232, 0.1);
    padding: 15px;
    border-radius: 5px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.note i {
    color: var(--primary-color);
    font-size: 18px;
    margin-top: 3px;
}

.note p {
    font-size: 14px;
    margin: 0;
}

/* ===== Additional Contact Sections ===== */
.additional-contact {
    padding: 60px 0;
    background-color: #FFFFFF;
}

.contact-category {
    margin-bottom: 60px;
}

.contact-category:last-child {
    margin-bottom: 0;
}

.category-header {
    text-align: center;
    margin-bottom: 40px;
}

.category-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.category-card {
    background-color: var(--neutral-color);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-color);
}

.card-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.category-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.category-card p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 15px;
}

.category-card .btn-secondary {
    padding: 10px 15px;
    font-size: 13px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* ===== FAQ Section ===== */
.faq-section {
    padding: 60px 0;
    background-color: var(--neutral-color);
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.faq-header p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto 30px;
}

.faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    background-color: #FFFFFF;
}

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

.faq-question:hover {
    background-color: rgba(26, 115, 232, 0.05);
}

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

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

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

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

.faq-item.active .faq-answer {
    padding: 5px 20px 20px;
}

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

.faq-answer ul,
.faq-answer ol {
    margin-bottom: 15px;
    padding-left: 20px;
}

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

.faq-more {
    text-align: center;
}

.faq-more .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* ===== Connect Section ===== */
.connect-section {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-light);
}

.connect-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.connect-content h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 15px;
}

.connect-content p {
    margin-bottom: 30px;
}

.social-links-large {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

.social-link:hover {
    color: var(--secondary-color);
    transform: translateY(-5px);
}

.social-link i {
    font-size: 30px;
    margin-bottom: 10px;
}

.social-link span {
    font-size: 14px;
    font-weight: 500;
}

/* ===== Modal Styles ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1100;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #FFFFFF;
    border-radius: 10px;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #FFFFFF;
    z-index: 1;
}

.modal-header h2 {
    font-size: 20px;
    font-weight: 600;
}

.close-modal {
    background-color: transparent;
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-body {
    padding: 20px;
}

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

/* Ticket Status */
.ticket-status {
    border-top: 1px solid var(--border-color);
    margin-top: 20px;
    padding-top: 20px;
}

.status-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.status-header h3 {
    font-size: 18px;
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    background-color: var(--status-in-progress);
}

.status-badge.open {
    background-color: var(--status-open);
}

.status-badge.pending {
    background-color: var(--status-pending);
}

.status-badge.resolved {
    background-color: var(--status-resolved);
}

.status-badge.urgent {
    background-color: var(--status-urgent);
}

.status-details {
    background-color: var(--neutral-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.status-row {
    display: flex;
    margin-bottom: 8px;
}

.status-row:last-child {
    margin-bottom: 0;
}

.status-label {
    flex: 0 0 120px;
    font-weight: 600;
    color: var(--text-primary);
}

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

.status-timeline h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.timeline-item {
    display: flex;
    gap: 15px;
}

.timeline-date {
    flex: 0 0 80px;
    color: var(--text-secondary);
    font-size: 13px;
}

.timeline-content {
    flex: 1;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.timeline-content h5 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.timeline-content p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* ===== 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) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .contact-info-section {
        order: -1;
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .hero-content h1 {
        font-size: 32px;
    }
    
    .tagline {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-large {
        gap: 15px;
    }
}

@media screen and (max-width: 576px) {
    .form-container {
        padding: 20px;
    }
    
    .channel-item {
        flex-direction: column;
        gap: 15px;
    }
    
    .ticket-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .ticket-buttons .btn-secondary {
        width: 100%;
    }
    
    .callback-btn {
        width: 100%;
    }
    
    .category-card {
        padding: 20px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .category-card h3 {
        font-size: 18px;
    }
    
    .category-card .btn-secondary {
        width: 100%;
    }
    
    .social-links-large {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }
}