[id], section[id] {
  scroll-margin-top: 95px;
}

html {
  scroll-behavior: smooth;
}

/* ==========================================================================
   BEMAXX CONTACT US PAGE STYLES (css/contact.css)
   ========================================================================== */

:root {
  --bx-blue-primary: #0088E0;
  --bx-blue-dark: #0070BA;
  --bx-navy-dark: #0B1E36;
  --bx-red-accent: #E4002B;
  --bx-text-dark: #334155;
  --bx-text-muted: #64748B;
  --bx-bg-light: #F4F8FD;
}

/* ==========================================================================
   SECTION 1: CONTACT HERO BANNER
   ========================================================================== */
.bx-contact-hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  background: #F0F7FD;
  overflow: hidden;
  padding: 40px 0;
}

/* Background Media Visual */
.bx-contact-hero-bg-media {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bx-contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  display: block;
}

/* Ambient Watermark Decor */
.bx-contact-hero-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
}

.bx-contact-hero-molecule-svg {
  position: absolute;
  top: 35px;
  left: 3%;
  width: 220px;
  opacity: 0.65;
}

/* Hero Main Container */
.bx-contact-hero-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
}

/* Left Content */
.bx-contact-hero-content {
  max-width: 580px;
}

.bx-contact-red-dash {
  width: 44px;
  height: 3.5px;
  background-color: #E4002B;
  border-radius: 2px;
  margin-bottom: 18px;
}

.bx-contact-hero-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 58px;
  line-height: 1.15;
  font-weight: 800;
  color: #0B1E36;
  letter-spacing: -0.5px;
  margin: 0 0 18px 0;
}

.contact-blue {
  color: #0088E0;
}

.bx-contact-hero-desc {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 16px;
  line-height: 27px;
  color: #1E293B;
  font-weight: 400;
  margin: 0 0 32px 0;
  max-width: 480px;
}

/* 3 Contact Badges Row */
.bx-contact-hero-badges-row {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bx-contact-badge-item {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.bx-contact-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E5F2FF 0%, #D8EBFE 100%);
  color: #0088E0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(0, 136, 224, 0.15);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.bx-contact-badge-item:hover .bx-contact-icon-box {
  transform: translateY(-4px) scale(1.08);
  background: linear-gradient(135deg, #0088E0 0%, #0070BA 100%);
  color: #FFFFFF;
  box-shadow: 0 10px 24px rgba(0, 136, 224, 0.35);
}

.bx-contact-badge-item:hover .bx-contact-icon-box svg {
  stroke: #FFFFFF;
}

.bx-contact-badge-divider {
  width: 1px;
  height: 36px;
  background-color: rgba(11, 30, 54, 0.15);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 2: GET IN TOUCH & SEND MESSAGE FORM
   ========================================================================== */
.bx-contact-touch-section {
  position: relative;
  background: linear-gradient(180deg, #F8FAFD 0%, #EBF4FD 50%, #F5FAFF 100%);
  padding: 40px 0;
  overflow: hidden;
}

/* Ambient Background Artwork */
.bx-contact-touch-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bx-contact-touch-molecule-svg {
  position: absolute;
  top: 30px;
  right: 2%;
  width: 260px;
  opacity: 0.55;
}

.bx-contact-touch-bottom-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 150px;
  pointer-events: none;
  z-index: 1;
}

.bx-contact-touch-bottom-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Section Main Container */
.bx-contact-touch-container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 50px;
  align-items: flex-start;
}

/* Left Content Column */
.bx-contact-info-col {
  padding-top: 10px;
}

.bx-contact-touch-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 52px;
  line-height: 1.15;
  font-weight: 800;
  color: #0B1E36;
  letter-spacing: -0.5px;
  margin: 0 0 16px 0;
}

.bx-contact-touch-desc {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 15.5px;
  line-height: 26px;
  color: #334155;
  font-weight: 400;
  margin: 0 0 36px 0;
}

/* 4 Contact Details List */
.bx-contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.bx-contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.bx-detail-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #E5F2FF 0%, #D8EBFE 100%);
  color: #0088E0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 136, 224, 0.12);
  transition: all 0.3s ease;
}

