/* style/contact.css */

/* General styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  color: #333333; /* Text Main */
  line-height: 1.6;
  background-color: #F5F7FA; /* Background color */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #E53935; /* Primary color */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: #333333;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column; /* Image above text */
  align-items: center;
  padding-top: 10px; /* Small top padding, relying on body for header offset */
  background-color: #ffffff;
  padding-bottom: 60px;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Constrain image width */
  margin-bottom: 30px;
}

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

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

.page-contact__main-title {
  font-size: 3em;
  color: #E53935;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__description {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: #333333;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-icon {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-align: center;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FF5A4F 0%, #E53935 100%);
  color: #ffffff;
  border: none;
  margin: 10px;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: #ffffff;
  color: #E53935;
  border: 2px solid #E53935;
  margin: 10px;
}

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.page-contact__btn-icon {
  background: #E0E0E0; /* Border color as background for icons */
  color: #333333;
  border: none;
  padding: 10px 20px;
  margin: 5px;
  font-size: 0.9em;
}

.page-contact__btn-icon:hover {
  background: #ccc;
}

/* Contact Methods Section */
.page-contact__contact-methods {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 40px;
}

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

.page-contact__method-card {
  background: #FFFFFF; /* Card B G */
  border: 1px solid #E0E0E0; /* Border */
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

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

.page-contact__method-icon {
  width: 100%; /* Ensure image fills card width */
  height: auto;
  max-width: 250px; /* Constrain max width for visual balance */
  min-width: 200px; /* Min size requirement */
  min-height: 200px;
  object-fit: contain; /* Contain to show full image without cropping */
  margin-bottom: 20px;
  border-radius: 4px;
}

.page-contact__card-title {
  font-size: 1.5em;
  color: #E53935;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #333333;
  margin-bottom: 20px;
  flex-grow: 1; /* Allow text to grow */
}

.page-contact__email-link,
.page-contact__phone-link,
.page-contact__social-link {
  color: #E53935;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__email-link:hover,
.page-contact__phone-link:hover,
.page-contact__social-link:hover {
  text-decoration: underline;
}

.page-contact__social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 15px;
}

/* Address Section */
.page-contact__address-section {
  display: flex;
  align-items: center;
  gap: 40px;
  background-color: #E53935; /* Dark section background */
  color: #ffffff; /* White text for dark background */
  border-radius: 8px;
  padding: 60px;
}

.page-contact__dark-section .page-contact__section-title,
.page-contact__dark-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__address-content {
  flex: 1;
}

.page-contact__address-details {
  margin-top: 30px;
}

.page-contact__address-text {
  font-size: 1.1em;
  margin-bottom: 15px;
  color: #ffffff;
}

.page-contact__address-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-contact__address-image {
  width: 100%;
  height: auto;
  max-width: 600px; /* Constrain image width */
  min-width: 200px;
  min-height: 200px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #F5F7FA;
  margin-top: 40px;
}

.page-contact__faq-grid {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  align-items: flex-start;
}

.page-contact__faq-image-wrapper {
  flex: 1;
  text-align: center;
}

.page-contact__faq-image {
  width: 100%;
  height: auto;
  max-width: 500px; /* Constrain image width */
  min-width: 200px;
  min-height: 200px;
  display: block;
  border-radius: 8px;
  object-fit: cover;
}

.page-contact__faq-list {
  flex: 2;
}

.page-contact__faq-item {
  background: #FFFFFF;
  border: 1px solid #E0E0E0;
  border-radius: 8px;
  margin-bottom: 15px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}