@import url('./fonts/DroidrumArabic/stylesheet.css');

:root {
  --primary-green: #21a34a;
  --dark-green: #27ae60;
  --light-blue: #00a5e3;
  --light-gray: #efefef;
}

body {
  font-family: 'DiodrumArabic', system-ui, -apple-system, BlinkMacSystemFont,
    'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue',
    sans-serif;
  color: #333;
}

/* Navbar */
.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.navbar a.navbar-brand > img {
  min-width: 150px;
  margin-top: 0px;
  padding-bottom: 16px;
}

.navbar li.nav-item a {
  font-family: 'DiodrumArabic', sans-serif;
  font-size: 0.8rem !important;
  color: #1c2b39;
}

.navbar li.nav-item.book-now-cta a {
  transition: 0.3s all linear;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 15px;
  background: #0997d8;
  background: -moz-linear-gradient(90deg, #0997d8 0%, #0061be 100%);
  background: -webkit-linear-gradient(90deg, #0997d8 0%, #0061be 100%);
  background: linear-gradient(90deg, #0997d8 0%, #0061be 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0997d8", endColorstr="#0061BE", GradientType=1);
  border: none;
  padding: 0.6rem 1rem !important;
  color: #ffffff !important;
}

.navbar li.nav-item.book-now-cta a:hover {
  background: #0997d8;
  background: -moz-linear-gradient(90deg, #0997d8 0%, #0997d8 100%);
  background: -webkit-linear-gradient(90deg, #0997d8 0%, #0997d8 100%);
  background: linear-gradient(90deg, #0997d8 0%, #0997d8 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#0997d8", endColorstr="#0997d8", GradientType=1);
}

.navbar li.nav-item.book-now-cta a img {
  width: 20px;
}

.navbar a#languageDropdown {
  background: #d2dbe3;
  border-radius: 15px;
  padding: 0.6rem 1rem !important;
}

.navbar .nav-item.dropdown.language-switcher ul.dropdown-menu {
  min-width: 6rem;
  background: #d2dbe3;
  border-radius: 15px;
  border: none;
  padding: 0.3rem 0.5rem !important;
}

.navbar .nav-item.dropdown.language-switcher ul.dropdown-menu .dropdown-item {
  text-align: center;
}

.navbar
  .nav-item.dropdown.language-switcher
  ul.dropdown-menu
  .dropdown-item:hover {
  background-color: transparent;
}

.navbar ul.navbar-nav > li {
  margin-right: 1rem;
}

li.nav-item.tollfree svg {
  width: 30px;
  height: 30px;
}

html[lang='ar'] li.nav-item.tollfree svg {
  transform: scale(-1, 1);
}

li.nav-item.tollfree > a {
  text-decoration: none;
  color: #138946;
  font-weight: 600 !important;
  font-size: 1rem !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  transition: 0.3s all linear;
}

li.nav-item.tollfree {
  /* border: 1px solid #eee; */
}

li.nav-item.tollfree > a:hover {
  color: #0997d8;
}

.book-now-mobile {
  display: none;
}

/* Hero Section */
.hero-section {
  color: white;
  padding: 60px 0;
  position: relative;
  background-image: url('./img/banner.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 650px;
  display: flex;
  align-items: center;
  max-width: 1300px;
  margin-inline: auto;
}

html[dir='rtl'] .hero-section {
  background-image: url('./img/banner-ar.jpg');
}

.hero-section .hero-text::after {
  content: '';
  position: absolute;
  top: 2.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 1050px;
  height: 475px;
  background: url(./img/svg/banner-line.svg) no-repeat center center;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
  opacity: 1;
  transition: all 0.3s ease;
}

html[dir='rtl'] .hero-section .hero-text::after {
  background: url(./img/svg/banner-line-ar.svg) no-repeat center center;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
}

.hero-image {
  flex: 1;
  max-width: 400px;
}

.hero-image img {
  width: 100%;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-text {
  flex: 1;
  margin-bottom: 55px;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: normal;
  margin-bottom: 20px;
}

.hero-text h1 span {
  font-size: 2rem;
}

.hero-text h4 {
  font-size: 1.1rem;
  font-weight: normal;
  line-height: 1.6;
}

/* Icon Navigation */
.icon-nav {
  background: none;
  margin-top: -130px;
  position: relative;
  padding: 30px 0;
}

.icon-item {
  padding: 15px;
  margin: 0px;
  text-align: center;
  border-radius: 0.8rem;
  transition: all 0.3s;
  cursor: pointer;
  background: #efefef;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.icon-item > img {
  height: 83px;
  width: 83px;
  margin-bottom: 1rem;
  /* padding-bottom: 1rem; */
}

.icon-item p {
  border-top: 1px solid #b5b4b4;
  padding-top: 1rem;
  min-height: 65px;
}

.icon-item:hover {
  background: var(--light-gray);
  transform: translateY(-5px);
}

.icon-item i {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 10px;
}

.icon-item p {
  font-size: 0.9rem;
  margin: 0;
  color: #000;
  font-weight: 600;
}

/* Services Section */
.services-section {
  padding: 40px 0;
}

.services-heading {
  background: 0% 25% / cover no-repeat url('./img/footer-bg.jpg');
  padding: 25px;
}

.services-heading h2 {
  color: white;
  text-align: center;
  font-size: 2rem;
  font-weight: 400;
  margin-bottom: 0;
}

.services-content {
  background: center top / cover no-repeat url('./img/services-bg-100.jpg');
  padding: 50px 150px;
}

.service-card {
  position: relative;
  background: white;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 15px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.service-card:hover {
  /* transform: translateX(10px); */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.service-card-content {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 20px;
}

.service-icon {
  width: 40px;
  height: 40px;
  /* background: var(--light-gray); */
  /* border-radius: 10px; */
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon i {
  font-size: 1.5rem;
  color: var(--primary-green);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 500;
  color: #333;
  margin: 0;
}

.service-arrow {
  color: var(--primary-green);
  font-size: 1.2rem;
  position: absolute;
  inset-inline-end: 20px;
  top: 25px;
}

.service-details {
  width: 100%;
  padding: 0 60px;
  margin-top: 20px;
  border-radius: 8px;
  display: none;
}

.service-details.active {
  display: block;
}

ul.tick-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

ul.tick-list li {
  padding: 8px 0;
  position: relative;
  padding-inline-start: 30px;
}

ul.tick-list li::before {
  content: '';
  background: center / contain no-repeat url('./img/svg/tick-icon.svg');
  width: 15px;
  height: 15px;
  position: absolute;
  top: 10px;
  inset-inline-start: 0;
}

ul.tick-list.white li::before {
  background: center / contain no-repeat url('./img/svg/tick-white.svg');
}

.service-details li:last-child {
  border-bottom: none;
}

.service-detail-card {
  padding: 40px 0;
  background: linear-gradient(90deg, #fff, transparent);
  margin: 10px 0;
  border-radius: 20px;
}

html[dir='rtl'] .service-detail-card {
  background: linear-gradient(270deg, #fff, transparent);
}

.service-detail-card:nth-child(odd) {
  background: linear-gradient(90deg, transparent, #fff);
}

html[dir='rtl'] .service-detail-card:nth-child(odd) {
  background: linear-gradient(270deg, transparent, #fff);
}

.service-detail-card:last-child {
  border-bottom: none;
}

.service-detail-content {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  gap: 40px;
  align-items: center;
  padding: 30px 60px;
}

.service-detail-card:nth-child(even) .service-detail-content {
  flex-direction: row;
}

.service-detail-icon {
  flex-shrink: 0;
}

.service-detail-icon img {
  width: 120px;
  height: 120px;
}

.service-detail-text h4 {
  font-weight: 600;
}

/* Contact CTA Section */
.contact-cta {
  background: center / cover no-repeat url('./img/contact-cta-bg-100.jpg');
  padding: 40px 0;
}

.contact-cta h3 {
  color: white;
  font-size: 2rem;
  font-weight: 300;
  margin-bottom: 0;
}

.contact-cta p {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.cta-button {
  background: white;
  color: var(--light-blue);
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 500px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Info Cards Section */
.info-cards {
  padding: 60px 0;
  /* background: var(--light-gray); */
}

.info-card {
  background: var(--light-gray);
  border-radius: 15px;
  padding: 30px;
  height: 100%;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.info-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.info-card.green {
  background: var(--primary-green);
  color: white;
}

.info-card.blue {
  background: center / contain no-repeat url('./img/ksa-map.png')
    var(--light-blue);
  color: white;
  display: flex;
  justify-content: space-between;
}

.qr-wrapper {
  width: 50%;
  text-align: center;
}

.qr-wrapper a {
  text-decoration: none;
  color: #fff;
  font-size: 0.8rem;
}

.qr-links {
  display: block;
  width: 100%;
  padding: 5px;
  border-radius: 5px;
  background: #fff;
}

.info-card h3 {
  /* font-size: 1.5rem; */
  margin-bottom: 20px;
  font-weight: 400;
}

/* FAQ Section */
.faq-section {
  background: white;
  padding-bottom: 60px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-weight: 400;
}

.faq-item {
  background: #2ab24b;
  background: -moz-linear-gradient(90deg, #2ab24b 0%, #007242 100%);
  background: -webkit-linear-gradient(90deg, #2ab24b 0%, #007242 100%);
  background: linear-gradient(90deg, #2ab24b 0%, #007242 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2ab24b", endColorstr="#007242", GradientType=1);
  color: white;
  border-radius: 20px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-question {
  padding: 20px 25px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
}

.faq-question:hover {
  background: var(--dark-green);
}

.faq-question p {
  margin: 0;
  font-size: 1rem;
  flex: 1;
  font-weight: 500;
}

.faq-question i {
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.faq-question.active i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background: rgba(255, 255, 255, 0.1);
}

.faq-answer.active {
  max-height: 500px;
}

.faq-answer-content {
  padding: 20px 25px;
  color: white;
  line-height: 1.6;
}

/* App Download Section */
/* .app-download-section {
  background-color: #f0f0f1;
  background-position: 90% center;
  background-size: contain;
  background-repeat: no-repeat;
}
.qr-code-wrapper {
  background: #fff;
  border-radius: 20px;
  width: fit-content;
  padding: 10px;
  display: block;
  color: #000;
}
.qr-code-wrapper:hover {
  color: #000;
} */

/* Contact Form Section */
div#ava-form-1 > iframe {
  min-height: 800px;
  width: 100% !important;
}

.contact-section {
  background: center / cover no-repeat url('./img/bg-272.png');
  /* margin-top: 30px; */
}

/* Urgent Help Banner */
.urgent-help-banner {
  background: center / cover no-repeat url('./img/contact-cta-bg-100.jpg');
  padding: 25px 0;
}

.urgent-help-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.urgent-help-text h3 {
  color: white;
  margin: 0;
  font-weight: 400;
}

.urgent-help-button {
  background: white;
  color: var(--light-blue);
  padding: 12px 35px;
  border-radius: 25px;
  border: none;
  font-weight: bold;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
}

.urgent-help-button:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer#footer {
  background-size: cover !important;
  background-position: center center !important;
  padding-top: 4rem;
}

footer#footer ul.footer-social-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 0.5rem;
  justify-content: flex-end;
  flex-direction: row;
}

footer#footer ul.footer-social-menu li a img {
  width: 20px;
  height: 20px;
}

footer#footer ul.footer-menu {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: 2rem;
  justify-content: flex-start;
  flex-direction: row;
}

footer#footer ul.footer-menu li a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'DiodrumArabicMedium', system-ui, -apple-system,
    BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell,
    'Open Sans', 'Helvetica Neue', sans-serif;
}

@media (max-width: 768px) {
  .navbar a.navbar-brand > img {
    min-width: 130px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-text {
    margin-bottom: 25px;
  }

  .hero-text h1 {
    font-size: 1.8rem;
  }

  .hero-text h1 span {
    font-size: 1.5rem;
  }

  .hero-section {
    overflow: hidden;
    position: relative;
    background-position: 11% 100% !important;
  }

  html[lang='ar'] .hero-section {
    background-position: 88% 100% !important;
  }

  .hero-section::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    background: #000000bf;
    z-index: 0;
    height: 100%;
    width: 100%;
  }

  .hero-section .container-fluid {
    z-index: 1;
  }

  .hero-section .hero-text::after {
    top: 30px;
    width: 1050px;
    left: 1rem;
    height: 452px;
    transform: none;
  }

  html[lang='ar'] .hero-section .hero-text::after {
    /* top: 30px; */
    /* width: 1050px; */
    left: unset;
    right: 1rem;
    /* height: 452px; */
    /* transform: none; */
  }

  .services-content {
    padding: 50px 20px;
  }

  .icon-item {
    margin-bottom: 20px;
  }

  .service-details {
    padding: 0;
  }

  .service-detail-card {
    padding: 40px 30px;
  }

  .service-detail-content {
    padding: 0;
  }

  .service-detail-content,
  .service-detail-card:nth-child(even) .service-detail-content {
    flex-direction: column;
    text-align: center;
  }

  .service-detail-text li {
    text-align: start;
  }

  .app-download-content {
    flex-direction: column;
    text-align: center;
  }

  .qr-code-container {
    justify-content: center;
  }

  .urgent-help-content {
    flex-direction: column;
    text-align: center;
  }

  .urgent-help-text h3 {
    font-size: 1.2rem;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .app-features {
    justify-content: center;
  }

  .contact-cta {
    text-align: center;
  }

  .contact-cta h3 {
    font-size: 1.5rem;
  }

  /* .app-download-section {
    background-position: 50% 35%;
    background-size: 90%;
  }
  .qr-code-wrapper {
    margin-inline: auto;
    margin-top: 100%;
  } */

  footer#footer .col-md-4 a > img.img-fluid {
    display: block;
    margin: 0 auto;
    margin-bottom: 2rem;
  }

  footer#footer ul.footer-menu {
    gap: 0.5rem;
    justify-content: center;
  }

  footer#footer ul.footer-social-menu {
    justify-content: center;
  }

  footer#footer .logo-foot {
    text-align: center;
  }

  footer#footer .logo-foot img {
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  a.nav-link.btn.book-now-mobile {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: black;
    border-radius: 15px;
    background: #2ab24b;
    background: -moz-linear-gradient(90deg, #2ab24b 0%, #007242 100%);
    background: -webkit-linear-gradient(90deg, #2ab24b 0%, #007242 100%);
    background: linear-gradient(90deg, #2ab24b 0%, #007242 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#2ab24b", endColorstr="#007242", GradientType=1);
    color: #ffffff;
    font-size: 0.7rem;
    padding: 0.5rem 1rem;
  }

  a.nav-link.btn.book-now-mobile img {
    width: 15px;
  }

  .navbar-toggler {
    border: none;
    background: transparent;
  }

  .navbar-toggler-icon {
    display: inline-block;
    width: 20px;
    height: 3px;
    background-color: #000;
    position: relative;
    transition: background 0.3s ease-out;
  }

  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #000;
    transition: all 0.3s ease-out;
  }

  .navbar-toggler-icon::before {
    top: -10px;
  }

  .navbar-toggler-icon::after {
    bottom: -10px;
  }

  /* Animation for icon transformation into a "close" icon */
  .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon {
    background: transparent;
  }

  .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::before {
    transform: rotate(45deg);
    top: 0;
  }

  .navbar-toggler[aria-expanded='true'] .navbar-toggler-icon::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  .navbar-nav .dropdown-menu {
    position: relative;
    display: flex;
  }

  li.nav-item.dropdown.language-switcher {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    margin-bottom: 1rem;
  }

  .dropdown-toggle::after {
    display: none;
  }

  li.nav-item.tollfree > a {
    justify-content: center;
    margin-top: 1rem;
  }
}
