/* =============================================
   OJG "OUR PURPOSE & VALUES" TABBED SECTION
   Namespace: #ojgValuesT94R (every single rule below
   is prefixed with this ID — cannot affect or be
   affected by any other section/element on the site)

   Heading uses theme typography (h2) with only the
   theme color #014392 applied — no custom font-family
   / font-size / font-weight set on it.
   ============================================= */

#ojgValuesT94R,
#ojgValuesT94R * {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

#ojgValuesT94R {
  background: #ffffff;
  width: 100%;
  padding: 90px 40px;
}

#ojgValuesT94R .ojgValuesT94R-inner {
  max-width: 1280px;
  margin: 0 auto;
}

/* ── Heading ── */
#ojgValuesT94R .ojgValuesT94R-head {
  text-align: center;
  margin-bottom: 46px;
}

#ojgValuesT94R .ojgValuesT94R-heading {
  color: #07242f;
  margin: 0 0 24px 0;
  font-family: "Urbanist", sans-serif;
  font-size: 48px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0px;
}

/* ── Tabs ── */
#ojgValuesT94R .ojgValuesT94R-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  margin-bottom: 54px;
  flex-wrap: wrap;
}

#ojgValuesT94R .ojgValuesT94R-tab {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0 0 14px;
  font-size: 17px;
  font-weight: 700;
  color: #07242f;
  position: relative;
  transition: color 0.3s ease;
}

#ojgValuesT94R .ojgValuesT94R-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  border-radius: 3px;
  background: #f3c6c6;
  transition: 0.3s ease;
}

#ojgValuesT94R .ojgValuesT94R-tab.ojgValuesT94R-active {
  color: #0978ef;
}

#ojgValuesT94R .ojgValuesT94R-tab.ojgValuesT94R-active::after {
  background: linear-gradient(90deg, #0978ef, #014392);
}

#ojgValuesT94R .ojgValuesT94R-tab:hover {
  color: #0978ef;
}

/* ── Panels ── */
#ojgValuesT94R .ojgValuesT94R-panel {
  display: none;
}

#ojgValuesT94R .ojgValuesT94R-panel.ojgValuesT94R-active {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  animation: ojgValuesT94R-fadein 0.5s ease both;
}

@keyframes ojgValuesT94R-fadein {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Left: image ── */
#ojgValuesT94R .ojgValuesT94R-imgwrap {
  background: #f1e9fb;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
}

#ojgValuesT94R .ojgValuesT94R-imgwrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Right: content ── */
#ojgValuesT94R .ojgValuesT94R-tagline {
  display: inline-block;
  color: #0978ef;
  text-transform: uppercase;
  letter-spacing: 1.6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
}

#ojgValuesT94R .ojgValuesT94R-subheading {
  color: #07242f;
  font-size: 30px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 20px 0;
}

#ojgValuesT94R .ojgValuesT94R-text {
  color: #5b6b78;
  font-size: 15.5px;
  line-height: 1.85;
  margin: 0;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  #ojgValuesT94R .ojgValuesT94R-heading {
    font-size: 38px;
  }
}

@media (max-width: 900px) {
  #ojgValuesT94R {
    padding: 64px 24px;
  }

  #ojgValuesT94R .ojgValuesT94R-tabs {
    gap: 28px;
  }

  #ojgValuesT94R .ojgValuesT94R-tab {
    font-size: 15px;
  }

  #ojgValuesT94R .ojgValuesT94R-panel.ojgValuesT94R-active {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #ojgValuesT94R .ojgValuesT94R-imgwrap {
    aspect-ratio: 16/10;
  }

  #ojgValuesT94R .ojgValuesT94R-subheading {
    font-size: 25px;
  }
}

/* Mobile Large */
@media (max-width: 768px) {
  #ojgValuesT94R .ojgValuesT94R-heading {
    font-size: 30px;
  }
}

@media (max-width: 560px) {
  #ojgValuesT94R {
    padding: 48px 18px;
  }

  #ojgValuesT94R .ojgValuesT94R-head {
    margin-bottom: 34px;
  }

  #ojgValuesT94R .ojgValuesT94R-heading {
    font-size: 26px;
    margin: 0 0 16px 0;
  }

  #ojgValuesT94R .ojgValuesT94R-tabs {
    gap: 18px 22px;
    margin-bottom: 38px;
  }

  #ojgValuesT94R .ojgValuesT94R-tab {
    font-size: 14px;
    padding-bottom: 10px;
  }

  #ojgValuesT94R .ojgValuesT94R-subheading {
    font-size: 21px;
  }

  #ojgValuesT94R .ojgValuesT94R-text {
    font-size: 14px;
  }
}

/* Mobile Extra Small */
@media (max-width: 360px) {
  #ojgValuesT94R .ojgValuesT94R-heading {
    font-size: 22px;
  }
}
