/* style/contact.css */

/* CSS Variables for Brand Colors */
:root {
  --primary-color: #0A1931;
  --secondary-color: #FFD700;
  --text-light: #ffffff;
  --text-dark: #333333;
  --background-dark: #0a0a0a; /* Body background from shared.css */
  --background-light: #f8f9fa;
  --border-color: #e0e0e0;
}

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-light); /* Default text color for dark body background */
  background-color: var(--background-dark);
  padding-top: var(--header-offset, 120px); /* Ensure content is below fixed header */
}

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

/* Sections */
.page-contact__hero-section,
.page-contact__channels-section,
.page-contact__form-section,
.page-contact__commitment-section,
.page-contact__support-types-section,
.page-contact__effective-contact-section,
.page-contact__cta-bottom-section {
  padding: 80px 0;
  text-align: center;
}

.page-contact__dark-bg {
  background-color: var(--primary-color);
  color: var(--text-light);
}

.page-contact__light-bg {
  background-color: var(--background-light);
  color: var(--text-dark);
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from parent section */
}

.page-contact__section-description {
  font-size: 18px;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

/* Hero Section */
.page-contact__hero-section {
  padding: 100px 0;
  background-image: linear-gradient(rgba(10, 25, 49, 0.8), rgba(10, 25, 49, 0.8)), url('[GALLERY:contact_hero_bg:1920x1080:good88,customer_support,hero_background]');
  background-size: cover;
  background-position: center;
  color: var(--text-light);
}

.page-contact__main-title {
  font-size: 52px;
  font-weight: 900;
  margin-bottom: 25px;
  line-height: 1.2;
  color: var(--secondary-color);
  text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-description {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 16px 35px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.page-contact__btn-secondary:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Channels Section */
.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: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
}

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

.page-contact__channel-icon {
  width: 100%;
  max-width: 250px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

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

.page-contact__channel-text {
  font-size: 16px;
  margin-bottom: 25px;
  flex-grow: 1;
}

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

.page-contact__channel-button:hover {
  background-color: #061225;
}

/* Form Section */
.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  text-align: left;
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease, background-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--secondary-color);
  background-color: rgba(255, 255, 255, 0.1);
  outline: none;
}

.page-contact__submit-button {
  width: 100%;
  padding: 15px;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__submit-button:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__commitment-item {
  background-color: var(--text-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  color: var(--text-dark);
}

.page-contact__commitment-icon {
  width: 100%;
  max-width: 300px;
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

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

.page-contact__commitment-text {
  font-size: 16px;
  line-height: 1.7;
}

/* Support Types Section */
.page-contact__support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__support-item {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: left;
  color: var(--text-light);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.page-contact__support-item:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__support-item-title {
  font-size: 22px;
  font-weight: bold;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.page-contact__support-item-text {
  font-size: 16px;
  line-height: 1.7;
}

/* Effective Contact Section */
.page-contact__contact-steps {
  list-style: none;
  padding: 0;
  max-width: 800px;
  margin: 40px auto 0 auto;
  text-align: left;
}

.page-contact__step-item {
  background-color: var(--text-light);
  padding: 30px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  color: var(--text-dark);
  position: relative;
  padding-left: 80px;
}

.page-contact__step-item::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 30px;
  top: 30px;
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
}

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

.page-contact__step-text {
  font-size: 16px;
  line-height: 1.7;
}

/* CTA Bottom Section */
.page-contact__cta-bottom-section {
  padding: 60px 0;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 44px;
  }
  .page-contact__section-title {
    font-size: 32px;
  }
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 120px) !important;
  }
  .page-contact__hero-section,
  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__commitment-section,
  .page-contact__support-types-section,
  .page-contact__effective-contact-section,
  .page-contact__cta-bottom-section {
    padding: 60px 0;
  }

  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__main-title {
    font-size: 36px;
    margin-bottom: 20px;
  }

  .page-contact__hero-description {
    font-size: 17px;
    margin-bottom: 30px;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__cta-button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding: 14px 25px;
    font-size: 16px;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section-title {
    font-size: 28px;
  }

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

  .page-contact__channels-grid,
  .page-contact__commitment-grid,
  .page-contact__support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__channel-card,
  .page-contact__commitment-item,
  .page-contact__support-item {
    padding: 25px;
  }

  .page-contact__channel-icon,
  .page-contact__commitment-icon {
    max-width: 200px;
    margin-bottom: 20px;
  }

  .page-contact__channel-title,
  .page-contact__commitment-title,
  .page-contact__support-item-title {
    font-size: 20px;
  }

  .page-contact__contact-form {
    padding: 30px;
  }

  .page-contact__form-label {
    font-size: 15px;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
    font-size: 15px;
  }

  .page-contact__submit-button {
    padding: 14px;
    font-size: 17px;
  }

  .page-contact__contact-steps {
    padding: 0 15px;
  }
  
  .page-contact__step-item {
    padding: 25px 25px 25px 70px;
  }

  .page-contact__step-item::before {
    left: 25px;
    top: 25px;
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

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

  .page-contact__step-text {
    font-size: 15px;
  }

  /* Ensure all images are responsive and do not overflow */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__commitment-section,
  .page-contact__support-types-section,
  .page-contact__effective-contact-section,
  .page-contact__cta-bottom-section {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }
}