/* Base styles for the support page */
.page-support {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #F3F8FF; /* Text Main */
    background-color: transparent; /* Body background handled by shared.css var(--color-deep-navy) */
}

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

.page-support__section-title {
    font-size: 32px;
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-support__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #F2C14E 0%, #4FA8FF 100%); /* Gold to Glow */
    border-radius: 2px;
}

.page-support__section-intro {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Hero Section */
.page-support__hero-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 10px; /* Small top padding, body handles header offset */
    margin-bottom: 60px;
}

.page-support__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

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

.page-support__hero-content {
    position: relative;
    z-index: 2;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect */
    background: rgba(16, 35, 63, 0.9); /* Card BG with transparency */
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #244D84; /* Border */
}

.page-support__main-title {
    font-weight: 700;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
    font-size: clamp(28px, 4vw, 48px); /* Using clamp instead of fixed font-size */
}

.page-support__description {
    font-size: 18px;
    color: #AFC4E8; /* Text Secondary */
    margin-bottom: 30px;
}

.page-support__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.page-support__btn-primary,
.page-support__btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-support__btn-primary {
    background: linear-gradient(180deg, #2B73F6 0%, #1144A6 100%); /* Button gradient */
    color: #F3F8FF; /* Text Main */
    border: none;
    box-shadow: 0 4px 15px rgba(43, 115, 246, 0.4);
}

.page-support__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 115, 246, 0.6);
}

.page-support__btn-secondary {
    background: transparent;
    color: #F3F8FF; /* Text Main */
    border: 2px solid #2B73F6; /* Primary button color */
}

.page-support__btn-secondary:hover {
    background: #2B73F6;
    color: #F3F8FF;
    transform: translateY(-2px);
}

/* Info Grid Section */
.page-support__info-grid {
    margin-bottom: 60px;
}

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

.page-support__grid-item {
    background: #10233F; /* Card BG */
    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #AFC4E8; /* Text Secondary */
}

.page-support__grid-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-support__grid-item img {
    width: 100%;
    max-width: 250px;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    border-radius: 8px;
    display: block;
}

.page-support__item-title {
    font-size: 22px;
    font-weight: 600;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
}

.page-support__item-text {
    font-size: 15px;
    margin-bottom: 20px;
    flex-grow: 1;
}

.page-support__read-more-link {
    color: #4FA8FF; /* Glow */
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    transition: color 0.3s ease;
}

.page-support__read-more-link:hover {
    color: #F2C14E; /* Gold */
    text-decoration: underline;
}

/* Contact Section */
.page-support__contact-section {
    margin-bottom: 60px;
}

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

.page-support__contact-card {
    background: #10233F; /* Card BG */\    border: 1px solid #244D84; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    color: #AFC4E8; /* Text Secondary */
}

.page-support__card-title {
    font-size: 22px;
    font-weight: 600;
    color: #F3F8FF; /* Text Main */
    margin-bottom: 15px;
}

/* FAQ Section */
.page-support__faq-section {
    margin-bottom: 60px;
}

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

details.page-support__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  border: 1px solid #244D84; /* Border */
  overflow: hidden;
  background: #10233F; /* Card BG */
  color: #AFC4E8; /* Text Secondary */
}

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: rgba(255, 255, 255, 0.05); /* Lighter shade for hover */
}

.page-support__faq-qtext {
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: #F3F8FF; /* Text Main */
}

.page-support__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: #AFC4E8; /* Text Secondary */
  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: #08162B; /* Deep Navy - darker background for answer */
  border-radius: 0 0 5px 5px;
  color: #AFC4E8; /* Text Secondary */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-support__info-grid .page-support__grid-items,
    .page-support__contact-methods {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

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

    .page-support__main-title {
        font-size: clamp(26px, 3.5vw, 40px);
    }

    .page-support__description {
        font-size: 16px;
    }

    .page-support__section-title {
        font-size: 28px;
    }

    .page-support__section-intro {
        font-size: 16px;
    }

    .page-support__grid-item img {
        max-width: 200px;
    }
}

@media (max-width: 768px) {
    .page-support__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Hero Section */
    .page-support__hero-section {
        padding-top: 10px !important;
        margin-bottom: 40px;
    }

    .page-support__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        object-fit: contain;
    }

    .page-support__hero-content {
        margin-top: -50px;
        padding: 20px 15px;
        max-width: calc(100% - 30px) !important;
        width: calc(100% - 30px) !important;
        box-sizing: border-box !important;
    }

    .page-support__main-title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .page-support__description {
        font-size: 15px;
        margin-bottom: 20px;
    }

    .page-support__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-support__btn-primary,
    .page-support__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 20px;
    }

    /* Info Grid Section */
    .page-support__info-grid {
        margin-bottom: 40px;
    }

    .page-support__grid-items {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-support__grid-item {
        padding: 20px;
    }

    .page-support__grid-item img {
        
    }

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

    .page-support__item-text {
        font-size: 14px;
    }

    /* Contact Section */
    .page-support__contact-section {
        margin-bottom: 40px;
    }

    .page-support__contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

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

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

    /* FAQ Section */
    .page-support__faq-section {
        margin-bottom: 40px;
    }

    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;
        height: 24px;
    }

    details.page-support__faq-item .page-support__faq-answer {
        padding: 0 15px 15px;
    }

    /* General image and container rules for mobile */
    .page-support img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block;
    }
    
    .page-support__section,
    .page-support__card,
    .page-support__container,
    .page-support__grid-item,
    .page-support__contact-card {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-support__section-title {
        font-size: 24px;
    }
    .page-support__section-intro {
        font-size: 15px;
    }
}