/* Hero background nằm TRONG container */
.bmso-hero{
  padding: 54px 0 54px;
  background:var(--lightbackground);
}

.bmso-hero-inner{
  max-width: 880px;
}

.bmso-kicker{
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color:#6a6f73;
  margin-bottom: 10px;
}

.bmso-title{
  font-weight: 900;
  letter-spacing: -.02em;
  font-size: 48px;
  line-height: 1.05;
  color:#111;
  margin: 0 0 12px;
}

.bmso-subtitle{
  font-size: 16px;
  color:#6a6f73;
  margin: 0 0 16px;
  max-width: 760px;
}

.bmso-cta{
  display:flex;
  flex-wrap:wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.bmso-btn-primary{
  background: var(--brand);
  border-color: var(--brand);
  color:#fff;
  font-weight: 800;
  border-radius: 12px;
  padding: .85rem 1.1rem;
}
.bmso-btn-primary:hover{
  background: var(--brandhover);
  border-color: var(--brandhover);
  color:#fff;
}

.bmso-btn-outline{
  border: 1px solid var(--brand);
  color: var(--brand);
  font-weight: 800;
  border-radius: 12px;
  padding: .85rem 1.1rem;
}
.bmso-btn-outline:hover{
  background: rgba(86,36,208,.08);
  border-color: var(--brand);
  color: var(--brand);
}

.bmso-note{
  display:flex;
  align-items:center;
  gap: 10px;
  background:#fff;
  border:1px solid rgba(0,0,0,.10);
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 10px 24px rgba(0,0,0,.06);
  width: fit-content;
  color:#2d2f31;
}
.bmso-note i{ color: var(--brand); }



.contact-page .container{
  max-width: 1180px;
}

/* Reuse “about” hero styles (safe scoped) */
.about-hero{
  background: #f6f5ff;
  padding: 46px 0;
}

.about-hero-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  align-items:center;
  gap: 30px;
}

.about-hero-title{
  font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.08;
  color:#1c1d1f;
  margin: 0;
}

.about-hero-media{
  position: relative;
  display:flex;
  justify-content:flex-end;
}

.about-hero-hex{
  position:absolute;
  right: 90px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  background: #7a2dfb;
  clip-path: polygon(25% 6.7%, 75% 6.7%, 100% 50%, 75% 93.3%, 25% 93.3%, 0% 50%);
  opacity: .95;
}

.about-hero-img{
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 999px;
  position: relative;
  z-index: 1;
  box-shadow: 0 14px 30px rgba(0,0,0,.12);
}

/* Center section */
.about-center{
  padding: 42px 0 10px;
}

.about-center-inner{
  text-align:center;
  max-width: 860px;
  margin: 0 auto;
}

.about-center-title{
  font-weight: 900;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  color:#1c1d1f;
  margin: 0 0 10px;
}

.about-center-desc{
  margin: 0;
  color:#6a6f73;
  font-size: 1.02rem;
  line-height: 1.6;
}

/* Contact */
.contact-section{
  padding: 30px 0 70px;
}

.contact-head{
  padding: 4rem 0;
  text-align: left;
}

.contact-kicker{
  letter-spacing: .12em;
  font-weight: 900;
  font-size: .75rem;
  color:#6a6f73;
  margin-bottom: 10px;
}

.contact-title{
  margin: 0 0 8px;
  font-weight: 900;
  color:#1c1d1f;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
}

.contact-subtitle{
  margin: 0 0 14px;
  color:#6a6f73;
  line-height: 1.6;
}

.contact-pills{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
}

.contact-pill{
  display:inline-flex;
  gap: 10px;
  align-items:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background:#fff;
  font-weight: 900;
  font-size: .9rem;
  color:#1c1d1f;
}

.contact-pill i{
  color:var(--brand);
}

/* Grid */
.contact-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 18px;
  align-items:start;
}

.contact-card,
.contact-side-card{
  background:#fff;
  border: 1px solid rgba(0,0,0,.10);
  border-radius: 16px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}

.contact-card{
  padding: 18px;
}

.contact-card-title{
  font-weight: 900;
  color:#1c1d1f;
  font-size: 1.15rem;
}

.contact-card-desc{
  color:#6a6f73;
  margin-top: 6px;
  margin-bottom: 14px;
}

/* Form */
.contact-form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.contact-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.contact-field{
  display:flex;
  flex-direction:column;
  gap: 6px;
  margin: 0;
}

.contact-label{
  font-weight: 900;
  color:#1c1d1f;
  font-size: .92rem;
}

.contact-input{
  width:100%;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 12px;
  padding: 11px 12px;
  background:#fff;
  outline:none;
  font-size: 1rem;
  color:#1c1d1f;
}

.contact-input:focus{
  border-color: #5624d0;
  box-shadow: 0 0 0 4px rgba(86,36,208,.14);
}

