@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* ===== Hero section — full background video ===== */
.hero {
  width: 100%;
  max-width: 100%;
  position: relative;
  overflow: hidden;
  margin-top: 112px; /* matches fixed navbar height on desktop */
}

.hero__inner {
  position: relative;
  width: 100%;
  min-height: 700px;
}

/* ===== Large desktop (1300px+) — text starts scaling up here already,
   so it doesn't stay tiny until the screen gets huge ===== */
@media (min-width: 1300px) {
  .hero__left {
    max-width: 720px;
    padding: 84px 48px;
    gap: 34px;
  }

  .hero__heading {
    font-size: 44px;
  }

  .hero__subheading {
    font-size: 26px;
  }

  .hero__desc,
  .hero__desc-1 {
    font-size: 18px;
    max-width: 580px;
  }

  .hero__btn-primary,
  .hero__btn-outline {
    width: 285px;
    height: 50px;
    font-size: 13.5px;
  }

  .hero__avatars {
    width: 360px;
  }

  .hero__avatar {
    width: 47px;
    height: 47px;
  }

  .hero__avatar-line1 {
    font-size: 14.5px;
  }

  .hero__avatar-line2 {
    font-size: 17px;
  }
}

/* ===== Large / 4K desktop — container height scales with width so the
   video isn't vertically cropped when the viewport gets very wide.
   Text panel content is also scaled up so it doesn't look tiny on huge
   screens. ===== */
@media (min-width: 1600px) {
  .hero__inner {
    min-height: 44vw;
  }

  .hero__left {
    min-height: 44vw;
    max-width: 780px;
    padding: 90px 56px;
    gap: 36px;
  }

  .hero__video {
    object-position: right center;
  }

  .hero__heading {
    font-size: 48px;
  }

  .hero__subheading {
    font-size: 28px;
  }

  .hero__desc,
  .hero__desc-1 {
    font-size: 19px;
    max-width: 620px;
  }

  .hero__btn-primary,
  .hero__btn-outline {
    width: 300px;
    height: 54px;
    font-size: 14px;
  }

  .hero__avatars {
    width: 380px;
  }

  .hero__avatar {
    width: 50px;
    height: 50px;
  }

  .hero__avatar--1 { width: 52px; }
  .hero__avatar--3,
  .hero__avatar--4 { width: 48px; }

  .hero__avatar-line1 {
    font-size: 15px;
  }

  .hero__avatar-line2 {
    font-size: 18px;
  }
}

@media (min-width: 2000px) {
  .hero__inner {
    min-height: 40vw;
    max-height: 980px;
  }

  .hero__left {
    min-height: 40vw;
    max-height: 980px;
    max-width: 1000px;
    padding: 110px 72px;
    gap: 40px;
  }

  .hero__heading {
    font-size: 68px;
  }

  .hero__subheading {
    font-size: 38px;
    margin-top: 24px;
  }

  .hero__desc,
  .hero__desc-1 {
    font-size: 22px;
    line-height: 1.55;
    max-width: 760px;
    margin-top: 24px;
  }

  .hero__buttons {
    margin-top: 44px;
    gap: 22px;
  }

  .hero__btn-primary,
  .hero__btn-outline {
    width: 340px;
    height: 62px;
    font-size: 16px;
  }

  .hero__avatars {
    width: 420px;
    height: 52px;
  }

  .hero__avatar {
    width: 54px;
    height: 54px;
  }

  .hero__avatar--1 { width: 56px; }
  .hero__avatar--2 { left: 34px; }
  .hero__avatar--3 { left: 68px; width: 52px; }
  .hero__avatar--4 { left: 102px; width: 52px; }

  .hero__avatar-text {
    left: 168px;
    width: 240px;
  }

  .hero__avatar-line1 {
    font-size: 16px;
  }

  .hero__avatar-line2 {
    font-size: 19px;
  }
}

/* ===== Video covers the WHOLE hero (desktop) ===== */
.hero__right {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #ECF3FC;
  z-index: 1;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right 30%;
  display: block;
}

