/* ══════════════════════════════════════
   HOME ABOUT US SECTION
══════════════════════════════════════ */

/* ── Section ── */
.home-aboutus {
  background: #ffffff;
  padding: 90px 0 100px;
}

/* ── Container layout ── */
.home-aboutus .container {
  display: flex;
  align-items: center;
  gap: 70px;
}

/* ══════════════════════════════════════
   LEFT CONTENT PANEL
══════════════════════════════════════ */

.home-aboutus__content {
  flex: 1;
  min-width: 0;
  animation: ab-fade-up 0.7s ease both;
}

@keyframes ab-fade-up {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── Eyebrow ── */
.home-aboutus__eyebrow {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #e07b1f;
  line-height: 1.5;
}

.home-aboutus__eyebrow::before {
  content: '';
  display: inline-block;
  flex-shrink: 0;
  width: 3px;
  height: 16px;
  background: #e07b1f;
  border-radius: 2px;
  margin-top: 2px;
}

/* ── Heading ── */
.home-aboutus__heading {
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 800;
  color: #0d2d3a !important;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
}

/* ── Divider ── */
.home-aboutus__divider {
  width: 50px;
  height: 3px;
  background: #e07b1f;
  border: none;
  margin: 0 0 28px;
  float: none;
}

/* ── Body text ── */
.home-aboutus__description {
  font-size: 15px;
  line-height: 1.82;
  color: #4b5563 !important;
  margin: 0 0 40px;
}

.home-aboutus__description div {
  margin-bottom: 12px;
  color: #4b5563;
}

.home-aboutus__description strong {
  color: #0d2d3a !important;
  font-weight: 700;
}

/* Hide blank CMS spacer divs */
.home-aboutus__description div:empty { display: none; }

/* ── Stats row ── */
.home-aboutus__stats {
  display: flex;
  gap: 0;
  border-top: 1px solid #e5e7eb;
  padding-top: 28px;
}

.home-aboutus__stat {
  flex: 1;
  padding-right: 28px;
  margin-right: 28px;
  border-right: 1px solid #e5e7eb;
}

.home-aboutus__stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.home-aboutus__stat-value {
  font-size: 32px;
  font-weight: 800;
  color: #0d2d3a;
  line-height: 1;
}

.home-aboutus__stat-value span {
  color: #e07b1f;
}

.home-aboutus__stat-label {
  font-size: 11px;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 6px;
}

/* ══════════════════════════════════════
   RIGHT IMAGE PANEL
══════════════════════════════════════ */

.home-aboutus__image-wrap {
  flex: 0 0 48%;
  position: relative;
  /* overflow visible so bars below image show */
  overflow: visible;
  padding-bottom: 24px;
  animation: ab-fade-right 0.8s ease 0.15s both;
}

@keyframes ab-fade-right {
  from { opacity: 0; transform: translateX(30px); }
  to   { opacity: 1; transform: none; }
}

/* ── Image frame — handles rounding, overflow, bars ── */
.home-aboutus__image-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;                          /* keeps image corners rounded */
  box-shadow: 0 20px 50px rgba(13,45,58,0.13);
}


/* Orange bar below image */
.home-aboutus__image-frame::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 8%;
  right: 8%;
  height: 12px;
  background: #e07b1f;
  border-radius: 0 0 10px 10px;
  z-index: -1;
  opacity: 0.55;
}

/* Deep shadow bar further below */
.home-aboutus__image-frame::before {
  content: '';
  position: absolute;
  bottom: -22px;
  left: 16%;
  right: 16%;
  height: 12px;
  background: #0d2d3a;
  border-radius: 0 0 10px 10px;
  z-index: -2;
  opacity: 0.18;
}

/* Remove ::before and ::after from image-frame entirely */
.home-aboutus__image-frame::before,
.home-aboutus__image-frame::after {
  display: none;
}

/* ── Bars go on the WRAP (no overflow:hidden here) ── */
.home-aboutus__image-wrap {
  flex: 0 0 48%;
  position: relative;
  overflow: visible;                         /* must be visible for bars */
  padding-bottom: 28px;
  animation: ab-fade-right 0.8s ease 0.15s both;
}

/* Orange bar — sits just below the frame */
.home-aboutus__image-wrap::after {
  content: '';
  position: absolute;
  bottom: 14px;
  left: 8%;
  right: 8%;
  height: 12px;
  background: #e07b1f;
  border-radius: 0 0 10px 10px;
  opacity: 0.55;
  z-index: 0;
}

/* Dark shadow bar — sits deeper below */
.home-aboutus__image-wrap::before {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16%;
  right: 16%;
  height: 12px;
  background: #0d2d3a;
  border-radius: 0 0 10px 10px;
  opacity: 0.18;
  z-index: 0;
}

/* ── Image ── */
.home-aboutus__img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
  transition: transform 8s ease;
}

.home-aboutus__image-frame:hover .home-aboutus__img {
  transform: scale(1.04);
}

/* ── Floating badge over image ── */
.home-aboutus__image-tag {
  position: absolute;
  bottom: 24px;
  right: 24px;
  background: rgba(13,45,58,0.90);
  border: 1px solid rgba(224,123,31,0.5);
  padding: 14px 20px;
  border-radius: 10px;
}

.home-aboutus__image-tag-value {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.home-aboutus__image-tag-label {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */

@media (max-width: 991px) {
  .home-aboutus .container {
    gap: 44px;
  }
  .home-aboutus__image-wrap {
    flex: 0 0 46%;
  }
}

@media (max-width: 767px) {
  .home-aboutus {
    padding: 50px 0 60px;
  }
  .home-aboutus .container {
    flex-direction: column;
    gap: 50px;
  }
  .home-aboutus__image-wrap {
    flex: none;
    width: 100%;
  }
  .home-aboutus__img {
    height: 280px;
  }
  .home-aboutus__stats {
    gap: 0;
  }
  .home-aboutus__stat {
    padding-right: 16px;
    margin-right: 16px;
  }
  .home-aboutus__stat-value {
    font-size: 24px;
  }
}