.contact-page {
  box-sizing: border-box;
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 132px;
}

h1 span {
  color: #4000a9;
}

.l {
  height: 200px;
  position: absolute;
  top: 50px;
  left: 30px;
}
.r {
  height: 200px;
  position: absolute;
  top: 50px;
  right: 30px;
}

main {
  max-width: 100%;
}
.cta-button--primary {
  padding: 12px 60px;
}
/* Reach Out Section */
.reach-out-section {
  padding: 0;
}

.reach-out-container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

.reach-out-title {
  text-align: center;
  margin-bottom: 16px;
  color: #290074;
}

.reach-out-text {
  text-align: center;
  margin: 0 auto 40px;
  color: #333;
  line-height: 1.5;
}

/* Contact Form Styles */
.contact-form-container {
  margin: 0 auto 60px;
  background-color: #fff;
  border-radius: 8px;
  padding: 60px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.form-row {
  display: flex;
  gap: 20px;
  width: 100%;
}

.form-group {
  flex: 1;
}

.form-group.full-width {
  width: 100%;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px;
  border-radius: 40px;
  border: 1px solid #b1b1af;

  background: #f4f4f2;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
  border-radius: 16px;
  border: 1px solid #b1b1af;

  background: #f4f4f2;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.submit-btn {
  background: linear-gradient(90deg, #6a11cb 0%, #2575fc 100%);
  color: white;
  padding: 15px 40px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(106, 17, 203, 0.3);
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(106, 17, 203, 0.4);
}

/* Contact Info Styles */
.contact-info-container {
  display: flex;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto 60px;
  text-align: center;
}

.contact-info-section {
  flex: 1;
}

.contact-info-section h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #323232;
  font-weight: 500;
}

.contact-info-section a {
  color: #4000a9;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s ease;
  font-weight: 600;
}

.contact-info-section a:hover {
  color: #6a11cb;
}

/* Locations Styles */
.contact-locations-container {
  display: flex;
  max-width: 1080px;
  margin: 0 auto;
  gap: 40px;
}

.headquarters-section {
  flex: 4;
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
}

.map-container {
  width: 100%;
  height: 250px;
  overflow: hidden;
  border-radius: 8px;
}

.map-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.headquarters-info {
  padding: 40px;
}

.headquarters-info h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #290074;
}

.headquarters-info p {
  margin-bottom: 10px;
  color: #333;
  line-height: 1.5;
}

.headquarters-info a {
  color: #4000a9;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.headquarters-info a:hover {
  color: #6a11cb;
}

.other-locations-section {
  display: flex;
  flex-direction: column;
  background: #fff;
  flex: 1;
  padding: 40px;
  align-self: center;
  border-radius: 16px;
  gap: 40px;
}

.other-locations-section h3 {
  font-size: 16px;
  font-weight: 500;
  color: #323232;
}

.locations-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.locations-list li {
  display: flex;
  align-items: center;
  color: #4000a9;
  font-size: 16px;
  font-weight: 600;
}

.location-icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  vertical-align: middle;
}

.locations-list .location-item {
  cursor: pointer;
  padding: 5px 0;
  transition: color 0.3s ease;
}

.locations-list .location-item:hover {
  color: #5a2fc0;
}

.locations-list .location-item.active {
  color: #5a2fc0;
  font-weight: 600;
}

/* Breakpoint 1 - Tablet */
@media (max-width: 768px) {
  .contact-page {
    gap: 60px;
  }
  .l {
    height: 200px;
    position: absolute;
    top: 50px;
    left: -200px;
  }
  .r {
    height: 200px;
    position: absolute;
    top: 50px;
    right: -200px;
  }
  .hero-content {
    max-width: 500px;
  }
  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .contact-info-container {
    flex-direction: row;
    gap: 30px;
  }

  .contact-locations-container {
    flex-direction: row;
  }

  .contact-form-container {
    padding: 30px 20px;
  }
}

/* Breakpoint 2 - Mobile */
@media (max-width: 576px) {
  .l {
    height: 200px;
    position: absolute;
    top: -50px;
    left: -218px;
  }

  .r {
    height: 200px;
    position: absolute;
    top: 120px;
    right: -230px;
  }
  .reach-out-section {
    padding: 0px 10px;
  }

  .contact-form-container {
    padding: 20px 15px;
  }

  .submit-btn {
    width: 100%;
  }

  .fom-row {
    margin-bottom: 0;
  }
  .contact-info-container {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .contact-locations-container {
    flex-direction: column;
  }

  .headquarters-section {
    order: 1;
  }
  .other-locations-section {
    width: 100%;
    order: 1;
    align-items: center;
  }
  .locations-list {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
}
