/* =========================
   HERO BANNER (PARALLAX READY)
   ========================= */

.banner {
  position: relative;
  height: 55vh;
  min-height: 360px;
  margin-top: 0 !important;
  overflow: hidden;
}

.banner img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9);
  /* JS will move this on scroll */
  will-change: transform;
  transition: transform 0.25s ease-out;
}

/* bottom fade into dark page bg */
.banner::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    rgba(5, 8, 22, 0) 0%,
    #ffffff 92%
  );
  pointer-events: none;
}

/* ==============================
   EMPLOYEE BENEFITS – PRO CARD
   ============================== */

/* Outer section spacing (uses your existing grid container .top2) */
.col_sm1 .top2 {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 16px;
  box-sizing: border-box;
}

/* Main heading */
.main_heading h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(2rem, 3vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  text-align: center;
  margin-bottom: 18px;
}

/* ---------- Card container ---------- */

.ab_shawdo {
  position: relative;
  margin-top: 10px;
  padding: 32px 30px;
  border-radius: 26px;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  display: flex;
  flex-wrap: nowrap;
  gap: 38px;
  align-items: stretch;
  overflow: hidden;

  /* scroll-reveal base state (keep animation) */
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

/* when card becomes visible (class added by JS) */
.ab_shawdo.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* inner columns – KEEP reveal feel */
.ab_shawdo .messge,
.ab_shawdo .who {
  float: none;
  width: auto;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s 0.12s ease-out, transform 0.7s 0.12s ease-out;
}

.ab_shawdo.in-view .messge,
.ab_shawdo.in-view .who {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Left column (text) ---------- */

.ab_shawdo .messge {
  flex: 1.4;
  min-width: 0;
}

.ab_shawdo .messge h1 {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #0f172a;
  margin-bottom: 12px;
}

.ab_shawdo .messge p {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 10px;
  text-align: justify;
}

.ab_shawdo .messge p strong {
  font-weight: 600;
  color: #111827;
}

/* bullet wrappers */
.ab_shawdo .bullet {
  margin-top: 10px;
}

/* bullet list styling */
.ab_shawdo .bullet ul {
  list-style: none;
  padding: 0;
  margin: 0 0 4px 0;
}

.ab_shawdo .bullet li {
  position: relative;
  padding-left: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #374151;
  margin-bottom: 4px;
  text-align: justify;
}

.ab_shawdo .bullet li::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 0.72em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #0f172a;
  transform: translateY(-50%);
}

/* ---------- Right column (images) ---------- */

.ab_shawdo .who {
  flex: 1.1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.ab_shawdo .who br {
  display: none;
}

.ab_shawdo .who img {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.35);
  transform-origin: center center;

  /* KEEP hover animation */
  transition: transform 0.45s ease, box-shadow 0.45s ease, filter 0.45s ease;
}

/* slight “stacked” feel on desktop */
.ab_shawdo .who img:first-child {
  transform: scale(1.02) translateY(0) rotate(-1.8deg);
}

.ab_shawdo .who img:last-child {
  transform: scale(1.02) translateY(-8px) rotate(1.4deg);
}

/* hover effect (unchanged behaviour, just looks cleaner) */
.ab_shawdo .who img:hover {
  transform: translateY(-10px) scale(1.05) rotate(0deg);
  box-shadow: 0 32px 80px rgba(15, 23, 42, 0.55);
  filter: saturate(1.05) brightness(1.02);
}

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .ab_shawdo {
    flex-direction: column;
    padding: 24px 20px 26px;
    gap: 22px;
  }

  .ab_shawdo .who {
    order: -1; /* bring images on top on mobile if you want; remove this line if not */
    max-width: 460px;
    margin: 0 auto;
  }

  .ab_shawdo .who img:first-child,
  .ab_shawdo .who img:last-child {
    transform: scale(1.01) translateY(0) rotate(0deg);
  }
}

@media (max-width: 640px) {
  .ab_shawdo {
    padding: 20px 16px 22px;
  }

  .ab_shawdo .messge h1 {
    font-size: 1.35rem;
  }

  .ab_shawdo .messge p,
  .ab_shawdo .bullet li {
    font-size: 0.93rem;
  }
}
.ab_shawdo .messge p {
  font-size: 1rem;   /* instead of 0.98rem */
}

.ab_shawdo .bullet li {
  font-size: 0.98rem; /* instead of 0.95rem */
}