.contact-textarea{
  resize: vertical;
  min-height: 140px;
}

.contact-error{
  min-height: 16px;
  font-size: .85rem;
  color:#b32d0f;
}

.contact-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  margin-top: 4px;
}

.contact-btn{
  border-radius: 12px;
  padding: 10px 14px;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.14);
  background:#fff;
  color:#1c1d1f;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
}

.contact-btn-primary{
  border:0;
  background:var(--brand);
  color:#fff;
}

.contact-btn-primary:hover{
  background:var(--brandhover);
}

.contact-btn-outline:hover{
  background:#f7f9fa;
}

.contact-success{
  margin-top: 12px;
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 12px 12px;
  border-radius: 12px;
  background: rgba(0, 200, 83, .10);
  border: 1px solid rgba(0, 200, 83, .25);
  color:#145a32;
}

.contact-success i{
  margin-top: 2px;
}

/* Side */
.contact-side{
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.contact-side-card{
  padding: 16px;
}

.contact-side-title{
  font-weight: 900;
  color:#1c1d1f;
  font-size: 1.05rem;
  margin-bottom: 12px;
}

.contact-help{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.contact-help-item{
  display:flex;
  gap: 12px;
  align-items:flex-start;
}

.contact-help-ic{
  width: 42px;
  height: 42px;
  border-radius: 14px;
  display:grid;
  place-items:center;
  background: var(--lightbackground);
  color:var(--brand);
  flex: 0 0 42px;
}

.contact-help-h{
  font-weight: 900;
  color:#1c1d1f;
}

.contact-help-p{
  margin-top: 2px;
  color:#6a6f73;
  font-size: .95rem;
  line-height: 1.45;
}

.contact-divider{
  height:1px;
  background: rgba(0,0,0,.08);
  margin: 14px 0;
}

.contact-meta{
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.contact-meta-row{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap: 10px;
}

.contact-meta-k{
  color:#6a6f73;
  font-weight: 900;
  font-size: .92rem;
}

.contact-meta-v{
  text-decoration:none;
  font-weight: 900;
  font-size: .92rem;
}



.contact-side-link{
  margin-top: 14px;
  display:inline-flex;
  align-items:center;
  gap: 10px;
  font-weight: 900;
  color:#5624d0;
  text-decoration:none;
}

.contact-side-link:hover{
  text-decoration: underline;
}

/* FAQ */
.contact-faq{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
}

.contact-faq-item + .contact-faq-item{
  border-top: 1px solid rgba(0,0,0,.08);
}

.contact-faq-q{
  width:100%;
  border:0;
  background:#fff;
  padding: 12px 12px;
  font-weight: 900;
  color:#1c1d1f;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap: 10px;
  text-align:left;
}

.contact-faq-q:hover{
  background:#f7f9fa;
}

.contact-faq-q i{
  color:#6a6f73;
  transition: transform .2s ease;
}

.contact-faq-item.is-open .contact-faq-q i{
  transform: rotate(180deg);
}

.contact-faq-a{
  padding: 0 12px 12px;
  color:#4b4f56;
  line-height: 1.55;
  font-size: .95rem;
}

/* Responsive */
@media (max-width: 991.98px){
  .about-hero-grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .about-hero-media{
    justify-content:center;
  }
  .about-hero-hex{
    right: 50%;
    transform: translate(50%, -50%);
  }
  .contact-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px){
  .about-hero{
    padding: 36px 0;
  }
  .about-hero-img{
    width: 220px;
    height: 220px;
  }
  .about-hero-hex{
    width: 190px;
    height: 190px;
  }
  .contact-row{
    grid-template-columns: 1fr;
  }
}

.wpcf7-response-output{
        margin: 20px 0 0 0 !important;
    border-radius: 10px;
    padding: 10px;
}

/* ===== Make left form & right info equal height (desktop) ===== */
@media (min-width: 992px){
  .contact-grid{
    align-items: stretch; /* 2 cột kéo cao bằng nhau */
  }

  .contact-card{
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* right column cũng full height */
  .contact-side{
    height: 100%;
    display: flex;
    flex-direction: column;
  }

  /* card đầu tiên bên phải sẽ giãn cao để ngang left */
  .contact-side-card:first-child{
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
  }

  /* đẩy link "Browse courses" xuống đáy card phải */
  .contact-side-card:first-child .contact-side-link{
    margin-top: auto;
  }

  /* form chiếm phần còn lại trong card trái (nếu cần) */
  .contact-form{
    flex: 1 1 auto;
  }
}
/* ===== Fix select arrow spacing ===== */
.contact-form select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 3rem; /* 👈 tạo khoảng trống cho arrow */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236a6f73' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 5.646a.5.5 0 0 1 .708 0L8 11.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center; /* 👈 arrow cách mép phải */
  background-size: 14px;
}