/* style/contact.css */
:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-light: #ffffff;
    --text-dark: #333333;
    --bg-light: #f1f3f5;
    --bg-dark: var(--dark-bg-1, #1a1a2e); /* Fallback for dark-bg-1 if not defined in shared.css */
    --border-color: #e0e0e0;
    --card-bg: #ffffff;
}

.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-light); /* Default text color for dark body background */
    background-color: var(--bg-dark); /* Inherits from body, but explicitly set for clarity */
}

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

.page-contact__section-title {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-light);
}

.page-contact__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    color: #cccccc;
}

.page-contact__highlight-text {
    color: var(--secondary-color);
    font-weight: bold;
}

/* HERO Section (Intro) */
.page-contact__contact-hero-section {
    background: var(--primary-color);
    padding: 80px 0;
    text-align: center;
    padding-top: 180px; /* Desktop: Adjust for fixed header */
    color: var(--text-light);
}

.page-contact__main-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--text-light);
}

.page-contact__intro-text {
    font-size: 20px;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

.page-contact__cta-button {
    display: inline-block;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin-top: 20px;
}

.page-contact__cta-button--primary {
    background: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.page-contact__cta-button--primary:hover {
    background: #ffc107;
    border-color: #ffc107;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

/* Contact Methods Section */
.page-contact__contact-methods-section {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-contact__contact-methods-section .page-contact__section-title,
.page-contact__contact-methods-section .page-contact__section-description {
    color: var(--text-dark);
}

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

.page-contact__method-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--text-dark);
}

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

.page-contact__method-icon {
    width: 100px; /* Minimum size 200x200px, but for icons, a smaller display size is acceptable if the source image is large */
    height: auto;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 100px;
    min-width: 100px;
}

.page-contact__method-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-contact__method-description {
    font-size: 16px;
    margin-bottom: 25px;
    color: #666666;
}

.page-contact__email-link, .page-contact__phone-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__email-link:hover, .page-contact__phone-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.page-contact__method-card .page-contact__cta-button {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 10px 25px;
    font-size: 16px;
    border-radius: 5px;
    box-shadow: none;
}

.page-contact__method-card .page-contact__cta-button:hover {
    background: #071a41;
    transform: none;
    box-shadow: none;
}

/* Contact Form Section */
.page-contact__contact-form-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-contact__contact-form-section .page-contact__section-title,
.page-contact__contact-form-section .page-contact__section-description {
    color: var(--text-light);
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.page-contact__form-group {
    margin-bottom: 25px;
}

.page-contact__form-label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--text-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.2);
    color: var(--text-light);
    font-size: 16px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: #cccccc;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--secondary-color);
    background: rgba(0, 0, 0, 0.3);
    outline: none;
}

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__submit-button {
    width: 100%;
    padding: 18px;
    font-size: 20px;
    border: none;
    cursor: pointer;
    margin-top: 15px;
}

/* Why Contact Section */
.page-contact__why-contact-section {
    padding: 80px 0;
    background: var(--bg-light);
    color: var(--text-dark);
}

.page-contact__why-contact-section .page-contact__section-title,
.page-contact__why-contact-section .page-contact__section-description {
    color: var(--text-dark);
}

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

.page-contact__reason-item {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
}

.page-contact__reason-heading {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.page-contact__reason-text {
    font-size: 16px;
    color: #666666;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
    background: var(--primary-color);
    color: var(--text-light);
}

.page-contact__faq-section .page-contact__section-title,
.page-contact__faq-section .page-contact__section-description {
    color: var(--text-light);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: var(--card-bg);
  color: var(--text-dark);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease;
  padding: 0 15px;
  opacity: 0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 15px !important;
  opacity: 1;
  background: #f9f9f9;
  border-radius: 0 0 5px 5px;
  color: var(--text-dark);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
  color: var(--text-dark);
}

.page-contact__faq-question:hover {
  background: #f5f5f5;
  border-color: #d0d0d0;
}

.page-contact__faq-question:active {
  background: #eeeeee;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: var(--primary-color);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  line-height: 1;
  color: #666;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: var(--primary-color);
  transform: rotate(45deg);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__main-title {
        font-size: 40px;
    }
    .page-contact__intro-text {
        font-size: 18px;
    }
    .page-contact__section-title {
        font-size: 32px;
    }
    .page-contact__section-description {
        font-size: 16px;
    }
    .page-contact__methods-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    .page-contact__reason-list {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .page-contact__contact-hero-section {
        padding-top: 140px !important; /* Mobile: Adjust for fixed header */
        padding-bottom: 40px;
    }
    .page-contact__main-title {
        font-size: 32px;
    }
    .page-contact__intro-text {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-contact__cta-button {
        padding: 12px 30px;
        font-size: 16px;
    }
    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
    }
    .page-contact__methods-grid,
    .page-contact__reason-list {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-contact__method-card,
    .page-contact__reason-item {
        padding: 25px;
    }
    .page-contact__method-icon {
        width: 80px;
        min-width: 80px;
        max-width: 80px;
    }
    .page-contact__method-title {
        font-size: 20px;
    }
    .page-contact__method-description {
        font-size: 15px;
    }
    .page-contact__form {
        padding: 30px;
    }
    .page-contact__form-label {
        font-size: 16px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px 15px;
        font-size: 15px;
    }
    .page-contact__submit-button {
        padding: 15px;
        font-size: 18px;
    }
    .page-contact__reason-heading {
        font-size: 20px;
    }
    .page-contact__reason-text {
        font-size: 15px;
    }
    .page-contact__faq-question {
        padding: 15px;
        flex-wrap: wrap;
    }
    .page-contact__faq-question h3 {
        font-size: 15px;
        margin-bottom: 0;
        width: calc(100% - 40px);
    }
    .page-contact__faq-toggle {
        margin-left: 10px;
        width: 24px;
        height: 24px;
        font-size: 20px;
    }
    .page-contact__faq-answer {
        padding: 0 15px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
    /* Ensure all images are responsive */
    .page-contact img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-contact__section,
    .page-contact__card,
    .page-contact__container {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-contact__main-title {
        font-size: 28px;
    }
    .page-contact__intro-text {
        font-size: 14px;
    }
    .page-contact__section-title {
        font-size: 24px;
    }
    .page-contact__section-description {
        font-size: 14px;
    }
    .page-contact__form {
        padding: 20px;
    }
    .page-contact__faq-question h3 {
        font-size: 14px;
    }
    .page-contact__faq-toggle {
        font-size: 18px;
    }
}