/* Contact Page Specific Styles */

/* Contact Header */
.contact-header {
  padding: 60px 0;
  background-color: var(--primary);
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "$";
  position: absolute;
  font-size: 400px;
  bottom: -150px;
  right: -50px;
  font-weight: bold;
  opacity: 0.05;
  color: var(--white);
  line-height: 0.8;
}

.page-header::after {
  content: "%";
  position: absolute;
  font-size: 300px;
  top: -80px;
  left: -50px;
  font-weight: bold;
  opacity: 0.05;
  color: var(--white);
  line-height: 0.8;
}

.contact-header .container {
  position: relative;
  z-index: 2;
}

.contact-header h1 {
  font-size: 3.2rem;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.contact-header h1::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: var(--secondary);
}

.contact-header p {
  font-size: 1.3rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Contact Info Section */
.contact-info {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: flex-start;
}

/* Contact Form */
.contact-form {
  background-color: var(--white);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--primary);
}

.contact-form h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

.contact-form h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--black);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  font-size: 1rem;
  font-family: "Manrope", sans-serif;
  transition: all 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary);
  color: var(--white);
  padding: 12px 30px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-submit:hover {
  background-color: var(--secondary);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Details */
.contact-details {
  background-color: var(--white);
  padding: 40px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.05);
  border-top: 5px solid var(--secondary);
}

.contact-details h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: var(--primary);
  position: relative;
  padding-bottom: 15px;
}

.contact-details h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--secondary);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 25px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-right: 20px;
  flex-shrink: 0;
}

.contact-text h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: var(--black);
}

.contact-text p {
  font-size: 1rem;
  color: var(--black);
  line-height: 1.6;
  margin: 0;
}

.contact-text a {
  color: var(--primary);
  transition: all 0.3s ease;
}

.contact-text a:hover {
  color: var(--secondary);
}

/* Business Hours */
.business-hours {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.business-hours h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}

.hours-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--black);
}

.hours-item span:last-child {
  font-weight: 600;
}

/* Map Section */
.map-section {
  height: 400px;
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background-color: var(--primary);
  opacity: 0.1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--black);
}

/* Responsive Adjustments */
@media screen and (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-details {
    order: -1;
  }
}

@media screen and (max-width: 768px) {
  .contact-header h1 {
    font-size: 2.5rem;
  }

  .contact-header p {
    font-size: 1.1rem;
  }

  .contact-form,
  .contact-details {
    padding: 30px 20px;
  }

  .contact-form h2,
  .contact-details h2 {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 576px) {
  .contact-info-item {
    flex-direction: column;
  }

  .contact-icon {
    margin-bottom: 15px;
    margin-right: 0;
  }
}

/* Contact Page Styles */

/* Page Header */
.page-header {
  background: var(--primary);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "$";
  position: absolute;
  font-size: 400px;
  bottom: -150px;
  right: -50px;
  font-weight: bold;
  opacity: 0.05;
  color: var(--white);
  line-height: 0.8;
}

.page-header::after {
  content: "%";
  position: absolute;
  font-size: 300px;
  top: -80px;
  left: -50px;
  font-weight: bold;
  opacity: 0.05;
  color: var(--white);
  line-height: 0.8;
}

.page-header h1 {
  color: var(--white);
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.page-header p {
  color: var(--white);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Contact Info Section */
.contact-info {
  padding: 80px 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-details h2 {
  margin-bottom: 30px;
  color: var(--primary);
}

.contact-details p {
  margin-bottom: 30px;
  line-height: 1.6;
}

.contact-method {
  display: flex;
  margin-bottom: 30px;
}

.icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.icon i {
  color: var(--white);
  font-size: 1.2rem;
}

.info h3 {
  margin-bottom: 5px;
  color: var(--primary);
}

.info p {
  margin-bottom: 5px;
}

.info .subtext {
  font-size: 0.9rem;
  color: #777;
}

/* Contact Form */
.contact-form-container {
  background: var(--white);
  padding: 30px;
  border: 2px solid var(--primary);
}

.contact-form-container h2 {
  margin-bottom: 30px;
  color: var(--primary);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  background: #f9f9f9;
  font-family: "Manrope", sans-serif;
  font-size: 1rem;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
}

.form-check {
  display: flex;
  align-items: flex-start;
}

.form-check-input {
  margin-top: 5px;
  margin-right: 10px;
}

.form-check-label {
  font-size: 0.9rem;
  line-height: 1.4;
}

.form-check-label a {
  color: var(--primary);
  text-decoration: none;
}

.form-check-label a:hover {
  text-decoration: underline;
}

/* Map Section */
.map-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.map-section h2 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--primary);
}

.map-container {
  position: relative;
  width: 100%;
  border: 2px solid var(--primary);
  overflow: hidden;
}

.map-embed {
  width: 100%;
  height: 450px;
  display: block;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* FAQ Section */
.faq {
  padding: 140px 0;
  background-color: #fff;
}

.faq h2 {
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary);
}

.faq-accordion {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  border: 2px solid var(--primary);
}

.faq-question {
  padding: 20px;
  background-color: #fff;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question h3 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

.faq-toggle {
  background-color: var(--primary);
  width: 30px;
  height: 30px;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.faq-toggle i {
  color: #fff;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle i {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.faq-answer p {
  margin-bottom: 15px;
  line-height: 1.6;
}

.faq-answer ul {
  margin-left: 20px;
  margin-bottom: 15px;
}

.faq-answer ul li {
  margin-bottom: 8px;
  line-height: 1.5;
}

/* CTA Section */
.cta {
  background: var(--primary);
  padding: 60px 0;
  text-align: center;
  color: var(--white);
}

.cta h2 {
  margin-bottom: 20px;
  color: var(--white);
}

.cta p {
  max-width: 800px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-details {
    margin-bottom: 40px;
  }
}

@media (max-width: 768px) {
  .page-header {
    padding: 60px 0;
  }

  .contact-info {
    padding: 60px 0;
  }

  .map-embed {
    height: 350px;
  }

  .faq-question h3 {
    font-size: 1rem;
  }
}

@media (max-width: 576px) {
  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .contact-method {
    flex-direction: column;
  }

  .icon {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .map-embed {
    height: 300px;
  }
}
