/* Nexa Regular - weight 400 */
@font-face {
  font-family: "Nexa Regular";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/Nexa/Nexa Regular.otf") format("opentype");
}

/* Nexa Bold - weight 700 */
@font-face {
  font-family: "Nexa Bold";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/Nexa/Nexa Bold.otf") format("opentype");
}

/* Nexa Heavy - weight 900 */
@font-face {
  font-family: "Nexa Heavy";
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url("../../assets/fonts/Nexa/Nexa Heavy.otf") format("opentype");
}

/* Nexa Heavy - weight 900 */
@font-face {
  font-family: "Nexa Light";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("../../assets/fonts/Nexa/Nexa\ Light.otf") format("opentype");
}

@font-face {
  font-family: "Bukra";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../../assets/fonts/bukra/29LT\ Bukra\ Regular.ttf") format("opentype");
}

@font-face {
  font-family: "Bukra";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../../assets/fonts/Bukra/29LT Bukra Medium.otf") format("opentype");
}

@font-face {
  font-family: "Bukra";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../../assets/fonts/Bukra/29LT Bukra Bold.otf") format("opentype");
}

/* Tajawal Regular (100–500) */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 100 500;
  font-display: swap;
  src: url("../../assets/fonts/tajawal/tajawal-regular.woff2") format("woff2");
}

/* Tajawal Bold (600–900) */
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
  src: url("../../assets/fonts/tajawal/tajawal-bold.woff2") format("woff2");
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../../assets/fonts/montserrat/montserrat-normal-latin-ext.woff2") format("woff2");
}

:root {
  --primary-color: #004aad;
  --secondary-color: #ffffff;
  --accent-color: #e5f1ff;
  --text-color: #000000;
  --gray: #9d9d9d;
  --radius: 16px;
  --font-family: "Nexa Regular", sans-serif;
  --color-sky-blue: #008de2;
  --color-white: #ffffff;
  --radius-full: 100px;
  --font-size-base: 16px;
  --line-height-tight: 100%;
  --font-weight-bold: 700;
  --dark-blue: #013183;
  --darker-blue: #062661;
}

:lang(ar) {
  font-family: "Tajawal", sans-serif !important;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-family);
  background-color: var(--secondary-color);
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  /* Prevent horizontal scroll */
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Remove Chrome autofill blue background */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px rgb(255, 255, 255) inset !important;
  /* background color */
}

.col-50 {
  width: 50%;
}

.col-60 {
  width: 60%;
}

.col-40 {
  width: 40%;
}

.col-30 {
  width: 30%;
}

.img-responsive {
  max-width: 100%;
  height: auto;
  display: block;
  width: auto;
}

h1 {
  font-family: "Nexa Heavy", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 33px;
  letter-spacing: 0;
  text-align: center;
  margin: 0;
  color: var(--dark-blue);
}

h2 {
  font-family: "Nexa Bold", sans-serif;
  font-weight: 400;
  font-size: 28px;
  line-height: 33px;
  letter-spacing: 0;
  text-align: center;
  margin: 0;
  color: var(--dark-blue);
}

h3 {
  font-family: "Nexa Bold", sans-serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 38px;
  letter-spacing: 0;
  text-align: center;
  margin: 0 auto;
  color: var(--color-white);
}

p {
  font-family: "Nexa Light", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 22px;
  letter-spacing: 0;
  text-align: center;
  margin: 10px auto;
  color: var(--color-white);
}

.d-block {
  display: block;
}

.container.w-60 {
  max-width: 60%;
}

.container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  flex-wrap: wrap;
  /* makes it responsive */
  gap: 5px;
  padding: 1rem;
}

.flex-space-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.iti__selected-country {
  height: 40px;
}

.eng-ar-btn {
  font-family: var(--font-main);
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-base);
  line-height: var(--line-height-tight);
  background-color: var(--color-sky-blue);
  color: var(--color-white);
  border-radius: var(--radius-full);
  padding: 7px 20px 7px 20px;
  border: none;
  cursor: pointer;
}

