/* style/support.css */

/* Variables for consistent styling */
:root {
    --primary-color: #FF4500; /* OrangeRed - vibrant, energetic */
    --secondary-color: #00BFFF; /* DeepSkyBlue - techy, trustworthy */
    --text-dark: #333333; /* Dark text for light backgrounds */
    --text-light: #ffffff; /* Light text for dark backgrounds */
    --background-light: #f8f8f8; /* Light background */
    --background-dark: #2c3e50; /* Dark background */
    --border-color: #e0e0e0;
    --shadow-light: rgba(0, 0, 0, 0.1);
    --shadow-medium: rgba(0, 0, 0, 0.2);
}

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

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

.page-support__hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-support__hero-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-support__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    color: var(--text-light); /* Ensure high contrast */
    text-shadow: 2px 2px 4px var(--shadow-medium);
}

.page-support__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: var(--text-light); /* Ensure high contrast */
    line-height: 1.8;
}

.page-support__hero-description a {
    color: var(--text-light);
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-support__hero-description a:hover {
    color: #ffd700; /* Gold for hover, still high contrast */
}

.page-support__cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 15px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px var(--shadow-medium);
    border: 2px solid var(--text-light); /* Added for better contrast */
}

.page-support__cta-button:hover {
    background-color: #e63900; /* Slightly darker orange-red */
    transform: translateY(-3px);
    box-shadow: 0 6px 15px var(--shadow-medium);
}

.page-support__section-title {
    font-size: 2.5em;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 25px;
    margin-top: 50px;
    font-weight: bold;
}

.page-support__section-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--text-dark);
}

.page-support__section-description a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__section-description a:hover {
    text-decoration: underline;
}

/* Channels Section */
.page-support__channels {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.page-support__channel-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-support__channel-icon {
    width: 100px; /* Large enough, no small icons */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%; /* Make it round if desired */
    border: 3px solid var(--secondary-color);
    padding: 10px;
}

.page-support__channel-title {
    font-size: 1.8em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.page-support__channel-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1; /* Allows text to take available space */
}

.page-support__channel-text a {
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__channel-text a:hover {
    text-decoration: underline;
}

.page-support__channel-link {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto; /* Pushes button to the bottom */
}

.page-support__channel-link:hover {
    background-color: #009acd; /* Slightly darker deepskyblue */
}

.page-support__cta-bottom {
    text-align: center;
    margin-top: 60px;
}

.page-support__cta-button--small {
    padding: 12px 30px;
    font-size: 1em;
}

/* FAQ Section */
.page-support__faq {
    padding: 60px 0;
    background-color: #f0f4f7; /* Lighter background for contrast */
}

.page-support__faq-list {
    margin-top: 40px;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    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;
    line-height: 1; /* Ensures icon is centered vertically */
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 25px; /* Initial padding matches question */
    background: #fdfdfd;
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
}

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

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

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

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

/* Guide Section */
.page-support__guide {
    padding: 60px 0;
    background-color: var(--background-light);
}

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

.page-support__guide-item {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__guide-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-support__guide-icon {
    width: 120px; /* Large enough, no small icons */
    height: 120px;
    margin-bottom: 25px;
    object-fit: contain;
    border-radius: 50%;
    border: 4px solid var(--primary-color);
    padding: 10px;
}

.page-support__guide-title {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-support__guide-text {
    font-size: 1em;
    color: var(--text-dark);
    margin-bottom: 20px;
    flex-grow: 1;
}

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

.page-support__guide-text a:hover {
    text-decoration: underline;
}

.page-support__guide-link {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease;
    margin-top: auto;
}

.page-support__guide-link:hover {
    background-color: #e63900; /* Darker primary */
}

/* Commitment Section */
.page-support__commitment {
    padding: 60px 0;
    background-color: #f0f4f7;
}

.page-support__commitment-list {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-support__commitment-list li {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 5px 20px var(--shadow-light);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__commitment-list li:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px var(--shadow-medium);
}

.page-support__feature-icon {
    width: 100px; /* Large enough, no small icons */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%;
    border: 3px solid var(--primary-color);
    padding: 8px;
}

.page-support__commitment-list h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.page-support__commitment-list p {
    font-size: 1em;
    color: var(--text-dark);
    flex-grow: 1;
}

.page-support__commitment-list p a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-support__commitment-list p a:hover {
    text-decoration: underline;
}

.page-support__cta-bottom--final {
    margin-top: 60px;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support__hero-title {
        font-size: 2.5em;
    }
    .page-support__section-title {
        font-size: 2em;
    }
    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__commitment-list {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-support__hero-title {
        font-size: 2em;
    }
    .page-support__hero-description {
        font-size: 1em;
    }
    .page-support__cta-button {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-support__section-title {
        font-size: 1.8em;
    }
    .page-support__section-description {
        font-size: 0.95em;
    }
    .page-support__container {
        padding: 15px;
    }
    .page-support__channel-icon,
    .page-support__guide-icon,
    .page-support__feature-icon {
        width: 80px;
        height: 80px;
    }
    .faq-question {
        padding: 15px 20px;
    }
    .faq-question h3 {
        font-size: 1.1em;
    }
    .faq-toggle {
        font-size: 20px;
    }
    .faq-answer {
        padding: 0 20px;
    }
    .faq-item.active .faq-answer {
        padding: 12px 20px;
    }
}

@media (max-width: 480px) {
    .page-support__hero-title {
        font-size: 1.8em;
    }
    .page-support__section-title {
        font-size: 1.6em;
    }
    .page-support__channel-grid,
    .page-support__guide-grid,
    .page-support__commitment-list {
        grid-template-columns: 1fr;
    }
    .page-support__channel-item,
    .page-support__guide-item,
    .page-support__commitment-list li {
        padding: 20px;
    }
}