.bx-contact-detail-item:hover .bx-detail-icon-box {
  transform: scale(1.08) rotate(3deg);
  background: linear-gradient(135deg, #0088E0 0%, #0070BA 100%);
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(0, 136, 224, 0.28);
}

.bx-contact-detail-item:hover .bx-detail-icon-box svg {
  fill: #FFFFFF;
  stroke: #FFFFFF;
}

.bx-detail-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.bx-detail-label {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #0B1E36;
  margin: 0;
}

.bx-detail-val {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 14.5px;
  line-height: 22px;
  color: #475569;
  margin: 0;
  text-decoration: none;
  transition: color 0.2s ease;
}

a.bx-detail-val:hover {
  color: #0088E0;
}

/* Right Form Card */
.bx-contact-form-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 40px 36px 36px;
  box-shadow: 0 12px 40px rgba(0, 88, 224, 0.08);
  border: 1px solid rgba(0, 136, 224, 0.1);
}

.bx-form-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 38px;
  font-weight: 800;
  color: #0B1E36;
  line-height: 1.2;
  letter-spacing: -0.3px;
  margin: 0;
}

.bx-form-red-dash {
  width: 34px;
  height: 3px;
  background-color: #E4002B;
  border-radius: 2px;
  margin: 12px 0 28px 0;
}

.bx-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bx-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.bx-form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bx-form-label {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  color: #0B1E36;
}

.bx-req {
  color: #E4002B;
}

.bx-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.bx-input-icon {
  position: absolute;
  left: 16px;
  color: #0088E0;
  pointer-events: none;
  opacity: 0.85;
}

.bx-form-input,
.bx-form-select,
.bx-form-textarea {
  width: 100%;
  padding: 13px 16px 13px 44px;
  border: 1.5px solid #DCE7F3;
  border-radius: 12px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 14px;
  color: #0B1E36;
  background: #FAFDFE;
  transition: all 0.3s ease;
  outline: none;
}

.bx-form-input:focus,
.bx-form-select:focus,
.bx-form-textarea:focus {
  border-color: #0088E0;
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(0, 136, 224, 0.12);
}

.bx-form-input::placeholder,
.bx-form-textarea::placeholder {
  color: #94A3B8;
  font-weight: 400;
}

.bx-select-wrap {
  position: relative;
}

.bx-form-select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  padding-right: 36px;
}

.bx-select-chevron {
  position: absolute;
  right: 16px;
  color: #0B1E36;
  pointer-events: none;
}

.bx-textarea-wrap {
  align-items: flex-start;
}

.bx-textarea-icon {
  top: 15px;
  left: 16px;
}

.bx-form-textarea {
  padding-top: 12px;
  min-height: 120px;
  resize: vertical;
}

.bx-form-submit-wrap {
  margin-top: 6px;
}

.bx-contact-submit-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  background: #0088E0;
  color: #FFFFFF;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 136, 224, 0.28);
}

.bx-contact-submit-btn:hover {
  background: #0070BA;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 136, 224, 0.38);
}

.bx-contact-submit-btn svg {
  transition: transform 0.3s ease;
}

.bx-contact-submit-btn:hover svg {
  transform: translateX(4px);
}

/* --- Form Validation States & Inline Error Messages --- */
.bx-form-group.has-error .bx-form-input,
.bx-form-group.has-error .bx-form-select,
.bx-form-group.has-error .bx-form-textarea {
  border-color: #E4002B !important;
  background: #FFF8F8 !important;
  box-shadow: 0 0 0 3.5px rgba(228, 0, 43, 0.12) !important;
}