.ar .eng-ar-btn {
  padding-top: 10px;
}

.arabic-txt {
  font-family: "Tajawal";
}

.hero-container {
  padding: 20px;
  position: relative;
}

.hero-section {
  background-image: url("./images/Budgetak LP - Desktop - Hero.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  height: 640px;
  /* Fixed height */
  width: 100%;
  padding: 30px 0;
  border-radius: 16px;
}

.hero-section .container.hide-mobile {
  display: flex;
}

.hero img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.absolute-img img {
  position: absolute;
  left: 0;
  top: 150px;
}

.small-white-text {
  width: 100%;
  display: block;
  text-align: left;
}

.small-white-text span {
  font-size: 12px;
  color: #fff;
  line-height: 12px;
  font-family: "Nexa Light";
}

.form-box {
  background-color: #ffffffdb;
  padding: 1.5rem;
  border-radius: 4px;
  box-shadow: 0 0 24px rgb(0 0 0 / 28%);
  margin-top: -2rem;
}

.form-box input,
.form-box select,
.form-box option {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 0.6rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-family: "Nexa Light";
  color: var(--gray);
  font-weight: 400;
  outline: none;
  font-size: 14px;
}

.form-box input::placeholder {
  color: var(--gray);
}

.form-box select {
  appearance: none;
}

.lowercase {
  text-transform: lowercase;
}

html[dir="rtl"] .btn {
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--color-sky-blue);
  color: var(--secondary-color);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 400;
  font-size: 18px;
  width: 100%;
  font-family: "Nexa Heavy";
  outline: none;
  line-height: 20px;
  margin: 0.5rem 0;
}

h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.iti.iti--allow-dropdown.iti--show-flags.iti--inline-dropdown {
  width: 100%;
  margin-bottom: 0.6rem;
}

.select-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

.select-wrapper::after {
  content: "";
  position: absolute;
  top: 40%;
  right: 10px;
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #2b2d2e;
  pointer-events: none;
  transform: translateY(-50%);
}

.features,
.highlights {}

.owl-stage {
  display: flex;
  flex-wrap: nowrap;
}

div .owl-dots {
  display: flex;

  align-items: center;
  justify-content: center;
}

.owl-nav {
  display: none;
}

div button.owl-dot {
  width: 15px;
  height: 15px;
  border: 2px solid #013183 !important;
  margin: 20px 5px 0 0;
  border-radius: 50%;
}

div button.owl-dot.active {
  background-color: #013183 !important;
}

.iti.iti--allow-dropdown.iti--show-flags {
  width: 100%;
  margin-bottom: 0.5rem;
}

div .owl-carousel button.owl-dot {
  display: flex;
  position: relative;
  z-index: 2;
  align-items: center;
  justify-content: flex-start;
}

div .owl-carousel .hide-mobile,
div .owl-carousel .hide-desktop {
  padding: 20px;
}

.features ul {
  list-style: none;
}

.features li::before {
  content: "✔";
  color: var(--primary-color);
  margin-right: 8px;
}

.highlight-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: stretch;
  /* ensures equal height for all boxes */
}

.highlight-box {
  display: flex;
  /* enables vertical centering */
  align-items: center;
  /* vertical alignment */
  justify-content: center;
  /* horizontal alignment */
  background-color: var(--secondary-color);
  padding: 1rem;
  border-radius: 10px;
  min-width: 200px;
  min-height: 75px;
  /* ensures enough height for vertical centering */
  flex: 1 1 200px;
  /* responsive growth */
  text-align: center;
  color: var(--dark-blue);
  font-size: 16px;
  line-height: 1.3;
  font-family: "Nexa Bold", sans-serif;
  box-sizing: border-box;
  font-weight: 700;
}

.about-section {
  background: var(--dark-blue);
  text-align: center;
  color: var(--color-white);
  padding: 30px 0;
}

