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

/* Large Laptops & Desktops (<= 1200px) */
@media screen and (max-width: 1200px) {
  .bx-contact-hero-title {
    font-size: 50px;
  }

  .bx-contact-hero-desc {
    font-size: 15.5px;
    line-height: 26px;
  }

  .bx-contact-icon-box {
    width: 50px;
    height: 50px;
  }

  .bx-contact-icon-box svg {
    width: 20px;
    height: 20px;
  }

  /* Section 2 */
  .bx-contact-touch-title {
    font-size: 46px;
  }

  .bx-form-card-title {
    font-size: 34px;
  }

  .bx-contact-form-card {
    padding: 34px 28px;
  }
}

/* Tablets Landscape & Small Laptops (<= 992px) */
@media screen and (max-width: 992px) {
  .bx-contact-hero-section {
    min-height: 480px;
    padding: 40px 0;
  }

  .bx-contact-hero-title {
    font-size: 42px;
  }

  .bx-contact-hero-content {
    max-width: 480px;
  }

  .bx-contact-hero-desc {
    font-size: 15px;
    line-height: 25px;
    margin-bottom: 28px;
  }

  /* Section 2 */
  .bx-contact-touch-section {
    padding: 40px 0;
  }

  .bx-contact-touch-container {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .bx-contact-info-col {
    max-width: 100%;
  }

  .bx-contact-touch-title {
    font-size: 38px;
  }
}

/* Tablets Portrait (<= 768px) */
@media screen and (max-width: 768px) {
  .bx-contact-hero-section {
    position: relative;
    padding: 40px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFFFFF;
  }

  .bx-contact-hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
  }

  .bx-contact-hero-bg-media::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.91) 60%, rgba(255, 255, 255, 0.82) 100%);
    pointer-events: none;
    z-index: 2;
  }

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

  .bx-contact-hero-container {
    position: relative;
    z-index: 4;
    padding: 0 20px;
    width: 100%;
  }

  .bx-contact-hero-content {
    max-width: 100%;
    background: transparent;
    padding: 0;
    text-align: left;
  }

  .bx-contact-red-dash {
    width: 48px;
    height: 3.5px;
    background-color: var(--bx-accent-red, #E4002B);
    border-radius: 2px;
    margin-bottom: 16px;
  }

  .bx-contact-hero-title {
    font-size: 32px;
    line-height: 40px;
    font-weight: 700;
    margin-bottom: 12px;
  }

  .bx-contact-hero-desc {
    font-size: 15px;
    line-height: 24px;
    color: #4A5568;
    margin-bottom: 24px;
    max-width: 100%;
  }

  .bx-contact-hero-badges-row {
    gap: 16px;
    align-items: center;
    justify-content: flex-start;
    padding-top: 14px;
    border-top: 1px solid rgba(0, 136, 224, 0.12);
  }

  .bx-contact-icon-box {
    width: 46px;
    height: 46px;
  }

  /* Section 2 */
  .bx-contact-touch-section {
    padding: 40px 0;
  }

  .bx-contact-touch-title {
    font-size: 32px;
    margin-bottom: 14px;
  }

  .bx-contact-touch-desc {
    font-size: 15px;
    line-height: 24px;
    margin-bottom: 26px;
  }

  .bx-contact-form-card {
    padding: 28px 20px;
  }

  .bx-form-card-title {
    font-size: 30px;
  }

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

/* Mobile Devices (<= 480px) */
@media screen and (max-width: 480px) {
  .bx-contact-hero-section {
    padding: 40px 0;
  }

  .bx-contact-hero-container {
    padding: 0 20px;
  }

  .bx-contact-red-dash {
    width: 42px;
    height: 3px;
    margin-bottom: 14px;
  }

  .bx-contact-hero-title {
    font-size: 30px;
    line-height: 38px;
    margin-bottom: 12px;
  }

  .bx-contact-hero-desc {
    font-size: 14.5px;
    line-height: 23px;
    margin-bottom: 22px;
  }

  .bx-contact-hero-badges-row {
    gap: 12px;
  }

  .bx-contact-icon-box {
    width: 44px;
    height: 44px;
  }

  .bx-contact-icon-box svg {
    width: 18px;
    height: 18px;
  }

  .bx-contact-badge-divider {
    height: 28px;
  }

  /* Section 2 */
  .bx-contact-touch-section {
    padding: 40px 0;
  }

  .bx-contact-touch-container {
    padding: 0 20px;
  }

  .bx-contact-touch-title {
    font-size: 28px;
    line-height: 1.2;
  }

  .bx-contact-touch-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .bx-contact-form-card {
    padding: 24px 16px;
    border-radius: 18px;
  }

  .bx-form-card-title {
    font-size: 26px;
  }

  .bx-form-input,
  .bx-form-select,
  .bx-form-textarea {
    padding: 12px 14px 12px 40px;
    font-size: 13.5px;
  }

  .bx-contact-submit-btn {
    padding: 13px 24px;
    font-size: 14px;
  }

  /* Section 3 */
  .bx-contact-reach-section {
    padding: 40px 0;
  }

  .bx-reach-title {
    font-size: 26px;
  }

  .bx-reach-icon-circle {
    width: 66px;
    height: 66px;
  }

  .bx-reach-icon-circle svg {
    width: 24px;
    height: 24px;
  }

  .bx-reach-card-title {
    font-size: 20px;
  }

  .bx-reach-card-info {
    font-size: 14px;
  }

  .bx-reach-card-btn {
    width: 100%;
    padding: 11px 16px;
    font-size: 13.5px;
  }
}

/* Add responsive rules for Section 3 to upper breakpoints */
@media screen and (max-width: 1200px) {
  .bx-reach-title {
    font-size: 40px;
  }

  .bx-reach-card {
    padding: 38px 22px 34px;
  }
}

@media screen and (max-width: 992px) {
  .bx-contact-reach-section {
    padding: 40px 0;
  }

  .bx-reach-cards-grid {
    gap: 20px;
  }

  .bx-reach-title {
    font-size: 36px;
  }

  .bx-reach-card {
    padding: 32px 18px 28px;
    border-radius: 20px;
  }

  .bx-reach-card-title {
    font-size: 21px;
  }

  .bx-reach-card-info {
    font-size: 14px;
  }

  .bx-reach-card-btn {
    font-size: 13.5px;
    padding: 11px 16px;
  }
}

@media screen and (max-width: 768px) {
  .bx-contact-reach-section {
    padding: 40px 0;
  }

  .bx-reach-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 440px;
    margin: 0 auto;
  }

  .bx-reach-title {
    font-size: 32px;
  }

  .bx-reach-header {
    margin-bottom: 36px;
  }

  .bx-reach-card {
    padding: 36px 24px 30px;
  }

  /* Section 4: CTA (<= 768px) */
  .bx-contact-cta-section {
    padding: 40px 0;
  }

  .bx-contact-cta-title {
    font-size: 32px;
  }

  .bx-contact-cta-badges-row {
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
  }

  .bx-contact-cta-divider {
    display: none;
  }
}

