/* style/support.css */

:root {
    --primary-color: #CC0000; /* Deep Red */
    --secondary-color: #FFD700; /* Gold */
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-dark: #1a1a1a;
    --bg-light: #f4f4f4;
    --border-color: #e0e0e0;
}

.page-support {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

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

/* Hero Section for Support Page */
.page-support .hero-support-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #a00000 100%);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support .hero-support-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.page-support .hero-content h1 {
    font-size: 3em;
    margin-bottom: 20px;
    color: var(--secondary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-support .hero-content p {
    font-size: 1.2em;
    margin-bottom: 30px;
    max-width: 800px;
}

.page-support .hero-image {
    width: 100%;
    max-width: 600px;
    margin-top: 30px;
}

.page-support .hero-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    object-fit: cover;
}

/* CTA Button */
.page-support .cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page-support .cta-button:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Section Styling */
.page-support section {
    padding: 60px 0;
    text-align: center;
}

.page-support section:nth-of-type(even) {
    background-color: #f9f9f9;
}

.page-support h2 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 10px;
}

.page-support h2::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 80px;
    height: 4px;
    background-color: var(--secondary-color);
    border-radius: 2px;
}

.page-support h3 {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-support p {
    font-size: 1.1em;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Contact Channels */
.page-support .contact-channels-section {
    background-color: var(--bg-light);
}

.page-support .channels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support .channel-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.page-support .channel-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-support .channel-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support .channel-card h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-support .channel-card p {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.page-support .channel-card .email-address, .page-support .channel-card .phone-number {
    font-weight: bold;
    color: var(--primary-color);
}

.page-support .channel-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    transition: color 0.3s ease;
}

.page-support .channel-link:hover {
    color: #e6c200;
    text-decoration: underline;
}

/* FAQ Section */
.page-support .faq-section {
    background-color: #f4f4f4;
}

.page-support .faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
    text-align: left;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: #ffffff;
    overflow: hidden;
}

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

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-dark);
}

.faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #fdfdfd;
    border-top: 1px solid var(--border-color);
}

.faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 15px 25px 25px 25px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-dark);
    font-size: 1em;
}

.faq-answer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Guides and Resources Section */
.page-support .guides-resources-section {
    background-color: #ffffff;
}

.page-support .resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-support .resource-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    padding: 25px;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .resource-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.page-support .resource-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-support .resource-card h3 {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
    line-height: 1.3;
}

.page-support .resource-card h3 a {
    text-decoration: none;
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.page-support .resource-card h3 a:hover {
    color: var(--secondary-color);
}

.page-support .resource-card p {
    font-size: 0.95em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support .resource-link {
    display: inline-block;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    padding: 8px 15px;
    border: 1px solid var(--secondary-color);
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.page-support .resource-link:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}

/* Commitment Section */
.page-support .commitment-section {
    background: linear-gradient(45deg, #a00000 0%, var(--primary-color) 100%);
    color: var(--text-light);
    padding: 80px 0;
}

.page-support .commitment-section h2 {
    color: var(--secondary-color);
}

.page-support .commitment-section p {
    max-width: 900px;
    margin: 0 auto 40px auto;
    font-size: 1.15em;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support .hero-content h1 {
        font-size: 2.5em;
    }

    .page-support .hero-content p {
        font-size: 1.1em;
    }

    .page-support h2 {
        font-size: 2em;
    }

    .page-support h3 {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-support .hero-support-section {
        padding: 40px 0;
    }

    .page-support .hero-content h1 {
        font-size: 2em;
    }

    .page-support .hero-content p {
        font-size: 1em;
    }

    .page-support .cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }

    .page-support section {
        padding: 40px 0;
    }

    .page-support h2 {
        font-size: 1.8em;
        margin-bottom: 30px;
    }

    .page-support h3 {
        font-size: 1.3em;
    }

    .page-support .channels-grid, .page-support .resources-grid {
        grid-template-columns: 1fr;
    }

    .page-support .channel-card, .page-support .resource-card {
        padding: 20px;
    }

    .faq-question {
        padding: 15px 20px;
    }

    .faq-question h3 {
        font-size: 1.1em;
    }

    .faq-answer {
        padding: 0 20px;
    }

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

    .page-support .resource-image {
        height: 180px;
    }

    .page-support .commitment-section p {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-support .hero-content h1 {
        font-size: 1.8em;
    }

    .page-support .hero-content p {
        font-size: 0.95em;
    }

    .page-support .cta-button {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .page-support h2 {
        font-size: 1.5em;
    }

    .faq-question h3 {
        font-size: 1em;
    }
}