/* style/contact.css */

/* Base styles */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #ffffff; /* Light text for dark body background */
  background-color: transparent; /* Body background is handled by shared.css (#0a0a0a) */
}

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

.page-contact__section-title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: #26A9E0;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 18px;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 10px; /* Small top padding */
  padding-bottom: 60px;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-height: 600px;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 40px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 20px;
  line-height: 1.7;
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background-color: #26A9E0;
  color: #ffffff;
  border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
  background-color: #1e87b8;
  border-color: #1e87b8;
}

.page-contact__btn-secondary {
  background-color: #ffffff;
  color: #26A9E0;
  border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  color: #1e87b8;
  border-color: #1e87b8;
}

/* Channels Section */
.page-contact__channels-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

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

.page-contact__channel-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have similar height */
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  display: block;
  margin: 0 auto 20px;
  border-radius: 8px;
  min-width: 200px;
  min-height: 200px;
  object-fit: cover;
}

.page-contact__card-title {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__card-text {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__channel-card strong {
  color: #ffffff;
}

.page-contact__channel-card .page-contact__btn-secondary {
  width: 100%;
  padding: 12px 20px;
  font-size: 16px;
  border-radius: 6px;
  margin-top: auto; /* Push button to bottom */
}

/* Issues Section */
.page-contact__issues-section {
  padding: 60px 0;
}

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

.page-contact__issue-item {
  background-color: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.3s ease;
}

.page-contact__issue-item:hover {
  transform: translateY(-5px);
}

.page-contact__issue-title {
  font-size: 22px;
  font-weight: 700;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__issue-text {
  font-size: 16px;
  line-height: 1.6;
  color: #cccccc;
  margin-bottom: 20px;
}

.page-contact__btn-link {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  border-bottom: 2px solid #26A9E0;
  padding-bottom: 3px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact__btn-link:hover {
  color: #ffffff;
  border-color: #ffffff;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 60px 0;
  background-color: rgba(255, 255, 255, 0.05);
}

.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__faq-item {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
}

.page-contact__faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-contact__faq-item summary::-webkit-details-marker {
  display: none;
}

.page-contact__faq-item summary:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.page-contact__faq-qtext {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  flex-grow: 1;
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: 700;
  color: #26A9E0;
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  color: #ffffff;
}

.page-contact__faq-answer {
  padding: 20px 25px;
  font-size: 16px;
  line-height: 1.7;
  color: #cccccc;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 60px 0;
}

.page-contact__commitment-content {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  margin-top: 40px;
}

.page-contact__commitment-image {
  flex: 1 1 45%;
  max-width: 550px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__commitment-list {
  flex: 1 1 45%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-contact__commitment-list li {
  font-size: 18px;
  line-height: 1.8;
  color: #f0f0f0;
  margin-bottom: 15px;
  position: relative;
  padding-left: 30px;
}

.page-contact__commitment-list li::before {
  content: '✔';
  color: #26A9E0;
  font-size: 20px;
  position: absolute;
  left: 0;
  top: 0;
}

.page-contact__commitment-list li strong {
  color: #26A9E0;
}

.page-contact__commitment-text {
  font-size: 18px;
  line-height: 1.6;
  color: #f0f0f0;
  text-align: center;
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Final CTA Section */
.page-contact__cta-final-section {
  padding: 80px 0;
  background-color: #26A9E0;
  text-align: center;
}

.page-contact__cta-final-section .page-contact__section-title {
  color: #ffffff;
}

.page-contact__cta-final-section .page-contact__section-description {
  color: #f0f0f0;
  margin-bottom: 30px;
}

.page-contact__cta-final-section .page-contact__cta-button {
  background-color: #EA7C07; /* Custom color for login/register */
  border-color: #EA7C07;
}

.page-contact__cta-final-section .page-contact__cta-button:hover {
  background-color: #cc6a06;
  border-color: #cc6a06;
}

/* Responsive styles */
@media (max-width: 1024px) {
  .page-contact__hero-description,
  .page-contact__section-description,
  .page-contact__card-text,
  .page-contact__issue-text,
  .page-contact__faq-qtext,
  .page-contact__faq-answer,
  .page-contact__commitment-list li,
  .page-contact__commitment-text {
    font-size: 16px;
  }

  .page-contact__main-title {
    font-size: clamp(28px, 4.5vw, 48px);
  }

  .page-contact__section-title {
    font-size: clamp(24px, 3.5vw, 38px);
  }

  .page-contact__channel-card {
    min-height: 420px;
  }
}

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__issues-section,
  .page-contact__faq-section,
  .page-contact__commitment-section,
  .page-contact__cta-final-section {
    padding-left: 15px !important;
    padding-right: 15px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__channel-icon,
  .page-contact__commitment-image {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  /* Buttons responsive */
  .page-contact__cta-button,
  .page-contact__btn-primary,
  .page-contact__btn-secondary,
  .page-contact a[class*="button"],
  .page-contact 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;
  }

  .page-contact__cta-buttons,
  .page-contact__button-group,
  .page-contact__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;
    flex-direction: column;
  }

  .page-contact__channels-grid,
  .page-contact__issues-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__commitment-content {
    flex-direction: column;
  }

  .page-contact__commitment-image {
    max-width: 100%;
    flex: none;
  }

  .page-contact__channel-card {
    min-height: auto;
  }

  .page-contact__hero-content {
    padding: 0;
  }

  .page-contact__main-title {
    font-size: clamp(28px, 8vw, 42px);
  }

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

  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 16px;
  }

  .page-contact__hero-section {
    padding-bottom: 40px;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: clamp(26px, 9vw, 38px);
  }

  .page-contact__section-title {
    font-size: clamp(22px, 8vw, 32px);
  }

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

  .page-contact__faq-qtext {
    font-size: 16px;
  }
}