/* style/support.css */
:root {
    --primary-color: #3A0CA3;
    --secondary-color: #FFD700;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #f4f7f6;
    --bg-dark: #1a063b;
    --accent-light: #ffe56b;
    --border-color: #e0e0e0;
}

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

.page-support h1, .page-support h2, .page-support h3 {
    color: var(--primary-color);
    font-weight: bold;
    margin-bottom: 20px;
}

.page-support h1 {
    font-size: 2.8em;
    text-align: center;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-support h2 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    position: relative;
}

.page-support h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

.page-support h3 {
    font-size: 1.6em;
    color: var(--primary-color);
}

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

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

.page-support a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

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

/* Hero Section */
.page-support .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #6a0dad 100%); /* Adjusted gradient for better contrast */
  overflow: hidden;
}

.page-support .hero-container {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.page-support .hero-image {
  width: 100%;
  margin-bottom: 30px;
  max-width: 800px; /* Constrain image width for better layout */
}

.page-support .hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-support .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--text-light);
}

.page-support .hero-content p {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: rgba(255, 255, 255, 0.9);
}

.page-support .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--primary-color);
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-support .cta-button:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Intro Section */
.page-support .intro-section {
    background: var(--bg-light);
    padding: 60px 0;
    text-align: justify;
}

/* FAQ Section */
.page-support .faq-section {
    padding: 60px 0;
    background: #ffffff;
}

.page-support .faq-section .container {
    max-width: 900px;
}

.page-support .faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.page-support .faq-question:hover {
    background: var(--bg-light);
}

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

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

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

.page-support .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 20px;
    background: #fdfdfd;
}

.page-support .faq-item.active .faq-answer {
    max-height: 500px; /* Sufficient height for content */
    padding: 20px;
    border-top: 1px solid var(--border-color);
}

.page-support .faq-answer p {
    margin: 0;
    color: var(--text-dark);
}

/* Contact Section */
.page-support .contact-section {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 60px 0;
    text-align: center;
}

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

.page-support .contact-section p {
    color: rgba(255, 255, 255, 0.9);
}

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

.page-support .channel-card {
    background: var(--primary-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-support .channel-card img {
    width: 120px; /* Increased size for content image, not icon */
    height: 120px;
    margin-bottom: 20px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    padding: 15px;
}

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

.page-support .channel-card p {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    flex-grow: 1;
}

.page-support .channel-card .btn {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--primary-color);
    border-radius: 5px;
    text-transform: uppercase;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease, transform 0.3s ease;
}

.page-support .channel-card .btn:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    text-decoration: none;
}

.page-support .contact-tip {
    margin-top: 30px;
    font-style: italic;
    color: rgba(255, 255, 255, 0.7);
}

/* Commitment Section */
.page-support .commitment-section {
    padding: 60px 0;
    background: var(--bg-light);
    text-align: center;
}

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

.page-support .commitment-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-support .commitment-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.page-support .commitment-item img {
    width: 100px; /* Increased size for content image, not icon */
    height: 100px;
    margin-bottom: 20px;
    object-fit: contain;
}

.page-support .commitment-item h3 {
    color: var(--primary-color);
    font-size: 1.4em;
    margin-bottom: 10px;
}

.page-support .commitment-item p {
    font-size: 0.95em;
    color: var(--text-dark);
}

/* Resources Section */
.page-support .resources-section {
    padding: 60px 0;
    background: #ffffff;
}

.page-support .resource-list {
    list-style: none;
    padding: 0;
    margin-top: 30px;
    text-align: left;
}

.page-support .resource-list li {
    background: var(--bg-light);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: background-color 0.3s ease;
}

.page-support .resource-list li:hover {
    background-color: var(--border-color);
}

.page-support .resource-list li a {
    font-weight: bold;
    color: var(--primary-color);
    display: block;
}

.page-support .resource-list li a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-support h1 {
        font-size: 2.2em;
    }
    .page-support h2 {
        font-size: 1.8em;
    }
    .page-support h3 {
        font-size: 1.4em;
    }
    .page-support .hero-section {
        padding: 40px 15px;
    }
    .page-support .hero-image img {
        border-radius: 6px;
    }
    .page-support .cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-support .channel-card img, .page-support .commitment-item img {
        width: 90px;
        height: 90px;
    }
}

@media (max-width: 768px) {
    .page-support h1 {
        font-size: 1.8em;
    }
    .page-support h2 {
        font-size: 1.6em;
    }
    .page-support h3 {
        font-size: 1.3em;
    }
    .page-support .hero-section {
        padding: 30px 10px;
    }
    .page-support .hero-image {
        margin-bottom: 20px;
    }
    .page-support .cta-button {
        padding: 10px 25px;
        font-size: 15px;
    }
    .page-support .contact-channels, .page-support .commitment-grid {
        grid-template-columns: 1fr;
    }
    .page-support .faq-question {
        padding: 12px 15px;
    }
    .page-support .faq-question h3 {
        font-size: 1.1em;
    }
    .page-support .faq-answer {
        padding: 0 15px;
    }
    .page-support .faq-item.active .faq-answer {
        padding: 15px;
    }
    .page-support .channel-card img, .page-support .commitment-item img {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .page-support h1 {
        font-size: 1.6em;
    }
    .page-support h2 {
        font-size: 1.4em;
    }
    .page-support h3 {
        font-size: 1.2em;
    }
    .page-support .cta-button {
        width: 100%;
        box-sizing: border-box;
        margin-top: 20px;
    }
    .page-support .channel-card img, .page-support .commitment-item img {
        width: 70px;
        height: 70px;
    }
}