:root {
  --primary: #d4af37;
  --primary-dark: #675303ff;
  --dark: #0a1937;
  --muted: #e5e7eb;
  --white: #fff;
}

/* GLOBAL STYLES */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

/* ========== HERO SECTION ========== */
.contact-hero {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 60px;
  padding: 149px 10%;
  background: #eef3ff;
  overflow: hidden;
}

/* Left column */
.contact-hero .left {
  flex: 1;
  padding-top: 30px;
  animation: fadeInLeft 1s ease forwards;
  opacity: 0;
}

/* Right column (form) */
.contact-hero .right {
  flex: 1;
  background: var(--white);
  border-radius: 12px;
  padding: 35px 28px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  animation: fadeInRight 1.2s ease forwards;
  opacity: 0;
}

/* BADGE */
.badge {
  display: inline-block;
  background: var(--primary);
  color: var(--white);
  padding: 10px 18px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 6px;
  letter-spacing: 0.6px;
  margin-bottom: 15px;
  animation: fadeInUp 1.2s ease forwards;
  opacity: 0;
}

/* HEADINGS */
.contact-hero h1 {
  font-size: 42px;
  margin: 20px 0;
  line-height: 1.3;
  animation: fadeInUp 1.4s ease forwards;
  opacity: 0;
}

.contact-hero p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
  animation: fadeInUp 1.6s ease forwards;
  opacity: 0;
}

/* FORM STYLES */
form h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 22px;
  color: var(--dark);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 12px;
  margin: 8px 0;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  outline: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

form input:focus,
form select:focus,
form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 4px rgba(11, 94, 215, 0.3);
}

.form-row {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

#formMsg {
  margin-top: 10px;
  font-size: 14px;
  color: green;
  text-align: center;
}

/* BENEFITS LIST */
.benefits {
  list-style: none;
  padding: 0;
  margin-top: 25px;
}

.benefits li {
  margin-bottom: 10px;
  font-size: 15px;
  color: #333;
  display: flex;
  align-items: center;
  gap: 6px;
}

.benefits li::before {
  content: "✔️";
}

/* ========== LOCATIONS SECTION ========== */
.locations {
  padding: 80px 7%;
  text-align: center;
  margin-top: -123px;
  background: var(--white);
}

.locations h2 {
  font-size: 30px;
  margin-bottom: 10px;
}

.subtext {
  width: 60%;
  margin: 0 auto 40px;
  color: #777;
  font-size: 15px;
}

.location-grid {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.location-box {
  width: 30%;
  text-align: left;
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  box-sizing: border-box;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(11, 94, 215, 0.1);
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  0% {
    opacity: 0;
    transform: translateX(-40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  0% {
    opacity: 0;
    transform: translateX(40px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ========== RESPONSIVENESS ========== */
@media (max-width: 1024px) {
  .contact-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 80px 6%;
  }

  .contact-hero .right {
    max-width: 600px;
    width: 100%;
  }

  .contact-hero h1 {
    font-size: 34px;
  }

  .contact-hero p {
    font-size: 15px;
  }

  .location-box {
    width: 45%;
  }

  .subtext {
    width: 80%;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    padding: 60px 5%;
  }

  .contact-hero h1 {
    font-size: 30px;
  }

  .contact-hero p {
    font-size: 14px;
    font-size: 1.2rem;
  }

  .location-box {
    width: 80%;
    text-align: center;
    border-left: none;
    border-top: 3px solid var(--primary);
    padding-left: 0;
    padding-top: 15px;
  }

  .subtext {
    width: 90%;
  }
}

@media (max-width: 576px) {
  .contact-hero {
    padding: 102px 5%;
    margin-top: 44px;
    gap: 25px;
  }

  .contact-hero h1 {
    font-size: 24px;
  }

  form h2 {
    font-size: 18px;
    margin-bottom: 15px;
  }

  form input,
  form select,
  form textarea {
    font-size: 13px;
    padding: 10px;
  }

  .btn-submit {
    padding: 10px;
    font-size: 14px;
  }

  .subtext {
    width: 100%;
  }

  .location-box {
    width: 100%;
    padding-top: 12px;
  }
}

@media (max-width: 400px) {
  .contact-hero h1 {
    font-size: 22px;
    line-height: 1.3;
  }

  .contact-hero p {
    font-size: 13px;
  }

  .btn-submit {
    font-size: 13px;
    padding: 9px;
  }

  .benefits li {
    font-size: 14px;
  }

  .subtext {
    font-size: 14px;
  }
}
