/* ── Form Layout ── */
    .contact-grid-wrapper {
      /* max-width: 640px; */
      /* margin: 0 auto; */
    }
    .contact-form-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 36px;
      box-shadow: var(--shadow-md);
    }
    .contact-form-card h3 {
      font-size: 1.6rem;
      color: var(--primary-dark);
      margin-bottom: 24px;
    }
    .form-group {
      margin-bottom: 16px;
    }
    .form-group label {
      display: block;
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 6px;
    }
    .form-group input,
    .form-group textarea {
      width: 100%;
      padding: 10px 14px;
      border: 1px solid #ddd;
      border-radius: var(--radius-sm);
      font-size: 1rem;
      font-family: inherit;
      background: #fff;
      transition: border-color .2s;
    }
    .form-group input:focus,
    .form-group textarea:focus {
      outline: none;
      border-color: var(--primary);
    }
    .name-row {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 16px;
    }

    /* ── Success Toast ── */
    .form-success {
      display: none;
      position: fixed;
      top: 24px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 9999;
      background: rgba(82,183,136,0.15);
      border: 2px solid var(--accent);
      border-radius: var(--radius-md);
      padding: 24px 36px;
      text-align: center;
      box-shadow: 0 8px 32px rgba(0,0,0,0.18);
      opacity: 0;
      transition: opacity 0.3s ease;
      min-width: 280px;
      max-width: 90vw;
    }
    .form-success.show {
      opacity: 1;
    }


.picture {
  height: 24rem;
  overflow: hidden;
}

.picture img {
  width: 100%;
  height: 100%;
 object-position: 20%;         /* This makes the image exactly 9rem tall (50% of 18rem) */
  object-fit: cover;   /* This stops it from looking squished! */
  border-radius: 0.6rem;
  position: relative;
}



    .form-success.show { display: block; }
    .form-success .success-icon {
      font-size: 2rem;
      margin-bottom: 8px;
    }
    .form-success p {
      color: var(--primary-dark);
      font-weight: 600;
    }
    .form-success .success-sub {
      color: var(--text-muted);
      font-weight: 400;
      font-size: 1rem;
      margin-top: 4px;
    }
.hero-tag{
  font-size: 1.6rem;
  color: var(--primary);
  font-weight: 700;
    padding: 1.8rem;

  /* margin-bottom: 48px; */
}

.contact-hero{
  padding: 12vh 0;
}
    /* ── Contact Hero Grid ── */
.content{
  background-color: #ffffff;
  border-radius: 1rem;
  padding:2.1rem 1.8rem;
  gap:1rem;
  display: flex;
  flex-direction: column ;

}

    .contact-hero-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 48px;
      align-items: start;
      padding:  3rem ;
      
    }
    .contact-hero-left {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 24px;
    }
    .contact-item {
      display: flex;
      align-items: flex-start;
      gap: 16px;
    }
    .contact-icon {
      width: 48px;
      height: 48px;
      border-radius: var(--radius-md);
      background: var(--accent-light);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }
    .contact-item h4 {
      font-size: 0.9rem;
      font-weight: 600;
      color: var(--text-light);
      margin-bottom: 4px;
    }
    .contact-item p {
      font-size: 1.1rem;
      color: var(--text);
      font-weight: 600;
    }
    .contact-item p a {
      color: var(--primary);
      text-decoration: none;
    }
    .contact-item p a:hover {
      text-decoration: underline;
    }
    .contact-hero-right {
      /* padding: 1.2rem; */
    }
    .contact-hero-grid > img {
      width: 100%;
      height: 30rem;
      object-fit: cover;
      grid-column: 1 / -1;
      border-radius: var(--radius-md);
    }
    .contact-hero-right h3 {
      font-size: 1.2rem;
      color: var(--primary-dark);
      margin-bottom: 24px;
    }

    /* ── Direct Contact Card ── */
    .direct-contact-card {
      /* background: var(--bg-card); */
      border-radius: var(--radius-md);
      padding: 36px;
      /* box-shadow: var(--shadow-md); */
    }
    .direct-contact-card h3 {
      font-size: 1.2rem;
      color: var(--primary-dark);
      margin-bottom: 24px;
    }

    /* ── Social Section ── */
    .social-grid {
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .social-grid .social-card p {
      color: var(--primary);
    }
    .social-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 28px 24px;
      box-shadow: var(--shadow-sm);
      display: flex;
      align-items: center;
      gap: 16px;
      transition: transform .3s, box-shadow .3s;
    }
    .social-card:hover {
      transform: translateY(-4px);
      /* box-shadow: var(--shadow-md); */
    }
    .social-icon {
      width: 52px;
      height: 52px;
      border-radius: var(--radius-sm);
      background: var(--bg-alt);
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }
    .social-card h4 {
      font-size: 1rem;
      color: var(--primary-dark);
      margin-bottom: 2px;
    }
    .social-card p {
      font-size: 1rem;
      color: var(--text-muted);
    }

    /* ── Map Placeholder ── */
    .map-placeholder {
      min-height: 300px;
    }

 
