/* ==========================================================================
   BEMAXX ABOUT PAGE RESPONSIVE STYLES (css/about-responsive.css)
   ========================================================================== */

@media (max-width: 1040px) and (min-width: 769px) {
  .bx-about-hero-section {
    background-position: 75% center;
    min-height: 480px;
    padding: 40px 0;
  }

  .bx-about-hero-content {
    max-width: 60%;
  }

  .bx-about-hero-title {
    font-size: 42px;
    line-height: 50px;
  }

  .bx-about-hero-desc {
    font-size: 16px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .bx-about-hero-section {
    position: relative;
    padding: 40px 0;
    min-height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-image: 
      linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.91) 60%, rgba(255, 255, 255, 0.82) 100%),
      url('../images/about-hero-img.webp');
    background-position: center center, center right;
    background-repeat: no-repeat, no-repeat;
    background-size: cover, cover;
  }

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

  .bx-about-hero-content {
    max-width: 100%;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
    text-align: left;
  }

  /* Breadcrumbs */
  .bx-breadcrumbs {
    margin-bottom: 16px;
  }

  /* H1: 32px, 700, 40px */
  .bx-about-hero-title {
    font-size: 32px !important;
    line-height: 40px !important;
    font-weight: 700 !important;
    margin-bottom: 12px;
  }

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

  /* Tagline text: 15px, 24px */
  .bx-about-hero-desc {
    font-size: 15px !important;
    line-height: 24px !important;
    font-weight: 400 !important;
    color: #4A5568 !important;
    margin-bottom: 24px;
  }

  /* Action Buttons */
  .bx-about-btn-row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    gap: 12px;
  }

  .bx-btn-about-story,
  .bx-btn-about-approach {
    flex: 1 1 auto;
    min-width: 140px;
    padding: 13px 20px;
    font-size: 15px;
    justify-content: center;
  }

  /* Who We Are Responsive */
  .bx-who-section {
    padding: 40px 0;
  }

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

  .bx-who-grid-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 25px;
  }

  .bx-who-header-area {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .bx-who-image-area {
    grid-column: 1 / 2;
    grid-row: 2 / 3;
    margin: 10px 0;
  }

  .bx-who-story-area {
    grid-column: 1 / 2;
    grid-row: 3 / 4;
  }

  .bx-who-badges-area {
    grid-column: 1 / 2;
    grid-row: 4 / 5;
  }

  .bx-who-heading {
    font-size: 26px !important;
    line-height: 1.32 !important;
    font-weight: 600 !important;
  }

  .bx-who-lead-p {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .bx-who-body-p {
    font-size: 14.5px !important;
    line-height: 1.35 !important;
  }

  .bx-our-story-card {
    flex-direction: column;
    padding: 20px;
    gap: 14px;
  }

  .bx-facility-frame {
    border-radius: 20px;
  }

  .bx-who-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .bx-who-pillar-card {
    padding: 16px 18px;
  }

  /* Vision & Mission Responsive */
  .bx-vm-section {
    padding: 40px 0;
  }

  .bx-vm-container {
    padding: 0 20px;
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bx-vm-heading {
    font-size: 26px !important;
    line-height: 1.32 !important;
    font-weight: 600 !important;
  }

  .bx-vm-desc {
    font-size: 15px !important;
    line-height: 1.35 !important;
    margin-bottom: 20px;
  }

  .bx-vm-cards-wrapper {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .bx-vm-card {
    min-height: auto;
    padding: 20px;
  }

  /* What We Do Responsive */
  .bx-wwd-section {
    padding: 40px 0;
  }

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

  .bx-wwd-dots-pattern {
    display: none;
  }

  .bx-wwd-heading {
    font-size: 26px !important;
    line-height: 1.32 !important;
    font-weight: 600 !important;
  }

  .bx-wwd-desc {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .bx-wwd-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Why Choose Bemaxx Responsive */
  .bx-why-section {
    padding: 40px 0;
  }

  .bx-why-left-banner {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 260px;
    margin-bottom: 25px;
    border-radius: 20px;
  }

  .bx-why-swoosh-mask,
  .bx-why-molecules-tr,
  .bx-why-molecules-bc {
    display: none;
  }

  .bx-why-main-container {
    padding: 0 20px;
  }

  .bx-why-heading {
    font-size: 26px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
  }

  .bx-why-desc {
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  .bx-why-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* Section 6: MD Promise & CTA Responsive (Mobile) */
  .bx-ab-cta-section {
    padding: 40px 0;
  }

  .bx-ab-cta-container {
    padding: 0 20px;
  }

  .bx-ab-cta-dots,
  .bx-ab-cta-product-img-wrap,
  .bx-ab-cta-waves {
    display: none;
  }

  .bx-ab-cta-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bx-ab-md-col {
    padding-left: 0;
  }

  .bx-ab-md-crest-tr,
  .bx-ab-md-crest-br {
    display: none;
  }

  .bx-ab-md-card {
    padding: 24px 20px;
    border-radius: 20px;
  }

  .bx-ab-md-title {
    font-size: 24px !important;
    line-height: 32px !important;
  }

  .bx-ab-cta-content-col {
    padding-left: 0;
  }

  .bx-ab-cta-heading {
    font-size: 28px !important;
    line-height: 1.3 !important;
  }

  .bx-ab-cta-btn-row {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .bx-ab-btn-explore,
  .bx-ab-btn-contact {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) and (max-width: 1040px) {
  .bx-who-grid-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .bx-who-header-area { grid-column: 1; grid-row: 1; }
  .bx-who-image-area { grid-column: 1; grid-row: 2; }
  .bx-who-story-area { grid-column: 1; grid-row: 3; }
  .bx-who-badges-area { grid-column: 1; grid-row: 4; }

  .bx-who-pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .bx-vm-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .bx-vm-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .bx-wwd-dots-pattern {
    left: 0;
  }

  .bx-wwd-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Why Choose Bemaxx Tablet */
  .bx-why-left-banner {
    position: relative;
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    height: 320px;
    margin-bottom: 30px;
    border-radius: 24px;
  }

  .bx-why-swoosh-mask {
    display: none;
  }

  .bx-why-main-container {
    padding: 0 30px;
  }

  .bx-why-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }

  /* Section 6: MD Promise & CTA Tablet */
  .bx-ab-cta-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .bx-ab-cta-product-img-wrap {
    display: none;
  }

  .bx-ab-cta-content-col {
    padding-left: 0;
  }
}




