/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color, #333333);
  background-color: var(--background-color, #f5f5f5);
}

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

.page-contact__hero-section {
  position: relative;
  padding: 80px 0 40px;
  background-color: #ffffff;
  text-align: center;
  padding-top: var(--header-offset, 120px);
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 40px;
}

.page-contact__main-title {
  font-size: 2.8em;
  color: #26A9E0;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__intro-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

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

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

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

.page-contact__btn-secondary:hover {
  background-color: #e0f2f7;
  color: #1e87c2;
  border-color: #1e87c2;
}

.page-contact__hero-image-wrapper {
  margin-top: 40px;
}

.page-contact__hero-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__methods-section,
.page-contact__faq-section {
  padding: 60px 0;
  background-color: #f8f8f8;
  text-align: center;
}

.page-contact__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__section-title {
  font-size: 2.2em;
  color: #26A9E0;
  margin-bottom: 20px;
}

.page-contact__section-title--white {
  color: #ffffff;
}

.page-contact__section-description {
  font-size: 1em;
  color: #666666;
  max-width: 800px;
  margin: 0 auto 40px;
}

.page-contact__section-description--white {
  color: #f0f0f0;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
}

.page-contact__method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.4em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__method-description {
  font-size: 0.95em;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact__email-address,
.page-contact__phone-number {
  font-weight: bold;
  color: #000000;
  font-size: 1.1em;
}

.page-contact__btn-small {
  padding: 10px 20px;
  font-size: 0.9em;
}

.page-contact__section-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__why-kubet-support {
  padding: 60px 0;
}

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

.page-contact__benefit-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  text-align: left;
  border: 1px solid #e0e0e0;
}

.page-contact__benefit-title {
  font-size: 1.3em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__benefit-text {
  font-size: 0.95em;
  color: #555555;
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  border: 1px solid #e0e0e0;
  background-color: #ffffff;
  text-align: left;
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  background-color: #f9f9f9;
  cursor: pointer;
  transition: background-color 0.3s ease;
  list-style: none;
}

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

.page-contact__faq-question:hover {
  background-color: #eef7fb;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: #26A9E0;
  margin-left: 15px;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

.page-contact__faq-answer {
  padding: 15px 25px 20px;
  font-size: 0.95em;
  color: #555555;
  background-color: #ffffff;
}

.page-contact__social-section {
  padding: 60px 0;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
  margin-bottom: 50px;
}

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #26A9E0;
  font-size: 1.2em;
  text-decoration: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
  text-indent: -9999px; /* Hide text, rely on background/icon */
}

.page-contact__social-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Placeholder for social icons - in a real scenario, these would be background images or SVG */
.page-contact__social-link--facebook {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M9 8h-3v4h3v12h5v-12h3.642l.358-4h-4v-1.667c0-.955.192-1.333 1.115-1.333h2.885v-5h-3.808c-3.271 0-4.192 2.159-4.192 4.615v3.385z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
.page-contact__social-link--telegram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M18.364 5.636c-3.176-3.176-8.32-3.176-11.496 0-3.176 3.176-3.176 8.32 0 11.496l6.364 6.364 6.364-6.364c3.176-3.176 3.176-8.32 0-11.496zm-1.076 10.323l-3.298-3.298 5.438-2.025-2.14 5.323z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}
.page-contact__social-link--zalo {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="%2326A9E0"><path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-2.887 17.653c-1.126-.067-2.316-.271-3.486-.549l-1.468 2.053c-.347.487-.977.671-1.574.456-.597-.215-.992-.765-.992-1.408v-2.396c-.636-.889-1.082-1.874-1.325-2.909-.243-1.035-.296-2.1-.157-3.153.253-1.895 1.139-3.567 2.477-4.832 1.338-1.265 3.064-1.996 4.887-1.996 1.823 0 3.549.731 4.887 1.996 1.338 1.265 2.224 2.937 2.477 4.832.139 1.053.086 2.12-.157 3.153-.243 1.035-.689 2.02-1.325 2.909v2.396c0 .643-.395 1.193-.992 1.408-.597.215-1.227.031-1.574-.456l-1.468-2.053c-1.17.278-2.36.482-3.486.549z"/></svg>');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

.page-contact__office-info {
  margin-top: 60px;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.page-contact__office-title {
  font-size: 1.6em;
  color: #ffffff;
  margin-bottom: 20px;
}

.page-contact__office-address,
.page-contact__office-text {
  font-size: 1em;
  color: #f0f0f0;
  margin-bottom: 10px;
}

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

  .page-contact__hero-section {
    padding: 60px 0 30px;
    padding-top: var(--header-offset, 120px) !important; /* Ensure header offset for mobile */
  }

  .page-contact__main-title {
    font-size: 2em;
  }

  .page-contact__intro-text {
    font-size: 1em;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
  }

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

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__section-description {
    font-size: 0.9em;
    margin-bottom: 30px;
  }

  .page-contact__methods-grid,
  .page-contact__benefits-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__method-card,
  .page-contact__benefit-card,
  .page-contact__faq-item {
    padding: 20px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    margin-left: auto;
    margin-right: auto;
  }

  .page-contact__hero-image,
  .page-contact__section-image,
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  .page-contact__hero-image-wrapper,
  .page-contact__methods-section .page-contact__container,
  .page-contact__why-kubet-support .page-contact__container,
  .page-contact__faq-section .page-contact__container,
  .page-contact__social-section .page-contact__container {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow-x: hidden !important;
  }

  .page-contact__faq-question {
    font-size: 1em;
    padding: 15px 20px;
  }

  .page-contact__faq-answer {
    padding: 10px 20px 15px;
    font-size: 0.9em;
  }

  .page-contact__social-links {
    gap: 15px;
    flex-wrap: wrap;
  }

  .page-contact__social-link {
    width: 45px;
    height: 45px;
  }

  .page-contact__office-info {
    padding: 25px;
    margin-top: 40px;
  }

  .page-contact__office-title {
    font-size: 1.4em;
  }

  .page-contact__office-address,
  .page-contact__office-text {
    font-size: 0.9em;
  }
}

/* Ensure no image filters */
.page-contact img {
  filter: none !important;
}