/* ── Inline styles converted to classes ── */
.text-primary { color: var(--primary); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }

/* ── Additional inline styles from website/src/contact.html ── */
.contact-hero { padding: 6% 0; }
.direct-contact-card { margin-bottom: 32px; }
.contact-row { display: flex; flex-direction: row; justify-content: space-between; }
.social-heading { font-size: 1.2rem; color: var(--primary-dark); margin-bottom: 16px; }

/* ── Inquiry Checkboxes ── */


.form-submit-wrapper{
  justify-content: center;
  display: flex;
}
.inquiry-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: flex-start; /* This forces the checkboxes to the left */
  gap: 1.2rem;               /* Space between each row */
  width: 100%;             /* Ensure it takes full width */
  padding-top: 10px;
  align-items: center;
}

.checkbox-item {
  padding:0 0.3rem;
  display: flex;
  align-items: center;
  gap: 8px;               /* Small gap between box and text */
  cursor: pointer;
  width: fit-content;     /* Prevents the item from stretching */
}

.checkbox-item label {
  cursor: pointer;
  margin: 0;              /* Remove any default browser margins */
  display: flex;
  gap: 5px;               /* Space between ZH and EN text */
}

.checkbox-item input[type="checkbox"] {
  margin: 0;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  background-color:aqua;
}

/* Checked state: highlight text in primary color */
.checkbox-item:has(input:checked) label {
  color: var(--primary);
  font-weight: 600;
}

/* Required field note */
.form-required-note {
  margin-top: 8px;
  margin-bottom: 16px;
  font-size: 0.85rem;
}
    @media (max-width: 1024px) {
          .contact-hero-left {
      padding: 0rem;
      gap: 1rem;
    }
          .contact-hero-right {
      padding: 0rem;
      gap: 1rem;
    }
    .contact-hero-grid{
  margin-bottom: 0.6rem;
  padding: 3rem 0 0 0;
  gap:1rem;
}

    }
       /* ── Responsive ── */
    @media (max-width: 1024px) {
      .contact-hero-grid { grid-template-columns: 1fr; }
      .contact-grid-wrapper { grid-template-columns: 1fr; }
      .name-row { grid-template-columns: 1fr; }
      .social-grid { grid-template-columns: 1fr; }
      .inquiry-options { grid-template-columns: 1fr; }
      .hero-tag{
  font-size: 1.35rem;
  color: var(--primary);
  font-weight: 700;
  padding: 1.8rem;
}
  .contact-form-card {
      background: var(--bg-card);
      border-radius: var(--radius-md);
      padding: 36px;
      box-shadow: var(--shadow-md);
    }
    .contact-form-card h3 {
      font-size: 1.23rem;
      color: var(--primary-dark);
      margin-bottom: 24px;
    }
    .contactus_button{
      display: flex;
      justify-content: center;
      width: 100%;
    }
    }