/* style/support.css */

/* Variables and general styling for .page-support */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light body background */
    background-color: #ffffff; /* Explicitly setting for safety */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    text-align: center;
    overflow: hidden;
    background-color: #f0f8ff; /* Light blue tint for hero background */
}

.page-support__hero-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    margin-bottom: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-support__hero-content {
    max-width: 900px;
    z-index: 1;
    color: #333333;
}

.page-support__main-title {
    font-size: clamp(2.2em, 4vw, 3em); /* Responsive font size */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for main title */
}

.page-support__description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #555555;
}

.page-support__cta-buttons {
    display: flex;
    flex-wrap: wrap; /* Allow wrapping for mobile */
    gap: 15px;
    justify-content: center;
}

/* General button styles */
.page-support__btn-primary,
.page-support__btn-secondary,
.page-support__btn-small,
.page-support__btn-link {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Crucial for responsive buttons */
    max-width: 100%; /* Crucial for responsive buttons */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-support__btn-primary {
    background-color: #26A9E0; /* Brand primary color */
    color: #FFFFFF;
    border: 2px solid #26A9E0;
}

.page-support__btn-primary:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-support__btn-secondary {
    background-color: #FFFFFF;
    color: #26A9E0; /* Brand primary color */
    border: 2px solid #26A9E0;
}

.page-support__btn-secondary:hover {
    background-color: #e0f2fa;
    color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-support__btn-small {
    padding: 8px 15px;
    font-size: 0.9em;
    background-color: #26A9E0;
    color: #FFFFFF;
    border: 1px solid #26A9E0;
}

.page-support__btn-small:hover {
    background-color: #1a8cc7;
    border-color: #1a8cc7;
}

.page-support__btn-link {
    color: #26A9E0;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    display: inline; /* Keep it inline for text context */
}

.page-support__btn-link:hover {
    color: #1a8cc7;
}

/* General Section Styling */
.page-support__section-title {
    font-size: 2.2em;
    font-weight: 700;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 30px;
}

.page-support__text-block {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: #555555;
}

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

/* Contact Channels Section */
.page-support__contact-channels {
    background-color: #f9f9f9;
    padding: 60px 0;
}

.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 20px rgba(0, 0, 0, 0.08);
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__channel-card:hover {
    transform: translateY(-5px);
}

.page-support__channel-card img {
    width: 100%;
    height: auto;
    max-width: 250px; /* Ensure images are not too small */
    margin-bottom: 20px;
    border-radius: 5px;
    display: block; /* Ensure no extra space below img */
}

.page-support__card-title {
    font-size: 1.5em;
    font-weight: 600;
    color: #333333;
    margin-bottom: 15px;
}

.page-support__card-text {
    font-size: 1em;
    color: #666666;
    margin-bottom: 20px;
    flex-grow: 1; /* Push button to bottom */
}

/* FAQ Section */
.page-support__faq-section {
    padding: 60px 0;
    background-color: #e0f7fa; /* Light blue background for FAQ */
}

.page-support__faq-list {
    max-width: 900px;
    margin: 40px auto 0 auto;
}

.page-support__faq-item {
    background-color: #ffffff;
    border-radius: 8px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden; /* For max-height transition if not using <details> */
}

.page-support__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.15em;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    background-color: #f8f8f8;
    border-bottom: 1px solid #eee;
    transition: background-color 0.3s ease;
    list-style: none; /* Remove default marker for <summary> */
}

.page-support__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Webkit browsers */
}

.page-support__faq-question:hover {
    background-color: #eef;
}

.page-support__faq-qtext {
    flex-grow: 1;
}

.page-support__faq-toggle {
    font-size: 1.5em;
    font-weight: bold;
    margin-left: 15px;
    color: #26A9E0;
}

.page-support__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #555555;
    background-color: #ffffff;
    border-top: 1px solid #f0f0f0;
    max-height: 0; /* Hidden by default if JS is used to toggle, or for transition */
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.page-support__faq-item[open] .page-support__faq-answer {
    max-height: 1000px; /* Large enough to show content */
}

