.about-section-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
  transition: transform 0.4s ease;
}

.about-section-img:hover {
  transform: scale(1.03);
}

@media (max-width: 767.98px) {
  .about-section-img {
    max-height: 280px;
    margin-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .about-section-img {
    max-height: 220px;
  }
}

.about-card {
  border-radius: 8px;
  transition: all 0.3s ease;
}

/* --- HERO SECTION --- */
.hero-section-base {
  background: url('../images/bg/about/hero-section.png') center center / cover no-repeat !important;
}

.hero-section-base .overlay {
  background: rgba(0, 0, 0, 0.7) !important;
}

.about-img-placeholder {
  width: 100%;
  height: 280px;
  font-weight: 600;
  background-size: cover;
  background-position: center;
}

/* --- MISSION & VISION --- */
.mission-vision-section {
  background: #FF0A54;
  background: linear-gradient(90deg, rgba(255, 10, 84, 1) 0%, rgba(176, 0, 54, 1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #ffffff;
  border-radius: 0%;
  border: none;
}

.card:hover {
  transform: scale(1.01);
  transition: all 0.3s ease;
}

/* --- MISSION & VISION CARD REDESIGN --- */
.mission-vision-section .card {
  position: relative;
  background-color: #ffffff;
  border: 3px solid var(--primary-color) !important;
  border-radius: 0 !important;
  min-height: 460px;
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  padding: 2.5rem 2rem !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Bottom-right corner bracket — sits inside the card */
.mission-vision-section .card::after {
  content: '';
  position: absolute;
  bottom: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-right: 14px solid var(--primary-color);
  border-bottom: 14px solid var(--primary-color);
}

/* Center the capabilities-line divider inside the cards */
.mission-vision-section .capabilities-line {
  justify-content: center;
  margin-bottom: 1rem;
}

/* Responsive scaling */
@media (max-width: 1199.98px) {
  .mission-vision-section .card {
    min-height: 420px;
    max-width: 480px;
  }
}

@media (max-width: 991.98px) {
  .mission-vision-section .card {
    min-height: 380px;
    max-width: 440px;
  }
}

@media (max-width: 767.98px) {
  .mission-vision-section .card {
    min-height: 0;
    max-width: 100%;
  }
}

/* --- COMMITMENT SECTION --- */
.commitment-section {
  position: relative;
  background: url('../images/bg/about/our-commitment-to-safety-and-quality.png')  center center / cover no-repeat;
  background-size: cover;
  background-color: black;
  min-height: 303px;
  color: #fff;
  text-align: center;
  overflow: hidden;
}

.commitment-section .overlay {
  position: absolute;
  inset: 0;
}

/* --- POLICY HEADING BANNER --- */
.policy-heading {
  display: inline-flex;
  align-items: center;
  background-color: var(--primary-color);
  padding: 0.65rem 1.1rem;
  margin-bottom: 1.2rem;
}

.policy-heading h4 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
}

.policy-heading__square {
  display: inline-block;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: #fff;
  margin-left: 0.85rem;
}

/* --- HSE SECTION --- */
.hse-section {
  background-color: #ffffff;
}

.hse-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* --- QA SECTION --- */
.qa-section {
  background-color: var(--surface-soft);
}

.qa-section p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: #333;
}

/* --- IMAGE STYLING --- */
.hse-img,
.qa-img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  transition: transform 0.4s ease;
}

.hse-section .hse-img:hover,
.qa-section .qa-img:hover {
  transform: scale(1.05);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 991.98px) {
  .hse-section h4,
  .qa-section h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
  }

  .hse-section p,
  .qa-section p {
    font-size: 0.9rem;
  }

  .hse-img,
  .qa-img {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hse-section,
  .qa-section {
    padding: 2rem 0;
  }

  .hse-section h4,
  .qa-section h4 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }

  .hse-section p,
  .qa-section p {
    font-size: 0.85rem;
  }
}
#toggleBtn {
  min-width: 155px;
  border-radius: 0;
  padding: 0.85rem 1.4rem;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: all 0.3s ease;
}
#toggleBtn:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  color: #fff;
}