/* ===== Homepage hero (single slide): Ashghal badge + office visual ===== */


@media screen and (min-width: 1360px) {
  .site-logo {
      width: 180px !important;
  }
  .a2la-link img {
    width: 75px !important;}
}
.vertex-hero-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 55% at 82% 6%, rgba(255, 255, 255, .55), transparent 60%),
    linear-gradient(150deg, #4fa3e8 0%, #7fc0ef 22%, #cfe7fa 48%, #f3f9fd 72%, #ffffff 100%);
  padding: 230px 0 150px;
  z-index: 1;
}

.vertex-hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 130px;
  z-index: 2;
  line-height: 0;
}

.vertex-hero-wave-back {
  bottom: 14px;
  height: 150px;
  z-index: 1;
}

.vertex-hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

.vertex-hero-visual {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 58%;
  z-index: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 18%, rgba(0, 0, 0, .9) 45%, #000 70%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, .35) 18%, rgba(0, 0, 0, .9) 45%, #000 70%);
}

.vertex-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  /* opacity: .65; */
}

.vertex-hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(79, 163, 232, .18) 0%, rgba(255, 255, 255, .08) 45%, rgba(255, 255, 255, .55) 100%);
}

.vertex-hero-content {
  position: relative;
  z-index: 2;
}

/* ----- Ashghal Approved badge ----- */
.vertex-approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #2a317d 0%, #3a43a7 100%);
  padding: 15px 22px 15px 15px;
  border-radius: 15px;
  box-shadow: 0 12px 28px rgba(28, 138, 59, .28);
  margin-bottom: 26px;
}

.vertex-approved-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  /* height: 40px; */
  flex-shrink: 0;
}

.vertex-approved-badge .badge-icon svg {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(10, 45, 20, .3));
}

.vertex-approved-badge .badge-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  color: #fff;
}

.vertex-approved-badge .badge-text strong {
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .4px;
  text-transform: uppercase;
}

.vertex-approved-badge .badge-text small {
  font-size: 14px;
  font-weight: 500;
  opacity: .95;
}

/* ----- Heading / tagline / copy ----- */
.vertex-hero-content h1.main-heading {
  color: #061b44;
  font-size: 46px;
  line-height: 1.2;
  font-weight: 800;
  max-width: 620px;
  margin-bottom: 14px;
}

.vertex-hero-content p.hero-tagline {
  color: #0f6fd6;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 14px;
}

.vertex-hero-content .hero-divider {
  display: block;
  width: 70px;
  height: 3px;
  background: #0f6fd6;
  border-radius: 2px;
  margin-bottom: 15px;
}

.vertex-hero-content p.pera {
  color: #113884;
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 26px;
  font-weight: 600;
}

.vertex-hero-content p.pera strong {
  color: #0b2a5c;
  font-weight: 700;
}

.vertex-hero-section .btn-area .header-btn2 {
  color: #061b44;
  border-color: #061b44;
}

.vertex-hero-section .btn-area .header-btn2:hover {
  color: #061b44;
  border-color: #ffd203;
}

/* ----- Stats row (icon + figure + label, divider-separated) ----- */
.vertex-hero-section .hero-banner-counters {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  z-index: 2;
  margin-top: 40px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 0;
}

.vertex-hero-section .hero-counter-box {
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  padding: 0 18px;
  border-right: 1px solid #c9d6e8;
  border-top: 0;
  border-bottom: 0;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  min-width: 0;
  flex: 0 1 auto;
}

.vertex-hero-section .hero-counter-box:first-child {
  padding-left: 0;
}

.vertex-hero-section .hero-counter-box:last-child {
  border-right: 0;
  padding-right: 0;
}

.vertex-hero-section .hero-counter-box .counter-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 32px;
  color: #1265cd;
  flex-shrink: 0;
}

.vertex-hero-section .hero-counter-box .counter-text {
  line-height: 1.3;
}

