/* style/contact.css */
:root {
  --primary-color: #007bff;
  --secondary-color: #ffc107;
  --text-dark: #333333;
  --text-light: #ffffff;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-color: #e0e0e0;
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
}

.page-contact a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact a:hover {
  color: var(--secondary-color);
}

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

/* Hero Section */
.page-contact .contact-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  min-height: 450px; /* Adjusted min-height for better visual */
  color: var(--text-light);
  overflow: hidden;
  background-color: var(--primary-color);
}

.page-contact .contact-hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.page-contact .contact-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
  z-index: 2;
}

.page-contact .contact-hero-content {
  position: relative;
  z-index: 3;
  max-width: 800px;
}

.page-contact .contact-hero h1 {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: var(--text-light);
  line-height: 1.2;
}

.page-contact .contact-hero p {
  font-size: 1.2em;
  margin-bottom: 30px;
  color: var(--text-light);
}

.page-contact .cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: var(--secondary-color);
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact .cta-button:hover {
  background: #e0a800; /* Slightly darker amber for hover */
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Sections */
.page-contact section {
  padding: 60px 0;
}

.page-contact section:nth-child(even) {
  background-color: var(--bg-white);
}

.page-contact h2 {
  font-size: 2.5em;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

.page-contact h3 {
  font-size: 1.5em;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* Contact Methods */
.page-contact .contact-methods {
  background-color: var(--bg-white);
}

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

.page-contact .method-card {
  background-color: var(--bg-light);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact .method-icon {
  width: 100px; /* Increased size for icons */
  height: 100px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact .method-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.page-contact .method-card p {
  font-size: 0.95em;
  color: var(--text-dark);
  margin-bottom: 25px;
}

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

.page-contact .method-button:hover {
  background: #0056b3; /* Darker blue for hover */
}

/* Contact Form */
.page-contact .contact-form-section {
  background-color: var(--bg-light);
}

.page-contact .contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--bg-white);
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.page-contact .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--primary-color);
}

.page-contact .form-group input,
.page-contact .form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-size: 1em;
  color: var(--text-dark);
  background-color: #fcfcfc;
}

.page-contact .form-group input::placeholder,
.page-contact .form-group textarea::placeholder {
  color: #888;
}

.page-contact .form-group input:focus,
.page-contact .form-group textarea:focus {
  border-color: var(--primary-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

.page-contact .submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  border-radius: 5px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact .submit-button:hover {
  background: #0056b3;
  transform: translateY(-2px);
}

/* FAQ Section */
.page-contact .faq-section {
  background-color: var(--bg-white);
}

.page-contact .faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.page-contact .faq-item {
  margin-bottom: 15px;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-white);
  overflow: hidden;
}

.page-contact .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: var(--bg-white);
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact .faq-question:hover {
  background: var(--bg-light);
}

.page-contact .faq-question h3 {
  margin: 0;
  font-size: 1.15em;
  color: var(--text-dark);
}

.page-contact .faq-toggle {
  font-size: 1.8em;
  font-weight: bold;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.page-contact .faq-item.active .faq-toggle {
  transform: rotate(45deg);
  color: var(--secondary-color);
}

.page-contact .faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  padding: 0 25px;
  color: var(--text-dark);
  background-color: #fcfcfc;
}

.page-contact .faq-item.active .faq-answer {
  max-height: 500px; /* Sufficient height for content */
  padding: 15px 25px 25px;
  border-top: 1px solid var(--border-color);
}

.page-contact .faq-answer p {
  margin: 0;
  font-size: 0.95em;
}

/* CTA Bottom */
.page-contact .cta-bottom {
  text-align: center;
  background: linear-gradient(135deg, var(--primary-color), #0056b3);
  color: var(--text-light);
  padding: 80px 20px;
}

.page-contact .cta-bottom h2 {
  color: var(--text-light);
  font-size: 2.8em;
  margin-bottom: 25px;
}

.page-contact .cta-bottom p {
  font-size: 1.2em;
  max-width: 900px;
  margin: 0 auto 40px;
}

.page-contact .cta-bottom .cta-button {
  background: var(--secondary-color);
  color: var(--text-dark);
}

.page-contact .cta-bottom .cta-button:hover {
  background: #e0a800;
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact .contact-hero h1 {
    font-size: 2.5em;
  }
  .page-contact h2 {
    font-size: 2em;
  }
  .page-contact .cta-bottom h2 {
    font-size: 2.2em;
  }
  .page-contact .methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact .contact-hero {
    padding: 60px 15px;
    min-height: 380px;
  }
  .page-contact .contact-hero h1 {
    font-size: 2em;
  }
  .page-contact .contact-hero p {
    font-size: 1em;
  }
  .page-contact .cta-button {
    padding: 12px 30px;
    font-size: 1em;
  }
  .page-contact section {
    padding: 40px 0;
  }
  .page-contact h2 {
    font-size: 1.8em;
    margin-bottom: 30px;
  }
  .page-contact h3 {
    font-size: 1.3em;
  }
  .page-contact .method-icon {
    width: 80px;
    height: 80px;
  }
  .page-contact .method-card {
    padding: 25px;
  }
  .page-contact .contact-form {
    padding: 30px;
  }
  .page-contact .form-group label {
    font-size: 0.95em;
  }
  .page-contact .form-group input,
  .page-contact .form-group textarea {
    padding: 10px 12px;
    font-size: 0.9em;
  }
  .page-contact .submit-button {
    padding: 12px;
    font-size: 1em;
  }
  .page-contact .faq-question {
    padding: 15px 20px;
  }
  .page-contact .faq-question h3 {
    font-size: 1em;
  }
  .page-contact .faq-toggle {
    font-size: 1.5em;
  }
  .page-contact .faq-answer {
    padding: 0 20px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 10px 20px 20px;
  }
  .page-contact .cta-bottom h2 {
    font-size: 1.8em;
  }
  .page-contact .cta-bottom p {
    font-size: 1em;
  }
}

@media (max-width: 480px) {
  .page-contact .contact-hero h1 {
    font-size: 1.8em;
  }
  .page-contact h2 {
    font-size: 1.5em;
  }
  .page-contact .cta-button {
    width: 100%;
    padding: 12px 20px;
  }
  .page-contact .methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact .method-card {
    padding: 20px;
  }
  .page-contact .contact-form {
    padding: 20px;
  }
  .page-contact .faq-question {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 15px;
  }
  .page-contact .faq-question h3 {
    margin-bottom: 8px;
  }
  .page-contact .faq-toggle {
    align-self: flex-end;
    margin-top: -30px;
  }
  .page-contact .faq-answer {
    padding: 0 15px;
  }
  .page-contact .faq-item.active .faq-answer {
    padding: 8px 15px 15px;
  }
  .page-contact .cta-bottom h2 {
    font-size: 1.6em;
  }
}