/* Contact Page Styles */
.contact-hero {
  text-align: center;
  margin-top: 20px;
  margin-bottom: -5px;
}

.contact-hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  margin-top: 0px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--light-gray);
  margin-bottom: 0;
  margin-top: -23px;
}

.contact-section {
  padding: 4rem 5%;
  max-width: 1400px;
  margin: 0 auto;
  margin-top: -55px;
}

.contact-container {
  display: flex;
  gap: 3rem;
  margin-bottom: 4rem;
}

.contact-container, .contact-form {
  flex: 1;
  background-color: rgba(26, 26, 26, 0.4);
  padding: 2.5rem;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.section-title,.form-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
}

.section-title::after{
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 160px;
  height: 3px;
  background-color: var(--primary);
}

.location-card {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-method img.contact-icon {
  width: 23px;
  height: 23px;
  object-fit: contain;
}

.location-details h3 {
  color: var(--light);
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.location-details p {
  color: var(--light-gray);
  line-height: 1.6;
}
.contact-hero h1 {
  font-size: 2.8rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--light-gray);
  text-decoration: none;
  transition: all 0.3s ease;
}

.contact-method:hover {
  color: var(--primary);
}

.contact-method i {
  color: var(--primary);
  width: 20px;
  text-align: center;
}

/* Map Container in Contact Info */
.contact-info .map-container {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  height: 300px;
  margin-top: 2rem;
}

.map-container {
  width: 100%; /* Adjust as needed */
  height: 400px; /* Set your desired height */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
/* Contact Form Styles */
.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--light);
  font-size: 1rem;
  transition: all 0.3s ease;
}
.contact-form select option {
  background-color: #222;   /* Dark background */
  color: #fff;              /* Light text */
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(220, 0, 0, 0.2);
}

.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc0000'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 15px;
}

/* Submit Button Styles */
.submit-btn {
  background-color: var(--primary) !important;
  color: white !important;
  border: none;
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
  height: 50px;
}

.submit-btn:hover {
  background-color: #c00000 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 0, 0, 0.3);
}

.privacy-link {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--light-gray);
  text-align: center;
}

.privacy-link a {
  color: var(--primary);
  text-decoration: underline;
}


/* FAQ Section Styles */
.contact-faq {
  background-color: rgba(26, 26, 26, 0.4);
  border-radius: 12px;
  padding: 2.5rem;
  margin: -4rem auto 2rem auto;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  max-width: 900px;
  width: 100%;
  position: relative; /* ✅ Required for z-index to work */
  z-index: 2;
}


.faq-title {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 2rem;
  font-weight: 600;
  position: relative;
  text-align: center;
}

.faq-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 160px;
  height: 3px;
  background-color: var(--primary);
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-item {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 1.2rem 1.5rem;
  color: var(--light);
}

.faq-question {
  font-weight: 600;
  color: var(--light);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.faq-answer {
  color: var(--light-gray);
  font-size: 1rem;
  line-height: 1.6;
}

.faq-answer a {
  color: var(--primary);
  text-decoration: underline;
}

/* Light Mode Adjustments */
body.light-mode .contact-form {
  background-color: #ffffff;
}

body.light-mode .contact-form input,
body.light-mode .contact-form select,
body.light-mode .contact-form textarea {
  background-color: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.1);
  color: var(--light);
}

body.light-mode .contact-container {
  background-color: #ffffff;
}
body.light-mode .contact-faq {
  background-color: #fafafa;
  color: #000;
}

body.light-mode .faq-item {
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #222;
}

body.light-mode .faq-question {
  color: #000;
}

body.light-mode .faq-answer {
  color: #555;
}

body.light-mode .faq-answer a {
  color: var(--primary);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .section-title::after{
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 135px;
    height: 3px;
    background-color: var(--primary);
  }
  .contact-hero h1 {
    font-size: 2.5rem;
    text-align: center;
    margin-left: 0;
    width: 100%;
  }

  .contact-hero p {
    font-size: 0.95rem;
    text-align: center;
    margin-left: 0;
    width: 100%;
  } 
    .contact-section {
    margin: 2rem 0; /* Remove any horizontal margin */
    padding: 1rem;
    width: 100%; /* Ensure full width */
    box-sizing: border-box;
  }
  
  .contact-container {
    flex-direction: column;
    padding: 1rem;
  }
  
  .contact-info, .contact-form {
    padding: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .contact-info .map-container {
    height: 250px;
  }

  .map-container {
  width: 100%; /* Adjust as needed */
  height: 400px; /* Set your desired height */
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.contact-faq {
  margin: -4rem auto 1rem auto;
  padding: 1rem;
  width: 100%;
  max-width: 340px; /* ✅ Set desired width */
  box-sizing: border-box;
}

 .faq-title {
    font-size: 1.8rem;
  }

  .faq-question {
    font-size: 1rem;
  }

  .faq-answer {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.6rem;
  }
  
  .location-card {
    flex-direction: column;
    gap: 1rem;
  }
  
  .contact-info .map-container {
    height: 200px;
  }
}