.vertex-hero-section .hero-counter-box h3 {
  color: #1265cd;
  font-size: 26px !important;
  font-weight: 800;
  margin: 0;
}

.vertex-hero-section .hero-counter-box p {
  color: #637086;
  font-size: 13px;
  font-weight: 500;
  margin: 0;
  white-space: normal;
  line-height: 1.25;
}

@media (max-width: 991px) {
  .vertex-hero-section {
    padding: 170px 0 120px;
  }

  .vertex-hero-wave {
    height: 60px;
  }

  .vertex-hero-wave-back {
    height: 75px;
    bottom: 10px;
  }

  .vertex-hero-visual {
    width: 75%;
  }

  .vertex-hero-content h1.main-heading {
    font-size: 36px;
  }

  .vertex-hero-section .hero-counter-box {
    padding: 0 18px;
  }

  .vertex-hero-section .hero-counter-box:first-child {
    padding-left: 0;
  }
}

@media (max-width: 767px) {
  /* Photo becomes a bottom band, below the text content: no overlap with badge/headline */
  .vertex-hero-visual {
    width: 100%;
    left: 0;
    top: auto;
    bottom: 0;
    height: 280px;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 40%, #000 75%);
    mask-image: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, .7) 40%, #000 75%);
  }

  .vertex-hero-visual img {
    /* opacity: .6; */
    object-position: center 65%;
  }

  .vertex-hero-visual::after {
    background:transparent;
  }

  .vertex-hero-section {
    padding: 140px 0 300px;
    background:
      radial-gradient(ellipse 80% 40% at 85% 4%, rgba(255, 255, 255, .5), transparent 60%),
      linear-gradient(170deg, #4fa3e8 0%, #a9d4f3 28%, #eef7fd 58%, #ffffff 85%);
  }

  .vertex-hero-wave {
    height: 46px;
  }

  .vertex-hero-wave-back {
    height: 56px;
    bottom: 6px;
  }

  .vertex-hero-content h1.main-heading {
    font-size: 28px;
  }

  .vertex-hero-content p.hero-tagline {
    font-size: 17px;
  }

  .vertex-hero-content p.pera {
    font-size: 15px;
  }

  .vertex-approved-badge {
    padding: 9px 18px 9px 9px;
  }

  .vertex-approved-badge .badge-icon {
    width: 36px;
    height: 40px;
  }

  .vertex-approved-badge .badge-text strong {
    font-size: 14px;
  }

  .vertex-approved-badge .badge-text small {
    font-size: 13px;
  }

  .vertex-hero-section .hero-banner-counters {
    flex-wrap: wrap !important;
    row-gap: 16px;
  }

  .vertex-hero-section .hero-counter-box {
    padding: 0 14px;
    flex: 1 1 auto;
  }

  .vertex-hero-section .hero-counter-box .counter-icon {
    font-size: 20px;
    width: 26px;
    height: 26px;
  }

  .vertex-hero-section .hero-counter-box h3 {
    font-size: 20px !important;
  }

  .vertex-hero-section .hero-counter-box p {
    font-size: 11px;
    white-space: normal;
  }
}

@media (max-width: 420px) {
  .vertex-hero-content h1.main-heading {
    font-size: 25px;
    line-height: 1.3;
  }

  .vertex-hero-content p.hero-tagline {
    font-size: 16px;
  }

  .vertex-hero-visual {
    height: 240px;
  }

  .vertex-hero-section {
    padding-bottom: 260px;
  }

  .vertex-hero-section .hero-banner-counters {
    flex-direction: column;
    flex-wrap: nowrap !important;
    align-items: stretch;
    row-gap: 14px;
  }

  .vertex-hero-section .hero-counter-box {
    width: 100%;
    border-right: 0;
    padding: 0 0 14px;
    border-bottom: 1px solid #c9d6e8;
  }

  .vertex-hero-section .hero-counter-box:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }
}