/* Overlay so text stays readable on top of the video */
.hero__right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(236,243,252,0.9) 0%, rgba(236,243,252,0.5) 45%, rgba(236,243,252,0.05) 75%);
  z-index: 2;
}

/* ===== Text panel sits ON TOP of the video ===== */
.hero__left {
  position: relative;
  z-index: 3;
  max-width: 660px;
  width: 100%;
  box-sizing: border-box;
  padding: 80px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 32px;
  min-height: 700px;
}

.hero__content {
  display: flex;
  flex-direction: column;
}

.hero__heading {
  margin: 0;
  color: #28407C;
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 40px;
  line-height: 110%;
  text-shadow: 0 2px 12px rgba(255, 255, 255, 0.7);
}

.hero__subheading {
  margin: 21px 0 0;
  color: #C68F26;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 25px;
  line-height: 100%;
}


.hero__desc {
  margin: 20px 0 0;
  max-width: 560px;
  color: #1F2937;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 145%;
}

.hero__desc-1 {
  margin: 20px 0 0;
  max-width: 480px;
  color: #1F2937;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 17px;
  line-height: 145%;
}

.hero__buttons {
  margin: 36px 0 0;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.hero__btn-primary {
  width: 270px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(180deg, #FDE9A8 0%, #E8A83C 55%, #C68F26 100%);
  color: #28407C;
  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 100%;
  white-space: nowrap;
  border-radius: 8px;
  box-shadow: 0 6px 14px rgba(198, 143, 38, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.hero__btn-primary:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 20px rgba(198, 143, 38, 0.45);
  filter: brightness(1.03);
}

.hero__btn-primary:active {
  transform: translateY(0) scale(1);
  box-shadow: 0 4px 10px rgba(198, 143, 38, 0.35);
  filter: none;
}

.hero__btn-primary-arrow {
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.hero__btn-primary:hover .hero__btn-primary-arrow {
  transform: translateX(4px);
}

.hero__btn-outline {
  width: 270px;
  height: 48px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;

  background: #D49A20;
  color: #FFFFFF;

  text-decoration: none;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 600;
  font-size: 13px;
  line-height: 100%;

  border: 1px solid #D49A20;
  border-radius: 8px;
  white-space: nowrap;

  transition: background 0.3s ease, color 0.3s ease,
    transform 0.2s ease, box-shadow 0.3s ease;
}

.hero__btn-outline:hover {
  background: #C68F26;
  color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(198, 143, 38, 0.25);
}

.hero__btn-outline:active {
  transform: translateY(0);
  box-shadow: none;
}

/* Section 2: avatars + trust text */
.hero__avatars {
  position: relative;
  width: 345px;
  max-width: 100%;
  height: 44px;
  display: flex;
  align-items: center;
}

.hero__avatar {
  position: absolute;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px #ffffff;
  transition: transform 0.3s ease;
}

.hero__avatars:hover .hero__avatar {
  transform: translateY(-4px);
}

.hero__avatar--1 { left: 0; width: 46px; z-index: 4; }
.hero__avatar--2 { left: 30px; z-index: 3; }
.hero__avatar--3 { left: 60px; width: 43px; z-index: 2; }
.hero__avatar--4 { left: 90px; width: 43px; z-index: 1; }

.hero__avatar-text {
  position: absolute;
  top: 0;
  left: 148px;
  width: 200px;
}

.hero__avatar-line1 {
  margin: 0;
  color: #2D2D2D;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  white-space: nowrap;
}

.hero__avatar-line2 {
  margin: 6px 0 0;
  color: #C68F26;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
  white-space: nowrap;
}

/* ===== Responsive — heading/text sits on top of video at every breakpoint ===== */

@media (max-width: 1500px) {
  .hero__inner {
    padding: 0;
    box-sizing: border-box;
  }
}

/* Large laptop / small desktop */
@media (max-width: 1200px) {
  .hero {
    margin-top: 100px; /* matches navbar height at this breakpoint (logo 66px) */
  }
}

@media (max-width: 1180px) {
  .hero__left {
    max-width: 560px;
    padding: 60px 32px;
    min-height: 600px;
  }

  .hero__inner {
    min-height: 600px;
  }

  .hero__heading {
    font-size: 34px;
  }

  .hero__subheading {
    font-size: 22px;
  }

  .hero__buttons {
    gap: 14px;
  }

  .hero__btn-primary,
  .hero__btn-outline {
    width: 235px;
    height: 46px;
    font-size: 12px;
  }
}

@media (max-width: 1024px) {
  .hero {
    margin-top: 92px; /* matches navbar height at this breakpoint (logo 58px) */
  }
}

/* Tablet — video still fills full background */
@media (max-width: 880px) {
  .hero__inner {
    min-height: 620px;
  }

  .hero__left {
    max-width: 100%;
    min-height: 620px;
    padding: 48px 24px;
    gap: 28px;
  }

  .hero__video {
    object-position: center 20%;
  }

  .hero__right::after {
    background: linear-gradient(180deg, rgba(236,243,252,0.95) 0%, rgba(236,243,252,0.65) 40%, rgba(236,243,252,0.1) 70%);
  }

  .hero__heading {
    font-size: 30px;
  }

  .hero__subheading {
    font-size: 20px;
  }

  .hero__desc,
  .hero__desc-1 {
    max-width: 100%;
    font-size: 15px;
  }

  .hero__btn-primary {
    width: 100%;
    max-width: 270px;
    height: 48px;
  }

  .hero__btn-outline {
    width: 100%;
    max-width: 270px;
    height: 48px;
    padding: 0;
  }
}

@media (max-width: 860px) {
  .hero {
    margin-top: 80px; /* matches mobile-menu navbar height (logo 50px) */
  }
}

/* Mobile — video as full background, heading floats ON TOP of it (overlay style) */
@media (max-width: 600px) {
  .hero__inner {
    min-height: 640px;
  }

  .hero__left {
    position: relative;
    z-index: 3;
    min-height: 640px;
    padding: 32px 20px;
    gap: 20px;
    justify-content: flex-start;
  }

  .hero__right {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .hero__video {
    object-position: top center;
  }

 .hero__right::after {
  display: block;
  background: linear-gradient(
    180deg,
    rgba(236, 243, 252, 0.98) 0%,
    rgba(236, 243, 252, 0.94) 35%,
    rgba(236, 243, 252, 0.78) 65%,
    rgba(236, 243, 252, 0.55) 100%
  );
}

  .hero__heading {
    font-size: 24px;
  }

  .hero__subheading {
    font-size: 18px;
  }

  .hero__desc,
  .hero__desc-1 {
    font-size: 14px;
  }

  .hero__buttons {
    flex-direction: column;
    align-items: stretch;
    margin: 20px 0 0;
    gap: 14px;
  }

  .hero__btn-primary {
    width: 100%;
    max-width: 280px;
    height: 48px;
    margin: 0 auto;
  }

  .hero__btn-outline {
    width: 100%;
    max-width: 280px;
    height: 48px;
    margin: 0 auto;
  }

  .hero__avatars {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 46px;
    flex-wrap: wrap;
    padding-bottom: 8px;
  }

  .hero__avatar-text {
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    margin-top: 58px;
    z-index: 5;
  }
}

@media (max-width: 480px) {
  .hero {
    margin-top: 70px; /* matches navbar height at smallest breakpoint (logo 44px) */
  }
}

/* Small mobile fine-tune */
@media (max-width: 380px) {
  .hero__inner {
    min-height: 600px;
  }

  .hero__left {
    min-height: 600px;
  }

  .hero__heading {
    font-size: 20px;
  }

  .hero__subheading {
    font-size: 16px;
  }

  .hero__desc,
  .hero__desc-1 {
    font-size: 13px;
  }

  .hero__btn-primary {
    max-width: 260px;
    height: 44px;
    font-size: 12px;
    gap: 6px;
  }

  .hero__btn-outline {
    max-width: 260px;
    height: 44px;
    font-size: 12px;
  }
}