.highlights {
  background-image: url("./images/Budgetak LP - Desktop - BG.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  padding: 30px 0;
}

.owl-carousel .item img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.owl-carousel {
  width: 1180px;
  overflow: hidden;
  z-index: 1;
}

button.hidden-btn {
  height: 120px;
  width: 300px;
  position: absolute;
  bottom: 30px;
  left: 100px;
  outline: none;
  cursor: pointer;
  z-index: 99999999;
  background: transparent;
  border: none;
}

html[dir="rtl"] button.hidden-btn {
  right: 100px;
  left: auto;
}

section.why-budgetak {
  background: var(--dark-blue);
  padding: 30px 0;
  text-align: center;
}

.why-budgetak h2 {
  text-align: center;
  width: 100%;
  color: var(--color-white);
}

.why-budgetak .text-center {
  text-align: center;
  width: 100%;
}

.why-budgetak a.btn {
  max-width: 290px;
}

fieldset {
  border: none;
}

footer {
  width: 100%;
  height: 40px;
  background: var(--darker-blue);
}

.error {
  display: flex;
  margin-top: 0;
  transition: all 0.3s ease;
  color: #ff4b82;
  font-size: 12px;
  line-height: 12px;
  font-weight: 600;
  position: relative;
  right: 0;
  bottom: 0px;
  width: 100%;
  text-align: left;
  white-space: normal;
  /* allow text to wrap */
  word-break: break-word;
  /* break long words */
}

div#success {
  text-align: center;
  margin: 30px 0 0;
}

div#success h4 {
  font-size: 25px;
  color: #11aa16;
  border: 1px solid;
  padding: 25px 0;
  background: #eee;
  line-height: 29px;
}

#success-overlay {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0px;
  bottom: 0px;
  width: 100%;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.8);
  color: #3d3d3d;
}

#success-overlay-innerwrap {
  display: block;
  position: relative;
  width: 100%;
  max-width: 600px;
  min-height: 200px;
  padding: 40px;
  background-color: rgb(255 255 255 / 90%);
  border-radius: 5px;
}

#success-overlay h4 {
  text-align: center;
  font-size: 30px;
  color: #191919;
}

#success-overlay h5 {
  text-align: center;
  font-size: 18px;
  color: #191919;
}

#success-overlay-close {
  position: absolute;
  right: 0px;
  top: 0px;
  font-size: 22px;
  cursor: pointer;
  padding: 12px 15px 8px;
  font-weight: 600;
  background: #000;
  color: #fff;
}

html[dir="rtl"] #success-overlay h4,
html[dir="rtl"] #success-overlay h5 {
  font-family: "Tajawal", "Amiri", sans-serif;
  /* Arabic-friendly fonts */
}

.hide-desktop {
  display: none;
}

.hide-mobile {
  display: block;
}

.features,
.highlights {
  width: 100%;
}

/* arabic css start here */
html[dir="rtl"] .hero-section {
  direction: ltr;
}

html[dir="rtl"] .eng-ar-btn a {
  font-family: "Nexa Heavy", sans-serif !important;
}

html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] h1 {
  font-family: "bukra", sans-serif !important;
}

html[dir="rtl"] h2 {
  font-weight: 500;
}

html[dir="rtl"] form#landing_page_form,
html[dir="rtl"] #success-overlay h4 {
  direction: rtl;
}

html[dir="rtl"] .select-wrapper::after {
  left: 10px;
  right: auto;
}

html[dir="rtl"] .small-white-text {
  text-align: right;
}

html[dir="rtl"] .owl-carousel.owl-theme.owl-loaded.owl-drag {
  direction: ltr;
}

html[dir="rtl"] input#phone {
  text-align: right;
}

html[dir="rtl"] #success-overlay-close {
  left: 0;
  right: unset;
}

html[dir="rtl"] .error {
  left: 0 !important;
  right: unset !important;
  display: block;
}