/* Color palette */
:root {
  --primary: #0a2e5c;
  --accent: #f9b233;
  --bg: #fff;
}

.contact-heading {
  text-align: center;
  font-size: 2.5rem;
  color: var(--primary);
  margin-top: 32px;
  margin-bottom: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  position: relative;
}
.contact-heading::after {
  content: '';
  display: block;
  margin: 16px auto 0 auto;
  width: 70px;
  height: 5px;
  background: var(--accent);
  border-radius: 3px;
}
/* Business Contact Explanation */
.contact-explain {
  max-width: 700px;
  margin: 0 auto 24px auto;
  font-size: 1.13rem;
  color: var(--primary);
  text-align: center;
  line-height: 1.7;
  padding: 16px 18px 10px 18px;
  background: #f9f9fb;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(10,46,92,0.04);
  border-left: 6px solid var(--accent);
  border-right: 6px solid var(--accent);
  font-weight: 500;
}

/* Form & map */
/* overall section */
.contact-section {
  background: #ffffff;
  padding: 40px 4vw 40px 4vw;
  font-family: Arial, sans-serif;
  overflow-x: hidden;
}

.contact-section h2 {
  text-align: center;
  font-size: 2.2rem;
  color: #001f2c;
  margin-bottom: 40px;
  position: relative;
}

/* container: form left + map right */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* left form */
.contact-form {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 500px;
  background: #001f2c;
  color: #ffffff;
  padding: 28px 18px;
  border-radius: 10px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(50px);
  opacity: 0;
  animation: fadeUp 1s forwards;
}

.contact-form .logo {
  display: block;
  margin: 0 auto 20px;
  width: 80px;
}

.contact-form input,
  .contact-form textarea {
  width: 100%;
  padding: 12px 15px;
  margin-bottom: 15px;
  border: none;
  border-radius: 5px;
  font-size: 1rem;
  outline: none;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #666;
}

.contact-form button {
  width: 100%;
  padding: 12px 15px;
  background: #f5b556;
  color: #001f2c;
  font-size: 1.1rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all .3s ease;
}

.contact-form button:hover {
  background: #ffffff;
  color: #001f2c;
}

/* right map */
.contact-map {
  flex: 1 1 340px;
  min-width: 260px;
  max-width: 600px;
  height: 450px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  transform: translateY(50px);
  opacity: 0;
  animation: fadeUp 1s .3s forwards;
  box-sizing: border-box;
}
.contact-map iframe {
  width: 100% !important;
  height: 100% !important;
  min-width: 200px;
  min-height: 200px;
  border: 0;
  display: block;
}

/* animation */
@keyframes fadeUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* responsive tweaks */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    gap: 18px;
    max-width: 98vw;
    padding: 0;
  }
  .contact-form, .contact-map {
    max-width: 98vw;
    min-width: 0;
    margin: 0 auto;
    box-sizing: border-box;
  }
  .contact-map {
    height: 260px;
  }
}
@media (max-width: 480px) {
  .contact-section {
    padding: 18px 2vw 18px 2vw;
  }
  .contact-form, .contact-map {
    padding: 8px 2vw;
    max-width: 100vw;
    min-width: 0;
    border-radius: 7px;
  }
  .contact-form input, .contact-form textarea {
    font-size: 0.97rem;
    padding: 10px 8px;
  }
  .contact-map {
    height: 180px;
  }
  .contact-explain {
    font-size: 0.98rem;
    padding: 0 2vw;
  }
}


/* Form & map End */