body, html {
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

.hero-section {
  height: 60vh;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background-image: linear-gradient(rgba(44, 62, 80, 0.7), rgba(44, 62, 80, 0.7)), url('/public/images/contact/OutsourcingDev_Contact_Us.webp');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 40px 20px 30px 20px;
  box-shadow: 0 8px 32px rgba(61,155,233,0.10);
}

.hero-section h1 {
  margin-bottom: 18px;
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(44,62,80,0.18);
}
.hero-section h1 span {
  color: #FFD56B;
  background: linear-gradient(90deg, #FFD56B 60%, #58dac0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-section .subtitle {
  font-size: 1.15rem;
  margin-bottom: 32px;
  opacity: 0.92;
  color: #eafaf7;
}

.hero-section .btn-primary {
  padding: 15px 32px;
  background: linear-gradient(90deg, #58dac0 0%, #3D9BE9 100%);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(.4,2,.6,1);
  font-weight: 700;
  margin-top: 18px;
  box-shadow: 0 4px 16px rgba(61,155,233,0.10);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-section .btn-primary:hover {
  background: linear-gradient(90deg, #3D9BE9 0%, #58dac0 100%);
  color: #fff;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(61,155,233,0.18);
}

.contact-section {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 20px;
  background-color: #fff;
}

.contact-layout {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px 80px 20px;
  background: #f8fafd;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(61,155,233,0.07);
}

.contact-form-wrapper, .locations-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 36px 28px 28px 28px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(61,155,233,0.07);
  background: #fff;
  min-height: 420px;
  transition: transform 0.3s, box-shadow 0.3s;
  margin-bottom: 0;
}
.contact-form-wrapper:hover, .locations-wrapper:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 16px 32px rgba(61,155,233,0.13);
}

.contact-form-wrapper h2, .locations-wrapper h2 {
  text-align: center;
  color: #58dac0;
  margin-bottom: 18px;
  border-bottom: 3px solid #FFD56B;
  display: inline-block;
  padding-bottom: 8px;
  min-height: 40px;
  line-height: 40px;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: none;
}

.contact-form {
  width: 100%;
  max-width: 500px;
  text-align: center;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 18px;
  border: 1.5px solid #eafaf7;
  border-radius: 10px;
  background: #f5f8fa;
  color: #2c3e50;
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #58dac0;
  box-shadow: 0 0 8px rgba(88,218,192,0.18);
  background: #fff;
}

.contact-form button {
  width: 100%;
  padding: 14px 0;
  background: linear-gradient(90deg, #58dac0 0%, #3D9BE9 100%);
  color: #fff;
  font-size: 1.08rem;
  font-weight: 700;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 10px;
  box-shadow: 0 4px 16px rgba(61,155,233,0.10);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.contact-form button:hover {
  background: linear-gradient(90deg, #FFD56B 0%, #58dac0 100%);
  color: #2c3e50;
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 24px rgba(61,155,233,0.13);
}

.locations-wrapper {
  flex: 1;
  max-width: 500px;
  background: #f8fafd;
  padding: 28px;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(61,155,233,0.07);
}
.locations-wrapper .locations-image {
  margin-top: 20px;
  max-width: 80%;
  border-radius: 12px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 2px 8px rgba(61,155,233,0.06);
}
.locations-container {
  width: 100%;
  max-width: 500px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.location {
  text-align: left;
  background: #fff;
  padding: 18px 18px 12px 18px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(61,155,233,0.05);
  transition: transform 0.3s, box-shadow 0.3s;
  border-left: 4px solid #58dac0;
}
.location:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 8px 18px rgba(61,155,233,0.10);
  border-left: 4px solid #FFD56B;
}
.location h3 {
  font-size: 1.18rem;
  color: #3D9BE9;
  margin-bottom: 8px;
  font-weight: 700;
}
.location p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 0;
}

.contact-icons img {
  width: 100%;
  max-width: 300px;
  display: block;
  margin: 40px auto;
  border-radius: 10px;
}

/* Text button styling */
.text-button {
  background: none;
  border: none;
  color: #58dac0;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font: inherit;
  display: inline;
}

.text-button:hover {
  color: #45b89d;
}

/* Modal styling */
.contact-modal {
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-modal-content {
  background-color: #fff;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  color: #777;
}

.contact-modal h3 {
  color: #6998e1;
  margin-bottom: 15px;
}

.contact-modal ul {
  padding-left: 20px;
  margin-top: 15px;
}

.contact-modal li {
  margin-bottom: 10px;
}

.contact-modal a {
  color: #58dac0;
  text-decoration: none;
}

.contact-modal a:hover {
  text-decoration: underline;
}

/* Form note and alternative contact options */
.form-note {
  margin-top: 15px;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
}

.centered-title {
  text-align: center;
  color: #2c3e50;
  font-size: 2.1rem;
  font-weight: 800;
  margin: 60px 0 20px 0;
  letter-spacing: 0.5px;
  line-height: 1.3;
  background: linear-gradient(90deg, #3D9BE9 0%, #58dac0 60%, #FFD56B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  text-shadow: 0 2px 8px rgba(44,62,80,0.08);
  border: none;
  padding-bottom: 0;
  min-height: unset;
  display: block;
}

@media (max-width: 992px) {
  .hero-section h1 {
    font-size: 2rem;
  }
  .hero-section {
    padding: 30px 10px 20px 10px;
    min-height: 220px;
  }
  .contact-layout {
    flex-direction: column;
    gap: 24px;
    padding: 30px 10px 40px 10px;
  }
  .contact-form-wrapper, .locations-wrapper {
    max-width: 100%;
    min-height: auto;
    padding: 18px 10px 18px 10px;
  }
  .centered-title {
    font-size: 1.5rem;
    margin: 40px 0 10px 0;
  }
}

@media (max-width: 576px) {
  .hero-section h1 {
    font-size: 1.2rem;
  }
  .hero-section {
    padding: 18px 4px 10px 4px;
    min-height: 120px;
    border-radius: 0 0 18px 18px;
  }
  .contact-layout {
    padding: 10px 2px 18px 2px;
    border-radius: 8px;
  }
  .contact-form-wrapper, .locations-wrapper {
    padding: 10px 2px 10px 2px;
    border-radius: 8px;
  }
  .locations-wrapper .locations-image {
    max-width: 100%;
    border-radius: 8px;
  }
  .centered-title {
    font-size: 1.1rem;
    margin: 25px 0 5px 0;
  }
}