.bx-form-group.has-error .bx-input-icon {
  color: #E4002B !important;
}

.bx-form-group.is-valid .bx-form-input,
.bx-form-group.is-valid .bx-form-select,
.bx-form-group.is-valid .bx-form-textarea {
  border-color: #10B981;
  background: #FAFFFC;
}

.bx-form-group.is-valid .bx-input-icon {
  color: #10B981;
}

.bx-field-error-msg {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 12px;
  font-weight: 500;
  color: #E4002B;
  margin-top: 3px;
  animation: bxErrorFadeIn 0.25s ease forwards;
}

.bx-field-error-msg svg {
  flex-shrink: 0;
}

@keyframes bxErrorFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bxShake {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-6px); }
  40%, 80% { transform: translateX(6px); }
}

.bx-input-shake {
  animation: bxShake 0.4s ease;
}

/* ==========================================================================
   SECTION 3: OTHER WAYS TO REACH US
   ========================================================================== */
.bx-contact-reach-section {
  position: relative;
  background: linear-gradient(180deg, #FFFFFF 0%, #F5F9FD 50%, #EDF5FD 100%);
  padding: 40px 0;
  overflow: hidden;
}

/* Background Ambient Decor */
.bx-contact-reach-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bx-reach-dots {
  position: absolute;
  pointer-events: none;
}

.bx-reach-dots-tl {
  top: 35px;
  left: 35px;
}

.bx-reach-dots-br {
  bottom: 35px;
  right: 35px;
}

.bx-reach-wave-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 420px;
  height: 100%;
  pointer-events: none;
}

.bx-reach-wave-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  pointer-events: none;
}

/* Reach Container */
.bx-reach-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.bx-reach-header {
  text-align: center;
  margin-bottom: 52px;
}

.bx-reach-red-dash {
  width: 44px;
  height: 3.5px;
  background-color: #E4002B;
  border-radius: 2px;
  margin: 0 auto 16px auto;
}

.bx-reach-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 46px;
  font-weight: 800;
  color: #0B1E36;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0;
}

/* Cards Grid */
.bx-reach-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* Reach Card */
.bx-reach-card {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 44px 30px 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 10px 35px rgba(11, 30, 54, 0.05);
  border: 1px solid rgba(0, 136, 224, 0.09);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bx-reach-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(0, 136, 224, 0.14);
  border-color: rgba(0, 136, 224, 0.25);
}

/* Icon Wrap */
.bx-reach-icon-wrap {
  margin-bottom: 22px;
}

.bx-reach-icon-circle {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #E5F2FF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.35s ease;
  box-shadow: 0 4px 16px rgba(0, 136, 224, 0.12);
}

.bx-reach-icon-circle svg path {
  transition: fill 0.3s ease;
}

.bx-reach-card:hover .bx-reach-icon-circle {
  background: #0088E0;
  transform: scale(1.08);
  box-shadow: 0 8px 22px rgba(0, 136, 224, 0.3);
}

.bx-reach-card:hover .bx-reach-icon-circle svg path {
  fill: #FFFFFF;
}

/* Card Title */
.bx-reach-card-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #0B1E36;
  margin: 0 0 14px 0;
}

/* Card Red Divider */
.bx-reach-card-divider {
  width: 30px;
  height: 3px;
  background-color: #E4002B;
  border-radius: 2px;
  margin: 0 auto 22px auto;
}

/* Card Body / Info */
.bx-reach-card-body {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.bx-reach-card-info {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 15.5px;
  font-weight: 500;
  color: #1E293B;
  line-height: 1.6;
  margin: 0;
}

.bx-reach-info-link {
  color: #1E293B;
  text-decoration: none;
  transition: color 0.25s ease;
}

.bx-reach-info-link:hover {
  color: #0088E0;
}

/* Card Action Button */
.bx-reach-card-action {
  width: 100%;
  display: flex;
  justify-content: center;
}

.bx-reach-card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 290px;
  padding: 13px 20px;
  background-color: #E5F2FF;
  color: #0088E0;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bx-reach-card-btn svg {
  transition: transform 0.3s ease, stroke 0.3s ease;
  stroke: #0088E0;
}

