/* Support Page Specific Styles */
.support-hero {
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.support-hero:before {
    content: '';
    position: absolute;
    top: -10%;
    right: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0) 70%);
    z-index: 0;
    animation: pulse 15s infinite alternate;
}

.support-hero:after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0) 70%);
    z-index: 0;
    animation: pulse 20s infinite alternate-reverse;
}

/* Mobile screens */
@media (max-width: 768px) {
    .support-hero .hero-text h1 {
        margin-top: 2rem; /* smaller space on mobile */
        font-size: 2rem;   /* optional: scale heading down for mobile */
    }

    .support-hero .hero-text p {
        font-size: 1rem;  /* optional: scale paragraph down */
    }
}

/* FAQ Section Styles Update */
.faq-section {
    padding: 6rem 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

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

.faq-item {
    margin-bottom: 1.5rem;
    border-radius: 0.75rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    background-color: white;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    transform: translateY(-2px);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.faq-question h3 {
    font-weight: 600;
    color: var(--dark);
    margin: 0;
    transition: all 0.3s ease;
}

.faq-question:hover h3 {
    color: var(--primary);
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.faq-icon i {
    font-size: 1rem;
    color: var(--gray);
    transition: all 0.3s ease;
}

.faq-item.active .faq-question h3 {
    color: var(--primary);
}

.faq-item.active .faq-icon i {
    color: var(--primary);
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    color: var(--gray);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 1000px;
}

/* Support Contact Form */
.support-contact {
    padding: 6rem 0;
    background-color: white;
    position: relative;
    overflow: hidden;
}

.support-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    flex: 1 1 300px;
}

.form-group.full-width {
    flex: 1 1 100%;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    outline: none;
}

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


/* Priority Selection */
.priority-select {
    margin-bottom: 1.5rem;
}

.priority-options {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.priority-options label {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.priority-badge {
    padding: 0.375rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.priority-badge.low {
    background-color: #dcfce7;
    color: #16a34a;
}

.priority-badge.medium {
    background-color: #fef9c3;
    color: #ca8a04;
}

.priority-badge.high {
    background-color: #ffedd5;
    color: #ea580c;
}

.priority-badge.critical {
    background-color: #fee2e2;
    color: #dc2626;
}

.priority-options input[type="radio"] {
    margin-top: 0.5rem;
}

/* Mobile tweaks for support form */
@media (max-width: 768px) {
    .form-row {
        display: flex;
        flex-direction: column; /* stack inputs vertically */
        gap: 1rem; /* reduce space between stacked inputs */
        margin-bottom: 1rem; /* reduce row bottom margin */
    }

    .form-group {
        flex: 1 1 100%; /* full width for all inputs on mobile */
    }

    .form-group.full-width {
        flex: 1 1 100%; /* ensure textarea and priority section stay full width */
    }

    .priority-options {
        flex-wrap: wrap; /* wrap priority badges if needed */
        gap: 0.5rem; /* smaller gap between badges */
    }

    .priority-options label {
        margin-bottom: 0; /* remove extra spacing under badges */
    }

    .support-form {
        padding: 0 1rem; /* add some side padding */
    }
}


/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 3rem;
    background-color: #f0fdf4;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.success-icon {
    font-size: 4rem;
    color: #16a34a;
    margin-bottom: 1.5rem;
}

.success-message h3 {
    margin-bottom: 1rem;
    color: #16a34a;
}

.success-message .btn {
    margin-top: 2rem;
}

/* Support Hours */
.support-hours {
    padding: 1rem 0;
    background-color: var(--light-gray);
    position: relative;
    overflow: hidden;
}

.hours-content {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
}

.hours-info {
    flex: 1 1 500px;
}

.hours-list {
    margin: 2rem 0;
}

.hours-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid #e2e8f0;
}

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

.day {
    font-weight: 600;
}

.emergency-note {
    font-style: italic;
    color: var(--gray);
    margin-top: 1.5rem;
}

.hours-cta {
    flex: 1 1 300px;
    background-color: white;
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.hours-cta h3 {
    margin-bottom: 1rem;
    color: var(--primary);
}

.hours-cta p {
    margin-bottom: 1.5rem;
}

/* Error message styling */
.error-message {
    color: #dc2626;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

input.error,
select.error,
textarea.error {
    border-color: #dc2626;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hours-content {
        flex-direction: column;
    }
    
    .hours-cta {
        width: 100%;
    }
    
    .priority-options {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .support-hero,
    .faq-section,
    .support-contact,
    .support-hours {
        padding: 4rem 0;
    }
}