.page-support {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #f8f8f8; /* Light background for the page content */
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 40px;
    overflow: hidden;
    background: linear-gradient(180deg, #C91F17 0%, #E53935 100%); /* Brand colors for background */
    color: #ffffff; /* White text for dark background */
}

.page-support__hero-image-wrapper {
    width: 100%;
    height: 400px; /* Fixed height for desktop hero image */
    overflow: hidden;
}

.page-support__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.page-support__hero-content {
    max-width: 960px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.page-support__main-title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #FFF5E1; /* Text Main color */
}

.page-support__hero-description {
    font-size: 18px;
    margin-bottom: 30px;
    color: #f0f0f0;
}

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

/* Section Title */
.page-support__section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: #C91F17; /* Main brand color */
}

/* Buttons */
.page-support__btn-primary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 8px;
    background: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%); /* Custom button gradient */
    color: #7A0E0E; /* Deep Red for contrast on gold button */
    font-size: 18px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

.page-support__btn-secondary {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 8px;
    background: #ffffff;
    color: #C91F17; /* Main brand color */
    border: 2px solid #C91F17; /* Main brand color border */
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-secondary:hover {
    background: #C91F17;
    color: #ffffff;
}

/* Contact Methods Section */
.page-support__contact-methods {
    padding: 40px 0;
    background-color: #f0f0f0;
}

.page-support__contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.page-support__contact-card {
    background: #D32F2F; /* Card BG color */
    color: #FFF5E1; /* Text Main color */
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__contact-icon {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    border-radius: 8px; /* Added border-radius for consistency */
}

.page-support__card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #FFF5E1; /* Text Main color */
}

.page-support__card-description {
    font-size: 16px;
    margin-bottom: 25px;
}

/* Contact Form Section */
.page-support__form-section {
    padding: 40px 0;
    background-color: #B71C1C; /* Background color */
    color: #FFF5E1; /* Text Main color */
}

.page-support__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1); /* Slightly transparent white for contrast */
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__form-group {
    margin-bottom: 20px;
}

.page-support__form-label {
    display: block;
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #FFF5E1; /* Text Main color */
}

.page-support__form-input,
.page-support__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #F2B544; /* Border color */
    border-radius: 5px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.9);
    color: #333333;
    box-sizing: border-box;
}

.page-support__form-textarea {
    resize: vertical;
}

.page-support__contact-form .page-support__btn-primary {
    width: auto;
    min-width: 200px;
    margin-top: 10px;
}

/* FAQ Section */
.page-support__faq-section {
    padding: 40px 0;
    background-color: #f8f8f8;
}

.page-support__faq-list {
    max-width: 960px;
    margin: 0 auto 30px;
}

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #e0e0e0;
  overflow: hidden;
  background: #fff;
}
details.page-support__faq-item summary.page-support__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
}
details.page-support__faq-item summary.page-support__faq-question::-webkit-details-marker {
  display: none;
}
details.page-support__faq-item summary.page-support__faq-question:hover {
  background: #f5f5f5;
}
.page-support__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #333333; /* Ensure dark text on light background */
}
.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #C91F17; /* Brand color for toggle icon */
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}
details.page-support__faq-item .page-support__faq-answer {
  padding: 0 20px 20px;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: #555555; /* Slightly lighter dark text for answer */
}

.page-support__faq-cta {
    text-align: center;
    font-size: 17px;
    color: #555555;
}

.page-support__faq-cta a {
    color: #C91F17; /* Main brand color for links */
    text-decoration: none;
    font-weight: 600;
}

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

/* Resources Section */
.page-support__resources-section {
    padding: 40px 0;
    background-color: #E53935; /* Auxiliary color */
    color: #ffffff;
}

.page-support__resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.page-support__resource-card {
    background: rgba(255, 255, 255, 0.15); /* Semi-transparent white */
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-support__resource-card .page-support__card-title {
    font-size: 20px;
    margin-bottom: 10px;
    color: #FFF5E1; /* Text Main color */
}

.page-support__resource-card .page-support__card-title a {
    color: #FFF5E1; /* Text Main color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-support__resource-card .page-support__card-title a:hover {
    color: #FFCC66; /* Glow color on hover */
}

.page-support__resource-card .page-support__card-description {
    font-size: 15px;
    color: #f0f0f0;
}

/* Global image rules for content area */
.page-support img {
    max-width: 100%;
    height: auto;
    display: block;
    /* Ensure no filter is applied */
    filter: none;
}

/* Responsive Styles for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .page-support {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-support__hero-section {
        padding-top: 10px !important; /* Ensure small padding */
        margin-bottom: 30px;
    }

    .page-support__hero-image-wrapper {
        height: 250px; /* Adjust hero image height for mobile */
    }

    .page-support__hero-content {
        padding: 30px 15px;
    }

    .page-support__main-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .page-support__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }

    .page-support__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    /* Buttons */
    .page-support__btn-primary,
    .page-support__btn-secondary,
    .page-support a[class*="button"],
    .page-support a[class*="btn"] {
        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;
        font-size: 16px;
    }

    /* Button containers */
    .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;
        display: flex; /* Ensure flex for wrapping */
        flex-direction: column; /* Stack buttons vertically on mobile */
    }

    /* Contact Grid */
    .page-support__contact-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__contact-card {
        padding: 25px;
    }

    .page-support__contact-icon {
        width: 120px;
        margin-bottom: 15px;
    }

    .page-support__card-title {
        font-size: 20px;
    }

    .page-support__card-description {
        font-size: 15px;
    }

    /* Contact Form */
    .page-support__form-section .page-support__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-support__contact-form {
        padding: 25px 15px;
    }

    .page-support__form-input,
    .page-support__form-textarea {
        font-size: 15px;
        padding: 10px 12px;
    }

    /* FAQ Section */
    .page-support__faq-list {
        margin: 0 auto 20px;
    }

    details.page-support__faq-item summary.page-support__faq-question {
        padding: 15px;
    }
    .page-support__faq-qtext {
        font-size: 15px;
    }
    .page-support__faq-toggle {
        font-size: 20px;
        width: 24px;
        margin-left: 10px;
    }
    details.page-support__faq-item .page-support__faq-answer {
        padding: 0 15px 15px;
    }

    .page-support__faq-cta {
        font-size: 15px;
    }

    /* Resources Grid */
    .page-support__resources-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__resource-card {
        padding: 20px;
    }

    .page-support__resource-card .page-support__card-title {
        font-size: 18px;
    }

    .page-support__resource-card .page-support__card-description {
        font-size: 14px;
    }

    /* General content area images and containers */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-support__section,
    .page-support__card,
    .page-support__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

/* Responsive Styles for Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .page-support__hero-content {
        padding: 30px 20px;
    }
    .page-support__contact-grid {
        grid-template-columns: 1fr;
    }
    .page-support__resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-support__container {
        padding: 0 15px;
    }
}