.bx-reach-card-btn:hover {
  background-color: #0088E0;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 224, 0.32);
}

.bx-reach-card-btn:hover svg {
  transform: translateX(4px);
  stroke: #FFFFFF;
}

/* ==========================================================================
   SECTION 4: CONTACT CTA SECTION
   ========================================================================== */
.bx-contact-cta-section {
  position: relative;
  background: linear-gradient(180deg, #EDF5FD 0%, #E5F1FC 50%, #F4F9FD 100%);
  padding: 40px 0;
  overflow: hidden;
}

/* Background Ambient Decor */
.bx-contact-cta-bg-decor {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.bx-contact-cta-dots-left {
  position: absolute;
  top: 40px;
  left: 3%;
  opacity: 0.65;
}

.bx-contact-cta-wave-left {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 100%;
  pointer-events: none;
}

.bx-contact-cta-bottom-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 140px;
  pointer-events: none;
  z-index: 1;
}

.bx-contact-cta-bottom-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* CTA Main Container */
.bx-contact-cta-container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Left Content Column */
.bx-contact-cta-content-col {
  max-width: 600px;
}

.bx-contact-cta-red-dash {
  width: 44px;
  height: 3.5px;
  background-color: #E4002B;
  border-radius: 2px;
  margin-bottom: 18px;
}

.bx-contact-cta-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 50px;
  line-height: 1.15;
  font-weight: 800;
  color: #0B1E36;
  letter-spacing: -0.5px;
  margin: 0 0 16px 0;
}

.bx-contact-cta-desc {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 15.5px;
  line-height: 26px;
  color: #334155;
  font-weight: 400;
  margin: 0 0 28px 0;
  max-width: 490px;
}

/* CTA Button */
.bx-contact-cta-btn-wrap {
  margin-bottom: 36px;
}

.bx-contact-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 34px;
  background: #0088E0;
  color: #FFFFFF;
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 15px;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 136, 224, 0.32);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.bx-contact-cta-btn:hover {
  background: #0070BA;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 136, 224, 0.42);
}

.bx-contact-cta-btn svg {
  transition: transform 0.3s ease;
}

.bx-contact-cta-btn:hover svg {
  transform: translateX(4px);
}

/* 3 Feature Badges Row (Below Button) */
.bx-contact-cta-badges-row {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 580px;
}

.bx-contact-cta-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bx-contact-cta-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E5F2FF;
  color: #0088E0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 136, 224, 0.12);
  flex-shrink: 0;
  transition: all 0.35s ease;
}

.bx-contact-cta-badge-item:hover .bx-contact-cta-icon-box {
  transform: scale(1.08);
  background: #0088E0;
  color: #FFFFFF;
  box-shadow: 0 8px 20px rgba(0, 136, 224, 0.28);
}

.bx-contact-cta-badge-item:hover .bx-contact-cta-icon-box svg {
  fill: #FFFFFF;
}

.bx-contact-cta-badge-text {
  font-family: var(--font-body, 'Poppins', sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 18px;
  color: #0B1E36;
  letter-spacing: -0.2px;
}

.bx-contact-cta-divider {
  width: 1px;
  height: 32px;
  background-color: rgba(0, 136, 224, 0.2);
  flex-shrink: 0;
}

/* Right Visual Column */
.bx-contact-cta-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
}

.bx-contact-cta-img-wrap {
  position: relative;
  width: 100%;
  max-width: 540px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 30, 54, 0.12);
  border: 4px solid #FFFFFF;
}

.bx-contact-cta-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.bx-contact-cta-img-wrap:hover .bx-contact-cta-img {
  transform: scale(1.03);
}



