/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

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

/* Section spacing and titles */
.page-contact__hero-section,
.page-contact__why-contact-section,
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__operating-hours-section,
.page-contact__specialized-support-section,
.page-contact__faq-section,
.page-contact__cta-section {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 20px;
  color: #FFD700; /* Gold accent for titles */
}

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

/* Dark background sections */
.page-contact__dark-bg {
  background-color: #1A202C;
  color: #ffffff;
}

.page-contact__dark-bg .page-contact__section-description {
  color: #cccccc;
}

/* Hero Section */
.page-contact__hero-section {
  background: linear-gradient(135deg, #1A202C, #0d1117);
  padding-top: var(--header-offset, 120px); /* Adjust based on shared.css body padding */
  padding-bottom: 60px;
  text-align: center;
}

.page-contact__hero-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #FFD700; /* Gold for main title */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 20px;
  color: #f0f0f0;
  max-width: 900px;
  margin: 0 auto;
}

/* Why Contact Section */
.page-contact__why-contact-section .page-contact__section-title {
  color: #FFD700;
}

.page-contact__why-contact-section .page-contact__section-description {
  color: #cccccc;
}

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

.page-contact__feature-item {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__feature-item img {
  
  
  object-fit: contain;
  margin-bottom: 15px;
}

.page-contact__feature-title {
  font-size: 22px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 10px;
}

.page-contact__feature-item p {
  font-size: 16px;
  color: #e0e0e0;
}

/* Methods Section */
.page-contact__methods-section {
  background-color: #0d1117; /* Matches body bg */
}

.page-contact__methods-section .page-contact__section-title {
  color: #FFD700;
}

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

.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: #1A202C; /* Dark background for cards */
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__method-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

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

.page-contact__method-text {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* Form Section */
.page-contact__form-section .page-contact__section-title {
  color: #FFD700;
}

.page-contact__form-section .page-contact__section-description {
  color: #cccccc;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #f0f0f0;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #2a2a2a;
  color: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #888;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 5px rgba(255, 215, 0, 0.5);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit-btn {
  width: auto;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Operating Hours Section */
.page-contact__operating-hours-section {
  background-color: #0d1117;
}

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

.page-contact__info-card {
  background: #1A202C;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__info-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__info-card p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 10px;
}

.page-contact__info-card strong {
  color: #ffffff;
}

.page-contact__additional-note {
  font-size: 15px;
  color: #cccccc;
  text-align: center;
  margin-top: 30px;
}

/* Specialized Support Section */
.page-contact__specialized-support-section .page-contact__section-title {
  color: #FFD700;
}

.page-contact__specialized-support-section .page-contact__section-description {
  color: #cccccc;
}

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

.page-contact__specialized-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__specialized-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__specialized-card img {
  
  
  object-fit: contain;
  margin-bottom: 20px;
}

.page-contact__specialized-title {
  font-size: 24px;
  font-weight: 600;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__specialized-card p {
  font-size: 16px;
  color: #e0e0e0;
  margin-bottom: 25px;
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: #0d1117;
}

.page-contact__faq-section .page-contact__section-title {
  color: #FFD700;
}

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

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 5px;
  overflow: hidden;
  background: #1A202C; /* Dark background for FAQ items */
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: #1A202C;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #2a2a2a;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  pointer-events: none;
}

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

.page-contact__faq-item.active .page-contact__faq-toggle {
  transform: rotate(45deg);
  color: #ffffff;
}

.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 20px;
  opacity: 0;
  background: #2a2a2a;
  color: #e0e0e0;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px !important;
  opacity: 1;
}

.page-contact__faq-answer p {
  margin: 0;
  font-size: 16px;
  color: #e0e0e0;
}

/* CTA Section */
.page-contact__cta-section {
  background-color: #1A202C;
}

.page-contact__cta-section .page-contact__section-title {
  color: #FFD700;
}

.page-contact__cta-section .page-contact__section-description {
  color: #cccccc;
}

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  white-space: nowrap;
  word-wrap: break-word;
  box-sizing: border-box;
}

.page-contact__btn-primary {
  background-color: #FFD700;
  color: #1A202C;
  border: 2px solid #FFD700;
}

.page-contact__btn-primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.page-contact__btn-secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__btn-secondary:hover {
  background-color: #FFD700;
  color: #1A202C;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

/* Responsive Design */

/* All images responsive by default */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobile adaptations */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 42px;
  }

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

@media (max-width: 768px) {
  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__hero-section {
    padding-top: var(--header-offset-mobile, 80px); /* Mobile specific offset if defined */
    padding-bottom: 40px;
  }

  .page-contact__hero-title {
    font-size: 32px;
  }

  .page-contact__hero-description {
    font-size: 16px;
  }

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

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

  .page-contact__why-contact-section,
  .page-contact__methods-section,
  .page-contact__form-section,
  .page-contact__operating-hours-section,
  .page-contact__specialized-support-section,
  .page-contact__faq-section,
  .page-contact__cta-section {
    padding: 40px 0;
  }

  .page-contact__features-grid,
  .page-contact__methods-grid,
  .page-contact__hours-info,
  .page-contact__specialized-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .page-contact__feature-item,
  .page-contact__method-card,
  .page-contact__info-card,
  .page-contact__specialized-card {
    padding: 25px;
  }

  .page-contact__feature-item img,
  .page-contact__method-card img,
  .page-contact__specialized-card img {
    
    
    margin-bottom: 15px;
  }

  .page-contact__feature-title,
  .page-contact__method-title,
  .page-contact__info-title,
  .page-contact__specialized-title {
    font-size: 20px;
  }

  .page-contact__feature-item p,
  .page-contact__method-text,
  .page-contact__info-card p,
  .page-contact__specialized-card p {
    font-size: 15px;
  }

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

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

  .page-contact__form-submit-btn {
    padding: 10px 25px;
    font-size: 16px;
  }

  .page-contact__faq-question {
    padding: 15px;
    flex-wrap: wrap;
  }

  .page-contact__faq-question h3 {
    font-size: 16px;
    margin-bottom: 0;
    width: calc(100% - 40px);
  }

  .page-contact__faq-toggle {
    margin-left: 10px;
    width: 24px;
    height: 24px;
    font-size: 20px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px !important;
  }

  .page-contact__cta-buttons {
    flex-direction: column;
    gap: 15px;
    padding: 0 15px; /* Add padding to prevent overflow */
  }

  .page-contact__btn-primary,
  .page-contact__btn-secondary {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Ensure all images are responsive on mobile */
  .page-contact img {
    max-width: 100% !important;
    height: auto !important;
    width: 100% !important;
  }

  /* Specific overrides for small icons if they are part of a grid and need fixed sizes */
  .page-contact__feature-item img,
  .page-contact__method-card img,
  .page-contact__specialized-card img {
     /* Keep fixed size for small feature icons */
    
    
    margin-left: auto;
    margin-right: auto;
  }
}