/* Accredia360 contact page — intentionally scoped to this page */
.contact-page-section {
  position: relative;
  overflow: hidden;
  padding: clamp(3.25rem, 6vw, 6.25rem) 1.25rem clamp(4rem, 7vw, 6.75rem);
  color: #eaf1ff;
  background:
    radial-gradient(circle at 10% 4%, rgba(255, 255, 255, 0.34) 0, rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 90% 72%, rgba(0, 55, 110, 0.22) 0, rgba(0, 55, 110, 0) 35%),
    linear-gradient(135deg, #063b86 0%, #0a63c7 31%, #63b6f4 66%, #dff2ff 100%);
}
.contact-page-section::before,
.contact-page-section::after {
  position: absolute;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(161, 190, 255, .12);
  border-radius: 50%;
}
.contact-page-section::before { width: 35rem; height: 35rem; top: -22rem; right: -8rem; }
.contact-page-section::after { width: 24rem; height: 24rem; bottom: -17rem; left: -10rem; }
.contact-page-shell { position: relative; z-index: 1; width: min(1160px, 100%); margin: 0 auto; }
.contact-page-intro { max-width: 760px; margin: 0 auto clamp(2.25rem, 4vw, 3.5rem); text-align: center; }
.contact-eyebrow, .contact-step-label { display: inline-flex; align-items: center; gap: .55rem; color: #9bc5ff; font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.contact-eyebrow { padding: .55rem .85rem; border: 1px solid rgba(151, 190, 255, .24); border-radius: 99px; background: rgba(89, 139, 220, .09); }
.contact-eyebrow-dot { width: 7px; height: 7px; border-radius: 50%; background: #57e2c1; box-shadow: 0 0 0 4px rgba(87, 226, 193, .12); }
.contact-page-intro h1 { margin: 1.2rem 0 .9rem; color: #fff; font-size: clamp(2.25rem, 4.4vw, 3.7rem); font-weight: 750; line-height: 1.1; letter-spacing: -.045em; }
.contact-page-intro h1 span { color: #8dbbff; }
.contact-page-intro > p { max-width: 690px; margin: 0 auto; color: #b8c7df; font-size: clamp(.98rem, 1.4vw, 1.1rem); line-height: 1.8; }
.contact-page-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: 1.35rem; }
.contact-form-card { min-width: 0; padding: clamp(1.35rem, 3vw, 2.5rem); color: #16233b; border: 1px solid rgba(255,255,255,.65); border-radius: 24px; background: #fff; box-shadow: 0 24px 70px rgba(0, 0, 0, .24); }
.contact-card-heading { margin-bottom: 1.55rem; }
.contact-card-heading .contact-step-label { color: #3569c9; }
.contact-card-heading h2, .contact-info-top h2 { margin: .55rem 0 .45rem; color: #10213c; font-size: clamp(1.6rem, 2.6vw, 2.1rem); font-weight: 750; line-height: 1.2; letter-spacing: -.03em; }
.contact-card-heading p { margin: 0; color: #64748b; line-height: 1.65; }
.contact-field-label { display: block; margin-bottom: .42rem; color: #33445e; font-size: .82rem; font-weight: 700; }
.contact-field.form-control { min-height: 49px; padding: .78rem .9rem; color: #13233d; border: 1px solid #d9e2ef; border-radius: 10px; background: #f8faff; box-shadow: none; font-size: .93rem; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.contact-field.form-control::placeholder { color: #8a98ad; opacity: 1; }
.contact-field.form-control:focus { border-color: #4f86e8; background: #fff; box-shadow: 0 0 0 4px rgba(79, 134, 232, .13); }
.contact-message-field { min-height: 118px !important; resize: vertical; }
.contact-captcha { display: flex; justify-content: flex-start; margin: 1.2rem 0 1rem; overflow-x: auto; }
.contact-submit-button { display: flex; width: 100%; min-height: 52px; align-items: center; justify-content: center; gap: .75rem; padding: .9rem 1.2rem; color: #fff !important; border: 0; border-radius: 11px; background: linear-gradient(105deg, #2865d7, #4389f5); box-shadow: 0 10px 24px rgba(47, 105, 218, .24); font-size: .95rem; font-weight: 750; text-align: center; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, filter .18s ease; }
.contact-submit-button:hover { color: #fff; filter: brightness(1.04); box-shadow: 0 13px 28px rgba(47, 105, 218, .32); transform: translateY(-1px); }
.contact-submit-button:focus-visible { outline: 3px solid #7cb4ff; outline-offset: 3px; }
.contact-submit-button i { font-size: .85rem; }
.contact-privacy-note { display: flex; align-items: center; justify-content: center; gap: .45rem; margin: .9rem 0 0; color: #75839a; font-size: .76rem; line-height: 1.5; text-align: center; }
.contact-privacy-note i { color: #2f8a72; }
.contact-info-panel { display: flex; flex-direction: column; min-width: 0; padding: clamp(1.4rem, 3vw, 2.5rem); color: #fff; border: 1px solid rgba(255, 255, 255, .3); border-radius: 24px; background: #1769b2; box-shadow: 0 20px 48px rgba(23, 105, 178, .22); }
.contact-info-top .contact-step-label { color: #d7eaff; }
.contact-info-top h2 { color: #fff; }
.contact-info-top > p { margin: .7rem 0 1.2rem; color: #e5f2ff; font-size: .94rem; line-height: 1.75; }
.contact-direct-link { display: flex; align-items: center; gap: .8rem; margin-top: .7rem; padding: .9rem; color: #fff; border: 1px solid rgba(255, 255, 255, .28); border-radius: 13px; background: rgba(255,255,255,.1); text-decoration: none; transition: background .18s ease, border-color .18s ease; }
.contact-direct-link:hover { color: #fff; border-color: rgba(255, 255, 255, .65); background: rgba(255,255,255,.17); }
.contact-direct-icon { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; color: #fff; border-radius: 11px; background: rgba(255, 255, 255, .16); }
.contact-direct-link > span:nth-child(2) { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: .12rem; }
.contact-direct-link small { color: #e0efff; font-size: .76rem; }
.contact-direct-link strong { overflow-wrap: anywhere; color: #fff; font-size: .9rem; font-weight: 700; }
.contact-link-arrow { color: #d7eaff; font-size: .72rem; }
.contact-offices { margin-top: 1.65rem; padding-top: 1.4rem; border-top: 1px solid rgba(255, 255, 255, .28); }
.contact-offices h3 { margin: 0 0 1rem; color: #fff; font-size: 1.05rem; font-weight: 750; }
.contact-office { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: .65rem; margin: 0 0 1rem; }
.contact-office:last-child { margin-bottom: 0; }
.contact-office-icon { display: grid; width: 28px; height: 28px; place-items: center; color: #fff; border-radius: 8px; background: rgba(255, 255, 255, .16); font-size: .78rem; }
.contact-office strong { display: block; margin: .1rem 0 .2rem; color: #eaf2ff; font-size: .84rem; font-weight: 700; }
.contact-office p { margin: 0; color: #e0efff; font-size: .8rem; line-height: 1.6; }
.contact-resource-links { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid rgba(255, 255, 255, .28); }
.contact-resource-links a { display: inline-flex; align-items: center; gap: .4rem; padding: .55rem .72rem; color: #fff; border: 1px solid rgba(255, 255, 255, .32); border-radius: 8px; font-size: .77rem; font-weight: 650; text-decoration: none; }
.contact-resource-links a:hover { color: #fff; border-color: rgba(255, 255, 255, .7); background: rgba(255,255,255,.14); }
.contact-resource-links a i { font-size: .65rem; }
.contact-thank-you { margin-top: 1.25rem; padding: 1.25rem; border: 1px solid #bde9d8; border-radius: 14px; background: #effcf6; }
.contact-thank-you .popup-content { position: relative; padding-right: 1.5rem; }
.contact-thank-you h2 { margin: .7rem 0 .35rem; color: #155b43; font-size: 1.45rem; }
.contact-thank-you p { margin: 0; color: #386b59; line-height: 1.65; }
.contact-thank-you .close-btn { position: absolute; top: -.55rem; right: -.45rem; color: #315e50; font-size: 1.5rem; cursor: pointer; }
.contact-success-icon { display: grid; width: 38px; height: 38px; place-items: center; color: #fff; border-radius: 50%; background: #1c9b70; }
.contact-another-query { margin-top: .7rem; }
.contact-another-query .contact-submit-button { min-height: 46px; }
@media (max-width: 991.98px) {
  .contact-page-grid { grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
  .contact-page-intro { max-width: 720px; }
}
@media (max-width: 575.98px) {
  .contact-page-section { padding: 2.75rem .85rem 3.5rem; }
  .contact-page-intro { margin-bottom: 1.75rem; text-align: left; }
  .contact-page-intro h1 { font-size: clamp(2.05rem, 10vw, 2.8rem); }
  .contact-page-intro > p { font-size: .95rem; line-height: 1.7; }
  .contact-form-card, .contact-info-panel { padding: 1.2rem; border-radius: 18px; }
  .contact-card-heading { margin-bottom: 1.25rem; }
  .contact-captcha { margin-left: -1px; }
  .contact-resource-links { gap: .4rem; }
  .contact-resource-links a { padding: .5rem .58rem; }
}
@media (prefers-reduced-motion: reduce) {
  .contact-field.form-control, .contact-submit-button, .contact-direct-link { transition: none; }
}
