/* style/contact.css */

/* --- General Page Styles --- */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background is white */
  line-height: 1.6;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-contact__section-title {
  font-size: 36px;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 18px;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
}

/* --- Hero Section --- */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #e0f2f7, #ffffff); /* Light gradient background for hero */
}

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

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

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

.page-contact__hero-content h1 {
  font-size: 48px;
  color: #26A9E0; /* Primary brand color */
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-content p {
  font-size: 20px;
  color: #333333;
  margin-bottom: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-button {
  display: inline-block;
  padding: 18px 45px;
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  text-decoration: none;
  border-radius: 50px;
  font-size: 20px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 6px 15px rgba(38, 169, 224, 0.4);
}

.page-contact__cta-button:hover {
  background: #1e87b7; /* Darker shade of primary */
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(38, 169, 224, 0.6);
}

/* --- Contact Methods Section --- */
.page-contact__methods-section {
  padding: 80px 0;
}

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

.page-contact__method-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__method-card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 20px;
  width: 400px; /* Display area size */
  height: 300px; /* Display area size */
  object-fit: cover;
}

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

.page-contact__method-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1; /* Ensure consistent card height */
}

.page-contact__method-card p strong {
  color: #333333;
}

.page-contact__method-card a {
  display: inline-block;
  margin-top: auto; /* Push button to bottom */
}

/* --- Social Media Section --- */
.page-contact__dark-section {
  background: #26A9E0; /* Primary brand color */
  color: #ffffff;
  padding: 80px 0;
}

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

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

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-bottom: 30px;
  flex-wrap: wrap; /* Allow wrapping on small screens */
}

.page-contact__social-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  font-size: 16px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: translateY(-5px);
  color: #f0f0f0;
}

.page-contact__social-icon img {
  width: 200px; /* Display area size, adjusted to meet 200x200px minimum */
  height: 200px; /* Display area size, adjusted to meet 200x200px minimum */
  border-radius: 50%;
  margin-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.page-contact__social-note {
  font-size: 14px;
  text-align: center;
  color: #e0f2f7;
  max-width: 700px;
  margin: 0 auto;
}

/* --- Support Topics Section --- */
.page-contact__support-topics-section {
  padding: 80px 0;
}

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

.page-contact__topic-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.page-contact__topic-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.page-contact__topic-card .page-contact__card-title {
  font-size: 22px;
  color: #26A9E0;
  margin-bottom: 15px;
  text-align: left;
}

.page-contact__topic-card p {
  font-size: 16px;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__btn-text {
  display: inline-block;
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s ease;
  margin-top: auto; /* Push to bottom */
}

.page-contact__btn-text::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: #26A9E0;
  transform: scaleX(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
}

.page-contact__btn-text:hover {
  color: #1e87b7;
}

.page-contact__btn-text:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}