/* style/contact.css */
:root {
  --primary-color: #1a202c; /* Dark grey-blue */
  --secondary-color: #e53e3e; /* Red */
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-light: #f8f8f8;
  --background-dark: #1a202c;
  --border-color: #e0e0e0;
}

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

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

.page-contact section {
  padding: 60px 0;
  margin-bottom: 20px;
}

.page-contact section:nth-of-type(even) {
  background-color: #f0f0f0; /* Slightly different background for visual separation */
}

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

.page-contact .section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact .hero-section {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--text-light);
}

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

.page-contact .hero-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 12px;
  margin-bottom: 30px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-contact .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}

.page-contact .hero-title {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact .hero-description {
  font-size: 20px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact .cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: var(--secondary-color);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #c02d2d;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Methods */
.page-contact .contact-methods {
  background-color: var(--background-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact .method-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact .method-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page-contact .method-icon {
  width: 120px; /* Increased size for content image, not icon */
  height: 120px;
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-contact .method-text {
  font-size: 16px;
  color: #666666;
  margin-bottom: 10px;
}

.page-contact .method-info {
  font-size: 16px;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.page-contact .method-link {
  display: inline-block;
  background: var(--primary-color);
  color: var(--text-light);
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.page-contact .method-link:hover {
  background: var(--secondary-color);
}

/* Issue Specific Support */
.page-contact .issue-specific-support {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: #f0f0f0;
}

.page-contact .support-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

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

.page-contact .support-type-item:hover {
  transform: translateY(-5px);
}

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

.page-contact .type-description {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
}

.page-contact .type-link {
  display: inline-block;
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: bold;
  border-bottom: 2px solid var(--secondary-color);
  padding-bottom: 5px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.page-contact .type-link:hover {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Commitment Section */
.page-contact .commitment-section {
  background-color: var(--background-light);
  padding-top: 80px;
  padding-bottom: 80px;
}

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

.page-contact .commitment-item {
  background: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
}

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

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

/* Contact Form */
.page-contact .contact-form-section {
  background-color: #f0f0f0;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact .form-label {
  display: block;
  font-size: 16px;
  color: var(--primary-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact .form-input,
.page-contact .form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 16px;
  color: var(--text-dark);
  transition: border-color 0.3s ease;
}

.page-contact .form-input:focus,
.page-contact .form-textarea:focus {
  border-color: var(--secondary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.2);
}

.page-contact .form-textarea {
  resize: vertical;
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px 30px;
  background: var(--secondary-color);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.page-contact .submit-button:hover {
  background: #c02d2d;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .faq-section {
  padding-top: 80px;
  padding-bottom: 80px;
  background-color: var(--background-light);
}

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

.faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: #f5f5f5;
}

.faq-question h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin: 0;
  font-weight: bold;
}

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

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  background: #f9f9f9;
  color: #555555;
}

.faq-item.active .faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--border-color);
}

.faq-answer p {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* Office Info */
.page-contact .office-info {
  background-color: #f0f0f0;
  padding-top: 80px;
  padding-bottom: 80px;
}

.page-contact .office-note {
  font-size: 18px;
  color: #555555;
  text-align: center;
  margin-top: 20px;
  font-style: italic;
}

.page-contact .office-image {
  display: block;
  margin: 40px auto 0;
  max-width: 600px;
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact .hero-title {
    font-size: 40px;
  }
  .page-contact .hero-description {
    font-size: 18px;
  }
  .page-contact .section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact .hero-section {
    padding: 60px 15px;
  }
  .page-contact .hero-title {
    font-size: 32px;
  }
  .page-contact .hero-description {
    font-size: 16px;
  }
  .page-contact .cta-button {
    padding: 15px 35px;
    font-size: 18px;
  }
  .page-contact .section-title {
    font-size: 28px;
  }
  .page-contact .section-description {
    font-size: 16px;
    margin-bottom: 30px;
  }
  .page-contact .methods-grid,
  .page-contact .support-types-grid,
  .page-contact .commitment-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .method-item,
  .page-contact .support-type-item,
  .page-contact .commitment-item {
    padding: 25px;
  }
  .page-contact .method-icon {
    width: 90px;
    height: 90px;
  }
  .page-contact .method-title,
  .page-contact .type-title,
  .page-contact .commitment-title {
    font-size: 20px;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .faq-question {
    padding: 15px 20px;
  }
  .faq-question h3 {
    font-size: 16px;
  }
  .faq-toggle {
    font-size: 20px;
  }
  .faq-answer {
    padding: 0 20px;
  }
  .faq-item.active .faq-answer {
    padding: 15px 20px 20px;
  }
}

@media (max-width: 480px) {
  .page-contact .hero-title {
    font-size: 28px;
  }
  .page-contact .cta-button {
    padding: 12px 25px;
    font-size: 16px;
  }
  .page-contact .section-title {
    font-size: 24px;
  }
  .page-contact .form-input,
  .page-contact .form-textarea,
  .page-contact .submit-button {
    font-size: 15px;
    padding: 12px;
  }
  .faq-question h3 {
    font-size: 15px;
  }
}