/* style/contact.css */

/* Reset & Base Styles for .page-contact */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: var(--dark-bg-1);
  padding-top: 120px; /* Spacing for fixed header */
}

@media (max-width: 768px) {
  .page-contact {
    padding-top: 100px; /* Spacing for fixed header on mobile */
  }
}

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

.page-contact__section-title {
  font-size: 36px;
  color: #FFD700; /* Gold for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

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

/* Hero Section */
.page-contact__hero-contact-section {
  background: linear-gradient(135deg, #CC0000 0%, #a00000 100%); /* Darker red gradient */
  padding: 80px 0;
  text-align: center;
  color: #ffffff;
  box-shadow: inset 0 -5px 15px rgba(0,0,0,0.2);
}

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

.page-contact__hero-title {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #FFD700; /* Gold title */
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.page-contact__hero-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #f0f0f0;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FFD700; /* Gold button */
  color: #333333; /* Dark text on gold */
  padding: 15px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 22px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-contact__hero-button:hover {
  background-color: #e0b800;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Methods Section */
.page-contact__methods-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-contact__method-card {
  background-color: rgba(255, 255, 255, 0.08); /* Slightly transparent white on dark background */
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  background-color: rgba(255, 255, 255, 0.12);
}

.page-contact__method-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px auto;
  border-radius: 50%;
  background-color: #CC0000; /* Red icon background */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.page-contact__method-icon img {
  max-width: 60%;
  max-height: 60%;
  height: auto;
  display: block;
  object-fit: contain;
}

.page-contact__method-title {
  font-size: 24px;
  font-weight: bold;
  color: #FFD700; /* Gold title */
  margin-bottom: 15px;
}

.page-contact__method-text {
  font-size: 16px;
  color: #cccccc;
  margin-bottom: 25px;
  min-height: 90px;
}

.page-contact__email-link, .page-contact__phone-link, .page-contact__social-link {
  color: #FFD700; /* Gold for links */
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__email-link:hover, .page-contact__phone-link:hover, .page-contact__social-link:hover {
  color: #CC0000; /* Red on hover */
  text-decoration: underline;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #CC0000; /* Red button */
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 25px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid #CC0000;
}

.page-contact__method-button:hover {
  background-color: #a00000;
  border-color: #a00000;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: #1a1a1a; /* Slightly darker background */
}

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

.page-contact__commitment-item {
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-contact__commitment-heading {
  font-size: 22px;
  font-weight: bold;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__commitment-text {
  font-size: 16px;
  color: #cccccc;
}

/* FAQ Section */
.page-contact__faq-section {
  padding: 80px 0;
  background-color: var(--dark-bg-1);
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: rgba(255, 255, 255, 0.15); /* Slightly lighter background for question */
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: rgba(255, 255, 255, 0.2);
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #f0f0f0; /* Light text for question */
  pointer-events: none; /* Prevent h3 from blocking click event */
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700; /* Gold toggle */
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none; /* Prevent icon from blocking click event */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #CC0000; /* Red when active */
  transform: rotate(45deg); /* Plus to X effect */
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  color: #cccccc;
  font-size: 16px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important; /* Sufficiently large to contain any content */
  padding: 20px 25px !important;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Call to Action Section */
.page-contact__cta-section {
  background: linear-gradient(135deg, #FFD700 0%, #e0b800 100%); /* Gold gradient */
  padding: 80px 0;
  text-align: center;
  color: #333333; /* Dark text on gold */
}

.page-contact__cta-title {
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #CC0000; /* Red title on gold */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-description {
  font-size: 20px;
  line-height: 1.8;
  margin-bottom: 40px;
  color: #444444;
}

.page-contact__cta-button {
  display: inline-block;
  background-color: #CC0000; /* Red button */
  color: #ffffff;
  padding: 18px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  border: none;
}

.page-contact__cta-button:hover {
  background-color: #a00000;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* 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;
  }
  .page-contact__section-description {
    font-size: 16px;
  }
  .page-contact__cta-title {
    font-size: 36px;
  }
  .page-contact__cta-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding: 60px 0;
  }
  .page-contact__hero-title {
    font-size: 32px;
  }
  .page-contact__hero-description {
    font-size: 16px;
  }
  .page-contact__hero-button {
    font-size: 18px;
    padding: 12px 30px;
  }

  .page-contact__methods-section,
  .page-contact__commitment-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 60px 0;
  }
  
  .page-contact__container {
    padding: 0 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .page-contact__section-title {
    font-size: 28px;
  }
  .page-contact__section-description {
    font-size: 15px;
    margin-bottom: 30px;
  }

  .page-contact__method-card {
    padding: 25px;
  }
  .page-contact__method-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 15px;
  }
  .page-contact__method-title {
    font-size: 20px;
  }
  .page-contact__method-text {
    font-size: 14px;
    min-height: auto;
  }
  .page-contact__method-button {
    font-size: 14px;
    padding: 8px 20px;
  }

  .page-contact__commitment-item {
    padding: 25px;
  }
  .page-contact__commitment-heading {
    font-size: 20px;
  }
  .page-contact__commitment-text {
    font-size: 14px;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }
  .page-contact__faq-question h3 {
    font-size: 16px;
  }
  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
    font-size: 15px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }

  .page-contact__cta-title {
    font-size: 30px;
  }
  .page-contact__cta-description {
    font-size: 16px;
  }
  .page-contact__cta-button {
    font-size: 20px;
    padding: 15px 35px;
  }
}

/* Image responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__section,
.page-contact__card,
.page-contact__container,
.page-contact__method-card,
.page-contact__commitment-item,
.page-contact__faq-item {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__method-card,
  .page-contact__commitment-item,
  .page-contact__faq-item {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
}