.home-hero {
  position: relative;
  background: #0b1dbd;
  padding: 5% 0 5%; /* space for overlap */
  overflow: hidden; /* IMPORTANT */
}
.content {
  width: 1200px;
  max-width: 100%;
  margin: 0 2%;
}

.hero-inner {
  position: relative;

  display: flex;
  align-items: center;
  gap: 5px;
}
.hero-bg {
  position: absolute;
  right: 0;
  top: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.hero-bg img {
  max-height: 90%;
  width: auto;
}

.hero-image {
  flex: 1;
}

.hero-content h1 {
  color: #ffffff;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
}

.highlight {
  color: #39d353;
}

hero-btn{
	background: #0b1dbd;
}
.hero-image {
  flex: 1;
}

/* R vector */
.hero-r-vector {
  position: absolute;
  top: -19px;
  left: 25%;

  width: 620px;
  height: 700px;

  background: url('./assets/images/hero-r.svg') no-repeat;
  z-index: 1;

}


.hero-content {
  flex: 1;
}


.hero-search-wrap {
  position: relative;
  margin-top: -30px;  /* overlap amount */
  z-index: 20;
}

.advance-search {
  background: #f6f9fc;
  padding: 40px 0 40px;
  border-bottom: 1px solid #e6eef7;
 position: relative;
  margin-top: -80px; /* overlap amount */
  z-index: 30;

}


.hero-search {
  margin-top: 10px;   
}

@media (max-width: 768px) {
  .home-hero {
    height: auto;
    padding: 80px 0;
  }

  .hero-content h1 {
    font-size: 30px;
  }

  .hero-content {
    max-width: 100%;
  }
}
.hero-desc {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 480px;
}

.advance-form select {
  height: 35px;
  padding: 0 14px;
  border-radius: 6px;
  border: 1px solid #e1e6ef;
  background: #fff;
  font-size: 14px;
}
.btn-search {
  height: 35px;
  background: #0b1dbd;
  color: #fff;
  border-radius: 7px;
  border: none;
  font-weight: 400;
  cursor: pointer;
}

.btn-search:hover {
  background: #0818a0;
}
.advance-form {
  display: flex;
  gap: 1px;
 align-items: center;
  flex-wrap: wrap;
  padding: 3px;
  background: #f6f9fc;
  border-radius: 14px;
  border: 3px solid #5cd65c; /* green outline */
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  max-width: 68%;
  margin: 0 auto 0;
}


.advance-select {
  height: 48px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #e1e6ef;
  background: #fff;
  font-size: 14px;
  min-width: 160px;
  cursor: pointer;
}

.advance-select:focus {
  outline: none;
  border-color: #2b4eff;
  box-shadow: 0 0 0 2px rgba(43,78,255,0.15);
}

/* HERO BUTTON */

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;


  padding: 5px 10px;

  background: #39d353;          /* green */
  color: #0b1dbd;               /* dark blue text */

  font-size: 16px;
  font-weight: 600;
  text-decoration: none;

  border-radius: 10px;
  transition: all 0.3s ease;
}

.hero-btn:hover {
  background: #2fc04a;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Arrow animation */
.hero-btn .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.hero-btn:hover .arrow {
  transform: translateX(5px);
}

/* Responsive */
@media (max-width: 992px) {
  .advance-form {
    flex-wrap: wrap;
  }

  .advance-select,
  .btn-search {
    width: 100%;
  }
}

.hero-search,
.advance-search {

  z-index: 5;

}

.hero-brand-logo {
  position: absolute;
  bottom: 60px;
  right: 80px;
  z-index: 3;
}

.hero-brand-logo img {
  width: 100%;   /* adjust size */
  height: auto;
  opacity: 0.95;
  color: #fff;
  margin-top: 20%;
}
.hero-search-wrap {
  position: relative;
  margin-top: -5%;  /* overlap amount */
  z-index: 20;
}

.advance-title {
  font-size: 28px;
  font-weight: 700;
  color: #222;
}

/* =========================
   ARABIC RTL
========================= */
.home-hero--rtl {
  direction: rtl;
  text-align: right;
}

.home-hero--rtl .hero-inner {
  flex-direction: row-reverse;
}

.home-hero--rtl .hero-content h1,
.home-hero--rtl .hero-desc {
  text-align: right;
}



.home-hero--rtl .hero-brand-logo {
  right: auto;
  left: 80px;
}

.home-hero--rtl .hero-r-vector {
  left: auto;
  right: 25%;
  transform: scaleX(-1);
}

.home-hero--rtl .hero-btn {
  flex-direction: row-reverse;
}

.home-hero--rtl .hero-btn:hover .arrow {
  transform: translateX(-5px);
}