.page-support__faq-answer p {
    margin-bottom: 15px;
}

.page-support__faq-answer a {
    margin-right: 10px; /* Spacing for multiple links */
    margin-bottom: 10px;
}

/* Security Section */
.page-support__security-section {
    padding: 60px 0;
    background-color: #26A9E0; /* Brand primary color for dark background */
    color: #ffffff; /* White text for dark background */
}

.page-support__security-section .page-support__section-title,
.page-support__security-section .page-support__text-block,
.page-support__security-section .page-support__feature-title,
.page-support__security-section .page-support__feature-text {
    color: #ffffff; /* Ensure all text is white */
}

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

.page-support__feature-item {
    background-color: rgba(255, 255, 255, 0.1); /* Slightly transparent white background */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-support__feature-item img {
    width: 100%;
    height: auto;
     /* Icons, but larger than 200px minimum */
    margin-bottom: 20px;
    border-radius: 5px;
    display: block;
}

.page-support__feature-title {
    font-size: 1.4em;
    font-weight: 600;
    margin-bottom: 10px;
}

.page-support__feature-text {
    font-size: 0.95em;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__security-section .page-support__btn-link {
    color: #FFFFFF;
    border-bottom: 1px solid #FFFFFF;
}

.page-support__security-section .page-support__btn-link:hover {
    color: #f0f8ff;
    border-color: #f0f8ff;
}

/* Feedback Section */
.page-support__feedback-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    text-align: center;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__main-title {
        font-size: clamp(2em, 5vw, 2.8em);
    }

    .page-support__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding: 40px 15px;
    }

    .page-support__hero-image {
        margin-bottom: 20px;
    }

    .page-support__main-title {
        font-size: clamp(1.8em, 6vw, 2.5em);
        margin-bottom: 15px;
    }

    .page-support__description {
        font-size: 1em;
        margin-bottom: 25px;
    }

    .page-support__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 10px;
    }
    
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support__btn-small,
    .page-support__btn-link {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-support__cta-buttons,
    .page-support__button-group,
    .page-support__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        overflow: hidden !important;
    }

    .page-support__container {
        padding: 30px 15px;
    }

    .page-support__section-title {
        font-size: 1.8em;
        margin-bottom: 25px;
    }

    .page-support__text-block {
        font-size: 0.95em;
        margin-bottom: 30px;
    }

    .page-support__channels-grid,
    .page-support__security-features {
        grid-template-columns: 1fr; /* Single column layout */
        gap: 20px;
    }

    .page-support__channel-card,
    .page-support__feature-item {
        padding: 25px;
    }
    
    /* Mobile image responsiveness */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__hero-section,
    .page-support__contact-channels,
    .page-support__faq-section,
    .page-support__security-section,
    .page-support__feedback-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden !important; /* Prevent horizontal scroll */
    }
    
    .page-support__hero-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    
    /* Video responsiveness (if any video exists) */
    .page-support video,
    .page-support__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-support__video-section,
    .page-support__video-container,
    .page-support__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-support__video-section {
        padding-top: 10px !important;
    }
}

@media (max-width: 480px) {
    .page-support__hero-section {
        padding: 30px 10px;
    }

    .page-support__main-title {
        font-size: clamp(1.6em, 7vw, 2.2em);
    }

    .page-support__container {
        padding: 20px 10px;
    }

    .page-support__faq-question {
        font-size: 1em;
        padding: 15px 20px;
    }
}

/* Contrast Fixes */
.page-support__dark-bg {
  color: #ffffff; /* Deep blue background with white text */
  background: #26A9E0; 
}

.page-support__light-bg {
  color: #333333; /* Light background with dark text */
  background: #ffffff;
}

/* Ensure images do not use filters */
.page-support img {
    filter: none; /* Explicitly disable any filters */
}