.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

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

/* Hero Section */
.page-contact__hero {
  background-color: #007BFF; /* Main color for hero background */
  color: #fff;
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #fff;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 900px;
  z-index: 1;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.8;
  max-width: 800px;
  z-index: 1;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: 0;
}

/* General Section Styling */
.page-contact__section {
  padding: 60px 0;
  background-color: #f9f9f9;
  border-bottom: 1px solid #eee;
}

.page-contact__section:nth-of-type(even) {
  background-color: #fff;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #007BFF; /* Main color for section titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-description {
  font-size: 1.1em;
  color: #555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Buttons */
.page-contact__btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1em;
}

.page-contact__btn--primary {
  background-color: #FFC107; /* Accent color for primary buttons */
  color: #333; /* Dark text for contrast on accent color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.page-contact__btn--primary:hover {
  background-color: #e0a800;
  transform: translateY(-2px);
}

.page-contact__btn--secondary {
  background-color: #007BFF; /* Main color for secondary buttons */
  color: #fff; /* White text for contrast on main color */
  border: 1px solid #007BFF;
  margin-top: 15px;
  z-index: 1;
}

.page-contact__btn--secondary:hover {
  background-color: #0056b3;
  border-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__btn--small {
  padding: 8px 18px;
  font-size: 0.9em;
  margin-top: 10px;
}

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

.page-contact__method-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-contact__method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.page-contact__method-title {
  font-size: 1.6em;
  color: #007BFF;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__method-text {
  color: #666;
  font-size: 1em;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__email-address, .page-contact__phone-number {
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.page-contact__link {
  color: #007BFF;
  text-decoration: none;
}

.page-contact__link:hover {
  text-decoration: underline;
}

.page-contact__method-image {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  object-fit: contain;
  opacity: 0.1;
  z-index: 0;
}

/* Contact Form */
.page-contact__contact-form-section {
  position: relative;
  overflow: hidden;
}

.page-contact__form {
  max-width: 600px;
  margin: 40px auto 0 auto;
  background-color: #fff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  z-index: 1;
  position: relative;
}

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

.page-contact__form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.page-contact__form-group input[type="text"],
.page-contact__form-group input[type="email"],
.page-contact__form-group textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
  background-color: #fefefe;
}

.page-contact__form-group input[type="text"]:focus,
.page-contact__form-group input[type="email"]:focus,
.page-contact__form-group textarea:focus {
  border-color: #007BFF;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.page-contact__form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.page-contact__form-group--checkbox {
  display: flex;
  align-items: center;
}

.page-contact__form-group--checkbox input {
  margin-right: 10px;
  width: auto;
}

.page-contact__form-image {
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 300px;
  height: auto;
  opacity: 0.1;
  z-index: 0;
  transform: rotate(-15deg);
}

/* FAQ Section */
.page-contact__faq-list {
  margin-top: 40px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__faq-item {
  background-color: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  margin-bottom: 15px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page-contact__faq-question {
  padding: 18px 25px;
  font-size: 1.2em;
  color: #007BFF;
  cursor: pointer;
  position: relative;
  margin: 0;
  background-color: #f0f7ff; /* Light blue background for questions */
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-contact__faq-question::after {
  content: '+';
  font-size: 1.5em;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.page-contact__faq-item.active .page-contact__faq-question::after {
  content: '-';
  transform: rotate(180deg);
}

.page-contact__faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, padding 0.4s ease-out;
  color: #444;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 500px; /* Adjust as needed */
  padding: 15px 25px 25px 25px;
}

.page-contact__faq-answer p {
  margin-bottom: 10px;
}

.page-contact__faq-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 400px;
  height: auto;
  opacity: 0.8;
}

/* Location Section */
.page-contact__location-details {
  background-color: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  max-width: 700px;
  margin: 40px auto;
  text-align: center;
}

.page-contact__location-details p {
  font-size: 1.1em;
  color: #444;
  margin-bottom: 10px;
}

.page-contact__location-details strong {
  color: #007BFF;
}

.page-contact__location-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Social Section */
.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 40px;
}

.page-contact__social-icon {
  display: block;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease;
}

.page-contact__social-icon:hover {
  transform: translateY(-5px) scale(1.1);
}

.page-contact__social-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.page-contact__social-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 500px;
  height: auto;
  opacity: 0.8;
}

/* Commitment Section */
.page-contact__commitment-section {
  background-color: #007BFF;
  color: #fff;
  padding: 80px 0;
}

.page-contact__commitment-section .page-contact__section-title {
  color: #FFC107;
}

.page-contact__commitment-section .page-contact__section-description {
  color: #e0f2ff;
}

.page-contact__commitment-image {
  display: block;
  margin: 40px auto 0 auto;
  max-width: 700px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Responsive Design */
@media (max-width: 992px) {
  .page-contact__hero-title {
    font-size: 2.5em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__methods-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .page-contact__hero {
    padding: 60px 0;
  }
  .page-contact__hero-title {
    font-size: 2em;
  }
  .page-contact__hero-description,
  .page-contact__section-description {
    font-size: 1em;
  }
  .page-contact__section {
    padding: 40px 0;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__form {
    padding: 30px;
  }
  .page-contact__faq-question {
    font-size: 1.1em;
    padding: 15px 20px;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 10px 20px 20px 20px;
  }
  .page-contact__location-details,
  .page-contact__form-image,
  .page-contact__faq-image,
  .page-contact__location-image,
  .page-contact__social-image,
  .page-contact__commitment-image {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-contact__method-image {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.7em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__btn {
    padding: 10px 20px;
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__method-card {
    padding: 20px;
  }
  .page-contact__method-title {
    font-size: 1.4em;
  }
  .page-contact__form {
    padding: 20px;
  }
  .page-contact__form-group label {
    font-size: 0.9em;
  }
  .page-contact__form-group input,
  .page-contact__form-group textarea {
    padding: 10px;
    font-size: 0.9em;
  }
  .page-contact__social-links {
    gap: 15px;
  }
  .page-contact__social-icon {
    width: 40px;
    height: 40px;
  }
}