/* Section 4: CTA (<= 1200px) */
@media screen and (max-width: 1200px) {
  .bx-contact-cta-title {
    font-size: 44px;
  }

  .bx-contact-cta-container {
    gap: 36px;
  }
}

/* Section 4: CTA (<= 992px) */
@media screen and (max-width: 992px) {
  .bx-contact-cta-section {
    padding: 40px 0;
  }

  .bx-contact-cta-container {
    grid-template-columns: 1fr;
    gap: 45px;
    text-align: center;
  }

  .bx-contact-cta-content-col {
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .bx-contact-cta-red-dash {
    margin: 0 auto 16px;
  }

  .bx-contact-cta-title {
    font-size: 38px;
  }

  .bx-contact-cta-desc {
    margin: 0 auto 26px;
  }

  .bx-contact-cta-badges-row {
    justify-content: center;
    margin: 0 auto;
  }
}

/* Section 4: CTA (<= 480px) */
@media screen and (max-width: 480px) {
  .bx-contact-cta-section {
    padding: 40px 0;
  }

  .bx-contact-cta-title {
    font-size: 26px;
    line-height: 1.2;
  }

  .bx-contact-cta-desc {
    font-size: 14px;
    line-height: 22px;
  }

  .bx-contact-cta-btn-wrap {
    width: 100%;
  }

  .bx-contact-cta-btn {
    width: 100%;
    justify-content: center;
    padding: 13px 24px;
    font-size: 14.5px;
  }

  .bx-contact-cta-badges-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    max-width: 280px;
  }

  .bx-contact-cta-badge-item {
    width: 100%;
  }

  .bx-contact-cta-img-wrap {
    border-radius: 20px;
  }
}



